Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Structured Search For Big Data From Keywords To Key-objects

Authors: Mikhail Gilula

1st Edition

012804652X, 9780128046524

Students also viewed these Databases questions