How do I get a good listsing out of masm? I tried /Sn and that helps but it doesn't get rid of equates and structres. Is there a way to get rid of these?
Also I'd love if I could get a full listing of what my MACROS produce.
Thanks, Eoin.
Also I'd love if I could get a full listing of what my MACROS produce.
Thanks, Eoin.
/Sa expands everything (I mean EVERYTHING!), but it doesn't work with /Sn as far as I know (/Sa overides /Sn), that'll expand all macros, INVOKEs and local varaiables (I think).
Mirno
Mirno
You can also use /Sg. It shows GENERATED code for INVOKE .IF etc.
If you want to get rid of WINDOWS.INC and the other .INC files in the listing, put .NOLIST before and .LIST after the INCLUDEs, like so:
.nolist
include windows.inc
include kernel32.inc
include user32.inc
include gdi32.inc
include comctl32.inc
.list
:)
If you want to get rid of WINDOWS.INC and the other .INC files in the listing, put .NOLIST before and .LIST after the INCLUDEs, like so:
.nolist
include windows.inc
include kernel32.inc
include user32.inc
include gdi32.inc
include comctl32.inc
.list
:)
It is also usefull to add .NOCREF at start, to avoid seeing all Windows.inc in your listing :)