String Assignment | Homework For You

Need help fixing this program in assembly language. Currently, the program takes a string from the user and reverses the string and converts the uppercase characters to lowercase and the lowercase characters to uppercase. It needs to be adjusted so that each upper-case letter is converted to the lower-case letter following it (eg ‘A’ will be converted to ‘b’ instead of ‘A’ being converted to ‘a’).Homework For You

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

Sample Input/Output:

Enter a string of at most 128 characters: An Input Line!

Here it is, with all lowercases and uppercases flipped, and in reverse order:

There are 3 upper-case letters after conversion.
There are 14 characters in the string.

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper


INCLUDELIB Irvine32.lib

input BYTE “Enter a string of at most 128 characters: “, 0
s DWORD 128 DUP(?)
sizeS DWORD ?
siz DWORD ?
input2 BYTE “Here it is, with all lowercases and uppercases flipped, and in reverse order: “, 0ah, 0dh, 0
sumL DWORD 0
input3 BYTE “There are “, 0
input4 BYTE ” upper-case letters after conversion.”, 0
input5 BYTE “There are “, 0
input6 BYTE ” characters in the string.”, 0
main proc
mov edx, OFFSET input
call WriteString

mov edx, OFFSET s
mov ecx, 127
call ReadString

mov edx, OFFSET s
call StrLength
mov siz, eax
mov sizeS, eax

call crlf

mov edx, OFFSET input2
call WriteString

mov ebx, -1    ;decrementing ebx before incrementing it again in top
top :
dec sizeS
inc ebx
mov eax, sizeS
cmp eax, 0
jl next
mov esi, OFFSET s
add esi, eax
mov al, [esi]

cmp al, 32
jne l1
l1 :
cmp al, 65
jb o_r
cmp al, 90
ja o_r
add al, 32
call WriteChar
jmp top
cmp al, 97
jb el
cmp al, 122
ja el
sub al, 32
call WriteChar
inc sumL
jmp top
el :
call WriteCharHomework For You
jmp top
next :

call crlf
call crlf

mov edx, OFFSET input3
call WriteString
mov eax, sumL
call WriteInt
mov edx, OFFSET input4
call WriteString

call crlf

mov edx, OFFSET input5
call WriteString
mov eax, siz
call WriteInt
mov edx, OFFSET input6
call WriteString

main endp
end main. Get Finance homework help today

Calculate the price
Make an order in advance and get the best price
Pages (550 words)
*Price with a welcome 15% discount applied.
Pro tip: If you want to save more money and pay the lowest price, you need to set a more extended deadline.
We know how difficult it is to be a student these days. That's why our prices are one of the most affordable on the market, and there are no hidden fees.

Instead, we offer bonuses, discounts, and free services to make your experience outstanding.
How it works
Receive a 100% original paper that will pass Turnitin from a top essay writing service
step 1
Upload your instructions
Fill out the order form and provide paper details. You can even attach screenshots or add additional instructions later. If something is not clear or missing, the writer will contact you for clarification.
Pro service tips
How to get the most out of your experience with Homework Writing Services
One writer throughout the entire course
If you like the writer, you can hire them again. Just copy & paste their ID on the order form ("Preferred Writer's ID" field). This way, your vocabulary will be uniform, and the writer will be aware of your needs.
The same paper from different writers
You can order essay or any other work from two different writers to choose the best one or give another version to a friend. This can be done through the add-on "Same paper from another writer."
Copy of sources used by the writer
Our college essay writers work with ScienceDirect and other databases. They can send you articles or materials used in PDF or through screenshots. Just tick the "Copy of sources" field on the order form.
See why 20k+ students have chosen us as their sole writing assistance provider
Check out the latest reviews and opinions submitted by real customers worldwide and make an informed decision.
best writer and customer service. Thanks Tony!
Customer 462787, August 30th, 2022
Good work.
Customer 462717, May 15th, 2022
Good job!
Customer 463337, March 16th, 2023
Good job after revision. Make Grammarly your tool.
Customer 462769, March 29th, 2022
English 101
Good work.
Customer 453625, May 25th, 2022
Good job.
Customer 453625, May 28th, 2022
English 101
Thank you!
Customer 454351, May 9th, 2020
Good work!
Customer 463469, October 29th, 2022
A job well done.
Customer 463679, May 13th, 2023
Healthcare & Medical
Good work!
Customer 463469, October 17th, 2022
Entertainment & Gaming
Great work.
Customer 452441, April 29th, 2022
Thank you very much
Customer 452763, December 6th, 2021
Customer reviews in total
Current satisfaction rate
3 pages
Average paper length
Customers referred by a friend
15% OFF your first order
Use a coupon FIRST15 and enjoy expert help with any task at the most affordable price.
Claim my 15% OFF Order in Chat