Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask Computer Engineering Expert

problem 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.

a) jalr $s0, $s1
b) sw $s1, 24($t0)
c) slt $t0, $s3, $s4
d) jal 1048576

problem 2: Consider these two potential additions to the MIPS instruction set and describe 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.

problem 3: describe how you would pipeline the four following pairs of statements.

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

problem 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?

problem 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?

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91288

Have any Question? 


Related Questions in Computer Engineering

Describe a phenomenon that you think it would be

Describe a phenomenon that you think it would be interesting to model using ABM. What are the agents in this model? What properties do they have? What kind of actions can the agents take? What kind of environment do the ...

While there is no end to what you might write you must

While there is no end to what you might write you must convey your thoughts in essay of at least four to five pages excluding cover page and references section. Assignment: Write an essay that describes the preparation r ...

1 in your own words describe the two motivations for

1. In your own words, describe the two motivations for defining functions in your programs. 2. We have been thinking about computer programs as sequences of instructions where the computer methodically executes one instr ...

1 create an array of 1000 integers sorted in numerical

1. Create an array of 1000 integers sorted in numerical order. Write a program that runs each sorting algorithm with this array, timing each algorithm, and compare the times. Compare these times to the times for sorting ...

Conduct research and reading to understand how

Conduct research and reading to understand how multimegawatt induction generators can be controlled by vector control. Assume devices capable of handling high voltages and high currents, maybe not possible to operate wit ...

Using english text and patterns determine the average

Using English text and patterns determine the average behavior of the pattern searching algorithm in (Implement a version of the current pattern searching algorithm that counts the number of times a given pattern occurs ...

When you conduct an inventory of the supplies on hand for

When you conduct an inventory of the supplies on hand for your manufacturing facility it will be determined that during that inventory that there are numerous excess and obsolete parts. How do you prevent this problem wi ...

We consider certificate generation with ca-generated keys

We consider certificate generation with CA-generated keys. Assume the second transmission of (CertA, kpr,A) takes place over an authenticated but insecure channel, i.e., Oscar can read this message. 1. Show how he can de ...

Write a 500 word report to explain issues of storing and

Write a 500 word report to explain issues of storing and representing data that is difficult to structure in an RDBMS. Search and find an example, or create one in the content of the small business you proposed previousl ...

1 how do you discover syntax errors how do you discover

1. How do you discover syntax errors? How do you discover logic errors? 2. Write three versions of the HelloPrinter.java program that have different compile-time errors. Write a version that has a run-time error.

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

WalMart Identification of theory and critical discussion

Drawing on the prescribed text and/or relevant academic literature, produce a paper which discusses the nature of group

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro