Stack Addressing - NEC mPD78F0730 Preliminary User's Manual

8-bit single-chip microcontroller
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.
With stack addressing, only the internal high-speed RAM area can be accessed.
[Description example]
PUSH DE; when saving DE register
[Illustration]
Downloaded from
Elcodis.com
electronic components distributor
CHAPTER 3 CPU ARCHITECTURE
Operation code
FEE0H
SP
FEDEH
SP
Preliminary User's Manual U19014EJ1V0UD
1
0
1
1
0
1
0
1
7
Memory
FEE0H
FEDFH
D
FEDEH
E
0
59

Advertisement

Table of Contents
loading

Table of Contents