B-2
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 relation between
two unsigned integer values. The terms greater and less are associated with the SF and OF
flags and refer to the relation between two signed integer values.
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