
5-133
Z380
™
USER'S MANUAL
ZILOG
DC-8297-03
POP
POP REGISTER
POP dst dst = R, RX
Operation: if (LW) then begin
dst(7-0 ) ← (SP)
dst(15-8) ← (SP+1)
dst(23-16) ← (SP+2)
dst(31-24) ← (SP+3)
SP ← SP + 4
end
else begin
dst(7-0) ← (SP)
dst(15-8) ← (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).
Flags: S: Unaffected
Z: Unaffected
H: Unaffected
V: Unaffected
N: Unaffected
C: Unaffected
Addressing Execute
Mode Syntax Instruction Format Time Note
R: POP R 11rr 0001 1+r L
RX: POP RX 11y11101 11100001 1+r L
Field Encodings: rr: 00 for BC, 01 for DE, 10 for HL
y: 0 for IX, 1 for IY
Comentarios a estos manuales