IYh <- (nn+1), IYl <- (nn)
LD
IY,(nn)
b7 | b6 | b5 | b4 | b3 | b2 | b1 | b0 | |
---|---|---|---|---|---|---|---|---|
1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | $FD |
0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | $2A |
n | ||||||||
n |
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
If address $6666 contains $92, and address $6667 contains $DA, then upon execution of
LD IY,($6666)
Index Register IY will contain $DA92.