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.
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.
You do not, "using 1" makes the routine (ISR or other) use register bank 1 throughout.
Erik