R
Russ_Verdon
- Jan 1, 1970
- 0
Hi, can a PIC programming guru help me out please?
BSF STATUS,RP0 ;BANK1
BSF PIE1,0 ;ENABLING TIMER1 OVERFLOW FLAG
BSF PIE1,2 ;ENABLING CCP1 INTERRUPT FLAG
I have the above lines of code in my program but when I assemble them in
MPLAB I get the following
BSF STATUS, 0x5
BSF PIR1, 0
BSF PIR1, 0x2
As you can see the PIE1 gets changed into a PIR1 !!!!!
Does anyone know what is going on here?
Thanks
Russell
BSF STATUS,RP0 ;BANK1
BSF PIE1,0 ;ENABLING TIMER1 OVERFLOW FLAG
BSF PIE1,2 ;ENABLING CCP1 INTERRUPT FLAG
I have the above lines of code in my program but when I assemble them in
MPLAB I get the following
BSF STATUS, 0x5
BSF PIR1, 0
BSF PIR1, 0x2
As you can see the PIE1 gets changed into a PIR1 !!!!!
Does anyone know what is going on here?
Thanks
Russell