📄 main.asm
字号:
;Note: Receive RF information sucess!
;add music
;*****************************************************************************
; 000000 00000 0000 0000 00000 0000 0000 *
; 00 00 00 00 0000 00 0 0 000 000 *
; 00 000 00 00 00 00 00 0 0 00 00 *
; 00 00 00 00 00 00 0 0 00 00 *
; 000000 00 00 00 00 00 0 0 000 *
; 000 00 00 00 00 00 00 0 0 00 00 *
; 00 00 00 00 00 00 00 0 0 00 00 *
; 00 00 00 00 00 0000 0 0 000 000 *
; 000000 00000 0000 0000 00000 0000 0000 *
; *
; Case Name:Telecontrol Truck (SONIX SN8P1602B Inside) *
; Purpose :Receive RF information and control the truck *
; Version: 1.0 *
; Ooooo Author: Recal Chao *
; ooooO ( ) E-mail: sa1@sonix.cn *
; ( ) ) / Tel : (86)0755-26719666-235 *
; \ ( (_/ Fax : (86)0755-26719786 *
; \_) Date : 2004/05/10 *
; Company: SONIX TECHNOLOGY(SHENZHEN) CO.,LTD *
;*****************************************************************************
;Fosc=16MHz(Crystal)
;Fcpu=4MHz
;***************************************
chip SN8P1602B
//{{SONIX_CODE_OPTION
.Code_Option Low_Power Disable
.Code_Option Noise_Filter Enable
.Code_Option OSG Enable
.Code_Option High_Clk 12M_X'tal
.Code_Option High_Clk/2 Disable
.Code_Option Security Enable
.Code_Option Int_16K_RC Always_ON
.Code_Option Watch_Dog Enable
//}}SONIX_CODE_OPTION
include ram.asm ; User's RAM and Pin Definition
include extern.h ; Project's Macro
includestd macro1.h ; SONIX Standard MACRO1
includestd macro2.h ; SONIX Standard MACRO2
includestd macro3.h ; SONIX Standard MACRO3
include macro.h ; Sonix's full macro liarbry
.code
org 00h
include vec.asm ; System Vector
;Program Begin
org 0ah
include pro.asm ; Main Routine
include com.asm ; Common Ram/Pin/Register preset
include int.asm ; Interrupt
; include bios.asm ; BIOS
include sys.asm ; System Routine
include sub.asm ; Sub Routine
; include table.asm ; Data Table
include RFreceive.asm ; RF receive information
endp ; End of Compiler
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -