Table of Contents Previous topic Next topic
MICROPROCESSOR INSTRUCTION REFERENCE->DJNZ
DJNZ e Decrement B and then if B<>0 jump e relative
B <- B-1 : If B<>0 PC <- PC + e
Flags
| S | Not affected |
| Z | Not affected |
| H | Not affected |
| P/V | Not affected |
| N | Not affected |
| C | Not affected |
| No of | M | T | usec @ | |
| bytes | cycles | states | 2 MHz |
| B<>0 | 2 | 3 | 13 | 6.5 |
| B=0 | 2 | 2 | 8 | 4 |