Mar 19, 2016

Intel x86 JUMP Reference Chart



InstructionDescriptionsigned-nessFlagsshort
jump
opcodes
near
jump
opcodes
JOJump if overflowOF = 1700F 80
JNOJump if not overflowOF = 0710F 81
JSJump if signSF = 1780F 88
JNSJump if not signSF = 0790F 89
JE
JZ
Jump if equal
Jump if zero
ZF = 1740F 84
JNE
JNZ
Jump if not equal
Jump if not zero
ZF = 0750F 85
JB
JNAE
JC
Jump if below
Jump if not above or equal
Jump if carry
unsignedCF = 1720F 82
JNB
JAE
JNC
Jump if not below
Jump if above or equal
Jump if not carry
unsignedCF = 0730F 83
JBE
JNA
Jump if below or equal
Jump if not above
unsignedCF = 1 or ZF = 1760F 86
JA
JNBE
Jump if above
Jump if not below or equal
unsignedCF = 0 and ZF = 0770F 87
JL
JNGE
Jump if less
Jump if not greater or equal
signedSF <> OF7C0F 8C
JGE
JNL
Jump if greater or equal
Jump if not less
signedSF = OF7D0F 8D
JLE
JNG
Jump if less or equal
Jump if not greater
signedZF = 1 or SF <> OF7E0F 8E
JG
JNLE
Jump if greater
Jump if not less or equal
signedZF = 0 and SF = OF7F0F 8F
JP
JPE
Jump if parity
Jump if parity even
PF = 17A0F 8A
JNP
JPO
Jump if not parity
Jump if parity odd
PF = 07B0F 8B
JCXZ
JECXZ
Jump if %CX register is 0
Jump if %ECX register is 0
%CX = 0
%ECX = 0
E3



Conditional Branching Processor Flags

OF (Overflow)
1 -- result is outside signed-number range
0 -- otherwise
CF (Carry)
Carry out of (borrow into) high-order bit.
1 -- result is outside unsigned-number range
0 -- otherwise
SF (Sign)
High-order bit of result.
1 -- negative signed number.
0 -- positive signed number.
ZF (Zero)
1 -- result = 0
0 -- otherwise