Instruction
Instruction
Description
signed -ness
Flags
Jump if overflow Jump if not overflow Jump if sign Jump if not sign Jump if equal Jump if zero Jump if not equal Jump if not zero Jump if below Jump if not above or equal Jump if carry Jump if not below Jump if above or equal Jump if not carry Jump if below or equal Jump if not above Jump if above Jump if not below or equal unsigned
OF = 1 OF = 0 SF = 1 SF = 0 ZF = 1 ZF = 0 CF = 1
unsigned
CF = 0
73
0F 83
unsigned
0F 86
unsigned
0F 87
signed Jump if less Jump if not greater or equal Jump if greater or equal Jump if not less Jump if less or equal Jump if not greater signed
7C
0F 8C
7D
0F 8D
signed
7E
0F 8E
Description
signed -ness
signed
Flags
Jump if greater Jump if not less or equal Jump if parity Jump if parity even Jump if not parity Jump if parity odd Jump if %CX register is 0 Jump if %ECX register is 0
7A 7B E3
0F 8A 0F 8B
Processor Flags
The x86 processors have a large set of flags that represent the state of the processor, and the conditional jump instructions can key off of them in combination. CF - carry flag Set on high-order bit carry or borrow; cleared otherwise PF - parity flag Set if low-order eight bits of result contain an even number of "1" bits; cleared otherwise ZF - zero flags Set if result is zero; cleared otherwise SF - sign flag Set equal to high-order bit of result (0 if positive 1 if negative) OF - overflow flag Set if result is too large a positive number or too small a negative number (excluding sign bit) to fit in destination operand; cleared otherwis