?? example.asm.bak
字號:
; LPC932 ISP test
; use the on chip RC oscillator, disable the WDT
; define some LPC932 SFR
P1M1 DATA 91H
P1M2 DATA 92H
AUXR1 DATA 0A2H
SSTAT DATA 0BAH
BRGR1 DATA 0BFH
BRGR0 DATA 0BEH
BRGCON DATA 0BDH
; LED lamp cortrol
LEDCON BIT P1.6
ORG 0000H
AJMP MAIN
ORG 0100H
MAIN: MOV R7,#0
DJNZ R7,$
; setup Port 1
MOV P1M1,#00H
MOV P1M2,#00H
CLR LEDCON ; LED light
LCALL ISP_INI ; setup the UART and open break detect
; user program, LED coruscate cortrol
MAIN_L1: MOV R7,#20
MAIN_L2: MOV R6,#0
MAIN_L3: MOV R5,#0
DJNZ R5,$
DJNZ R6,MAIN_L3
DJNZ R7,MAIN_L2
CPL LEDCON
AJMP MAIN_L1
$INCLUDE (ISP932.INC)
END
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -