Intel 64 and IA-32 Architectures Software Developers Manual Volume 1, Basic Architecture
B-2 Vol. 1
EFLAGS CONDITION CODES
Many of the test conditions are described in two different ways. For example, LE (less
or equal) and NG (not greater) describe the same test condition. Alternate
mnemonics are provided to make code more intelligible.
The terms “above” and “below” are associated with the CF flag and refer to the rela-
tion between two unsigned integer values. The terms “greater” and “less” are asso-
ciated with the SF and OF flags and refer to the relation between two signed integer
values.
NP
PO
No parity
Parity odd
1011 PF = 0
L
NGE
Less
Neither greater nor equal
1100 (SF xOR OF) = 1
NL
GE
Not less
Greater or equal
1101 (SF xOR OF) = 0
LE
NG
Less or equal
Not greater
1110 ((SF XOR OF) OR ZF) = 1
NLE
G
Neither less nor equal
Greater
1111 ((SF XOR OF) OR ZF) = 0
Table B-1. EFLAGS Condition Codes (Contd.)
Mnemonic (cc) Condition Tested For
Instruction
Subcode Status Flags Setting