847 views

2 Answers

Best answer
4 votes
4 votes
$FFFF = 1111\:1111\: 1111\: 1111$

Look at the LSB we have $1$,so the number we will get is definitely negative.

 $2$'s complement = $1$'s complement + $1$

$0000\: 0000\: 0000\: 0000\: + 1 \: =\: 1$.

But due to LSB=$1$, the answer is  $-1$.

Here asked magnitude (absolute value) , so answer is $1$.
selected by
0 votes
0 votes

Answer : Option (B)

(FFFF)16=(1111 1111 1111 1111)2

It's give that MSB 1 is Sign bit and remaining 15 bits are MAgnitude so,

We simply do r's Complement.

Here r=2 base, so 2's complement will be (0000 0000 0000 0001)2.

And the Magnitude will be 1, and the decimal value if asked will be -1.

Related questions

0 votes
0 votes
1 answer
1
99Monish asked Dec 18, 2021
3,864 views
What is the difference between 2’s complement and 2’s complement representation of a number? Please can you do 2’s complement of (43) and (-43) and also represent 4...
0 votes
0 votes
0 answers
2
saptarshiDey asked Nov 28, 2018
1,043 views
If N = 670 in base 9 system. Then find the radix complement of N.