Quote:
|
Originally Posted by Kevin Watson
Yeah, you can see some pretty wierd behavior if the context isn't saved properly. It would be nice if the compiler was more intelligent in this regard. Until then, you need to tweak this yourself with a somewhat cryptic #pragma statement that's documented in section 2.9.2 of the compiler user's guide.
-Kevin
|
Thanks, yeah, I was using the old #pragma. I updated it to the more conservative one you posted
here and the brain farts went away.
All: it's the "#pragma interruptlow" in user_routines_fast.c. This is the one to use:
Code:
#pragma interruptlow InterruptHandlerLow save=PROD,section("MATH_DATA"),section(".tmpdata")
__________________
Trenton Tornadoes 381
2004 Philadelphia Regional Winners
2006 Xerox Creativity Award
---
My corner of the
USPTO.
My favorite error message from gcc:
main is usually a function
My favorite error message from Windows:
There is not enough disk space available to delete this file.