9 3 The numbers given in hexadecimal below are eight bits each and represent num
ID: 3880307 • Letter: 9
Question
9 3 The numbers given in hexadecimal below are eight bits each and represent numbers that use two's complement. (The hexadecimal number ff, for example, would be equivalent to 11111111 in binary or -1 in decimal according to the rules of two's complement. The hexadecimal number 1f would be For each operation, find the result. Your result should be given as a two-digit hexadecimal number with lowercase letters and no 0x prefix. You must also indicate whether or not there is overflow (write yes" or "no" in all lowercase). (Note that overflow could occur in either direction.) If there is overflow. note that you should not include the overflow digit in your answer. I'd recommend converting the numbers to binary first, then computing the result (making note of whether or not overflow occurs), and finally converting the lowest 8 bits of the result back into hexadecimal. Overflow? Overflow? f +77 Overflow? chExplanation / Answer
2b + 2b = 56 (No)
0010 1011
0010 1011
---------
0101 0110 => 56
80 + b3 = 33 (Yes)
1000 0000
1011 0011
---------
0011 0011 => 33
ff + 77 = 76 (Yes)
1111 1111
0111 0111
---------
0111 0110 => 76
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.