English
Language : 

SAB80C517_05 Datasheet, PDF (210/323 Pages) Siemens Semiconductor Group – 8-Bit CMOS Single-Chip Microcontroller
Instruction Set
JNZ
rel
Function:
Jump if accumulator is not zero
Description:
If any bit of the accumulator is a one, branch to the indicated address; otherwise
proceed with the next instruction. The branch destination is computed by adding the
signed relative-displacement in the second instruction byte to the PC, after
incrementing the PC twice. The accumulator is not modified. No flags are affected.
Example:
The accumulator originally holds 00H. The instruction sequence
JNZ LABEL1
INC
A
JNZ LABEL2
Operation:
will set the accumulator to 01H and continue at label LABEL2.
JNZ
(PC) ← (PC) + 2
if (A) ≠ 0
then (PC) ← (PC) + rel.
Encoding:
Bytes:
Cycles:
0111 0000
2
2
rel. address
Semiconductor Group
211