The signed value offset is added to PC. The jump is measured from the start of the instruction opcode.
jr
Operands
jr offset | jr cc,offsetVariants
Every form of jr the assembler accepts. The cycles column counts clock
cycles, written as taken/not taken for the conditional forms.
| Instruction | Description | Flags | Bytes | Cycles |
|---|---|---|---|---|
| jr offset | The signed value | — | 2 | 12 |
| jr nz,offset | If the zero flag is unset, the signed value | — | 2 | 12/7 |
| jr z,offset | If the zero flag is set, the signed value | — | 2 | 12/7 |
| jr nc,offset | If the carry flag is unset, the signed value | — | 2 | 12/7 |
| jr c,offset | If the carry flag is set, the signed value | — | 2 | 12/7 |