Question: Using the model CPU demonstrated in class (Simple Simulator), write code using the simple machine language of Chapter 2 and Appendix C to solve the

Using the model CPU demonstrated in class (Simple Simulator), write code using the simple machine language of Chapter 2 and Appendix C to solve the following problem: 32 11 +14. Store the result in memory location EE.

Remember that the model CPU uses hexadecimal values, so you will need to represent the decimal values in the problem in hex. You will then need to convert the 11 from a positive to a negative number, in your code, and then add the three numbers together. Turn in a typed copy of your code, with comments that explain your code in English.

Using the model CPU demonstrated in class (Simple Simulator), write code using

the simple machine language of Chapter 2 and Appendix C to solve

stored in memory Step 1. Get one of the values to be added from memory and place it in a register. Step 2. Get the other value to be added from memory and place it in another register. Step 3. Activate the addition circuitry with the registers used in Steps 1 and 2 as inputs and another register designated to hold the result. Step 4. Store the result in memory. Step 5. Stop. stored in memory Step 1. Get one of the values to be added from memory and place it in a register. Step 2. Get the other value to be added from memory and place it in another register. Step 3. Activate the addition circuitry with the registers used in Steps 1 and 2 as inputs and another register designated to hold the result. Step 4. Store the result in memory. Step 5. Stop

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!