title: How to read command line arguments in assembly language?
body: <p>I'm using the TASM assembler and I can't seem to find a way to save my command line arguments or even output them. I tried doing <code>int 21h</code> while <code>dx=0081h</code> and <code>ah=09h</code>. It doesn't do anything although I've read that it is the way to do it.</p>
  
  <p>I've added the code of what I think should work to copy and display an argument I type in:</p>
  
  <pre><code>mov dx, 81h
  mov ah, 09h
  int 21h
  </code></pre>