The B register is decremented, and if not zero, the signed value offset is added to PC. The jump is measured from the start of the instruction opcode.
djnz
Operands
djnz offsetLoading...
Variants
Every form of djnz the assembler accepts. The cycles column counts clock
cycles, written as taken/not taken for the conditional forms.
| Instruction | Description | Flags | Bytes | Cycles |
|---|---|---|---|---|
| djnz offset | The B register is decremented, and if not zero, the signed value | — | 2 | 13/8 |