Instruction Reference Manual 45
Description
• LD (IX+d),HL: Loads the data in register L into the memory location whose address is the
sum of the data in index register IX and a displacement value d. Then, loads the data in register H
into the memory location whose address is the sum of the data in index register IX and a dis-
placement value d plus 1. This instruction is implemented for the Rabbit and is not available for
the Z180.
• LD (IX+d),n: Loads the 8-bit constant n into the memory location whose address is the sum
of index register IX and a displacement value d.
• LD (IX+d),r: Loads the data in register r (any of the registers A, B, C, D, E, H, or L) into
the memory location whose address is the sum of the data in index register IX plus a displace-
ment value d.
LD (IX+d),HL
LD (IX+d),n
LD (IX+d),r
Opcode Instruction Clocks Operation
F4 d LD (IX+d),HL 11 (2,2,1,3,3) (IX + d) = L; (IX + d +1)=H
DD 36 dn LD (IX+d),n 11 (2,2,2,2,3) (IX + d)=n
——
DD 77 d
DD 70 d
DD 71 d
DD 72 d
DD 73 d
DD 74 d
DD 75 d
LD (IX+d),r
LD (IX+d),A
LD (IX+d),B
LD (IX+d),C
LD (IX+d),D
LD (IX+d),E
LD (IX+d),H
LD (IX+d),L
10 (2,2,2,1,3)
10 (2,2,2,1,3)
10 (2,2,2,1,3)
10 (2,2,2,1,3)
10 (2,2,2,1,3)
10 (2,2,2,1,3)
10 (2,2,2,1,3)
10 (2,2,2,1,3)
(IX + d)=r
(IX + d)=A
(IX + d)=B
(IX + d)=C
(IX + d)=D
(IX + d)=E
(IX + d)=H
(IX + d)=L
Flags ALTD I/O
S Z L/V C F R SP S D
- - - - •