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
Get step-by-step solutions from verified subject matter experts
