Instruction Reference Manual 73
Description
• POP IP: Loads the Interrupt Priority Register, IP, with the data at the memory location in the
Stack Pointer, SP, and then increments the data in SP. This privileged instruction was imple-
mented for the Rabbit and is not available for the Z180.
• POP IX: Loads the low order byte of index register IX with the data at the memory address in
the Stack Pointer, SP, then loads the high order byte of IX with the data at the address immedi-
ately following the one held in SP. SP is then incremented twice.
• POP IY: Loads the low order byte of index register IY with the data at the memory address in
the Stack Pointer, SP, then loads the high order byte of IY with the data at the memory address
immediately following the one held in SP. SP is then incremented twice.
POP IP
POP IX
POP IY
Opcode Instruction Clocks Operation
ED 7E POP IP 7 (2,2,1,2) IP = (SP); SP = SP + 1
DD E1 POP IX 9 (2,2,1,2,2) IX
(low)
= (SP); IX
(high)
=(SP+1);
SP = SP + 2
FD E1 POP IY 9 (2,2,1,2,2) IY
(low)
= (SP); IY
(high)
=(SP+1);
SP = SP + 2
Flags ALTD I/O
S Z L/V C F R SP S D
- - - -