In fact you don't need to use assembler to set up the vector, it can be done like this:
Code:
#define LED1 P10 // port 1 bit 0
interrupt void
Timer2_ISR(void) @ 0x2B // using @ syntax to specify the vector address
{
TF2H = 0; // Clear Timer2 interrupt flag
LED1 = !LED1;
}
Clyde