title: Error while printing a string from assembly code
body: <p>I'm new to assembly and the course that I follow uses <em>EMU8086</em>. I wrote this code to print <code>Testing</code> and the ASCII code of 50 which is number <code>2</code> but it only prints <code>Testing</code> and ignores the rest. What's wrong?</p>
  
  <pre><code>.model tiny
  .code
  
  org 100h
  
  
  main proc
  
      mov ah, 09h
      mov dx, offset msg
      int 21h 
      mov ah, 4ch
      mov dx ,0  
      mov dl, 2
      add dl, 48
      int 21h      
  
  endp
  
  msg db "Testing$"
  
  end main
  </code></pre>
  
  <p>After reading the comments from @500 - Internal Server Error, I updated my code to this:</p>
  
  <pre><code>.model tiny
  .code
  
  org 100h
  
  
  main proc
  
      mov ah, 09h
      mov dx, offset msg
      int 21h 
      mov dl, 2
      add dl, 48
      int 21h      
  
  endp
  
  msg db "Testing$"
  
  end main
  </code></pre>
  
  <p>It still isn't working, so what's wrong?</p>