Z
ILOG
POP dst
← (SP)
Operation:
F
← (SP+1)
A
← SP + 2
SP
if (LW) then begin
SP ← SP + 2
end
The contents of the memory location addressed by the Stack Pointer (SP) are loaded into
the destination in ascending byte order from ascending address memory locations. For this
instruction, the Flag register is the least significant byte, followed by the Accumulator. The
SP is then incremented by two (by four in the Long Word mode). Note that in the Long Word
mode only one word is read from memory, although the SP is in fact incremented by four.
Flags:
S:
Loaded from (SP)
Z:
Loaded from (SP)
H:
Loaded from (SP)
V:
Loaded from (SP)
N:
Loaded from (SP)
C:
Loaded from (SP)
Addressing
Mode
Syntax
POP AF
DC-8297-03
dst = AF
Instruction Format
11110001
U
'
SER
S
POP ACCUMULATOR
Execute
Time
Note
2+r
L
™
Z380
M
ANUAL
POP
5-131
Need help?
Do you have a question about the Z80380 and is the answer not in the manual?