5-132
Z380
™
U
SER
'
S
M
ANUAL
DC-8297-03
Z
ILOG
POP
POP CONTROL REGISTER
POP dst
dst = SR
Operation:
if (LW) then begin
dst(6-0)
←
(SP)
dst(15-8)
←
(SP+1)
dst(23-16)
←
(SP+2)
dst(31-24)
←
(SP+3)
SP
←
SP + 4
end
else begin
dst(6-0)
←
(SP)
dst(15-8)
←
(SP+1)
dst(23-16)
←
(SP+1)
dst(31-24)
←
(SP+1)
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. 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
Execute
Mode
Syntax
Instruction Format
Time
Note
POP SR
11101101 11000001
3+r
L