欢迎访问ic37.com |
会员登录 免费注册
发布采购

MPD789871 参数 Datasheet PDF下载

MPD789871图片预览
型号: MPD789871
PDF下载: 下载PDF文件 查看货源
内容描述: 8位单芯片微控制器 [8-Bit Single-Chip Microcontrollers]
分类和应用: 微控制器
文件页数/大小: 321 页 / 1339 K
品牌: NEC [ NEC ]
 浏览型号MPD789871的Datasheet PDF文件第59页浏览型号MPD789871的Datasheet PDF文件第60页浏览型号MPD789871的Datasheet PDF文件第61页浏览型号MPD789871的Datasheet PDF文件第62页浏览型号MPD789871的Datasheet PDF文件第64页浏览型号MPD789871的Datasheet PDF文件第65页浏览型号MPD789871的Datasheet PDF文件第66页浏览型号MPD789871的Datasheet PDF文件第67页  
CHAPTER 3 CPU ARCHITECTURE  
(3) Stack pointer (SP)  
This is a 16-bit register to hold the start address of the memory stack area. Only the internal high-speed  
RAM area can be set as the stack area.  
Figure 3-15. Stack Pointer Configuration  
15  
0
SP SP15 SP14 SP13 SP12 SP11 SP10 SP9 SP8 SP7 SP6 SP5 SP4 SP3 SP2 SP1 SP0  
The SP is decremented ahead of write (save) to the stack memory and is incremented after read (restore)  
from the stack memory.  
Each stack operation saves/restores data as shown in Figures 3-16 and 3-17.  
Caution Since RESET input makes the SP contents undefined, be sure to initialize the SP before  
instruction execution.  
Figure 3-16. Data to Be Saved to Stack Memory  
Interrupt  
PUSH rp  
instruction  
CALL, CALLT  
instructions  
_
_
_
_
SP SP  
SP  
3
3
2
1
_
_
_
_
_
_
SP SP  
SP  
2
2
1
SP SP  
SP  
2
2
1
PC7 to PC0  
PC15 to PC8  
PSW  
Lower  
register pairs  
SP  
PC7 to PC0  
Higher  
register pairs  
SP  
SP  
PC15 to PC8  
SP  
SP  
SP  
SP  
Figure 3-17. Data to Be Restored from Stack Memory  
POP rp  
RET instruction  
RETI instruction  
instruction  
Lower  
register pairs  
SP  
SP  
SP + 1  
PC7 to PC0  
SP  
PC7 to PC0  
PC15 to PC8  
PSW  
Higher  
register pairs  
PC15 to PC8  
SP + 1  
SP + 1  
SP + 2  
SP SP + 2  
SP SP + 2  
SP SP + 3  
User’s Manual U15075EJ1V0UM00  
63  
 复制成功!