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

SN8P26042A 参数 Datasheet PDF下载

SN8P26042A图片预览
型号: SN8P26042A
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8-Bit Micro-Controller]
分类和应用: 微控制器
文件页数/大小: 101 页 / 733 K
品牌: SONIX [ SONIX TECHNOLOGY COMPANY ]
 浏览型号SN8P26042A的Datasheet PDF文件第12页浏览型号SN8P26042A的Datasheet PDF文件第13页浏览型号SN8P26042A的Datasheet PDF文件第14页浏览型号SN8P26042A的Datasheet PDF文件第15页浏览型号SN8P26042A的Datasheet PDF文件第17页浏览型号SN8P26042A的Datasheet PDF文件第18页浏览型号SN8P26042A的Datasheet PDF文件第19页浏览型号SN8P26042A的Datasheet PDF文件第20页  
SN8P2604A  
8-Bit Micro-Controller  
¾
Example: Defining Interrupt Vector. The interrupt service routine is following user program.  
.CODE  
ORG  
JMP  
0
; 0000H  
START  
; Jump to user program address.  
ORG  
JMP  
8
; Interrupt vector.  
; 0008H, Jump to interrupt service routine address.  
MY_IRQ  
ORG  
10H  
START:  
; 0010H, The head of user program.  
; User program.  
JMP  
START  
; End of user program.  
MY_IRQ:  
;The head of interrupt service routine.  
PUSH  
; Save ACC and PFLAG register to buffers.  
POP  
RETI  
; Load ACC and PFLAG register from buffers.  
; End of interrupt service routine.  
ENDP  
; End of program.  
’
Note: It is easy to understand the rules of SONIX program from demo programs given above. These  
points are as following:  
1. The address 0000H is a “JMP” instruction to make the program starts from the beginning.  
2. The address 0008H is interrupt vector.  
3. User’s program is a loop routine for main purpose application.  
SONiX TECHNOLOGY CO., LTD  
Page 16  
Version 0.3  
 复制成功!