Its nice to have a working bug free sample app to get a Dev system up and running.
The sample inter.c does not toggle the portb bit correctly.
If you run it the bit stays high. But, MPLAB 6.4 happily toggles the bit!
Heres the correct coding:
//This sample program for the PIC16F84 target shows how
//to use interrupts. If there is a LED connected to
//B7 it will blink.
char led = 1;
void interrupt( void )
if( led == 1 )
portb |= 128;
led = 0;
portb &= ~128;
led = 1;