Question 1 detail for each of the four following mips

Assignment Help Application Programming
Reference no: EM13347699

Question 1. Detail for each of the four following MIPS instructions, which actions are being taken at each of their five steps. Do not forget to mention how and during which steps each instruction updates the program counter.

Question 2. Suppose these two potential additions to the MIPS instruction set and explain how they would restrict pipelining.

a) cp d1(r1), d2(r2)

copy contents of word at address c address contents of r2 plus offset d2 into address contents of r1 plus displacement d2.

b) incr d2(r2)

adds one to the contents of word at address contents of r2 plus offset d2.

Question 3. Explain how you would pipeline the four following pairs of statements. (4×5 points)

a) add $t0, $s0, $s1
beq $s1,$s2, 300

b) add $t2, $t0, $t1
sw $t3, 36($t2)

c) add $t0, $s0, $s1
beq $t0,$s2, 300

d) lw $t0, 24($t1)
sub $s2, $t0, $t1

Question 4. A computer system has a two-level memory cache hierarchy. The L1 cache has a zero hit penalty, a miss penalty of 5 ns and a hit rate of 95 percent. The L2 cache has a miss penalty of 100 ns and a hit rate of 90 percent.

a) How many cycles are lost for each instruction accessing the memory if the CPU clock rate is 2 GHz?

b) We can either increase the hit rate of the topmost cache to 98 percent or increase the hit rate of the second cache to 95 percent. Which improvement would have more impact?

Question 5. A virtual memory system has a virtual address space of 4 Gigabytes and a page size of 8 Kilobytes. Each page table entry occupies 4 bytes.

a) How many bits remain unchanged during the address translation?

b) How many bits are used for the page number?

c) What is the maximum number of page table entries in a page table?

Reference no: EM13347699

Questions Cloud

Nbspnbspnbspnbspnbspnbspnbspnbspnbspnbspnbspnbsp nbsp : nbspnbspnbspnbspnbspnbspnbspnbspnbspnbspnbspnbsp nbsp nbspnbspnbspnbspnbspnbspnbspnbspnbspnbspnbsp comprehensive
Aim to introduce the concepts of computer graphicsto : aim to introduce the concepts of computer graphics.to develop a program using opengl.to gain experience in writing
1 menu optionsthe shell script should generate a menu to : 1. menu optionsthe shell script should generate a menu to allow the user to choose each option. after executing options
Casemoto knappy is a manufacturer of automobile motorsnbsp : casemoto knappy is a manufacturer of automobile motors.nbsp the manufacturing process takes a couple of months.nbsp the
Question 1 detail for each of the four following mips : question 1. detail for each of the four following mips instructions which actions are being taken at each of their
Write a java program in a netbeans project that reads a : write a java program in a netbeans project that reads a text file containing the names and addresses of several people
1 state the thesis of your essay if you do not know what a : 1. state the thesis of your essay. if you do not know what a thesis is in relation to writing an essay or if you do not
Trinco ltd trinidad amp tobago-tampt has been negotiating a : trinco ltd trinidad amp tobago-tampt has been negotiating a contract with a potential customer in jamaica. before the
Questions mylocation sdword : questions mylocation sdword 14thetestnbspnbspnbspnbspnbspnbspnbsp sdword 8nbspnbsp nbspmovnbspnbsp

Reviews

Write a Review

Application Programming Questions & Answers

  Electricity modellingit deals with electricity usage data

electricity modellingit deals with electricity usage data for 241 households in new zealand that was collected in

  Project 1 requirementsnbspthis project requires you to

project 1 requirementsnbspthis project requires you to program a maze-type game using assembly language. it is not

  Questions on programing problem step 1 we ask you to

questions on programing problem step 1 we ask you to produce a project plan and an interim description of the project

  Questions mylocation sdword

questions mylocation sdword 14thetestnbspnbspnbspnbspnbspnbspnbsp sdword 8nbspnbsp nbspmovnbspnbsp

  Soda vending machine designnbsp design a soda vending

soda vending machine designnbsp design a soda vending machine that can deliver three kinds of soda a b and c. allnbsp

  Rtl sa is a company which develops bespoke solutions for

rtl sa is a company which develops bespoke solutions for the rubber industry. they produce both rubber compound which

  1 object oriented programming class hierarchies

1. object oriented programming class hierarchies inheritance and virtual functions in this part of the assignment you

  Design a program that models the worms behavior in the

design a program that models the worms behavior in the subsequent scenarioa worm is moving toward an apple. each time

  The increasing need to travel and lifestyle changes of

the increasing need to travel and lifestyle changes of society has made airlines industry one of the most demanded and

  Produce a project plan and an interim description of the

produce a project plan and an interim description of the project developmentproblem 1. northern lights alert service.

  Question 1part 1 conditional logicconditional logic is used

question 1part 1 conditional logicconditional logic is used within your application to make decisions during the

  Basic requirementsscreen one has three edittext views and

basic requirementsscreen one has three edittext views and one button.the edittext views allow you to enter a students

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