(nn+1) <- IYh, (nn) <- IYl
LD
(nn),IX
b7 | b6 | b5 | b4 | b3 | b2 | b1 | b0 | |
---|---|---|---|---|---|---|---|---|
1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | $FD |
0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | $22 |
n | ||||||||
n |
The low-order byte in Index Register IY is loaded to memory address (nn); the upper order byte is loaded to the next highest address (nn + 1). The first n operand after the op code is the low-order byte of nn.
None
If Index Register IY contains $4174, then upon execution of
LD ($8838),IY
memory location $8838 contains number $74 and location $8839 contains $41.