edited by
492 views
3 votes
3 votes

The decimal and hexadecimal representation for the bit string $110000100101$, represented in $16-bit$ $1's$ complement representation are:

  1. $-986,\texttt{0xFC25}$
  2. $3109,\texttt{0xFC25}$
  3. $3109,\texttt{0xF3DA}$
  4. $986,\texttt{0xF3DA}$
edited by

1 Answer

Best answer
3 votes
3 votes
In $1's$ complement representation, negative numbers are represented by inverting their bits (no taking of complement for positive numbers as in $2's$ complement representation). Since the leading bit is $1,$ the number is negative here. So, we invert every bit and get the value as $0011\;1101\;1010 = 2^{9}+2^8+2^7+2^6+2^4+2^3+2^1 =2^{10} - 2^{6}+26 = 1024 - 64 + 26 =986.$
    
    So, the represented decimal value is $-986.$
    
    Hexadecimal value in 16 bits $=\underbrace{1111}_F\; \underbrace{1100}_{C}\;\underbrace{0010}_{2}\;\underbrace{0101}_{5} = (FC25)_{16}$
selected by
Answer:

Related questions

4 votes
4 votes
1 answer
2
gatecse asked Jul 19, 2020
238 views
Let $M$ be the maximum unsigned integer value representable with $4$ bits and $N$ be the maximum signed value representable with $4$ bits (using 2's complement representa...
2 votes
2 votes
1 answer
3
gatecse asked Jul 19, 2020
182 views
The decimal number $31.03125$ can be expressed in scientific notation as :$1.111100001\ast 2^2$$1.111100011\ast 2^3$$1.111100001\ast 2^4$$1.111000001\ast 2^3$
7 votes
7 votes
1 answer
4
gatecse asked Jul 19, 2020
581 views
Which of the following decimal number does not cause a loss of precision when represented in IEEE-754 single precision representation?$4096 \times 4096 \times 4096$$24824...