LD IY,(nn)

Operation

IYh <- (nn+1), IYl <- (nn)

Mnemonic

LD

Operands

IY,(nn)

b7b6b5b4b3b2b1b0
1 1 1 1 1 1 0 1$FD
0 0 1 0 1 0 1 0$2A
n
n

Description

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

None

Example

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

	LD	IY,($6666)

Index Register IY will contain $DA92.