6.2.4 Assembly Compilation
A mix of C and assembly code can be compiled together using the compiler (5.3 MPLAB X IDE Projects). For more details, see the 17 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.