3-330
INSTRUCTION SET REFERENCE
JccJump if Condition Is Met (Continued)
Description
This instruction checks the state of one or more of the status flags in the EFLAGS register (CF,
OF, PF, SF, and ZF) and, if the flags are in the specified state (condition), performs a jump to the
target instruction specified by the destination operand. A condition code (cc) is associated with
each instruction to indicate the condition being tested for. If the condition is not satisfied, the
jump is not performed and execution continues with the instruction following the Jcc instruc-
tion.
Opcode
Instruction
Description
0F 84 cw/cdJE rel16/32
Jump near if equal (ZF=1)
0F 8F cw/cdJG rel16/32
Jump near if greater (ZF=0 and SF=OF)
0F 8D cw/cdJGE rel16/32
Jump near if greater or equal (SF=OF)
0F 8C cw/cdJL rel16/32
Jump near if less (SF<>OF)
0F 8E cw/cdJLE rel16/32
Jump near if less or equal (ZF=1 or SF<>OF)
0F 86 cw/cdJNA rel16/32
Jump near if not above (CF=1 or ZF=1)
0F 82 cw/cdJNAE rel16/32
Jump near if not above or equal (CF=1)
0F 83 cw/cdJNB rel16/32
Jump near if not below (CF=0)
0F 87 cw/cdJNBE rel16/32
Jump near if not below or equal (CF=0 and ZF=0)
0F 83 cw/cdJNC rel16/32
Jump near if not carry (CF=0)
0F 85 cw/cdJNE rel16/32
Jump near if not equal (ZF=0)
0F 8E cw/cdJNG rel16/32
Jump near if not greater (ZF=1 or SF<>OF)
0F 8C cw/cdJNGE rel16/32
Jump near if not greater or equal (SF<>OF)
0F 8D cw/cdJNL rel16/32
Jump near if not less (SF=OF)
0F 8F cw/cdJNLE rel16/32
Jump near if not less or equal (ZF=0 and SF=OF)
0F 81 cw/cdJNO rel16/32
Jump near if not overflow (OF=0)
0F 8B cw/cdJNP rel16/32
Jump near if not parity (PF=0)
0F 89 cw/cdJNS rel16/32
Jump near if not sign (SF=0)
0F 85 cw/cdJNZ rel16/32
Jump near if not zero (ZF=0)
0F 80 cw/cdJO rel16/32
Jump near if overflow (OF=1)
0F 8A cw/cdJP rel16/32
Jump near if parity (PF=1)
0F 8A cw/cdJPE rel16/32
Jump near if parity even (PF=1)
0F 8B cw/cdJPO rel16/32
Jump near if parity odd (PF=0)
0F 88 cw/cdJS rel16/32
Jump near if sign (SF=1)
0F 84 cw/cdJZ rel16/32
Jump near if zero (ZF=1)