MOVLW 155
MOVWF RTCC ;定时器送初值(255-155)*32US=3.2MS,每3.2MS一次中断
MOVLW 0FFH ;先让数码管全部不显示
MOVWF PORTC
MOVLW 06H
MOVWF DISP_COUNT
CLRW
MOVWF DISPBUFF_1
MOVLW 1
MOVWF DISPBUFF_0
MOVLW 2
MOVWF DISPBUFF_3
MOVLW 3
MOVWF DISPBUFF_2
MOVLW 4
MOVWF DISPBUFF_5
MOVLW 5
MOVWF DISPBUFF_4
BCF INTCON,T0IF
BSF INTCON,T0IE ;定时器0溢出中断允许
BSF INTCON,GIE ;总中断允许
;----------------------
LOOPA BTFSS PORTB,1
&nb