SP <- IY
LD
SP,IY
b7 | b6 | b5 | b4 | b3 | b2 | b1 | b0 | |
---|---|---|---|---|---|---|---|---|
1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | $FD |
1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | $F9 |
The 2-byte contents of Index Register IY are loaded to the Stack Pointer (SP)
None
If Index Register IY contains $A227, then upon execution of
LD SP,IY
the Stack Pointer also contains $A227.