<< Previous | Next >>

POP zz     Stack Operation     Rabbit 2000/3000/4000/5000 Instruction

Opcode
Instruction
Operation
---- POP zz zzlow = (SP)
zzhigh = (SP + 1)
SP = SP + 2
F1 POP AF F = (SP)
A = (SP + 1)
SP = SP + 2
C1 POP BC C = (SP)
B = (SP + 1)
SP = SP + 2
D1 POP DE E = (SP)
D = (SP + 1)
SP = SP + 2
E1 POP HL L = (SP)
H = (SP + 1)
SP = SP + 2

8-Bit Access
16-Bit Unaligned
16-Bit Aligned
Rabbit 2000/3000/4000
7
n/a
n/a
Rabbit 5000
7
7
7

Flags ALTD IOI/IOE
S
Z
L/V
C
F
R
SP
S
D
-
-
-
-
·

Description

Loads the low-order byte of zz (any of AF, BC, DE, or HL) with the data at the memory address in SP then loads the high-order byte of zz with the data at the memory address immediately following the one held in SP. SP is then incremented twice.


Rabbit Instructions << Previous | Next >> rabbit.com