Ancient Dragon
I do not konw what can I say to you :o
Thanks A lot ....
i have understand all the code unless this point :
mov dl,bl ; print the number of characters
add dl,'0' ; make it readable
may you explain it plaese ?
I want to learn why you have chose the dl register + 0 ?
to convert from ASCII code to decimal, to display it in the right way ?
-----------------------
if the user is allowed to enter a sentence with maximum 19 capital letters , How the display3 will be ?
cmp bx,19
JG Display2 ; more than 19 capital letters
if <9
Display1
if >9
display3
first we have to display number 1
like :
mov ah,2
mov dl,'1'
int 21h
then,we will do subtract with 10 with that number which is > 9
then, display it , but how can I display this number in decimal ?