5-131
Z380
™
U
SER
'
S
M
ANUAL
Z
ILOG
DC-8297-03
POP
POP ACCUMULATOR
POP dst
dst = AF
Operation:
F
←
(SP)
A
←
(SP+1)
SP
←
SP + 2
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
Execute
Mode
Syntax
Instruction Format
Time
Note
POP AF
11110001
2+r
L