Code:
#pragma interruptlow InterruptHandlerLow save=PROD,section("MATH_DATA"),section(".tmpdata")
The
#pragma is a fancy command that has special meaning to the MCC compiler. This one says that the function
InterruptHandlerLow() should be compiled and installed as the low-priority interrupt handler (
interruptlow), and that extra instructions should be included around the function to save (and later restore) the
MATH_DATA and
.tmpdata scratchpad memory sections. The
PRODH and
PRODL registers are also saved (I think the compiler uses them to do address calculations, but I'm not sure).