What is the value of the 8bit binary quantity 10010111 when

What is the value of the 8-bit binary quantity 10010111 when it is interpreted as a sign/magnitude integer?

Solution

Given binary:
   10010111 , Since first bit(right most bit) is 1 then it is negative number

   To get the decimal number, we need to convert in 2\'s complement

   1s complemet = 01101000

   Adding 1 in 1s complement to get 2s complement

   01101000 + 1 = 01101001 => 105

   So, Demial = -105

What is the value of the 8-bit binary quantity 10010111 when it is interpreted as a sign/magnitude integer?SolutionGiven binary: 10010111 , Since first bit(righ

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site