What decimal number does the bit pattern 01100101 represent

What decimal number does the bit pattern 01100101 represent if it is a sign-magnitude integer?

Solution

for a signed magnitude integer the value is \"positive\" if the left most bit is \"0\". and the value is \"negative\" if the left most bit is \"1\".

here the given bit pattern is 01100101 so the left most bit is \"0\" then we say the value is positive value.

decimal representation:

=================

bit pattern is --- 0 1 1 0 0 1 0 1

place values are 27 26 25 24 23 22 21 20

answer is 0*27 + 1* 26 + 1*25 + 0*24 + 0*23 + 1*22 + 0*21 + 1* 20

= 26 + 25  + 22 + 20

= 64 + 32 + 4 + 1

= 101

so the decimal representation of signed magnitude integer bit pattern is ( 01100101 )2 = ( 101 )10

What decimal number does the bit pattern 01100101 represent if it is a sign-magnitude integer?Solutionfor a signed magnitude integer the value is \

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site