79
CHAPTER 3 CPU ARCHITECTURE
User’s Manual U12697EJ3V0UM
Figure 3-8. Data Saved to the Stack
PUSH sfr instruction
Stack
PUSH sfrp instruction
Stack
SP
➡
↓
SP-1
SP
←
SP-1
SP
➡
↓
SP-1
↓
SP-2
SP
←
SP-2
Higher byte
Lower byte
PUSH PSW instruction
Stack
PUSH rg instruction
Stack
SP
➡
↓
SP-1
↓
SP-2
SP
←
SP-2
SP
➡
↓
SP-1
↓
SP-2
↓
SP-3
SP
←
SP-3
Higher byte
Middle byte
Lower byte
PSWH
7
to
PSWH
4
PSWH
7
to
PSWH
4
PSWL
Undefined
CALL, CALLF, CALLT instructions
Stack
Vectored interrupt
Stack
SP
➡
↓
SP-1
↓
SP-2
↓
SP-3
SP
←
SP-3
SP
➡
↓
SP-1
↓
SP-2
↓
SP-3
↓
SP-4
SP
←
SP-4
PSWL
PC15 to PC8
PC7 to PC0
PC15 to PC8
PC7 to PC0
PC19 to PC16
PC19 to PC16
Undefined
PUSH post, PUSHU post instructions
(for PUSH AX, RP2, RP3)
Stack
SP
➡
↓
SP-1
↓
SP-2
↓
SP-3
↓
SP-4
↓
SP-5
↓
SP-6
SP
←
SP-6
R6
R7
RP3
R5
R4
A
X
RP2
AX