Question: Assume that $s0 holds the value 128 ten . 1. For the instruction add $t0, $s0, $s1, what is the range(s) of values for $s1
Assume that $s0 holds the value 128ten.
1. For the instruction add $t0, $s0, $s1, what is the range(s) of values for $s1 that would result in overflow?
2. For the instruction sub $t0, $s0, $s1, what is the range(s) of values for $s1 that would result in overflow?
3. For the instruction sub $t0, $s1, $s0, what is the range(s) of values for $s1 that would result in overflow?
Step by Step Solution
★★★★★
3.33 Rating (171 Votes )
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
1 128 2 31 1 x 2 31 129 and 128 x 2 31 x 2 ... View full answer
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
