title: linking a .obj file with alink
body: <p>i wrote a helloworld program for win64 and converted it to a .obj file using nasm...now i have to load the resultant hello.obj file using alink but errors are cropping...</p>
  
  <p>to assemble i used the command</p>
  
  <pre><code>   nasm -f win64 -o hello.obj helloworld.asm  
  </code></pre>
  
  <p>(this executed successfully)</p>
  
  <p>and to load i am writing </p>
  
  <pre><code>alink hello.obj 
  </code></pre>
  
  <p>but the error which is continuously showing is </p>
  
  <pre><code>loading file hello.obj 
  unknown file type
  </code></pre>
  
  <p>then once i wrote -f win32 instead of -f win64...
  and then when i executed the same loading code for alink(i.e. alink hello.obj) the screen wrote</p>
  
  <pre><code>loading file hello.obj 
  matched externs
  matched comdefs
  warning,no entry point specified
  warning-no stack
  error:target address out of frame
  base=00000010, target=00000000
  </code></pre>
  
  <p>the helloworld.asm file is <a href="http://textuploader.com/?p=6&amp;id=DIEv6" rel="nofollow">here</a></p>