This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Interrupt Register Bank Usage

I created a timer 0 interrupt handler:

void Timer_0_Interrupt(void) interrupt INTERRUPT_TIMER_0 using 1
{ ...
}

I noticed that the compiler created instructions with absolute register access. Please confirm that I must also specify either "#pragma REGISTERBANK(1)" or "#pragma NOAREGS". Otherwise the code will use register bank 0 for the absolute register instructions.

0