15.3 Writing an Interrupt Service Routine
Following the guidelines in this section, you can write all of your application code, including your interrupt service routines, using only C language constructs.
All ISR code will be placed into a named section that starts with
.isr. A function with a section attribute will prepend
.isr to the name given. Code compiled with
-ffunction-sections will also prepend .isr to the
section name. For details, see section -ffunction-sections.
If you have previously created your own linker script file, you may need
to modify your linker script as per the Readme file found in the pic32a/docs subdirectory of the MPLAB® XC32 install
directory.
