<<< Decimal to Binary Conversion Summary | Index | Subtraction of two 2's complement integers >>> |
Conversion of positive to negative and vice versa is a negation operation.
This is a two-step operation:
take complement
add one
Note: ignore (throw away) carry out of the leftmost bit.
<<< Decimal to Binary Conversion Summary | Index | Subtraction of two 2's complement integers >>> |