JNG
Operand:
label
Short Jump if first operand is Not Greater then second operand (as set by CMP
instruction). Signed.
Algorithm:
if (ZF = 1) and (SF <> OF) then jump
Example:
include 'emu8086.inc'
#make_COM#
ORG 100h
MOV AL, 2
CMP AL, 3
JNG label1
PRINT 'AL > 3.'
JMP exit
label1:
PRINT 'Al <= 3.'
exit:
RET
Flags:
C Z S O P A
unchanged