Техническая Спецификация для Microchip Technology SW006023-2N
![Microchip Technology](https://files.manualsbrain.com/attachments/cf42c3c895ef469f06d2e47e97fd98d738fcf5cf/common/fit/150/50/7340124dc8aa983aaf764094e2f06faab86f306c03111c5817f7e4e53fb2/brand_logo.gif)
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
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.
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))
((nomips16))
], since the start-up code jumps to these functions.
FIGURE 12-5:
EXCEPTIONS