Using the Little Man Computer and Instruction Set, answer the following questions:

1.) Write a program that asks for 3 numbers A, B, and C and then calculates -A-B-C. Output the result.

2.) Write a program which outputs the numbers 9,8,7,6,5,4,3,2,1,0 then stops.

3.) The following program tries to find the positive difference between two input numbers, read the code to check whether there are some errors and correct them (without using more DAT mail boxes, that is, data location is only the cell 99).

00  IN                    901     

01  STO 99            399     

02  IN                    901     

03  SUB 99           299     

04  BRP 06            806     

05  ADD 99          199     

06  OUT                902     

07  COB                000     

…              …                    …

99  DAT 00           000     

  • Attachment 1
  • Attachment 2

Using the Little Man Computer and Instruction Set, answer the following questions:1.) Write a program that asks for 3 numbers A, B, and C and then calculates -A-B-C. Output the result.Code with…

"Get 15% discount on your first 3 orders with us"
Use the following coupon
FIRST15

Order Now