Download MPLAB C18 C Compiler User's Guide
Transcript
Run-time Model TABLE 3-4: COMPILER RESERVED RESOURCES Compiler-managed Resource Primary Use(s) Execution control PC Automatically Saved WREG Intermediate calculations STATUS Calculation results BSR Bank selection PROD Multiplication results, return values, intermediate calculations section.tmpdata Intermediate calculations FSR0 Pointers to RAM FSR1 Stack pointer FSR2 Frame pointer TBLPTR Accessing values in program memory TABLAT Accessing values in program memory PCLATH Function pointer invocation PCLATU Function pointer invocation section MATH_DATA Arguments, return values and temporary locations for math library functions Note: 2004 Microchip Technology Inc. Compiler temporary variables are placed in a udata section named .tmpdata. Interrupt service routines each create a separate section for temporary data storage (see Section 2.9.2 “#pragma interruptlow fname / #pragma interrupt fname”). DS51288C-page 47