The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: Twister on October 13, 2010, 10:08:21 PM

Title: About Macros
Post by: Twister on October 13, 2010, 10:08:21 PM
What are the limitations in macros?

What are all the things it can do at compile time? Only what the assembler is able to do at compile time?
Title: Re: About Macros
Post by: jj2007 on October 13, 2010, 10:15:06 PM
Does God exist?

(or, in other words: Could you ask a little bit more specific questions?)
Title: Re: About Macros
Post by: Twister on October 13, 2010, 10:17:14 PM
Nevermind. I'll just go on MSDN.
Title: Re: About Macros
Post by: jj2007 on October 13, 2010, 10:23:17 PM
You won't find much there. But google for Microsoft MASM 6.1 Reference Guide (http://www.google.com/search?q=Microsoft+MASM+6.1+Reference+Guide) - fascinating lecture.
Title: Re: About Macros
Post by: Twister on October 13, 2010, 10:45:06 PM
I found a heck of a lot of things just now that I never knew existed in MASM.

http://msdn.microsoft.com/en-us/library/afzk3475.aspx

Just take a look through the sections. The directives reference and symbols reference.
Title: Re: About Macros
Post by: jj2007 on October 13, 2010, 10:52:42 PM
Sure. But the 6.1 Ref Guide is a lot better if you want to learn macro programming.
Title: Re: About Macros
Post by: GregL on October 13, 2010, 11:37:48 PM
The MASM Programmer's Guide (http://www.masm32.com/board/index.php?topic=5433.0) has a chapter (9) on macros.