Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 4 Consider the following code 1 w $ 6 , 0 ( $ 4 ) lw $ 4 , 5 ( $ 7 )
Consider the following code
$$
lw $$
beq $$ label assume branch is not taken
sub $$$
sw $$
label: sub $$$
a How many clock cycles does it take to execute the code if it is multi cycle
execution?
b How many clock cycles does it take to execute the code if it is pipelined execution?
c In which clock cycle does actual subtraction of $$ takes place in case of multi
cycle execution?
d In which clock cycle branch target address is calculated in case of multicycle
execution?
e What happens during th clock cycle in case of multicycle execution?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started