Make your own free website on Tripod.com

PUSH IY

Push IY onto stack.
Function: (SP-1) <- IYhigh; (SP - 2) <- IYlow; SP <- SP - 2
 
Format:
1111 1101
 
byte 1: FD
 
1110 0101
 
byte 2: E5
 
Description: The stack pointer is decremented, and the contents of the high order of the IY register are loaded into the memory location addressed by the stack pointer. The stack pointer is again decremented and then the contents of the low order of the IY register are loaded into the memory location addressed by the stack pointer.
 
Data Flow:
 
Timing: 4 M cycles; 15 T states: 7.5 usec @ 2 MHz
 
Addressing Mode: indirect
 
Flags:
 
(no effect)
 
Example:
PUSH IY

OBJECT CODE
Before:
 
After: