Determine the average number of instructions executed

Assignment Help Computer Engineering
Reference no: EM133424044

  1. Suppose we are trying to determine the speed of a computer that executes the Little Man instruction set. The LOAD and STORE instructions each make up about 25% of the instructions in a typical program; ADD, SUBTRACT, IN, and OUT take 10% each. The various branches each take about 5%. The HALT instruction is almost never used (a maximum of once each program, of course!).
    1. Determine the average number of instructions executed each second if the clock ticks at 100 MHz.
    2. Now suppose that the CPU is pipelined, so that each instruction is fetched while another instruction is executing. (You may also neglect the time required to refill the pipeline during branches and at the start of program execution.) What is the average number of instructions that can be executed each second with the same clock in this case?
  2. Consider a cache memory that provides three hundred 16-byte blocks. Now consider that you are processing all the data in a two-dimensional array of, say, four hundred rows by four hundred columns, using a pair of nested loops. Assume that the program stores the array column by column. You can write your program to nest the loops in either direction, that is, process row by row or column by column. Explain which way you would choose to process the data?  Why?

Reference no: EM133424044

Questions Cloud

Differential diagnoses of sexual dysfunction : Discussion, research potential causes and differential diagnoses of sexual dysfunction and provide a thorough listing of your findings.
Meaning impacts your caring practice as nurse : Describe your caritas icon, what it means to you, and how its meaning impacts your caring practice as a nurse.
Sketch a visualization of the use of the bike : Sketch a visualization of the use of the bike sharing systems over time explaining at least two reasons for the number's fluctuation from day to day
What accounts for enduring popularity of such programming : What accounts for the enduring popularity of such programming, particularly at a time when police seen to be under increased and considerable scrutiny?
Determine the average number of instructions executed : Determine the average number of instructions executed each second if the clock ticks at 100 MHz
Identify if there is a consensus about using ai : Use your best judgment to ensure that you provide clear, comprehensive, and well-supported guidelines. All resources must be cited and referenced using IEEE
Compare quantitative research with qualitative research : Compare quantitative research with qualitative research, which do you believe is stronger evidence and why?
Should we abolish the police in canada : Your paper might consider points such as (but not limited to): related ideas like defunding or reforming the police, the relationship between the police.
Is the contention of the corporation valid : Morales Inc resisted the claim on the ground that the second contract for services did not bind it because it was entered into by its president

Reviews

Write a Review

Computer Engineering Questions & Answers

  Explain how the attacks affected risk management in

1.explain how the attacks affected risk management in organizations and have prompted an increased justification for

  Explain the purpose of encoding characters

Explain the purpose of encoding characters and compare ASCII with Unicode and other character sets.

  Write a program that creates a histogram

Write a program that creates a histogram that allows you to visually inspect the score distribution of a set of students. The program should prompt the user.

  Why organization that meets the company''s specifications

A software application has been delivered to your organization that meets the company's specifications. Using associated examples, describe problems which may arise when it is installed and used in your organization.

  Draw an activity diagram for ordering

Draw an activity diagram for ordering a burrito at a fast food Mexican restaurant (e.g. Chipotle or Qdoba).

  Write a recursive program to draw a binary tree

Write a recursive program to draw a binary tree so that the root appears at the center of the page, the root of left sub tree is at the center of the left half.

  How erm adoption and implementation differs from for-profit

In chapter 9, the reading covers the ERM approach in Higher Education (HE) environments. While the case study on ERM implementation for the University.

  Prompts a user to enter his-her users first and last names

Write a bash script that: Prompts a user to enter his/her user's first and last names, reads user inputs into 2 variables.

  How various faults does windows xp have

Research shows that there are about 5 faults per 1000 lines of code in carefully made programs, that means that 1 million lines of codes will have 5000 faults. Windows XP has approximately 45 million lines of code.

  Display the sum of each row

Display the sum of each row. Compare this to the value obtained using the sum command Using a while loop, add all of the numbers in the array.

  Find the value of fin

Given A = 0, B = 1, C = 0, and D = 1, find the value of Fin each of the following: F = AB' + C, F = AB' + C'D + CD.

  Create a gpa calculator

How to makea gpa calculator using visual basic Create a GPA calculator. Ask the user to input a list of classes and the number of tests per class.

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