Question
2s complement system: You are given four signed integers in different number bases A = +(7B)16 B = -(21)8 C = +(103)10 D = +(11001)2
2s complement system: You are given four signed integers in different number bases A = +(7B)16 B = -(21)8 C = +(103)10 D = +(11001)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 largest and smallest number 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 2s complement arithmetic C + D. Is this the answer you would expect? Explain.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started