Question: 2s complement system: You are given four signed integers in different number bases A = +(7B)16 B = -(21)8 C = +(153)10 D = +(1111001)2
2s complement system: You are given four signed integers in different number bases A = +(7B)16 B = -(21)8 C = +(153)10 D = +(1111001)2 a) What is the value n, the smallest number of bits needed to represent all of these numbers in 2s complement representation? In general, using the value found for n, what is the total range of numbers that can be represented? b) Give the n-bit representations of the four numbers in the 2s complement system, where n is the value determined in (a). c) Compute using C + D. Is this the answer you would expect? If not, what change would be needed to allow this computation? Explain.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
