Question: USE assembly language MIPS FOR THIS ASSIGMENT. Dynamic Lowercase Program Write a program that takes a user-inputted string and converts it to lowercase, using a

USE assembly language MIPS FOR THIS ASSIGMENT.

USE assembly language MIPS FOR THIS ASSIGMENT. Dynamic Lowercase Program Write a

Dynamic Lowercase Program Write a program that takes a user-inputted string and converts it to lowercase, using a while loop. The Input Your program will accept a string input via a system call. It should be able to handle a string of up to 1024 bytes in length, not counting the null-terminator. The Output For any user-inputted string, your program should output a lowercase version of that string, followed by a newline. Suppose then the user typed the string "hello this CLASS is cool!" and pressed the enter key. A correct program would output the following: hello, this class is cool ! Assignment Tag For this assignment, use the following Assignment tag: Mips8DynamicLowercase Hints This assignment is almost identical to assignment 7, except for the following: Your program must be able to convert any user-inputted string to lowercase, rather than one hard-coded string. The correct system call for user input won't return a null-terminated string, but instead a string pointer and its length. Therefore, you will want to adjust your looping/branching logic somewhat. Your first guess about the length of your buffer is probably wrong. Re-read the "The Input" section again

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!