LD SP,IY

Load stack pointer from IY register.
Function: SP <- IY
 
Format:
1111 1101
 
byte 1: FD
 
1111 1001
 
byte 2: F9
 
Description: The contents of the IY register are loaded into the stack pointer.
 
Data Flow:
 
Timing: 2 M cycles; 10 T states: 5 usec @ 2 MHz
 
Addressing Mode: implicit
 
Flags:
 
(no effect)
 
Example:

OBJECT CODE
Before:
 
After: