The following is from my PIC16F877 program - don't know if the interrupt handling is similar to a PIC17C756, but this is how I check for multiple interrupts in C. Maybe it will help you. // ************************************************** // Function Name: OneMsecInterrupt // // Description: The value of RELOADTIMER has been set so that // when timer0 or timer1 overflow, it equals 1msec // // Inputs: none // // Outputs: none // void interrupt OneMsecInterrupt(void) { if (tmr1if) { tmr1if = 0; // clear tmr1 overflow interrupt flag bit // do other stuff here } if (tmr0if) { tmr0if = 0; // clear tmr0 overflow interrupt flag bit // do other stuff here } } // end of OneMsecInterrupt() -----Original Message----- From: David Huisman [mailto:david.huisman@ADVMININGTECH.COM.AU] Sent: Monday, November 13, 2000 5:32 PM To: PICLIST@MITVMA.MIT.EDU Subject: [PIC]:17C756 Interrupt handling Anyone have some sample C code showing how the multiple interrupts are handled in the PIC17C756A ? TIA Regards David Huisman -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads