If the zero flag is unset, nnnn is copied to PC.
jp
Operands
jp cc,nnnn | jp nnnn | jp (rr) | jp rrLoading...
Variants
Every form of jp the assembler accepts. The cycles column counts clock
cycles, written as taken/not taken for the conditional forms.
| Instruction | Description | Flags | Bytes | Cycles |
|---|---|---|---|---|
| jp nz,nnnn | If the zero flag is unset, | — | 3 | 10 |
| jp nnnn |
| — | 3 | 10 |
| jp z,nnnn | If the zero flag is set, | — | 3 | 10 |
| jp nc,nnnn | If the carry flag is unset, | — | 3 | 10 |
| jp c,nnnn | If the carry flag is set, | — | 3 | 10 |
| jp (ix) | Loads the value of IX into PC. | — | 2 | 8 |
| jp po,nnnn | If the parity/overflow flag is unset, | — | 3 | 10 |
| jp (hl) | Loads the value of HL into PC. | — | 1 | 4 |
| jp pe,nnnn | If the parity/overflow flag is set, | — | 3 | 10 |
| jp p,nnnn | If the sign flag is unset, | — | 3 | 10 |
| jp m,nnnn | If the sign flag is set, | — | 3 | 10 |
| jp (iy) | Loads the value of IY into PC. | — | 2 | 8 |