MC Assembly Language Source Program & Execution Results Project – Description
Modify YOUR MIPS LAB-I program as following:
Your MIPS program should be able to KEEP TAKING two integer values from user input. The program should prompt “Enter the first number:” and “Enter the second number:” to get the user inputs. Your program should do the things described in step 3 when you enter 0 (zero) as an input for the first number. In other words, your program should ask user inputs and then perform the calculations described in step 2 and ask the next set of user inputs until the user types in 0 (zero).
Your program should perform divisionand save the REMAINDERS for each pair of the integers in the array. The array should be declared with the name REMAINDERS.
When you enter 0 (zero), the program should print “The Answers are:” and print the results of the operations stored in the array REMAINDERS and terminate the program.
You need to provide detailed comments to explain what is happening in the code. The level of detail will be graded.
You need to use the newlines and spaces properly so that the output prints in orderly manner.
[Bad Example] The answers are302039-234450….
[Good Example] The Answers are: 30, 2039, -234, 50,…
The post MC Assembly Language Source Program & Execution Results Project first appeared on .