name echo         

 .model small
 
 .stack 100h

 .code
start:   mov ah,1
         int 21h
         cmp al,13
         jz koniec
         mov dl, al
         mov ah, 2
         int 21h
         jmp start
koniec:  mov ah, 4ch
         int 21h
         end start