Show the fetch and execute cycles for this instruction

Assignment Help Computer Engineering
Reference no: EM132116007

Question :

Suppose a "SUMOF2" instruction needs to be added to the small computer. The main job if this instruction is to take the sum of the data in two consecutive memory locations and store the result in [M+1] i.e ([M+1] = [M]+[M+1]), assume that ALU has an adder unit to take that can take the summation of two numbers when the controller issue the signals ALU code: 111. if the ALU code: 000 means bypass any number to AC directly, notice that AC has to be unchanged.

a. Will the format of the instruction and control signals change in this case or not ? why?

b. Using the controller state diagram constructed in class to show the fetch and execute cycles for this instruction. (Hint: fetching the instruction are common cycles.

c. Show any modification that is needed to the data path to support the execution of this instruction if any.

d. If the job of this instruction is changed a little to take the average of two consecutive memory locations and store the result in AC (AVGOF2), show any possible changes in the fetch, execute cycles or data path of this instruction if any?

(hint: shift right to do a average of two) CDA

e. If the job of this instruction is changed a little to take the average of 8 consecutive memory locations and store the result in memory (AVGOF8), show any possible changes in the fetch, execute cycles or data path of this instruction if any?

( hint: use 3-bit counter in your data path to count a chive 8-time counting with an input signal count to the controller)

Reference no: EM132116007

Questions Cloud

Talk about the development effort required by each : Discuss what is the difference between the two methodologies, and what are the advantages and disadvantages (or limitation) of each?
How is that same actor represented in the dfd diagram : Suppose you are in the process of drawing the DFDs, and you have found that one of your Level 1 DFD describing a process in level 0.
What is object relational mapper : Explain event-driven programming i in python. give 2 examples of code where event-driven programming is used.
Explain the benefits of applying peer review : Explain the benefits of applying peer review at the various stages of software design/development life cycle.
Show the fetch and execute cycles for this instruction : Show any modification that is needed to the data path to support the execution of this instruction if any.
Find the probability that a randomly selected shirt : Find the probability that a randomly selected shirt has loose threads or has crooked stitching.
Find the probability that all three like sugar cereals : In a sample of 780 adults, 209 said that they liked sugar cereals. Three adults are selected at random without replacement.
What two aspects of lineup fairness investigators consider : What two aspects of lineup fairness should investigators consider? How similar to one another should the members of the lineup be
What is the probability that one purchase : What is the probability that one purchase results in a selection of a cracker with an even number or a number less than 5?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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