For example, i have this binary number : 1011 1101
Now i wish to evaluate the decimal equilant using sign and magnitude, one's complement and two's complement.
Now for sign and magnitude, i know the answer would be like, take the left most bit as sign, in this case it is 1, so negative number. Take the rest of the bits as magnitude, which is 61. So the decimal equilant is -61.
How about the one's and two's complement. Do i need to flip all the bits, or do i need to keep the left most bit as it is, and flip the rest?.
Like for ones complement of the binary number above, would it be 11000010 or 01000010.