Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The goal is to write a MIPS assembly language program that prompts the user for a string or word that is less than 10 characters

The goal is to write a MIPS assembly language program that prompts the user for a string or "word" that is less than 10 characters and then finds how many occurenes of the user's string appears in a hardcoded sentence. The program should not be case sensitive and it should find the word no matter how the user enters it. For example, if the user enters the word "tHeIr", the program should find all occurences of the word "their".

Full program instructions are below:

image text in transcribed

3.0 Project Detail:s Purpose of this project is to increase your understanding of data, address, memory contents, and strings You will be expected to apply selected MIPS assembly language instructions, assembler directives and system calls sufficient enough to handle string manipulation tasks. You are tasked to develop a program that finds ho hardcode the below sample statement in your code, and ask user to input a word with less than 10 characters. Your program should not be case sensitive and regardless of the way user inputs the words it should correctly find the words w many times a word is used in a given statement. To test your program, you should Sample Statement: UCF, its athletic program, and the university's alumni and sports fans are sometimes jointly referred to as the UCF Nation, and are represented by the mascot Knightro. The Knight was chosen as the university mascot in 1970 by student election. The Knights of Pegasus was a submission put forth by students, staff, and faculty, who wished to replace UCF's original mascot, the Citronaut, which was a mix between an orange and an astronaut. The Knights were also chosen over Vincent the Vulture, which was a popular unofficial mascot among students at the time. In 1994, Knightro debuted as the Knights official athletic mascot. Sample Output: Please input first word: Knight (or KnIGhT, knight, ...) KNIGHT: 6 The submitted program shall provide outputs in exactly the sequence and format shown above. To receive full credit, no additional superfluous outputs shall occur

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

Beginning Databases With PostgreSQL From Novice To Professional

Authors: Richard Stones, Neil Matthew

2nd Edition

1590594789, 978-1590594780

More Books

Students also viewed these Databases questions