
5-134
Z380
™
USER'S MANUAL
DC-8297-03
ZILOG
PUSH
PUSH ACCUMULATOR
PUSH src src = AF
Operation: if (LW) then begin
SP ← SP - 4
(SP) ← F
(SP+1) ← A
(SP+2) ← 00h
(SP+3) ← 00h
end
else begin
SP ← SP - 2
(SP) ← F
(SP+1) ← A
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. For this instruction, the Flag register is the least
significant byte, followed by the Accumulator. The other two bytes written in the Long Word
mode are all zeros. The Flag register and Accumulator are unaffected.
Flags: S: Unaffected
Z: Unaffected
H: Unaffected
V: Unaffected
N: Unaffected
C: Unaffected
Addressing Execute
Mode Syntax Instruction Format Time Note
PUSH AF 11110101 3+w L
Kommentare zu diesen Handbüchern