You are here : assembly8086JGE

JGE - 8086

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

Algorithm : if SF = OF then jump


Syntax

JGE Label


Example

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


Output / Return Value


Limitations


Alternatives / See Also


Reference