711 views
0 votes
0 votes

The CPU supports the following instructions

LOAD       R1 , R2  (100) ; R2 ← [R2 + 100]
ADD        R1 , R2R1 ← R1 + R2
SUB        R2,R1 R2 ← R2 – R1
STORE  R1 (100), R2 ; [R1+100] ←R2

4 stage pipeline is used to execute the above instructions i.e., Fetch, Decode, Execute and Write Back. Let all instructions consume 1 clock each for fetch, decode and write operations. Execution require 3 clocks for memory related operation and 1 clock is for other instructions. The minimum number of clocks needed with operand forwarding is ________.

Ans. 11.

 

2 Answers

0 votes
0 votes

 I think it is 12 clock cycle

Related questions

1 votes
1 votes
1 answer
1
1 votes
1 votes
1 answer
3
PEKKA asked Nov 2, 2016
426 views
What is happening in fetch stage decode stageof pipeline . Please explain in details .
0 votes
0 votes
1 answer
4