MOVLW 0x02 MOVWF CCP1CON MOVLW 0x0 MOVWF T3CON MOVLW 0x0 MOVWF T1CON BCF TRISC,CCP1 MOVLW 0xC3 MOVWF CCPR1H MOVLW 0x50 MOVWF CCPR1L OVER CLRF TMR1H CLRF TMR1L BCF PIR1,CCP1IF BSF T1CON,TMR1ON B1 BTFSS PIR1,CCP1IF BRA B1 BCF T1CON,TMR1ON GOTO OVER