ORG 0000H
JMP RESET
RTNI
JMP TIMER1_INT ;T1 INT THEN GO TO T1_INT
RTNI
RTNI
;--------------------------------------------------------
RESET:
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
NOP
CLEARRAM: ;CLEAR RAM 020H-3AFH,
LDI DPH ,07H
LDI DPM ,02H
LDI DPL ,0FH
LDI WDT ,1100B ;CLR WDT WDT=64ms
?CLinx:
LDI INX ,00H
CALL DataPointDec
LDA DPH ,BANK0
OR DPM ,BANK0
BNZ ?CLinx
;--------------------------------------------------------
程序中的这一部分是干什么用的,去掉后程序怎么就运行不正常了?》 |