On 12 Sep 97 at 17:14, Pioneer Microsystems wrote: > Just a quick note. Check the comments on saving the context, which > are absolutely critical. There is no effort on the part of the PIC > to save the context (W, STATUS, FSR, PCLATH). I have inherited code With the rider - if you don't use fsr in the isr, then don't save it. > I have formed a habit of starting each project with a piece of code > that checks all of the interrupts, even peripheral ones, and then Except with generic code, you may need to re-order it. eg - you may wish the timer1 int to be serviced and returned from very fast, because it occurs 100 times more often, and you might be waiting for the isr to set a flag before your main code proceeds. MikeS (remove the you know what before replying)