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