;--------------------------------------------------------------------------- 
proc          printit
; Gets 2 parameters the number of single digit to be displayed (dig)
; and the location on the screen: location (first byte row, second column)
; Displays the digit at the row/column of the second parameter. 
              push bp
              mov  bp,sp
              push ax
              push bx
              push dx     
              mov  dx,location
              mov  bh, 0    ;Display page
              mov  ah, 02h  ;SetCursorPosition
              int  10h
              mov  ax, dig
              mov  bl, 03h  ;Color is ?
              mov  bh, 0    ;Display page
              mov  ah, 0Eh  ;Teletype
              int  10h 
              pop  dx
              pop  bx
              pop  ax             
              pop  bp
              ret  4
endp          printit 


;---------------------------------------------------------------------------