4.6.3 Interrupt Code

For the interrupt function, use the keyword __interrupt with level number of 0 (PIC14 only has 1 interrupt so this number is only there to avoid a syntax error - it ought to be fixed). E.g.:

void Intr(void) __interrupt (0) 
{ 
  T0IF = 0; /* Clear timer interrupt */ 
}