smart86 0 Newbie Poster

Write the programs that prompt the user to enter a string in capital letters, of a maximum length of 20 characters. Read the string in capital letters and convert it to small letters.

I have to use this code put i don't know how

To convert the capital to a small letter , use the following instruction

;read character
Mov al, character_read
Add al,20H
;Display character

Use the following to loop through the string you just entered.
Mov cx, Number_of_bytes_read
Again: Start loop here
; Convert to small letters

Loop again