7.2.4 Assembly Compilation
A mix of C and assembly code can be compiled together using the compiler (MPLAB X IDE Projects). For more details, see the Mixing C and Assembly Code section.
Additionally, the compiler may be used to generate assembly code
(.s
) from C code (.c
) using the
-S
option. The assembly output may then be used in subsequent
compilation using the command-line driver.