Question: Module 5 Assignment - MIPS Programming Please write a MIPS program that does the following: 1. Prints a string to the screen prompting a user

 Module 5 Assignment - MIPS Programming Please write a MIPS program

Module 5 Assignment - MIPS Programming Please write a MIPS program that does the following: 1. Prints a string to the screen prompting a user for an integer input: "Please enter an integer: " 2. Reads an integer from the user and stores it in memory. 3. Calculates the sum of squares for all numbers between the integer the user type in and 100. a. Ex: if the user enters 10, your program will compute 10*10 + 11*11 + ... + 100*100 4. Prints the final result to the screen in the form: "The sum of squares between and 100 is: 5. Test your program on the following inputs: 1, 10, 25, 63, and 99. Please submit your source code in a file named squares.s or squares.asm along with screenshots of your results for each of the 5 inputs given above. Please do not submit your work as a ZIP file

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!