I am supposed to find the decimal equivalent of 101110 in sign and magnitude, 1's complement, and 2's complement.
A.) Sign and magnitude
I have it as -(8+4+2)=-14
B.)1's compliment
it starts with a one so it is negative then I flip the digits so:
negative of 10001
=-(16+1)
=-17
C.)2's complement
Add 1 to the absolute value of the 1s complement then make it negative so:
=-18
Can I get some verification on this?
A.) Sign and magnitude
I have it as -(8+4+2)=-14
B.)1's compliment
it starts with a one so it is negative then I flip the digits so:
negative of 10001
=-(16+1)
=-17
C.)2's complement
Add 1 to the absolute value of the 1s complement then make it negative so:
=-18
Can I get some verification on this?
Last edited: