Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please help me with MIPS code. Screenshot is possible. You are to write a MIPS program that takes as input a string of text and

Please help me with MIPS code. Screenshot is possible.

You are to write a MIPS program that takes as input a string of text and then does the following.

Prints the input string

Capitalizes and prints the capitalized string.

You can assume that the string input is comprised of words consisting of keyboard alphabetic characters, with each word separated by a single space character, and with each word beginning with an alphabetical character. The program should be able to handle strings up to 127 characters in length. No characters other than lowercase letters should be modified. In other words, the input string may have some of its letters already capitalized. Use properties of the ASCII code, and in particular the manner in which characters are represented, to solve this problem! As a working example, given the input string "this is A StrinG", the printed capitalized output should be "THIS IS A STRING".

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

Advances In Databases And Information Systems Uropean Conference Adbis 2020 Lyon France August 25 27 2020 Proceedings Lncs 12245

Authors: Jerome Darmont ,Boris Novikov ,Robert Wrembel

1st Edition

3030548317, 978-3030548315

More Books

Students also viewed these Databases questions

Question

Show the properties and structure of allotropes of carbon.

Answered: 1 week ago