I would like to place some interrupt functions within separate code modules for reuse across applications. Is this possible? For example, the file "system_tick.c" could contain: static void timer0_isr(void) interrupt 1 using 1 { //...whatever... } ...and other related functions. Thanks.
Should work fine. If you use bank switching, remember that the interrupt handlers (or at least a stub) must be in the common bank.
It all works as expected. Thanks. Just wanted to make sure that there wasn't something I didn't know about that would make this an undesirable approach.