subject
Computers and Technology, 12.08.2020 09:01 yovann

The classic five-stage pipeline MIPS architecture is used to execute the code fragments in this problem. Assume the followings The architecture fully supports forwarding, Register write is done in the first half of the clock cycle; register read is performed in the second half of the clock cycle, Branches are resolved in the third stage of the pipeline and the architecture does not utilize any branch prediction mechanism, Register R4 is initially 100.
1w R2, 200(R5)
add R3, R1, R2
sw R3, O(R5)
add R3, R3, R6
sw R3, 400(R5)
addi R4, R4, -4
addi R5, R5,4
brie R4, RO, Ll
a. What is the size of the memory needed to store he program? Code size: bytes
b. How many iterations are performed to complete the entire loop? Number of iterations: iterations
c. How, many nstrucfions are executed to complete the entire loop? Number of instructions executed: instructions
d. How many references are made to the data memory for read in one iteration of the loop?
e. How many references are made to the data memory for write in one iteration of the loop? Number of data references for write: references
f. How many references are made to the instruction memory in one iteration of the loop? Number of instruction memory references: references

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 12:10
1. declare a constant named cents_per_pound and initialize with 25. 2. get the shipping weight from user input storing the weight into shipweightpounds. 3. using flat_fee_cents and cents_per_pound constants, assign shipcostcents with the cost of shipping a package weighing shipweightpounds.
Answers: 2
question
Computers and Technology, 23.06.2019 02:30
Three out of five seniors remain undecided about a college major at the end of their senior year.
Answers: 3
question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. sean is a computer programmer. he has programmed an application for toddlers that plays nursery rhymes. however, a logic error has occurred in the program. which problem is a likely consequence of the error? a. the program crashes every time the user wants to play the nursery rhymes. b. the program crosses its buffer boundaries and overwrites an adjacent program. c. the program plays a different nursery rhyme than the one the user intended to play. d. the program shows different structures in its programming language code. e. the program introduces new viruses every time the user plays a nursery rhyme.
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
Jake really works well with numbers and is skilled with computers but doesn't work well with others. which of the jobs discussed in this unit might be best for jake? why?
Answers: 3
You know the right answer?
The classic five-stage pipeline MIPS architecture is used to execute the code fragments in this prob...
Questions
question
Mathematics, 11.01.2021 22:50
question
Mathematics, 11.01.2021 22:50