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

SN8P1604AK 参数 Datasheet PDF下载

SN8P1604AK图片预览
型号: SN8P1604AK
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8-Bit Micro-Controller]
分类和应用: 微控制器
文件页数/大小: 94 页 / 531 K
品牌: SONIX [ SONIX TECHNOLOGY COMPANY ]
 浏览型号SN8P1604AK的Datasheet PDF文件第76页浏览型号SN8P1604AK的Datasheet PDF文件第77页浏览型号SN8P1604AK的Datasheet PDF文件第78页浏览型号SN8P1604AK的Datasheet PDF文件第79页浏览型号SN8P1604AK的Datasheet PDF文件第81页浏览型号SN8P1604AK的Datasheet PDF文件第82页浏览型号SN8P1604AK的Datasheet PDF文件第83页浏览型号SN8P1604AK的Datasheet PDF文件第84页  
SN8P1600  
8-bit micro-controller  
;-------------------------------------------------------------------------------  
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  
A,#40h  
;Initial stack pointer and  
;disable global interrupt  
;pflag = x,x,x,x,x,c,dc,z  
;Clear watchdog timer and initial system mode  
b0mov  
b0mov  
mov  
b0mov  
OSCM,A  
call  
call  
b0bset  
ClrRAM  
SysInit  
FGIE  
;Clear RAM  
;System initial  
;Enable global interrupt  
;-------------------------------------------------------------------------------  
; Main routine  
;-------------------------------------------------------------------------------  
Main:  
b0bset  
FWDRST  
;Clear watchdog timer  
call  
MnApp  
jmp  
Main  
;-------------------------------------------------------------------------------  
; 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 80  
Revision 1.94  
 复制成功!