JLE
Operand:
label
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
Example:
include 'emu8086.inc'
#make_COM#
ORG 100h
MOV AL, -2
CMP AL, 5
JLE label1
PRINT 'AL > 5.'
JMP exit
label1:
PRINT 'AL <= 5.'
exit:
RET
Flags:
C Z S O P A
unchanged