LD IY,nn

Operation

IY <- nn

Mnemonic

LD

Operands

IY,nn

b7b6b5b4b3b2b1b0
1 1 1 1 1 1 0 1$FD
0 0 1 0 0 0 0 1$21
n
n

Description

The nn integer is loaded to Index Register IY. The first n operand after the op code is the low-order byte.

Condition Bits Affected

None

Example

Upon the execution of

	LD	IY,$7733

the Index Register IY will contain $7733.