EX (SP),IX

Exchange IX with top of stack.
Function: (SP) <- IXlow; (SP + 1) <- IXhigh
 
Format:
1101 1101
 
byte 1: DD
 
1110 0011
 
byte 2: E3
 
Description: The contents of the low order of the IX register are exchanged with the contents of the memory location addressed by the stack pointer. The contents of the high order of the IX 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: