If necessary enable the "Generate the ASM Listing File" option in project settings.

The file lst and map files are in the "dist/default/debug directory" or "dist/default/production/" directory.

USEFUL?
We benefit hugely from resources on the web so we decided we should try and give back some of our knowledge and resources to the community by opening up many of our company’s internal notes and libraries through mini sites like this. We hope you find the site helpful.
Please feel free to comment if you can add help to this page or point out issues and solutions you have found, but please note that we do not provide support on this site. If you need help with a problem please use one of the many online forums.

Comments

  1. Jim van Zee

    1 year ago

    As others have noted, the .LST file generated by MPLAB-X/XC8 uses decimal numbers, i.e. a C command such as X &= 0x14 is shown in the listing as “MOVLW, 20”, “ANDWF _X,f”, which is nearly useless if one is trying to understand the intent of the instruction. Even worse brach addresses are similarly shown in decimal. The User’s Guide says something about the “-r=HEX” option, but you can not add this using the project options. Is there a solution, and if not, why not?

Comments

Your email address will not be published. Required fields are marked *