News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

main diference between masm32 and nasm fasm etc

Started by xellos, October 31, 2010, 08:29:44 PM

Previous topic - Next topic

xellos

what is the main diference between masm32 and nasm fasm etc?

and what are macros?

dedndave

i guess the biggest difference is syntax
fasm is an attempt to simplify some of the more "strict" syntax in masm

macros are pieces of code that are expanded each time they are referenced
think of them as typing savers   :P
a simple example would be to put a few lines of code in a macro
each time that macro is referenced, those lines are expanded
more complex ones take it a step further, allowing them to be used in different cases
for example, the PRINT macro included in the masm32 package may be used in a variety of ways

FORTRANS

Hi,

   You can think of macros as a shortcut.  By defining a macro
you associate a block of code (or whatever) that can be
referenced by its name.  Instead of having to type in all that
code, you just type the name.

Regards,

Steve N.