Reputation: 1
I have an assembly language code in notepad file. I heard it can be compiled without installing MASM exclusively. I've searched for that and I found out that Visual Studio can compile it. I have Visual Studio 13, Kindly guide me what would I have to do to do so.
Upvotes: 0
Views: 2279
Reputation: 28828
Visual Studio includes masm or actually ml.exe
, which is the actual name of microsoft's assembler since version 6.11, which goes back to the days of msdos 6.22. For 64 bit mode, use ml64.exe
.
To create a project:
unicode
to not set
if you don't want unicode. .asm
file name, such as example.asm
. example.asm
, properties, item type , and select custom build tool
. ml /Zi /c /Fo$(outdir)\example.obj example.asm
$(outdir)\example.obj
ml /c /Fo$(outdir)\example.obj example.asm
$(outdir)\example.obj
Upvotes: 2