Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PART TWO: Answer the following questions ( short answers ) . Write your answer in the designated space on the cover page. ONaty the cover

PART TWO: Answer the following questions (short answers). Write your answer in the designated space on the cover page. ONaty the cover page will be graded.
(Questions 17 and 18) Datapath components are instruction memory, register file, sign-extend. unit, ALU and data memory. Ust the components that are imvolved in esecuting each of the following instructions, in addtion to the instruction memory?
[2 points]
\table[[Na.,Instruction,Components],[17,Iw $s1,20|$s2|,],[18,sub $s1,$s2,$s3,]]
(Questions from 19 to 21) Consider a direct-mapped cache with 16KB of data with 2-word blocks. Assuming a 32-bit address, 4-byte words, and a byte-addressable memory, answer the following questions:
[3 points]
\table[[Ne.,Question,Answer],[19,What is the total number of blocks in the cache?,],[20,How many bits are required for the index?,],[21,How many bits are required for the tag?,]]
Questions (22 and 23) are based on the following MiPS code fragment:
[2 points]
slti $:2,$s2,5
beq $22,$ zero, 12
addi $s1,$s1,3
L2:-?-
\table[[No.,Question,Answer],[22,\table[[Assuming that initially register $s1
image text in transcribed

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

Step: 3

blur-text-image

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

Data Analysis Using SQL And Excel

Authors: Gordon S Linoff

2nd Edition

111902143X, 9781119021438

More Books

Students also viewed these Databases questions

Question

What is ethnocentric bias?

Answered: 1 week ago