3,702 views

2 Answers

Best answer
6 6 votes
The question is not about 2's complement of -539, rather what is the 2's complement representation of -539.

In 2's complement representation negative numbers are represented as 2's complement of its absolute value while positive numbers are representes as they are.

So, $(-539)_{10} = 2's(001000011011)_2 = (110111100101)_2 = (DE5)_{16}$.

For $539$, answer would have been $(001000011011)_2 = (21B)_{16}$
• selected by
3 3 votes
For 2's Complement representation of -539 (emphasize on representation word)

2's complement representation is a weighted Code representation.

To represent negative no. MSB position ( which must 1) weight is -ve rest are +ve so

-539=-1024+485

101 1110 0101

MSB weight -1024 rest made +485 so collectively they are -539

Now to represent in hexa it should be muliple of 4 bit so add extra 1 in MSB(sign extension it wont affect the Value it remain still -539)

So finally

1101 1110 0101

= (DE5)16
Position:
Show:

Related questions

0 0 votes
0 0 answers
1.1k
1.1k views
srestha asked Dec 27, 2018
1,056 views
Consider given below $n$ bit integer data which is expressed in sign $2’s$ complement notation$K=\left ( a_{n-1} a_{n-2}....a_{1} a_{0} \right )$The value expression of t...
1 1 vote
0 0 answers
2.0k
2.0k views
Na462 asked Aug 6, 2018
1,991 views
3 3 votes
1 answers 1 answer
2.6k
2.6k views
Hardik Vagadia asked Dec 30, 2016
2,620 views
Is 2's complement code weighted or unweighted? Why?
5 5 votes
1 answers 1 answer
1.8k
1.8k views
pC asked Nov 27, 2015
1,837 views
1 1 1 1 1 1 1 1 + 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 + 1 1 1 1 1 1 1 1 0 1 0 0 0 0 0 0 + 0 1 1 0 0 0 0 0 Please justify your answer. I'm not getting a clue whether the give...