You are here : assembly8086JB

JB - 8086

Short Jump if first operand is Below second operand (as set by CMP instruction). Unsigned.

Algorithm: if CF = 1 then jump


Syntax

JB Label


Example

include 'emu8086.inc'
 ORG 100h
 MOV AL, 1
 CMP AL, 5
 JB label1
 PRINT 'AL is not below 5'
 JMP exit
label1:
 PRINT 'AL is below 5'
exit:
 RET


Output / Return Value


Limitations


Alternatives / See Also


Reference