Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You are now ready to enter instructions into this view. You do this by clicking on the ADD NEW... button. This will display the Instructions:
You are now ready to enter instructions into this view. You do this by
clicking on the ADD NEW... button. This will display the Instructions:
CPUO window. Use this window to enter the instructions. Use the
appendix provided as a reference to the simulator's instruction set
architecture.
Complete the following activities:
In the appendix, locate the instruction, which is used to store a
byte of data in a memory location.
Use it to store number in address location all numbers
are in decimal This is an example of direct addressing.
Create an instruction to move number to register R and
execute it
Create an instruction to store number in address location
currently stored in register R and execute it This is an
example of indirect addressing.
Verify that the specified bytes are written to the correct address
locations see Image You should see an A and a under the
Data column.
Now, let's create a loop: First set R to zero Increment
Rs value by one If Rs value is then exit this loop and
stop the program; otherwise continue the loop.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started