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

SN8P27411SDG 参数 Datasheet PDF下载

SN8P27411SDG图片预览
型号: SN8P27411SDG
PDF下载: 下载PDF文件 查看货源
内容描述: [ADC, OP-amp, Comparator 8-Bit Micro-Controller]
分类和应用:
文件页数/大小: 136 页 / 3074 K
品牌: SONIX [ SONIX TECHNOLOGY COMPANY ]
 浏览型号SN8P27411SDG的Datasheet PDF文件第11页浏览型号SN8P27411SDG的Datasheet PDF文件第12页浏览型号SN8P27411SDG的Datasheet PDF文件第13页浏览型号SN8P27411SDG的Datasheet PDF文件第14页浏览型号SN8P27411SDG的Datasheet PDF文件第16页浏览型号SN8P27411SDG的Datasheet PDF文件第17页浏览型号SN8P27411SDG的Datasheet PDF文件第18页浏览型号SN8P27411SDG的Datasheet PDF文件第19页  
SN8P2740 Series  
ADC, OP-amp, Comparator 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 JMPinstruction to make the program starts from the beginning.  
2. The address 0008H is interrupt vector.  
3. Users program is a loop routine for main purpose application.  
SONiX TECHNOLOGY CO., LTD  
Page 15  
Version 2.0  
 复制成功!