Manu Abraham wrote: >> Why putting a goto ISR at the ISR entry point and not the code. >> Do you handle the interrupt correct? > > from the datasheet, all that i do find to handle an interrupt: > > isr > clear INT_FLAG > retfie This doesn't have much to do with the question. The point is you have a GOTO at 4 instead of the interrupt routine. That is a bad idea on a single page PIC, and is outright broken on a multi-page PIC. ******************************************************************** Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products (978) 742-9014. Gold level PIC consultants since 2000. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist