Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The memory of a computer is byte-addressable, and the word length is 32 bits. A program consists of two nested loops- a small inner loop

The memory of a computer is byte-addressable, and the word length is 32 bits. A program consists of two nested loops- a small inner loop and a much larger outer loop. The general structure of the program is given in Figure P8.1. The decimal memory addresses shown delineate the location of the two loops and the beginning and end of the total program. All memory locations in the various sections of the program, 8-52,56-136, 140-240, and so on, contain instructions to be executed in straight-line sequencing. The program is to be run on a computer that has an instruction cache organized in the direct-mapped manner (see Figure 8.16) with the following parameters:

Cache size: 1K bytes

Block size: 128 bytes

The miss penalty in the instruction cache is 80t where t is the access time of the cache. Compute the total time needed for instruction fetcching during execution of the program in Figure P8.1.

image text in transcribed

image text in transcribed

image text in transcribedProblem 8.5 is the question I need answered.

CHAPTER a Trane MEN o av sysTEA" 292 Block 1 Block 127 Cache Block 128 Block 129 Block 1 Block 255 tag Block 127 Block 256 Block 257 Block 4095 Tag Block Word 4 Main memory address Figure 8.16 Direct mapped coche. CHAPTER a Trane MEN o av sysTEA" 292 Block 1 Block 127 Cache Block 128 Block 129 Block 1 Block 255 tag Block 127 Block 256 Block 257 Block 4095 Tag Block Word 4 Main memory address Figure 8.16 Direct mapped coche

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_2

Step: 3

blur-text-image_3

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

PC Magazine Guide To Client Server Databases

Authors: Joe Salemi

1st Edition

156276070X, 978-1562760700

More Books

Students also viewed these Databases questions

Question

=+How should it be delivered?

Answered: 1 week ago

Question

=+4 How does one acquire a global mindset?

Answered: 1 week ago