<< Previous | Next >>

> LD HL,(mn)
> LD HL,(HL+d)
> LD HL,(IX+d)
> LD HL,(IY+d) Load Rabbit 2000/3000/4000 Instruction

> Opcode | Instruction | Clocks | Operation
> 2A n m | LD HL,(mn) | 11 (2,2,2,1,2,2) | L = (mn) H = (mn + 1)
> DD E4 d | LD HL,(HL+d) | 11 (2,2,2,1,2,2) | L = (HL + d) H = (HL + d + 1)
> E4 d | LD HL,(IX+d) | 9 (2,2,1,2,2) | L = (IX + d) H = (IX + d + 1)
> FD E4 d | LD HL,(IY+d) | 11 (2,2,2,1,2,2) | L = (IY + d) H = (IY + d + 1)

> Flags | ALTD | IOI/IOE
> S | Z | L/V | C | F | R | SP | S | D
> - | - | - | - |  | · |  | · |

> #### Description

> Loads HL with the data whose address is

> - the 16-bit constant mn, or
> - the sum of HL and the 8-bit signed displacement d, or
> - the sum of IX and the 8-bit signed displacement d, or
> - the sum of IY and the 8-bit signed displacement d.

<< Previous | Next >>