You are here : assembly8086JBE

JBE - 8086

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

Algorithm: if CF = 1 or ZF = 1 then jump


Syntax

JBE Label


Example

include 'emu8086.inc'
 ORG 100h
 MOV AL, 5
 CMP AL, 5
 JBE label1
 PRINT 'AL is not below or equal to 5'
 JMP exit
label1:
 PRINT 'AL is below or equal to 5'
exit:
 RET


Output / Return Value


Limitations


Alternatives / See Also


Reference