JLE Jump If Less or Equal Flags: not altered
JLE short-label
Jump Condition: Jump if SF <> OF or ZF = 1
Used after a CMP or SUB instruction, JLE transfers control to short-
label if the first operand is less than or equal to the second . (Both
operands are treated as signed numbers.) The target of the jump must
be within -128 to +127 bytes of the next instruction.
--------------------------------------------------------------------------
Operands Clocks Transfers Bytes Example
short-label 16 or 4 - 2 JLE NOT_GREATER
--------------------------------------------------------------------------
Notes: JNG, Jump if Not Greater, is the same instruction as
JLE.
JBE, Jump if Below or Equal, should be used when
comparing unsigned numbers.
JLE, Jump if Less or Equal, should be used when
comparing signed numbers.
Seealso:
This page last updated on Fri Nov 30 10:49:50 MSK 2001
Copyright © 1992-2001, Vitaly Filatov, Moscow, Russia
Webmaster