<<< Computing 2's complement example | Index | Binary to Decimal Conversion >>> |
Addition rules of two 2's complement integers are quite simple:
If two numbers with opposite signs are added, the result is zero.
Also, representation of value+1 equals to the representation of value plus representation of 1 .
Addition of positive numbers mirrors addition of decimal numbers, that is,
if a column generates a carry, it is added to the column immediately to the left.
If overflow occurs, last carry out is ignored (thrown away.)
<<< Computing 2's complement example | Index | Binary to Decimal Conversion >>> |