True. Alan just mentioned that as well. Okay, you folks are truely the experts, so you've convinced me. -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Bob Ammerman Sent: Wednesday, June 12, 2002 5:29 AM To: PICLIST@MITVMA.MIT.EDU Subject: Re: [PIC]: Odd problem... ----- Original Message ----- From: "Pic Dude" To: Sent: Wednesday, June 12, 2002 2:27 AM Subject: Re: [PIC]: Odd problem... > Actually, now that I look into this carefully, the > same doc tells me that calls and retfie's will > save/retrieve at least all 11 bits on a 2048-byte > device, so for the 16F872, I won't actually need > to save/restore PCLATH in the ISR. > > Yes, that was all one sentence. > > Cheers, > -Neil. > This is true, only if the ISR doesn't use any lookup tables or otherwise have to manipulate PCLATH. Also, you can get stung in the future if you move up to a larger device, so be sure to well comment the situation, at least. 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 -- 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