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

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!