CHAPTER 3 CPU ARCHITECTURE
User’s Manual U16898EJ3V0UD
47
3.4.7 Stack addressing
[Function]
The stack area is indirectly addressed with the stack pointer (SP) contents.
This addressing method is automatically employed when the PUSH, POP, subroutine call, and return instructions
are executed or the register is saved/restored upon interrupt request generation.
Stack addressing can be used to access the internal high-speed RAM area only.
[Description example]
In the case of PUSH DE
Instruction
code 1 0 1 0 1 0 1 0
[Illustration]
FEE0H
FEE0H
FEDFH
FEDEH
D
E
FEDEH
SP
SP
7
0
Memory