Answered step by step
Verified Expert Solution
Link Copied!

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 65 in address location 20(all numbers
are in decimal). This is an example of direct addressing.
Create an instruction to move number 22 to register R01 and
execute it.
Create an instruction to store number 51 in address location
currently stored in register R01 and execute it. This is an
example of indirect addressing.
Verify that the specified bytes are written to the correct address
locations (see Image 8). You should see an A and a 3 under the
Data column.
Now, let's create a loop: First set R02 to 0(zero). Increment
R02's value by 1(one). If R02's value is 5 then exit this loop and
stop the program; otherwise continue the loop.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Relational Database Technology

Authors: Suad Alagic

1st Edition

354096276X, 978-3540962762

More Books

Students also viewed these Databases questions

Question

What are the potential downsides to firm growth?

Answered: 1 week ago