News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

listing option at assemble time

Started by Pizza_Soup, February 07, 2016, 06:04:29 AM

Previous topic - Next topic

Pizza_Soup

When I choose the command-line options >ML /Fl /Sc /Sg /Sn filename, the file becomes very large because of the include files. I'm just looking for the program source code and not the additional content which doesn't seem relevant. Am I missing something?

dedndave

#1
 :biggrin:
i bet "very large" is an understatement - lol

the first line turns off the crossreference listing for the entire source
if you don't need it, it reduces the size considerably

then, .NoList is used to exclude the INC files
and .List turns the listing back on for your source

        .XCREF
        .NoList
        INCLUDE    \Masm32\Include\Masm32rt.inc
        .List

Pizza_Soup

 :t Thank you. That's what I was looking For.   :t