Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Notice that the first machine language instruction in memory is shaded. Let's interpret this instruction. The opcode is 0 0 0 0 , which indicates

Notice that the first machine language instruction in memory is shaded. Let's interpret this instruction. The opcode is 0000, which indicates a load instruction. The address is 000000000101 which is binary for decimal 5. Thus, the instruction should load the value stored at address 5 into the register R. Memory location 5 contains a binary 2. So, an appropriate interpretation for this instruction would be "The value 2 stored in location 5 is to be loaded into R."
Download the document lab_09_01.docx. Using the table within the document complete the following. Copy down the binary form of this instruction and the interpretation of what the instruction should do when executed.
Next, click the Step button. This will execute the first instruction. Note what happens to the contents of the registers, and that the next instruction is now shaded. Now repeat the process of writing down the instruction and your interpretation of it, and stepping through it, until a message box appears that signals the halting of the program. If you need help, look in Table 9.1, or click the Opcodes button. What is the main function of the program? Is there any output in the output window?
Once you have completed the table and answered the questions, save your file with your last name in the file name (Example: lab_09_01_Jones.doc). To upload and submit your assignment, click the Choose File button below to find and select your saved document.Main function of the program:
Any output in output window:
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_2

Step: 3

blur-text-image_3

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

Practical Neo4j

Authors: Gregory Jordan

1st Edition

1484200225, 9781484200223

More Books

Students also viewed these Databases questions