参数资料
型号: SN8P1603S
厂商: SONIX Technology Co., Ltd.
英文描述: 8-Bit Micro-Controller
中文描述: 8位微控制器
文件页数: 80/94页
文件大小: 540K
代理商: SN8P1603S
SN8P1600
8-bit micro-controller
SONiX TECHNOLOGY CO., LTD
Page 80
Revision 1.94
;-------------------------------------------------------------------------------
;
Code section
;-------------------------------------------------------------------------------
.CODE
ORG
0
;Code section start
jmp
Reset
;Reset vector
;Address 4 to 7 are reserved
ORG
8
jmp
Isr
;Interrupt vector
ORG
10h
;-------------------------------------------------------------------------------
; Program reset section
;-------------------------------------------------------------------------------
Reset:
mov
A,#07Fh
;Initial stack pointer and
b0mov
STKP,A
;disable global interrupt
b0mov
PFLAG,#00h
;pflag = x,x,x,x,x,c,dc,z
mov
A,#40h
;Clear watchdog timer and initial system mode
b0mov
OSCM,A
call
ClrRAM
;Clear RAM
call
SysInit
;System initial
b0bset
FGIE
;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
A,Wk00
and
A,#3
ADD PCL,A
jmp JmpSub0
jmp JmpSub1
jmp JmpSub2
;-----------------------------------
相关PDF资料
PDF描述
SN8P1603X 8-Bit Micro-Controller
SN8P1604 8-Bit Micro-Controller
SN8P1604AK 8-Bit Micro-Controller
SN8P1604AP 8-Bit Micro-Controller
SN8P1604AQ 8-Bit Micro-Controller
相关代理商/技术参数
参数描述
SN8P1603X 制造商:SONIX 制造商全称:SONIX 功能描述:8-Bit Micro-Controller
SN8P1604 制造商:SONIX 制造商全称:SONIX 功能描述:8-Bit Micro-Controller
SN8P1604AK 制造商:SONIX 制造商全称:SONIX 功能描述:8-Bit Micro-Controller
SN8P1604AP 制造商:SONIX 制造商全称:SONIX 功能描述:8-Bit Micro-Controller
SN8P1604AQ 制造商:SONIX 制造商全称:SONIX 功能描述:8-Bit Micro-Controller