Is it possible to generate a MASM listing file without the text of the *.inc files?
Gunther
Quote from: Gunther on January 27, 2021, 12:28:30 PM
Is it possible to generate a MASM listing file without the text of the *.inc files?
Gunther
Check .nolist and .listall in the Masm reference:
.nolist
include \masm32\include\masm32rt.inc
.code
start:
.listall
MsgBox 0, "Check the listing", "Hello world", MB_OK
.nolist
exit
end start
2990687 bytes of *.lst with .nolist
6835034 bytes of *.lst without .nolist
Jochen,
thank you for the fast help. :thumbsup: I couldn't find a reasonable command line switch.
Gunther
You can also have a look at the /EP switch and even though it produces a very large listing, you get a lot of info by doing it. On the odd occasion when I use it, I cheat and do a search for something in the actual code that occurs after all the header file data.
Steve,
yes the listing is very large. But with your trick one can handle it. Thank you :thumbsup:
Gunther