> >But if you have NO goto's and no computed > >goto's (look-up tables and the like) in your ISR code, PCLATH does not need > >to get altered and therefore does not need to get saved. > > This is true, but can be dangerous if you want to add to your code at a > later date and forget about PCLATH, thinking to yourself "I've already got > my context saving taken care of." You might be better off saving everything > properly from the start. > Also, NO CALLS. And I have found this useful in a couple of applcations where every cycle is critical. And of course it is pretty easy for a GOTO to sneak its way into your ISR. Bob Ammerman RAm Systems -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics