Porting previous code assembled with MPASM to pic-as assembler - 18F family.
I am getting syntax error with these two lines
;------------------------------------------------------------------------------
;3 - Enable individually the sources of interrupt above.
BSF PIE1,TMR2IE ;TMR2 match interrupt enabled
;------------------------------------------------------------------------------
;4 - Clear the flags of the interrupts above.
BCF PIR1,TMR2IF ;clear TMR2 match interrupt flag
;------------------------------------------------------------------------------
I feel that the actuall error is somewhere else but I do not know where to look at.
I am getting syntax error with these two lines
;------------------------------------------------------------------------------
;3 - Enable individually the sources of interrupt above.
BSF PIE1,TMR2IE ;TMR2 match interrupt enabled
;------------------------------------------------------------------------------
;4 - Clear the flags of the interrupts above.
BCF PIR1,TMR2IF ;clear TMR2 match interrupt flag
;------------------------------------------------------------------------------
I feel that the actuall error is somewhere else but I do not know where to look at.