Question: Question 1 (a) (15 points) Describe, step by step, what the Little Man does to execute a STORE instruction. Question 1 (b) (15 points) Describe,
Question 1 (a) (15 points) Describe, step by step, what the Little Man does to execute a STORE instruction. Question 1 (b) (15 points) Describe, step by step, what the Little Man does to execute an INPUT instruction. Question 2(30 points) Show carefully how you would implement an IF-ELSE statement using Little Man instructions. Note: You can create a table with three columns showing the memory address, the opcode, and the mnemonic. Question 3 (40 points) Write a Little Man program that prints out the sums of the odd values from 1 to 39 . The output will consist of 1,1+3,1+3+5,1+3+5+7. No input is required. Note: You can create a table with three columns showing the memory address, the opcode, and the mnemonic
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
