https://gateoverflow.in/3622/gate2006-it-78
with reference to the concept used in previous year question
the answer for the true data dependencies in the following question should be 5 ?? but solution is given as 3...
M[100<-r1
r2<-M[700]
r1<-r2 / r1
r2<-r1+r2
M[500]<-r2
M[200]<-r1
I think you only need to count RAW
A Flow dependency, also known as a data dependency or true dependency or read-after-write (RAW)
Wiki definition for true dependency,