subject

Given the following mips code snippet (note that instruction #6 could be anything):
loop:
1. addi $t0, $t0, 4
2. lw $v0, 0($t0)
3. sw $v0, 20($t0)
4. lw $s0 60($t0)
5. bne $s0, $0, loop
6. ##the following instruction could be anything
a. detect hazards and insert no-ops to insure correct operation. assume no delayed branch, no forwarding units and no interlocked pipeline stages. your answer on the right should take the form of pair(s) of numbers: num@location – indicating num no-ops should be placed at location. e. g., if you wanted to place 6 noops between lines 2 and 3 (i. e., location=2.5) and 8 noops between lines 5 and 6 (i. e., location=5.5), you would write: "[email protected], [email protected]". b. now, reorder/rewrite the program to maximize performance. assume delayed branch and forwarding units, but no interlocked pipeline stages. for unknown reasons, the first instruction after the loop label must be the addi. feel free to insert no-ops where needed.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 25.06.2019 08:00
Astrategy for speeding up hard drive performance is
Answers: 2
question
Computers and Technology, 26.06.2019 07:30
Drag the tiles to the correct boxes to complete the pairs. match the following errors with their definitions.
Answers: 1
question
Computers and Technology, 26.06.2019 14:00
The quick access toolbar cannot be customized and have extra commands added to it true or false?
Answers: 1
question
Computers and Technology, 26.06.2019 15:00
Dan is a civil engineer for a company that builds nuclear power plants throughout the world. which best describes the places he works and what he does there? a) at an office analyzing blueprints, and at public meetings where safety regulations are explained b) at an office creating computer models for power plants, and at sites where the plants are constructed c) in a laboratory, where he designs power plants, and in a factory where the plants are manufactured d) in a warehouse, where he orders parts, and at sites where the parts are installed in the power plants
Answers: 1
You know the right answer?
Given the following mips code snippet (note that instruction #6 could be anything):
loop:
Questions
question
Mathematics, 09.12.2021 23:30
question
English, 09.12.2021 23:30
question
Mathematics, 09.12.2021 23:30
question
Mathematics, 09.12.2021 23:30
question
Mathematics, 09.12.2021 23:30
question
Computers and Technology, 09.12.2021 23:30
question
History, 09.12.2021 23:30
question
Physics, 09.12.2021 23:30
question
Mathematics, 09.12.2021 23:30
Questions on the website: 13722362