Step 1.
Download MASM32: http://masm32.com/download.htm
Step 2.
Save the following Assembly code as "helloworld.asm"
.386
.model flat, stdcall
option casemap :none
include \masm32\include\kernel32.inc
include \masm32\include\masm32.inc
includelib \masm32\lib\kernel32.lib
includelib \masm32\lib\masm32.lib
.data
message db "This is your first assembly program", 0
.code
main:
invoke StdOut, addr message
invoke ExitProcess, 0
end main
Step 3:
Navigate to the folder you saved the file in. Then compile it into an executable and run it with the following:
set projectName=helloworld
\masm32\bin\ml /c /Zd /coff %projectName%.asm
\masm32\bin\Link /SUBSYSTEM:CONSOLE %projectName%.obj
%projectName%.exe
See more here: http://crclayton.com/projects/assembl...