EX (SP),IY |
Exchange IY with top of stack. |
Function: |
(SP)
IYlow; (SP + 1)
IYhigh |
Format: |
|
byte 1: FD |
|
|
byte 2: E3 |
Description: |
The contents of the low order of the IY register are exchanged with the contents of the memory location addressed by the stack pointer. The contents of the high order of the IY register are exchanged withh the contents of the memory location immediately following the one addressed by the stack pointer. |
Data Flow: |
|
Timing: |
6 M cycles; 23 T states: 11.5 MHz @ 2 MHz |
Addressing Mode: |
indirect |
Flags: |
|
(no effect) |
Example: |
|
OBJECT CODE |
Before: |
After: |
|
|