News:

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

Errr...dumb question.

Started by chadsxe, March 02, 2007, 08:22:21 PM

Previous topic - Next topic

chadsxe

Can you run Masm from the command line.  I am want to try and exectue it from inside another program (which I know how to do) but I have no clue if Masm works like oh lets say NASM or goASm were you have one .exe file to pass arguments to.

TNick

Yeap, the exe is in bin folder of the masm32 package, and is named ml.exe. A /? will help you!

Regards,
Nick

chadsxe

Do you know were I can find info about the switches...

TNick

command line:
c:\>c:\masm32\bin\ml /?
c:\>c:\masm32\bin\link /?

The masm32 package has a subfolder called "help", too, and there are plenty of usefull infos!

Not to mention the major source. :)

Nick

dsouza123

From MASM32 in the directory \MASM32\BIN\

Assmbl.bat which effectively has the following line

ml /c /coff test.asm


Lnk.bat which effectively has the following line

Link /SUBSYSTEM:WINDOWS /OPT:NOREF test.obj


* effectively means the generic parameter is replaced with a concrete example.