
W561XXX DESIGN GUIDE
- 53 -
JBZ2 label
PC
PC = PC++
If channel 2 is busy ( BZ2 flag is set to
1), the PC is replaced with "label" and a
jump occurs. Else, the PC is
incremented.
Flag affected: none
ACC
Rn - i; PC
else PC = PC++
Compare the content of Rn with an
immediate value i. If not equal, the PC
is replaced with "label" and a jump
occurs. Else, the PC is incremented.
Flag affected: ZF, CF
ACC
Rn - i; PC
else PC = PC++
Compare the content of Rn with an
immediate value i. If equal, the PC is
replaced with "label" and a jump occurs.
Else, the PC is incremented.
Flag affected: ZF, CF
ACC
Rn - WR; PC
0; else PC = PC++
Compare the content of Rn with that of
WR.If not equal, the PC is replaced with
"label" and a jump occurs. Else, the PC
is incremented.
Flag affected: ZF, CF
ACC
Rn - WR; PC
0; else PC = PC++
Compare the content of Rn with that of
WR. If equal, the PC is replaced with
"label" and a jump occurs. Else, the PC
is incremented.
Flag affected: ZF, CF
label, if BZ2 = 1 (PSR.3 = 1); else
JBZ2 AGAIN
Memory. Before exec. After
exec.
AGAIN 2A0h 2A0h
PSR.3 0 0
PC 1BFh 1C0h
CJNE Rn, i, label
label, if ACC != 0;
CJNE R10, 1010b, ERROR
Memory. Before exec. After
exec.
i 1010b 1010b
R10 1011b 1011b
ERROR 1A0h 1A0h
ACC --- 0001b
PC --- 1A0h
CJE Rn, i, label
label, if ACC = 0;
CJE R10, 1010b, ERROR
Memory. Before exec. After
exec.
i 1010b 1010b
R10 1011b 1011b
ERROR 1A0h 1A0h
ACC --- 0001b
PC 0B9h 0BAh
CJNE Rn, WR,
label
label, if ACC !=
CJNE R10, WR0, ERROR
Memory. Before exec. After
exec.
WR0 1010b 1010b
R10 1011b 1011b
ERROR 1A0h 1A0h
ACC --- 0001b
PC --- 1A0h
CJE Rn, WR, label
label, if ACC =
CJE R10, WR0, ERROR
Memory. Before exec. After
exec.
WR0 1010b 1010b
R10 1011b 1011b
ERROR 1A0h 1A0h
ACC --- 0001b
PC 0B9h 0BAh