Instruction Reference Manual 39
Description
• JP (HL): The data in HL is loaded into the Program Counter. Thus the address of the next
instruction fetched is the data in HL.
• JP (IX): The data in index register IX is loaded into the Program Counter. Thus the address
of the next instruction fetched is the data in IX.
• JP (IY): The data in index register IY is loaded into the Program Counter. Thus the address
of the next instruction fetched is the data in IY.
• JP mn: The 16-bit constant mn is loaded into the Program Counter. Thus the address of the
next instruction fetched is mn. This instruction recognizes labels when used in the Dynamic C
assembler.
JP (HL)
JP (IX)
JP (IY)
JP mn
Opcode Instruction Clocks Operation
E9 JP (HL) 4 (2,2) PC = HL
DD E9 JP (IX) 6 (2,2,2) PC = IX
FD E9 JP (IY) 6 (2,2,2) PC = IY
C3 nm JP mn 7 (2,2,2,1) PC = mn
Flags ALTD I/O
S Z L/V C F R SP S D
- - - -