------------------------------------------------------------------------------
MC logo
Two's Compliment to Decimal Conversion
[^] Two's Compliment Operation   [^^][^^] Binary/Boolean Main Index
------------------------------------------------------------------------------
[Decimal to Two's Compliment Conversion] [Two's Compliment to Decimal Conversion] [Two's Compliment Binary Addition Examples]
These are examples of converting an eight-bit two's compliment number to decimal. To do this, you first check if the number is negative or positive by looking at the sign bit. If it is positive, simply convert it to decimal. If it is negative, make it positive by inverting the bits and adding one. Then, convert the result to decimal. The negative of this number is the value of the original binary.