in CO and Architecture
452 views
1 vote
1 vote
Will there be any stall in the code for instruction I1 and I2 as there exits WAW

I-1   AddI R3,R1,R2;

I-2   SW R3,0(R4);

I-3    Sub R4,R4,#4;

Actually I want to ask is does WAW cause stall if there is dependency between a load&store instruction to a arithmetic instructions.
in CO and Architecture
by
452 views

4 Comments

don't you thing Writing and Storing are same ??
0
0
But we are reading the value of R3 and writing it to the memory..Writing is not being done on R3..
0
0
Yes there will RAW dependency
1
1

Please log in or register to answer this question.

Related questions