SW500010 Microchip Technology, SW500010 Datasheet - Page 97

HI-TECH C PRO FOR PIC10/12/16

SW500010

Manufacturer Part Number
SW500010
Description
HI-TECH C PRO FOR PIC10/12/16
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC10/12/16r
Datasheets

Specifications of SW500010

Supported Families
PIC10, PIC12, PIC16
Core Architecture
PIC
Software Edition
Professional
Kit Contents
Software And Docs
Mcu Supported Families
PIC10/12/16
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC10, PIC12, PIC14, PIC16, PIC16E
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
019P
778-1006
778-1006
C Language Features
text Is a global psect used for executable code for some library functions.
textn These psects (where n is a number) contain all executable code for the Midrange processors.
The compiler-generated psects which are placed in the data space are:
intsave Holds the W register saved by the interrupt service routine. If necessary, the W register will
intsave_n May also hold the W register saved by the interrupt service routine. (See the description
nvbit_n These psects are used to store persistent bit variables. They are not cleared or otherwise
nvram_n These psects are used to store persistent variables. They are not cleared or otherwise
rbit_n These psects are used to store all bit variables except those declared at absolute locations.
rbss_n These psects contain any uninitialized variables.
rdata_n These psects contain any initialised variables.
fnauton These psects contain the auto and parameter variables for the entire program. n is a number
3.9 Interrupt Handling in C
The compiler incorporates features allowing interrupts to be handled from C code. Interrupt func-
tions are often called interrupt service routines (ISR). Interrupts are also known as exceptions.
3.9.1 Interrupt Functions
The function qualifier interrupt may be applied to any number of C function definitions to allow
them to be called directly from the hardware interrupts. The compiler will process the interrupt
function differently to any other functions, generating code to save and restore any registers used
and exit using the appropriate instruction.
If the PICC option --STRICT is used, the interrupt keyword becomes __interrupt.
They also contains any executable code after the first goto instruction which can never be
skipped for the Baseline processors.
also be saved in the intsave_n psects.
of the intsave psect.)
modified at startup.
modified at startup.
and represents the bank in which it will be linked.
Interrupt Handling in C
97

Related parts for SW500010