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

  Implement functions using x86 assembly in addition to

implement functions using x86 assembly. in addition to implementing procedures this assignment requires to pass

  Write a program that creates a hierarchy of processes using

write a program that creates a hierarchy of processes using the fork system call. the initial program termed the root

  Directionall of them short discussion each of them 200

directionall of them short discussion. each of them 200 words all together around 1200

  In a typical cpu implementation the design-cycle starts

in a typical cpu implementation the design-cycle starts with a cc based instruction set simulator iss of the target

  Create a application using the mvc architecture no

create a application using the mvc architecture. no scripting elements are allowed in jsp

  Hubspot is currently at a crossroads with management

hubspot is currently at a crossroads with management looking for rapid acceleration of sales and profits. in their

  1 here is a short program it prints out the value of a

1. here is a short program. it prints out the value of a variable x. ernie and bert disagree about what will be printed

  If the user wants to read the input from a file then the

if the user wants to read the input from a file then the output will also go into a different file. if the user wants

  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

  Question 1we are given the following knowledge base of

question 1we are given the following knowledge base of travel informationnbspbycaraucklandhamilton.

  Discussion htmlcssjavascript placementnbspplease respond to

discussion htmlcssjavascript placementnbspplease respond to the followingcompare and contrast the process of adding

  Problem 1 create a simple shell basically your shell should

problem 1. create a simple shell. basically your shell should read the line from standard input parse the line with

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