Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need assistance with the following questions please Consider the diagram illustrated in Figure 1. Assume the following microcode cor tion code already loaded in memory.

Need assistance with the following questions please

image text in transcribed

image text in transcribed

image text in transcribed

Consider the diagram illustrated in Figure 1. Assume the following microcode cor tion code already loaded in memory. Assume R1 and R2 are general purpose registers and the Program Counter (PC) is at 2000. Also, assume that addresses 5000 and 5001 in main memory contain the values 31 and 64, respectively. responds to a instruc- CPU Main Memory System lns PC MAR Instruction Instruction IR MBR O AR /O BR Data Data Data Data unit VO Module PCProgram counter IRInstruction register MAR = Memory address register MBR Memory buffer register OAR Input/output address register Buffers O BR Input/output buffer register Figure 1: Top-level view of computer components Following the microcode, each certain set of lines correspond to an instruction. MAR PC, PC+1, Assert MAR IR MBR, decodes IR put addr 2004 into MAR, Assert MAR Move MAR to PC MAR - PC, PC+1, Assert MAR IR - MBR, decodes IR. put addr 5000 into MAR, Assert MAR Move MBR to R1 MAR - PC, PC+1, Assert MAR IR MBR, decodes IR put addr 5001 into MAR, Assert MAR Move MBR to R2 MAR - PC, PC+1, Assert MAR IR MBR, decode IR MAR - PC, PC+1, Assert MAR IR - MBR, decodes IR. put 128 into R1 MAR - PC, PC+1, Assert MAR IR MBR, decodes IR put addr 21000 into I/O AR, Assert AR put RI in I/O BR Use the following table as your reference (aid). Address Instruction / data Comments 2000 2001 2002 2003 2004 2005 2006 2008 2009 5000 31 5001 64 21000 (i) Identify which instructions are represented by this microcode. [3] (ii) Explain/comment each instruction, referring to the microcode. [3] (ii) Write the final output and the form that this output is given. [3]

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

Hands-On Database

Authors: Steve Conger

2nd Edition

0133024415, 978-0133024418

More Books

Students also viewed these Databases questions

Question

Question Who can establish a Keogh retirement plan?

Answered: 1 week ago