Stack Addressing - NEC 78K0 User Manual

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0:
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]
In the case of PUSH DE (saving DE register)
[Illustration]
SP
SP
CHAPTER 3 CPU ARCHITECTURE
Operation code
1
0
FEE0H
FEE0H
FEDFH
FEDEH
FEDEH
*
User's Manual U15947EJ2V0UD
1
1
0
1
0
1
7
Memory
0
D
E
95

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

78kf1

Table of Contents