Download Print this page

ZiLOG Z80380 User Manual page 166

Advertisement

Z
ILOG
POP
POP CONTROL REGISTER
POP dst
Operation:
if (LW) then begin
dst(6-0)
dst(15-8)
dst(23-16) ←
dst(31-24) ←
SP
end
else begin
dst(6-0)
dst(15-8)
dst(23-16) ←
dst(31-24) ←
SP
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. The SP
is then incremented by two (by four in the Long Word mode). Note that when not in the Long
Word mode the most significant byte read from memory is also written to the two most
significant bytes of the SR. Also note that the XM bit is unaffected by this instruction.
Flags:
S:
Unaffected
Z:
Unaffected
H:
Unaffected
V:
Unaffected
N:
Unaffected
C:
Unaffected
Addressing
Mode
Syntax
POP SR
5-132
dst = SR
(SP)
(SP+1)
(SP+2)
(SP+3)
SP + 4
(SP)
(SP+1)
(SP+1)
(SP+1)
SP + 2
Instruction Format
11101101 11000001
Execute
Time
Note
3+r
L
Z380
U
'
M
SER
S
ANUAL
DC-8297-03

Advertisement

loading
Need help?

Need help?

Do you have a question about the Z80380 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel