|
Z380 Datasheet, PDF (54/115 Pages) Zilog, Inc. – MICROPROCESSOR | |||
|
◁ |
ZILOG
PUSH/POP INSTRUCTIONS
MICROPROCESSOR
Mnemonic
PUSH qq
PUSH XY
PUSH nn
PUSH SR
POP qq
POP XY
POP SR
Symbolic
Operation
(SP-2) â qql
(SP-1) â qqh
SP â SP-2
(SP-2) â XYL
(SP-1) â XYU
SP â SP-2
(SP-2) â nnl
(SP-1) â nnh
SP â SP-2
Flags
P/
SZ x Hx VNC
â¢â¢xâ¢xâ¢â¢â¢
â¢â¢xâ¢xâ¢â¢â¢
â¢â¢xâ¢xâ¢â¢â¢
(SP-2) â SR(7-0) ⢠⢠x ⢠x ⢠⢠â¢
(SP-1) â SR(15-8)
SP â SP-2
qqh â (SP+1)
â¢â¢xâ¢xâ¢â¢â¢
qql â (SP)
SP â SP+2
XYU â (SP+1)
â¢â¢xâ¢xâ¢â¢â¢
XYL â (SP)
SP â SP+2
SR(6-0) â (SP)
â¢â¢xâ¢xâ¢â¢â¢
SR(15-8) â (SP+1)
SR(23-16) â (SP+1)
SR(31-24) â (SP+1)
SP â SP+2
Opcode
76 543 210
11 qq0 101
11 y11 101
11 100 101
11 111 101
11 110 101
â n â
â n â
11 101 101
11 000 101
11 qq0 001
11 y11 101
11 100 001
11 101 101
11 000 001
# of Execute
HEX Bytes Time Notes
1 3+w N,L2,L4
2 3+w N, L2
E5
FD 4 3+w N, L4,I
F5
ED 2 3+w N, L2
C5
1 2+r N, L3, L5
2
E1
ED 2
C1
1+r N, L3
3+r N, L6
qq
Pair
00
BC
01
DE
10
HL
11
AF
y
XY
0
IX
1
IY
Notes:
Instructions in Italic face are Z380 new instructions, instructions with underline are Z180 original instructions.
I: This instruction may be used with DDIR Immediate instructions.
L2: In Long Word mode, this instruction PUSHes the registerâs extended portion (register with âzâ suffix) before pushing the contents of the register
to the stack.
L3: In Long Word mode, this instruction POPs the registerâs extended portion (register with âzâ suffix) after popping the contents of the register to the
stack.
L4: In Long Word mode, PUSH AF and PUSH nn instructions push 0000h onto stack in the place of the extended register portion.
L5: In Long Word mode, POP AF instruction increments SP by two after POPing 1 word of data from stack.
L6: In Long Word mode, this instruction POPs one more word from stack and loads into SR(31-16), instead of duplicating (SP+1) location into SR(31-
16).
N: In Native mode, this instruction uses addresses modulo 65536.
(10): In case of AF register pair, execute time is one clock less.
PS010001-0301
|
▷ |