Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Assume that registers SSO and Ssi hold the values 0x80000000 and 0xD0000000, res

ID: 3569866 • Letter: A

Question

Assume that registers SSO and Ssi hold the values 0x80000000 and 0xD0000000, respectively. 1) What is the value of St0 in hexadecimal) for the following assembly code? Add St Ssi 2) Is the result in St0 the desire result, or has there been overflow? 3) For the content of registers Ss0 and $s1 specified above (0x80000000 and 0xD0000000, respectively, what is the value of St0 for the following assembly code? Sub St0, Ss0, Ssi 4) Is the result in St0 the desired result or has there been overflow? 5) For the content of registers Ss0 and $s1 specified above (0x80000000 and 0xD0000000, respectively, what is the value of $t0 for the following assembly code? Add St0, Ss0, ssi Add St0, St0, S50 6) Is the result in St0 the desired result or has there been overflow? Assume that S50 holds the value 128 (decimal, not hex: 7) For the instruction add St0, Ss0, Ss1, that is the range(s) of values for $s 1 that would create an overflow? 8) For the instruction s St0, $50, $s1, that is the range(s) of values for $s1 at would create an overflow?

Explanation / Answer

1>0x50000000

2>There has been an overflow

3>0xB0000000

4>There has been an overflow

5>0xD0000000

6>There has been an overflow

7>0xFFFFFF70

8>0x00000090