LD IX,(nn)

Operation

IXh <- (nn+1), IXl <- (nn)

Mnemonic

LD

Operands

IX,(nn)

b7b6b5b4b3b2b1b0
1 1 0 1 1 1 0 1$DD
0 0 1 0 1 0 1 0$2A
n
n

Description

The contents of the address (nn) are loaded to the low-order portion of Index Register IX, and the contents of the next highest memory address (nn + 1) are loaded to the high-order portion of IX. The first n operand after the op code is the low-order byte of nn.

Condition Bits Affected

None

Example

If address $6666 contains $92 and address $6667 contains $DA, then upon execution of

	LD	IX,($6666)

Index Register IX will contain $DA92.