How do the registers help in instruction execution, Computer Engineering

Assignment Help:

Q. How do the registers help in instruction execution?

We will discuss this in following steps:

Step 1:

First step of instruction execution is to fetch instruction which is to be executed. To do so we need:

  • Address of 'instruction to be fetched'. Generally Program counter (PC) register stores this information.
  • Now this address is converted to physical machine address and put on address bus with help of a buffer register sometimes termed as Memory Address Register (MAR).
  • This coupled with a request from CU for reading, fetches instruction on the data bus and transfers instruction to Instruction Register (IR).
  • On the completion of fetch PC is incremented to point to subsequent instruction.

In Step 2:

  • The IR is decoded.Let's presume that Instruction Register comprises an instruction ADD Memory location B with general purpose register R1 and store result in R1 then CU will first instruct to:
  • Get data of memory location B to buffer register for data (DR) employing buffer address register (MAR) by issuing Memory read operation.
  • This data can be stored in a general purpose register if so required let's say R2
  • Now ALU will perform addition of R1 and R2 under the command of CU and the result will be put back in R1. The status of ALUoperation for illustration result in nonzero/zero, overflow/no overflow etc. is recorded in status register.
  • In the same way the other instructions are fetched and executed by using ALU and register under control of the CU.

So for explaining instruction execution we should explain the registers layout and micro-operations, ALU design and lately the control unit organization.


Related Discussions:- How do the registers help in instruction execution

Explain top-down parsing, Explain Top down parsing. Top down parsing...

Explain Top down parsing. Top down parsing: Specified an input string, top down parsing tries to derive a string identical to this by successive application of grammar rule

Explain random-access semiconductor memories, Q. Explain Random-access Sem...

Q. Explain Random-access Semiconductor Memories Q. What is Basic memory cell? Explain Two Dimension Memory Organization with diagram.

How web-based word processing works, How Web-Based Word Processing Works? ...

How Web-Based Word Processing Works? Web-based word processors are hosted in the cloud, not on the hard drive-as are the documents formed with these applications. And these web

Determine the applications of recursion theorem, Applications of recursion ...

Applications of recursion theorem?  1.  ATM is undecidble.  2.  Fixed point theorem.  3. MINTM is not Turing recognisable

Components of flash, A piece of art can be looked at as having 3 main compo...

A piece of art can be looked at as having 3 main components, the subject, the composition and the content. Subject The subject of an artwork is, in simple terms, the object

Udp, udp connection establishment and termintion

udp connection establishment and termintion

Explain the working of a weighted register d/a converter, With the help of ...

With the help of a neat diagram, explain the working of a weighted-resistor D/A converter. Ans Weighted Register D/A Converter:   Digital input that has 4 bits

What is instruction register, Q. What is Instruction Register? Instruct...

Q. What is Instruction Register? Instruction Register (IR): Here instructions are loaded before execution. Comments on figure above are as below: All representations are

Perform multiplication with showing content of accumulator, Perform multipl...

Perform multiplication with showing the contents of accumulator, B register and Y register during each step. (Accumulator, B, Y are 4-bit registers) B=06 Y=02

How enterprises are using bpr in their e-business processes, One of the mos...

One of the most important competitive strategies for E-Businesses today is business process reengineering. BPR is more than automating business processes to make modest improvement

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd