Download Print this page

ZiLOG Z80380 User Manual page 171

Advertisement

Z
ILOG
PUSH src
Operation:
if (LW) then begin
SP
(SP)
(SP+1) ← src(15-8)
(SP+2) ← src(23-16)
(SP+3) ← src(31-24)
end
else begin
SP
(SP)
(SP+1) ← src(15-8)
end
The Stack Pointer (SP) is decremented by two (by four in Long Word mode) and the source
is loaded into the memory locations addressed by the SP in ascending byte order in
ascending address memory locations. The contents of the source are unaffected.
S:
Unaffected
Flags:
Z:
Unaffected
H:
Unaffected
V:
Unaffected
N:
Unaffected
C:
Unaffected
Addressing
Mode
Syntax
R:
PUSH R
RX:
PUSH RX
Field Encodings: rr: 00 for BC, 01 for DE, 10 for HL
y: 0 for IX, 1 for IY
DC-8297-03
src = R, RX
← SP - 4
← src(7-0)
← SP - 2
← src(7-0)
Instruction Format
11rr0101
11y11101 11100101
PUSH REGISTER
Execute
Time
Note
3+w
L
3+w
L
Z380
U
'
M
SER
S
ANUAL
PUSH
5-137

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