JNZ stands for Jump if Not Zero, It is set by CMP, SUB, ADD,
TEST, AND, OR, XOR instructions. Example if ZF = 0 then jump
.
OPERAND – label
Example:
include 'emu8086.inc'
ORG 100h
MOV AL, 00000111b ; AL = 7
OR AL, 0 ; just set flags.
JNZ label1
PRINT 'zero.'
JMP exit
label1:
PRINT 'not zero.'
exit:
RET