Microchip Technology SW006023-3N Data Sheet
2012 Microchip Technology Inc.
DS51686E-page 5
11.3 Writing an Interrupt Service Routine ........................................................ 134
11.4 Associating a Handler Function with an Exception Vector ....................... 139
11.5 Exception Handlers .................................................................................. 141
11.6 Interrupt Service Routine Context Switching ............................................ 141
11.7 Latency ..................................................................................................... 142
11.8 Nesting Interrupts ..................................................................................... 142
11.9 Enabling/Disabling Interrupts ................................................................... 142
11.10 ISR Considerations ................................................................................ 142
11.4 Associating a Handler Function with an Exception Vector ....................... 139
11.5 Exception Handlers .................................................................................. 141
11.6 Interrupt Service Routine Context Switching ............................................ 141
11.7 Latency ..................................................................................................... 142
11.8 Nesting Interrupts ..................................................................................... 142
11.9 Enabling/Disabling Interrupts ................................................................... 142
11.10 ISR Considerations ................................................................................ 142
12.1 Introduction ............................................................................................... 143
12.2 The Main Function .................................................................................... 143
12.3 Runtime Start-up Code ............................................................................. 143
12.4 The On Reset Routine .............................................................................. 157
12.2 The Main Function .................................................................................... 143
12.3 Runtime Start-up Code ............................................................................. 143
12.4 The On Reset Routine .............................................................................. 157
14.1 Introduction ............................................................................................... 161
14.2 Using Inline Assembly Language ............................................................. 161
14.3 Predefined Assembly Macros ................................................................... 164
14.2 Using Inline Assembly Language ............................................................. 161
14.3 Predefined Assembly Macros ................................................................... 164
16.1 Introduction ............................................................................................... 169
16.2 C/C++ Language Comments .................................................................... 169
16.3 Preprocessor Directives ........................................................................... 169
16.4 Pragma Directives .................................................................................... 171
16.5 Predefined Macros ................................................................................... 172
16.2 C/C++ Language Comments .................................................................... 169
16.3 Preprocessor Directives ........................................................................... 169
16.4 Pragma Directives .................................................................................... 171
16.5 Predefined Macros ................................................................................... 172
17.1 Introduction ............................................................................................... 175
17.2 Replacing Library Symbols ....................................................................... 175
17.3 Linker-Defined Symbols ........................................................................... 175
17.4 Default Linker Script ................................................................................. 176
17.2 Replacing Library Symbols ....................................................................... 175
17.3 Linker-Defined Symbols ........................................................................... 175
17.4 Default Linker Script ................................................................................. 176
18.1 Introduction ............................................................................................... 191
18.2 Highlights .................................................................................................. 191
18.3 Overview .................................................................................................. 191
18.4 Translation ................................................................................................ 192
18.5 Environment ............................................................................................. 192
18.6 Identifiers .................................................................................................. 193
18.7 Characters ................................................................................................ 193
18.8 Integers .................................................................................................... 194
18.9 Floating-Point ........................................................................................... 194
18.10 Arrays and Pointers ................................................................................ 196
18.2 Highlights .................................................................................................. 191
18.3 Overview .................................................................................................. 191
18.4 Translation ................................................................................................ 192
18.5 Environment ............................................................................................. 192
18.6 Identifiers .................................................................................................. 193
18.7 Characters ................................................................................................ 193
18.8 Integers .................................................................................................... 194
18.9 Floating-Point ........................................................................................... 194
18.10 Arrays and Pointers ................................................................................ 196