You are here : assembly8086JLE

JLE - 8086

Short Jump if first operand is Less or Equal to second operand (as set by CMP instruction). Signed.

Algorithm: if SF <> OF or ZF = 1 then jump


Syntax

JLE Label


Example

 include 'emu8086.inc'
 ORG 100h
 MOV AL, -2
 CMP AL, 5
 JLE label1
 PRINT 'AL > 5.'
 JMP exit
label1:
 PRINT 'AL <= 5.'
exit:
 RET


Output / Return Value


Limitations


Alternatives / See Also


Reference