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

SN8A1704A 参数 Datasheet PDF下载

SN8A1704A图片预览
型号: SN8A1704A
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8-Bit Micro-Controller]
分类和应用: 微控制器
文件页数/大小: 145 页 / 774 K
品牌: SONIX [ SONIX TECHNOLOGY COMPANY ]
 浏览型号SN8A1704A的Datasheet PDF文件第126页浏览型号SN8A1704A的Datasheet PDF文件第127页浏览型号SN8A1704A的Datasheet PDF文件第128页浏览型号SN8A1704A的Datasheet PDF文件第129页浏览型号SN8A1704A的Datasheet PDF文件第131页浏览型号SN8A1704A的Datasheet PDF文件第132页浏览型号SN8A1704A的Datasheet PDF文件第133页浏览型号SN8A1704A的Datasheet PDF文件第134页  
SN8P1700  
8-bit micro-controller build-in 12-bit ADC  
JmpSub0:  
; Subroutine 1  
jmp  
JmpExit  
JmpSub1:  
; Subroutine 2  
jmp  
JmpSub2:  
jmp  
JmpExit  
; Subroutine 3  
JmpExit  
JmpExit:  
ret  
;Return Main  
;-------------------------------------------------------------------------------  
; Isr (Interrupt Service Routine)  
; Arguments :  
; Returns  
:
; Reg Change:  
;-------------------------------------------------------------------------------  
Isr:  
;-----------------------------------  
;
Save ACC and system registers  
;-----------------------------------  
b0xch  
push  
A,AccBuf  
;B0xch instruction do not change C,Z flag  
;Remark this line in SN8P1702 registers  
;Save 80h ~ 87h system  
;Following two lines for SN8X1702 only  
;b0mov  
;b0mov  
A,PFLAG  
PflagBuf,A  
;-----------------------------------  
Check which interrupt happen  
;
;-----------------------------------  
IntP00Chk:  
b0bts1  
jmp  
b0bts0  
jmp  
FP00IEN  
IntTc0Chk  
FP00IRQ  
P00isr  
;Modify this line for another interrupt  
;If necessary, insert another interrupt checking here  
IntTc0Chk:  
b0bts1  
FTC0IEN  
IsrExit  
FTC0IRQ  
TC0isr  
jmp  
b0bts0  
jmp  
;Suppose TC0 is the last interrupt which you  
;want to check  
SONiX TECHNOLOGY CO., LTD  
Page 130  
Revision 1.94  
 复制成功!