Jump if Less or Equal                            

86/88

Y

186

Y

286

Y

386

Y

486

Y

JLE 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, 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.

       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.

------------------------------------ Timing ----------------------------------

OpCode          Instruction             	386     286     86
7E cb           JLE rel8                        7+m,3   7,3     16,4
0F 8E cw/cd     JLE rel16/32                    7+m,3

------------------------------------ Logic -----------------------------------

        Jump if (SF <> OF) and (ZF = 1)

See Also JNG JBE JNA JG


Copyright © 1985 to 2022 Beta Systems                            Last modified: Wednesday, January 05, 2022 .