Open P16F88.INC in your MPLAB directory and look under the INTCON Bits section.
Code:
;----- INTCON Bits --------------------------------------------------------
GIE EQU H'0007'
PEIE EQU H'0006'
TMR0IE EQU H'0005'
INTE EQU H'0004'
RBIE EQU H'0003'
TMR0IF EQU H'0002'
INTF EQU H'0001'
RBIF EQU H'0000'
It's defined as TMR0IF. You can fix this with;
Code:
;----- INTCON Bits --------------------------------------------------------
GIE EQU H'0007'
PEIE EQU H'0006'
TMR0IE EQU H'0005'
INTE EQU H'0004'
RBIE EQU H'0003'
TMR0IF EQU H'0002'
T0IF EQU H'0002'
INTF EQU H'0001'
RBIF EQU H'0000'
Several of the newer 16F header files have it listed both ways.
Bookmarks