Question: For this project, you will write a MIPS assembly language program to calculate the summation of a series of numbers. You will take three parameters

For this project, you will write a MIPS assembly language program to calculate the summation of a series of numbers. You will take three parameters as input: A starting index, the number of integers in the series, and the distance between two numbers in the series. Your program should check that the user has entered reasonable data before attempting to process the request. After computing the summation, it should display the series and the summation. After each set of input, you should ask the user if they wish to continue. Your program should include appropriate comments indicating what the code should be doing and what registers arc being used for. After displaying the results, your program should exit cleanly. Your programs should be turned in through HuskyCT before class starts on the due date. You should test your programs using the SPIM simulator to ensure their functionality before submitting them. To practice writing MIPS assembly language programs. To introduce and practice working with conditional statements. To introduce and practice building loop structures. For this project, you will write a MIPS assembly language program to calculate the summation of a series of numbers. You will take three parameters as input: A starting index, the number of integers in the series, and the distance between two numbers in the series. Your program should check that the user has entered reasonable data before attempting to process the request. After computing the summation, it should display the series and the summation. After each set of input, you should ask the user if they wish to continue. Your program should include appropriate comments indicating what the code should be doing and what registers arc being used for. After displaying the results, your program should exit cleanly. Your programs should be turned in through HuskyCT before class starts on the due date. You should test your programs using the SPIM simulator to ensure their functionality before submitting them. To practice writing MIPS assembly language programs. To introduce and practice working with conditional statements. To introduce and practice building loop structures
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
