MIPS
a) Consider the C statement: a = (b + d) + (b - c) + (c
+ d)
Which of the following assembly instructions can be used
to replicate all or part of this statement in MIPS, without
changing or reducing the equation. Assume variables a, b, c, and d
are assigned to registers $s0, $s1, $s2 and $s3
respectively.
1. sub $t0, $s2, $s3
2. sub $t0, $s0, $s3
3. sub $t1, $s1, $s2
4. sub $t2, $s1,...