Question: 2. Complete the table below and construct a LMC program that will accept a set of three numbers as INPUT and then add the first

2. Complete the table below and construct a LMC program that will accept a set of three numbers as INPUT and then add the first two numbers and output the answer, then subtract the first number from the third and output the answer. The program should begin at address 00 and data should be stored in addresses beginning at 90. [27 marks]

Mailbox # Mnemonic Numeric Code Instruction Description
00 IN 901 input first number
01

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!