how can we start decoding the sub instruction in the third cycle we don't have the value of R4 at that point in time.
@abhijeetchauhan41115 жыл бұрын
I guess, when not mentioned we have to consider forwarding from e to d as well as e to e, unlike the q.6 video where it is mentioned that fwding only from e to d.
@vaishudharan24023 жыл бұрын
Decode (D), and Instruction Execution (E) and Write Operand (W) stages. The F, D, and W stages take one clock cycle each for any instruction. The E stage takes one clock cycle for ADD and SUB instructions, three clock cycles for MUL instruction, and six clock cycles for DIV instruction respectively. Operand forwarding is used in the pipeline. (i) What is the number of clock cycles needed to execute the following sequence of instructions? (ii) Justify your answer with neat diagram. Instruction Meaning of instruction I0:MUL R0,R1, R2 R2= R0 *R1 I1: DIV R3,R4, R5 R5 = R3/R4 I2:ADD R5,R2, R2 R2 = R5+R2 I3:SUB R2,R6, R5 R5= R2-R6
@jayeshdewangan58965 жыл бұрын
Gate 2009 question -28 please sir there is a confusion please solve it asap...