Submit your answers to blackboard. Be sure to show your work (if necessary).
f, g, h, i
and j
below are assigned to registers $s0, $s1, $s2, $s3
, and $s4
, respectively. Assume that the base addresses of arrays skis
and snowboards
are stored in registers $s6
and $s7
, respectively.f, g, h, i
and j
are assigned to registers $s0, $s1, $s2, $s3
, and $s4
, respectively. Assume that the base addresses of arrays called breakups
and makeups
are stored in registers $s6
and $s7
, respectively.XOR | 0 | 1 |
0 | 0 | 1 |
1 | 1 | 0 |
f = g + h;
f = f + g + h + i + j;
f = breakups[1];
add
s, and one more for the lw
.