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

SN8P26042A 参数 Datasheet PDF下载

SN8P26042A图片预览
型号: SN8P26042A
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8-Bit Micro-Controller]
分类和应用: 微控制器
文件页数/大小: 101 页 / 733 K
品牌: SONIX [ SONIX TECHNOLOGY COMPANY ]
 浏览型号SN8P26042A的Datasheet PDF文件第11页浏览型号SN8P26042A的Datasheet PDF文件第12页浏览型号SN8P26042A的Datasheet PDF文件第13页浏览型号SN8P26042A的Datasheet PDF文件第14页浏览型号SN8P26042A的Datasheet PDF文件第16页浏览型号SN8P26042A的Datasheet PDF文件第17页浏览型号SN8P26042A的Datasheet PDF文件第18页浏览型号SN8P26042A的Datasheet PDF文件第19页  
SN8P2604A  
8-Bit Micro-Controller  
2.1.1.2 INTERRUPT VECTOR (0008H)  
A 1-word vector address area is used to execute interrupt request. If any interrupt service executes, the program  
counter (PC) value is stored in stack buffer and jump to 0008h of program memory to execute the vectored interrupt.  
Users have to define the interrupt vector. The following example shows the way to define the interrupt vector in the  
program memory.  
’
Note: ”PUSH”, “POP” instructions save and load ACC/PFLAG without (NT0, NPD). PUSH/POP buffer is a  
unique buffer and only one level.  
¾
Example: Defining Interrupt Vector. The interrupt service routine is following ORG 8.  
.CODE  
ORG  
JMP  
0
; 0000H  
START  
; Jump to user program address.  
ORG  
PUSH  
8
; Interrupt vector.  
; Save ACC and PFLAG register to buffers.  
POP  
RETI  
; Load ACC and PFLAG register from buffers.  
; End of interrupt service routine  
START:  
; The head of user program.  
; User program  
JMP  
START  
; End of user program  
; End of program  
ENDP  
SONiX TECHNOLOGY CO., LTD  
Page 15  
Version 0.3  
 复制成功!