I am a beginner at avr and assembly. I wonder what is not listed after .NOLIST? And what is a list file?
Have you read the documentation for the assembler you are using?
Let’s guess that you are using avrasm2 and google some key words:
Google avrasm2 list file
What do we find?
I wonder what is not listed after .NOLIST?
did you try googling "avrasm2 .NOLIST" ...
(other internet search engines are available)
Yes. But, why not list the include file?
Listing anything takes additional time and it takes disk space.
Jim Wagner Oregon Research Electronics, Consulting Div. Tangent, OR, USA http://www.orelectronics.net
why not list the include file?
The whole point of an include file is that it can be included in many places - so it would soon get boring to have it listed every single time it got included!
Also, include files are there to give somewhat of a "black box" interface - so you don't want to be constantly looking into it
See Tip #5 in my signature (below; may not be visible on mobile).
when I type .nolist .include "m328pdef.inc" .list, the lss file does not change. what do i don't understand?
.lss ? Are you talking about C or AVRASM2 projects?
If you are using AS7 it WILL include the file for you regardless, so if you also include the file .inc file then your list file will show 2 of them and you must wade through the, before you get to the 1st line of code.
To stop AS7 including the file and you do your own include with .nolist then you need to go the project properties and delete the file that studio includes
Ampertronics Pty. Ltd.
* Electronic Design * Custom Products * Contract Assembly
what should i remove?
© 2020 Microchip Technology Inc.