Question: Computer architecture Question 1) Given the following code snippet identify all true dependencies. Each dependency should indicate two lines and the register involved. 1. loop
Computer architecture
Question 1) Given the following code snippet identify all true dependencies. Each dependency should indicate two lines and the register involved. 1. loop : BNE $s5, $0, done 2. LW $s0, 0($s1) 3. LW $s2, 4($s0) 4. MULT $s0, $s0, $s2 5. ADD $s4, $s0, $s4 6. ADDI $s1, $s1, 8 7. ADDI $s3, $s3, 8 8. SW $s3, 4($s5) 9. SUB $s5, $s6, $s1 10. J loop
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
