Consider the following instructions I0: DIV R2, R0,R1 (The operation is…

Consider the following instructions

I0: DIV R2, R0,R1 (The operation is R2←R0/R1)

I1: MUL R5, R1,R4 (The operation is R5←R1∗R4)

I2: SUB R3, R5,R2 `( The operation is R3←R5−R2)

I3: ADD R5, R3,R6 (The operation is R5←R3+R6 )

How many RAW(Read After Write) dependencies are there in the given set of instructions?

Attempted by 33 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…