I have this question. When studying assembler in depth, I encountered such a problem! We all know the standard conversion from a number to a string in order to output a number.
mov bx,input+5
mov cx,0
mov x,si
nextd:
mov dx,0
mov di,10
div di
add dl,48
dec bx
mov [bx],dl
inc cx
cmp ax,0
jne nextd
Why do we write +5 in the first line? Why don't we put the length of the string in that case, or the length of the register itself? I don't understand why +5