post 35 is wrong pie1 is not in bank0 either

Code:
Asm
PWM_INT
CHK?RP   CCP1CON
movlw 9 ; compare mode
clrf CCP1CON ; clear reg
movwf CCP1CON ; Set reg
CHK?RP  PWM_VAL
movf PWM_VAL+1,W ; hb
CHK?RP   CCPRIL
movwf CCPR1H ; put
CHK?RP  PWM_VAL
movf PWM_VAL,W ; lb
CHK?RP   CCPRIL
movwf CCPR1L ; put
banksel 0
bsf INTCON,7 ;GIE = 1
bsf INTCON,6 ;PEIE = 1 Enable peripheral interrupts
CHK?RP   PIE1
bsf PIE1,0 ; TMR1IE= 1 Enable TMR1
BANKSEL 0
bcf PIR1,0 ; TMR1IF = 0 Clear Timer1 Int Flag

RETFIE ; Return from Interrupt
EndAsm

it just gets worse