.386p
        
_TEXT  SEGMENT byte public 'CODE'
       ASSUME CS:_TEXT

;public gotoxy_
public cls_

gotoxy_ proc far
  ARG  x : byte
  ARG  y : byte

  mov ah,2
  mov bh,0
  mov dh,y
  mov dl,x
  int 10h
  ret
gotoxy_ endp

cls_ proc far
  mov ax,3
  int 10h
  ret
cls_ endp

_TEXT  ENDS

END     

