title: How to assemble and link .asm files to a Win32 executable?
body: <p>I have <em>NASM</em> and <em>Dev-Cpp</em> installed on my system. <em>Dev-cpp</em> comes with the <em>LD</em> (GNU Linker). I am new to assembly code and the processes to create a 32-bit Windows executable from an assembler file. I tried using this:</p>
  
  <pre><code>nasm -f win32 ass.asm
  nasm -o ass ass.o
  </code></pre>
  
  <p>I had no success using these commands to create an executable. What is the proper way to assemble (with <em>NASM</em>) and link to generate an executable that will run on 32-bit Windows?</p>