Stack Addressing - NEC mPD780344 Series User Manual

8-bit single-chip microcontrollers
Table of Contents

Advertisement

3.4.9 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/reset upon generation of an interrupt request.
Stack addressing enables to address the internal high-speed RAM area only.
[Description example]
In the case of PUSH DE (when saving DE register)
[Illustration]
SP
SP
86
CHAPTER 3 CPU ARCHITECTURE
Operation code
FEE0H
FEE0H
FEDFH
FEDEH
FEDEH
User's Manual U15798EJ2V0UD
1 0 1 1 0 1 0 1
7
Memory
D
E
0

Advertisement

Table of Contents
loading

Table of Contents