gnupic: Interrupt Problems?!?
Subject:
Re: Interrupt Problems?!?
From:
"Eric Smith" ####@####.####
Date:
9 Dec 2002 01:30:29 -0000
Message-Id: <33404.64.169.63.74.1039397029.squirrel@ruckus.brouhaha.com>
> For the 14-bit parts, from what I can tell, unless you really know what
> you are doing (and most of the time, even if you do), you need to save
> and restore the upper byte part of the program counter. You'll see that
> Microchip does this in their examples in the documentation.
I recently learned the hard way that this is true on the PIC18 as well.
The PIC18 a special one-level hardware context save, but PCLATH and PCLATU
aren't part of it.