jp

Operands

jp cc,nnnn | jp nnnn | jp (rr) | jp rr

If the zero flag is unset, nnnn is copied to PC.

Loading...

Variants

Every form of jp the assembler accepts. The cycles column counts clock cycles, written as taken/not taken for the conditional forms.

InstructionDescriptionFlagsBytesCycles
jp nz,nnnn

If the zero flag is unset, nnnn is copied to PC.

310
jp nnnn

nnnn is copied to PC.

310
jp z,nnnn

If the zero flag is set, nnnn is copied to PC.

310
jp nc,nnnn

If the carry flag is unset, nnnn is copied to PC.

310
jp c,nnnn

If the carry flag is set, nnnn is copied to PC.

310
jp (ix)

Loads the value of IX into PC.

28
jp po,nnnn

If the parity/overflow flag is unset, nnnn is copied to PC.

310
jp (hl)

Loads the value of HL into PC.

14
jp pe,nnnn

If the parity/overflow flag is set, nnnn is copied to PC.

310
jp p,nnnn

If the sign flag is unset, nnnn is copied to PC.

310
jp m,nnnn

If the sign flag is set, nnnn is copied to PC.

310
jp (iy)

Loads the value of IY into PC.

28