; input / outpu program
;
;   21h  value 0ah  into register ah

IDEAL
MODEL small
STACK 100h
DATASEG

message1 db  13 dup('$') ; byte 1 : max length we can get.  byte 2 : actual length. last byte: <enter> 0Dh
 

; --------------------------
; Your variables here
; --------------------------
CODESEG
start:
	mov ax, @data
	mov ds, ax

    mov dx, offset message1
    mov bx,dx
    mov [byte ptr bx],11
    mov ah,0ah
    int 21h

    mov dx, offset message1
    add dx,2
    mov ah,9h
    int 21h

; --------------------------
; Your code here
; --------------------------

exit:
	mov ax, 4c00h
	int 21h
END start


