You are here : assembly8086JL

JL - 8086

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

Algorithm: if SF <> OF then jump


Syntax

JE Label


Example

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


Output / Return Value


Limitations


Alternatives / See Also


Reference