Searching \ for '[PIC:] tblrd and interrupts' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: techref.massmind.org/techref/microchip/ints.htm?key=interrupt
Search entire site for: 'tblrd and interrupts'.

Exact match. Not showing close matches.
PICList Thread
'[PIC:] tblrd and interrupts'
2006\01\26@201102 by Hector Martin

flavicon
face
I was having some weird behavior that later boiled down to me not saving
TBLPTR during interrupts (I use it in ints and in main code, duh).
However, now, occasionally I get weird glitches that seem to
consistently be a missed tblrd *+ post-increment, or some other
condition that ends up with TBLPTR one less than it should.

After wrapping the tblrd's in interrupt disable code, it seemed to be
gone but I believe I saw it again. I'll see if it happens again. Could
it be that tblrd is one of those two-word instructions that behave
strangely with interrupts?

--
Hector Martin (spam_OUThectorTakeThisOuTspammarcansoft.com)
Public Key: http://www.marcansoft.com/hector.asc


2006\01\27@155031 by Hector Martin

flavicon
face
Hector Martin wrote:
> two-word instructions that behave
> strangely with interrupts?
>
Correction: two-*cycle*

Microchip does not specify when the increment occurs on the datasheet.



--
Hector Martin (.....hectorKILLspamspam@spam@marcansoft.com)
Public Key: http://www.marcansoft.com/hector.asc

More... (looser matching)
- Last day of these posts
- In 2006 , 2007 only
- Today
- New search...