Question: What does it mean by assume these are twos complement numbers? 2.12 Assume that registers $s0 and $s1 hold the values 0x70000000 and x95000000, respectively.
What does it mean by assume these are twos complement numbers? 2.12 Assume that registers $s0 and $s1 hold the values 0x70000000 and x95000000, respectively. Assume these are twos complement numbers. a. What is Ss0 in decimal? b. What are the 8 most-significant bits? c.What is the decimal value of those 8 MSBs? d. What is Ss1 in decimal? Page 3 of 7 What are the 8 most-significant bits? f. What is the decimal value of those 8 MSBs (remember, it's twos complement)? Drop the last 6 hex digits from both numbers-they're just trailing zeros. If we need to subtract Ss1, we'll need to calculate its twos complement. Using only the first two hex characters as input, what is the twos complement value? g. h. What is the decimal value of those 8 bits? L Calculate the value of $t0 for the following assembly code: add $to, $s0. $s1 But do it with just the first two hex characters, as if we had only 8-bit registers
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
