maybe someone can help me. I'm trying to print '' as many as user entered. So I need to convert string to number. I'm trying to do it in loop but have some problems my code is just not working properly it's printing 65535 '' basically it is the maximum. Maybe someone can explain where is my problem?
.MODEL small
.STACK 200h
.DATA
 input DB 4, ? , 4 dup (?)
 Symbol DB '*$'
.CODE
Start: 
  
mov AH,0Ah 
mov ds, ax
mov DX, offset input
int 21h
  mov cl, input[2]
   mov si,2
    mov ax,0
   LoopStart:
   mov bh,10
   mul bh
   mov ah,input[si]
   add ah,al
   sub cl,1
   cmp cl,0
   jne LoopStart
    mov cx,ax
   mov ax, @DATA
   mov ds, ax
    mov dx, offset Symbol
    LoopStart1:
    mov ah, 9 
    int 21h;  
    sub cx,1
    cmp cx,0
    jne LoopStart1
    mov ah, 4Ch
    int 21h
END Start
 
    