English
Language : 

SAB80515 Datasheet, PDF (170/270 Pages) Siemens Semiconductor Group – 8-Bit Single-Chip Microcontroller Family
Instruction Set
JZ
rel
Function:
Jump if accumulator is zero
Description:
If all bits of the accumulator are zero, branch to the address indicated; 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 contains 01H. The instruction sequence
JZ
DEC
JZ
LABEL1
A
LABEL2
will change the accumulator to 00H and cause program execution to continue at the
instruction identified by the label LABEL2.
Operation:
JZ
(PC) ← (PC) + 2
if (A) = 0
then (PC) ← (PC) + rel
Encoding:
Bytes:
Cycles:
0110 0000
2
2
rel. address
Semiconductor Group
170