5.6 Assembly List Files

An assembly list file is a human-readable listing, showing the opcodes that are present in the final output and the addresses at which they are located.

The assembler will produce an assembly list file if instructed using the -Wa,-a option. From the MPLAB X IDE, this option can be specified by selecting the Generate the ASM listing file checkbox in the XC8 Compiler > Preprocessing and Messages category in the Project Properties dialog. When using the MPLAB Extension for VS Code, a similar checkbox exists in C Compiler > Preprocessing and Messages category.

There is one assembly list file produced for each assembly source file.