Question: Write a program in MIP assembly language in the MARS Simulator A )Display a prompt to the user: Enter a number: B) Wait for the
Write a program in MIP assembly language in the MARS Simulator
A )Display a prompt to the user: Enter a number:
B) Wait for the user to enter an integer.
C) If the number entered is zero Print The sum is: followed by the sum of all of the integers entered.
Print The number of integers entered was: followed by the number.
D) Exit the program and Loopback to step A.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
