POP IY

Pop IY from stack.
Function: IYlow <- (SP); IYhigh <- (SP + 1); SP <- SP + 2
 
Format:
1111 1101
 
byte 1: FD
 
1110 0001
 
byte 2: E1
 
Description: The contents of the memory location addressed by the stack pointer are loaded into the low order of the IY register, and the stack pointer is incremented. The contents of the memory location addressed by the stack pointer are loaded in the high order of the IY register, and the stack pointer is again incremented.
 
Data Flow:
 
Timing: 4 M cycles; 14 T states: 7 usec @ 2 MHz
 
Addressing Mode: indirect
 
Flags:
 
(no effect)
 
Example:
POP  IY

OBJECT CODE
Before:
 
After: