Question: Wrire a MARIE assembly language program to solve the following problem. For a set of numbers input by the user, calculate the sum of the
Wrire a MARIE assembly language program to solve the following problem. For a set of numbers input by the user, calculate the sum of the positive numbers and the sum of the negative numbers. the progam should output both sums. numbers should be input one at a time with a zero value (0) being used to signal the end of data ( the zer value is acting as a "sentinel" value). For example, if you input the values 10^10, -5^10, -30^10, 15^10, 20^10 , -1^10, 0^10, then your progam should output 45^10 and -36^10. before you start writing MARIE assembly language , write a high level lanuage algorithm, THEN , translate it to MARIE assembly language.
it needs to be in Marie not Mips
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
