title: Cant run exe file after compiling in nasm
body: <p>I was trying to install nasm software on my win 10 x64 machine and run some simple code.</p>
  
  <p>I compiled and linked it succesfully:</p>
  
  <p><code>nasm -f win32 hello.asm -o hello.obj</code></p>
  
  <p><code>ld hello.obj -o hello.exe c:\windows\system32\msvcrt.dll</code></p>
  
  <p>While trying to open exe file it doesnt run. There is message: <code>this app cannot run on your pc</code> and in console there is: <code>Permission denied</code>. 
  Also, I don't have problem like that with working in other environments. Maybe it is something wrong with code, but i dont think so...</p>
  
  <pre><code>[bits 32]
  extern _puts
  
  section .data
  
  hello:
  db    "Hello world!", 0xa,0
  
  section .text
  
  _WinMain@16:
  
  push hello
  call _puts
  add esp,4
  
  xor eax, eax
  ret
  </code></pre>