Техническая Спецификация для Microchip Technology SW006023-2N

Скачать
Страница из 238
MPLAB
®
 XC32 C/C++ Compiler User’s Guide
DS51686E-page 156
 2012 Microchip Technology Inc.
12.3.11
Exceptions
In addition, two weak general exception handlers are provided that can be overridden 
by the application — one to handle exceptions when StatusBEV is 1 
(_bootstrap_exception_handler), and one to handle exceptions when 
StatusBEV
 is 0 (_general_exception_handler). Both the weak Reset exception 
handler and the weak general exception handler provided with the start-up code enters 
an infinite loop. The start-up code arranges for a jump to the reset exception handler to 
be located at 0xBFC00380, and a jump to the general exception handler to be located 
at EBASE + 0x180.
Both handlers must be attributed with the nomips16 [e.g., __attribute__ 
((nomips16))
], since the start-up code jumps to these functions.
FIGURE 12-5:
EXCEPTIONS