141 views

1 Answer

0 votes
0 votes

In instruction I2 we are writing the computed sum value to the register $2  → this counts as Write operation.

In instruction I4 we’re writing/storing the value present in register $2 to the address value wherein  Address = $4 + 20. To do this we will have to read the contents present in the register $2 which counts as a Read operation on register $2.

Please also note that the value in $2 is not overwritten between instructions I2 and I4 hence I2-I4 is a valid RAW (Read after Write) dependency.

Related questions

0 votes
0 votes
1 answer
1
Dknights asked Jan 4
122 views
Please explain this.
0 votes
0 votes
0 answers
2
Dknights asked Jan 4
121 views
what should be correct according to gate PYQs?
1 votes
1 votes
1 answer
4
Dknights asked Dec 24, 2023
157 views
I think 3rd option is right but they mentionedThe binary representation of -39 is : 10110012's complement of 1011001 will be: 1's complement of 1011001 + 1= 0100110 + 1 ...