28 Built-in Functions
This appendix lists the built-in functions that are specific to MPLAB® XC-DSC C Compiler.
Built-in functions give the C programmer access to assembler operators or machine instructions that are currently only accessible using inline assembly, but are sufficiently useful that they are applicable to a broad range of applications. Built-in functions are coded in C source files syntactically like function calls, but they are compiled to assembly code that directly implements the function and do not involve function calls or library routines.
The generic device support include file xc.h includes
builtins.h which contains prototypes for all Microchip special
compiler builtins. Some builtins are not MISRA compliant; these can be omitted by adding
the define __XC_STRICT_MISRA
to the compiler command line