哦,下面的就是吧
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
;-------------------------------------------------------- |