Instruction Set
C500 Family
Semiconductor Group
4-32
1998-04-01
DJNZ
Rn,rel
Operation:
DJNZ
(PC)
¬
(PC) + 2
(Rn)
¬
(Rn) Ð 1
if (Rn) > 0 or (Rn) < 0
then (PC)
¬
(PC) + rel
Bytes:
2
Cycles:
2
DJNZ
direct,rel
Operation:
DJNZ
(PC)
¬
(PC) + 2
(direct)
¬
(direct) Ð 1
if (direct) > 0 or (direct) < 0
then (PC)
¬
(PC) + rel
Bytes:
3
Cycles:
2
Encoding:
1 1 0 1
1 r r r
rel. address
Encoding:
1 1 0 1
0 1 0 1
direct address
rel. address