The hazard occurs on register $t2 between the second lw and the first sw.
Swapping the two sw instruction removes the hazard:
         

          lw $t0, 0($t1)
    lw $t2, 4($t1)
    sw $t0, 4($t1)
    sw $t2, 0($t1)

 

BACK to EXAMPLES

← BACK to INDEX