title: ASSEMBLY get number input
body: <p>I have some problems, I am new to assembly, but have task to read two numbers from keybord input
  for example [156,59].</p>
  
  <p>I know that I can get one digit keyboard using this code:</p>
  
  <pre><code>    mov ah, 1h 
      int 21h 
      mov dl, al 
      mov ah, 2h 
      int 21h 
  </code></pre>
  
  <p>But I have no idea how to read two numbers.
  maybe someone can help me.</p>
  
  <pre><code>EDIT:
  
      marca db 'A$'
  ...
      READING:
      mov ah,1 
      int 21h
      mov text[bx+di] , Al
      inc di
      cmp Al , 13 
      JNE READING
      mov text[bx+di] , '$'
  ...
  </code></pre>
  
  <p>I made some function, but problem is that I cannot output <code>text</code>using function:</p>
  
  <pre><code>mov dx, OFFSET text
  mov ah,09h   
  int 21h
  </code></pre>
  
  <p>just returns nothing. where is problem?</p>