📄 plane050930v01.asm
字号:
;********************************************************
; COMPANY : CHOMP *
; PROJECT NAME : *
; Author : *
; VERSION : V0.0 *
; START DATE : 2004.12. *
; COMPLISH DATE: 2004.12. *
; Modify : 2004.12. *
; BODY : SN8P2602 *
; COMPILER : 2K *
; CRYSTAL : 4MHz *
; Modify function: *
; *******************************************************
;//Set ICE emulation mode.Pay attention to it be reset after emulation.
;ICE_MODE EQU 1
;// Please set ICE_MODE equ 0 and recompiler before write the code into IC body
;//ICE_MODE EQU 0
chip sn8p2602a
//{{SONIX_CODE_OPTION
.Code_Option Noise_Filter Enable
.Code_Option Reset_Pin P15
.Code_Option Watch_Dog Always_On ; Watchdog still enable even in Green and Sleep mode
.Code_Option High_Clk 12M_X'tal ; Crystal/Resonator: 10Mhz~16Mhz
.Code_Option Fcpu #2 ; Fcpu = High_Clk/4
.Code_Option Security Enable
//}}SONIX_CODE_OPTION
include define.asm
.nolist ; do not list the macro file
INCLUDESTD MACRO1.H
INCLUDESTD MACRO2.H
INCLUDESTD MACRO3.H
INCLUDESTD SN8P2X_ICE.H
;-----------------------------------------------
.list
;***********************************************
.code
org 0h
jmp start
org 08h
jmp interruptSub
org 10h
include main.asm
include app.asm
include int.asm
include key.asm
; include disasm.asm
;***********************************************
endp
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -