Question: Using the MARIE computer assembly language, write a program that computes the following expression: ( a + b ) * c where a , b

Using the MARIE computer assembly language, write a program that computes the following expression: (a+b)*c where a ,b and c are positive numbers. The computer will read in the input values a,b and c from the keyboard, and the final result will be displayed. In addition, every time an input value is read in, it must be displayed on the screen. Remember that the instruction set does not have an instruction to
execute multiplication.
Note: Only input numbers greater than zero. The program must be tested on MARIE simulator.

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!