| |
Jump if Below or Equal
86/88 |
Y |
186 |
Y |
286 |
Y |
386 |
Y |
486 |
Y |
JBE short_label |
Ovfl |
N |
Dir |
N |
Int |
N |
Trap |
N |
Sign |
N |
Zero |
N |
Aux |
N |
Prty |
N |
Carry |
N |
Used after a CMP or SUB instruction, JBE transfers control to short-
label if the first operand was less than or equal to the second. (Both
operands are treated as unsigned numbers.) The target of the jump
must be within -128 to +127 bytes of the next instruction.
Notes: JNA, Jump if Not Above, is the same instruction as
JBE.
JBE, Jump if Below or Equal, should be used when
comparing unsigned numbers.
JLE, Jump if Less Than or Equal, should be used when
comparing signed numbers.
------------------------------------ Timing ----------------------------------
OpCode Instruction 386 286 86
76 cb JBE rel8 7+m,3 7,3 16,4
0F 86 cw/cd JBE rel16/32 7+m,3
------------------------------------ Logic -----------------------------------
Jump if (CF = 1) or (ZF = 1)
See Also JNA JLE JA JNG |