The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: jdoe on March 31, 2006, 02:49:03 AM

Title: Program .asm header question
Post by: jdoe on March 31, 2006, 02:49:03 AM
Hi,

I would like to know what theses lines are saying to the compiler ?


1) option proc:private

2) .nolist

3) .nocref


Thanks

Title: Re: Program .asm header question
Post by: MichaelW on March 31, 2006, 08:17:39 AM
For .nolist, .nocref, etc see the Directives Reference here:

MSDN: Microsoft Macro Assembler Reference (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmasm/html/vcoriMicrosoftAssemblerMacroLanguage.asp)

And for option proc:private see:

http://webster.cs.ucr.edu/AoA/DOS/ch12/CH12-1.html

Title: Re: Program .asm header question
Post by: jdoe on April 02, 2006, 07:14:24 AM
Thanks Michael

For option proc:private I know now why to use it (and made usage of it in my current project).


But for .nolist and .nocref, after reading all I could found, Am I right to say that...

1) these directives are only needed for customizing the listing file

2) these directives won't modify the final compiled program


Title: Re: Program .asm header question
Post by: MichaelW on April 02, 2006, 02:58:07 PM
1. Yes, but these directives work in combination with the ML command line to control the contents of the listing file.

2. AFAIK these directives have no effect on the final compiled program.



Title: Re: Program .asm header question
Post by: jdoe on April 05, 2006, 12:38:48 AM
Sometimes, basic stuff are not explained too much because they are assumed to be obvious but for a newbie like me, I need those clarifications to go forward with masm.
And english not being my primary language, it's not as easy as it should. But give up is not an option for me.

Thanks again Michael