How many clock cycles are needed

Assignment Help Basic Computer Science
Reference no: EM13306808

Indicate data dependency in the code below. Assuming there is no forwarding in the pipeline, howmany clock cycles are needed to finish the program? If full forwarding is used, how many clock cycles are needed?

a) lw $1, 40($6)
add $6, $2, $2
sw $6, 50($1)
b) lw $5, -16($5)
sw $5, -16($5)
add $5, $5, $5
c) lw $1, 60($2)
add $2, $3, $3
add $1, $2, $2
sw $1, -16($2)

 

Reference no: EM13306808

Questions Cloud

Calculate the final temperature of the iron block : A 3.7-kg block of iron (c=0.11 kcal/kgoC) that has been brought to a temperature of 1,062oC is placed on top of a 2.5-kg block of ice (c=0.5 kcal/kgoC) that has been cooled to -50oC
Find the initial wavelength and the initial energy of photon : A photon has an energy E and wavelength (lamda) before scattering from a free-rest electron. FInd the initial wavelength and the initial energy of photon
Find the location of object its height and magnification : A 18cm tall image is located at 4 cm behind a concave mirror with a focal length 5 cm. Find the location of object, its height, and the magnification
What is the lowest frequency that gives the maximum signal : Two loudspeakers are located 3.57 m apart on an outdoor stage. A listener is 26.7 m from one and 27.7 m from the other. What is the lowest frequency that gives the maximum signal (constructive interference) at the listener's location
How many clock cycles are needed : Indicate data dependency in the code below. Assuming there is no forwarding in the pipeline, howmany clock cycles are needed to finish the program? If full forwarding is used, how many clock cycles are needed?
Draw the pipeline execution diagram for this code : Draw the pipeline execution diagram for this code, assuming full forwarding is used and the branch is determined in the EX stage. The pipeline always predicts branch taken.
Find current i does the wire carry : A straight 2.06 -mm-diameter copper wire can just 'float' horizontally in air because of the force of the Earth's magnetic field B, What current I does the wire carry
Evaluate following integrals using simpson rule : Evaluate following integrals using simpson's rule and corrected simpson's rule (or richardson extrapolation in case the corrected simpson's is not applicable). In each case, use n = 2,4,8,16,32.
What fraction of kinetic energy was lost : A uniform disk of mass 4m is rotating an a plane parallel to the ground with angular frequency of 12 rad/sec. What fraction of kinetic energy was lost

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Part of your first project

On completion of this course you are hired by the company Tickets R Us. Part of your first project is to develop an application to assist with the selling of tickets. After discussing with your client

  What is chained exceptions in java

What is chained exceptions in java? Explain different layout manager in Java.

  Line of developmental training and inspirational materials

The Becoming Company is a full service provider for a line of developmental training and inspirational materials including videos, music, and books called Drive Change.

  Determine minute at which first customer arrives

Choose a random integer between 1 and 4 to determine the minute at which the first customer arrives. What happens if the arrival is changed from 1 to 4 minutes to 1 to 3 minutes?

  Calculate and display the total retail value of all products

calculate and display the total retail value of all products sold. Use a sentinel-controlled loop to determine when the application should stop looping display the final results.

  Write a program that asks the user for names of two files

write a program that asks the user for the names of two files. the first file should be opened for reading and the second file should be opened for writing . the program should read the contents of the first file, change all characters to uppercas..

  Identity tangible and intangible benefits of the new payroll

suppose you own a travel agency in a large city you have many clients but growth has slowed somewhat. some long term employees are getting discouraged, but feels that there might be a way to make technology work in favor. use your imagination and sug..

  Significant business opportunity of apple

Do you believe it was wise for Apple to only present their OS on their PC instead of offering the version of Apple OS for other manufactory's (HP, Dell, Sony, etc) PC's?

  How the game is played from start to finish

Conduct outside research on the game Yahtzee. You really want to better understand how the game is played and scored. Then, create a 1-2 page paper that explains the following in essay form:

  Find out the average cpi for the two executables compiled

Consider a program compiled using compilers A and B running on the same processor. Find out the average CPI for the two executables compiled by compilers A and B given that the processor has a clock cycle time of 1ns.

  A one-variable quadratic expression

A one-variable quadratic expression is an arithmetic expression of the form ax^2+bx+c, where a,b, and cc are some fixed numbers (called the coefficients) and x is a variable that can take on different vaues

  Process computer uses to convert data into information

Write down a 200 word paper which explains the distinctions of data and information and in short describe the process a computer uses to convert data into information.

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