LD (IX+d),r

Operation

(IX+d) <- r

Mnemonic

LD

Operands

(IX+d),r

b7b6b5b4b3b2b1b0
1 1 0 1 1 1 0 1$DD
0 1 1 1 0 r
d

Description

The (IX+d) operand (i.e., the contents of Index Register IX summed with two’s-complement displacement integer d) is loaded to register r, in which r identifies registers A, B, C, D, E, H, or L, assembled as follows in the object code:

RegisterrHex
A111$77
B000$70
C001$71
D010$72
E011$73
H100$74
L101$75

Condition Bits Affected

None

Example

If the C register contains byte $1C, and Index Register IX contains $3100, then the instruction

	LD	(IX+$6),C

performs the sum $3100+$6 and loads $1C to memory location $3106