The MASM Forum

General => The Campus => Topic started by: Pizza_Soup on February 07, 2016, 06:04:29 AM

Title: listing option at assemble time
Post by: Pizza_Soup on February 07, 2016, 06:04:29 AM
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?
Title: Re: listing option at assemble time
Post by: dedndave on February 07, 2016, 06:41:07 AM
 :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
Title: Re: listing option at assemble time
Post by: Pizza_Soup on February 07, 2016, 03:43:41 PM
 :t Thank you. That's what I was looking For.   :t