Professional Documents
Culture Documents
;=======================================
; ** set cursor position **
;=======================================
SETCURSOR PROC NEAR
mov ah, 02 ; cursor bairluulah huselt
mov bh, 00 ; delgetsiin dugaar
int 10h ; BIOS-iin 10h tasaldal (interrupt)
RET
SETCURSOR ENDP
;=======================================
; ** Gets string from keyboard **
;=======================================
INPUT PROC NEAR
mov ah, 0Ah ; orolt huseh
lea dx, NAMEPAR
int 21h
RET
INPUT ENDP
;==========================================
===========
; ** print by other colors on display center **
;==========================================
===========
PRINT PROC NEAR
lea si, CHARINPUT