nasm -f win32 hello.asm
gcc -m32 hello.obj -o hello.exe 

nasm -fwin32 helloworld.asm -o helloworld.obj
golink /console /entry _main c:\windows\system32\msvcrt.dll helloworld.obj -fo helloworld.exe

hello.exe 
helloworld.exe