Final answer:
You are developing a MIPS assembly language program for string manipulation to count how many times two user-input words occur in a hardcoded statement. It must handle case insensitivity and work with any words of less than 10 characters.
Step-by-step explanation:
MIPS Assembly Language Project
Your project involves writing a MIPS assembly language program that processes a given statement to find the frequency of occurrences of certain words. The program's main goal is to enhance your understanding of data, address, memory contents, and strings. With this program, you are expected to use MIPS instructions, assembler directives, and system calls for string manipulation.
To achieve this, you must first hardcode the provided sample statement into your program. Next, your program must prompt the user to input two words ('UCF' and 'KNIGHTS', or any other word with less than 10 characters) and count how many times each occurs in the statement. The challenge is to ensure the search is not case sensitive, meaning it should treat 'UCF', 'ucf', or 'UcF' as the same word.
To do this, you might consider converting the entire statement to lowercase, as well as the user's input, before performing the search. This standardized form avoids missing occurrences due to case differences. When the user enters the chosen words, the program outputs the count for each, formatted as shown in the sample output.