Use the following code fragment:
1 sub x4,x4,x0
2
add x3,x4,x0
3
sub x6,x3,x2
4
mul x1,x6,x7
5
add x2,x5,x9
6
div x5,x9,x2
7
add x8,x1,x4
Draw the dependency graph among the instructions and indicate
the type of data hazards (such as RAW, WAW, etc.) on each edge.