title: [Emu8086]How to print a decimal number
body: <ul>
  <li>My program reads data from a file,counts the number of words and correctly increments a counter variable.</li>
  </ul>
  
  <p>How can I print this counter variable which contains a decimal number.Which would be the best way.</p>
  
  <p>This is the code:</p>
  
  <pre><code>      mov dx,offset counter
        mov ah,09h
        int 21h
  </code></pre>