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

SN8A1703AS 参数 Datasheet PDF下载

SN8A1703AS图片预览
型号: SN8A1703AS
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8-Bit Micro-Controller]
分类和应用: 微控制器
文件页数/大小: 112 页 / 624 K
品牌: SONIX [ SONIX TECHNOLOGY COMPANY ]
 浏览型号SN8A1703AS的Datasheet PDF文件第97页浏览型号SN8A1703AS的Datasheet PDF文件第98页浏览型号SN8A1703AS的Datasheet PDF文件第99页浏览型号SN8A1703AS的Datasheet PDF文件第100页浏览型号SN8A1703AS的Datasheet PDF文件第102页浏览型号SN8A1703AS的Datasheet PDF文件第103页浏览型号SN8A1703AS的Datasheet PDF文件第104页浏览型号SN8A1703AS的Datasheet PDF文件第105页  
Preliminary  
SN8P1702A/SN8P1703A  
8-bit micro-controller build-in 12-bit ADC  
;-------------------------------------------------------------------------------  
Code section  
;
;-------------------------------------------------------------------------------  
.CODE  
ORG  
jmp  
0
;Code section start  
;Reset vector  
Reset  
;Address 4 to 7 are reserved  
ORG  
jmp  
8
Isr  
;Interrupt vector  
ORG  
10h  
;-------------------------------------------------------------------------------  
Program reset section  
;
;-------------------------------------------------------------------------------  
Reset:  
mov  
A,#07Fh  
STKP,A  
PFLAG,#00h  
RBANK,#00h  
A,#40h  
;Initial stack pointer and  
;disable global interrupt  
;pflag = x,x,x,x,x,c,dc,z  
;Set initial RAM bank in bank 0  
;Clear watchdog timer and initial system mode  
b0mov  
b0mov  
b0mov  
mov  
b0mov  
OSCM,A  
call  
call  
b0bset  
ClrRAM  
SysInit  
FGIE  
;Clear RAM  
;System initial  
;Enable global interrupt  
;-------------------------------------------------------------------------------  
Main routine  
;
;-------------------------------------------------------------------------------  
Main:  
b0bset  
call  
jmp  
FWDRST  
MnApp  
Main  
;Clear watchdog timer  
;-------------------------------------------------------------------------------  
Main application  
;
;-------------------------------------------------------------------------------  
MnApp:  
; Put your main program here  
ret  
;-----------------------------------  
;
Jump table routine  
;-----------------------------------  
ORG  
0x0100  
;The jump table should start from the head  
;of boundary.  
b0mov  
and  
A,Wk00  
A,#3  
ADD  
PCL,A  
jmp  
jmp  
jmp  
JmpSub0  
JmpSub1  
JmpSub2  
;-----------------------------------  
SONiX TECHNOLOGY CO., LTD  
Page 101  
Revision 0.5  
 复制成功!