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
- - - - •