Question: Need Help With Marie Using the MARIE computer assembly language, write a program that computes the following expression: z = a * b * c.

Need Help With Marie

Using the MARIE computer assembly language, write a program that computes the following expression:

z = a * b * c. The computer will read in the input values a, b, and c from the keyboard, and the final

result (z) have to 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.

The

program must be tested in the MARIE simulator

Solution (not working, need help)

Need Help With Marie Using the MARIE computer assembly language, write a

MARIE Assembler Code Editor File Edit Assemble Help ORG 100 Load Store X Load Store Y Jump Load Store Load Store Jump Load Store F Load Halt Mul um Mul a, Dec 0 b, Dec (0 c, Dec 0 X, Dec 0 Y, Dec (0 Z, Dec (0 Ctr, Dec 0 One, Dec 1 E, Dec0 F, Dec 0 Sum, Dec 0 Mul, Dec 0 Load Store Ctr Clear Store Sum Loop, Load Sum Add Store Sum Load SkipCond 400 Jump Jump END Ctr Loop Mul MARIE Assembler Code Editor File Edit Assemble Help ORG 100 Load Store X Load Store Y Jump Load Store Load Store Jump Load Store F Load Halt Mul um Mul a, Dec 0 b, Dec (0 c, Dec 0 X, Dec 0 Y, Dec (0 Z, Dec (0 Ctr, Dec 0 One, Dec 1 E, Dec0 F, Dec 0 Sum, Dec 0 Mul, Dec 0 Load Store Ctr Clear Store Sum Loop, Load Sum Add Store Sum Load SkipCond 400 Jump Jump END Ctr Loop Mul

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!