Question: Create a small Assembly Language program on the Little Man Computer (LMC) to solve the following arithmetic equation: a = x + 2y + 3z

Create a small Assembly Language program on the Little Man Computer (LMC) to solve the following arithmetic equation: a = x + 2y + 3z

Use Peter Higginson's / LMC to test

You will need to ask the user to enter three values, one for x, one for y, and one for z, and then output the resulting number. Since the LMC doesnt support multiplication, you will need to convert the formula into one that only uses addition and subtraction.

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!