
42
Rabbit 2000/3000 Microprocessor
Description
This instruction’s mnemonic stands for Decrement and Jump if Not Zero. It decrements the data in B then, if
the data in B does not equal 0, it adds the 8 bit signed constant e to PC.
2 is subtracted from the value e so the instruction jumps from the current instruction and not the following
instruction.
DJNZ
e
Opcode
Instruction
Clocks
Operation
10
e
-2
DJNZ
e
5 (2,2,1)
B = B-1; if {B != 0} PC = PC +
e
Flags
ALTD
I/O
S
Z
L/V
C
F
R
SP
S
D
-
-
-
-
•
Содержание 2000
Страница 2: ...ii Rabbit 2000 3000 Microprocessor...
Страница 4: ...iv Rabbit 2000 Microprocessor...
Страница 16: ...12 Rabbit 2000 3000 Microprocessor...
Страница 164: ...160 Instruction Reference Manual...
Страница 172: ...168 Rabbit 2000 3000 Microprocessor...
Страница 174: ...170 Rabbit 2000 3000 Microprocessor...