F flit07 New Member Oct 15, 2009 #1 Hi, I'm trying to write a ISR for this PIC, but i'm having trouble with IAR Compiler. The example codes that i'm testing compiled with errors. I'm trying to compile the example given here PIC microcontroller interrupt tutorial The warning says: WREG, PCLATH, STATUS/ALUSTA and BSR will not be saved automatically unless a vector is assigned to the interrupt function. How should I solve this? Thanks
Hi, I'm trying to write a ISR for this PIC, but i'm having trouble with IAR Compiler. The example codes that i'm testing compiled with errors. I'm trying to compile the example given here PIC microcontroller interrupt tutorial The warning says: WREG, PCLATH, STATUS/ALUSTA and BSR will not be saved automatically unless a vector is assigned to the interrupt function. How should I solve this? Thanks
F flit07 New Member Oct 16, 2009 #2 [Solved] I didn't define a interrupt vector, that's why the warning...