| |
| | [No title] |
 | | Now, we can add the twos complement to the number from which we are performing the subtraction to obtain the final result, i.e. |
 | | It is left to the student to prove that each form of zero is its own twos complement and that the twos complement of a number is its negative. |
 | | Solution: 5410=0011,01102 9910=0110,00112 (0110,00112)1*=1001,11002 (ones complement of 9910) (0110,00112)2*=1001,11012 (twos complement of 9910) Sum: 0011,01102+ 1001,11012 1101,00112=Answer in base 2 (Since sign bit is “1”, the answer is negative and twos complement) To find the base 10 representation, determine the twos complement and covert to base 10 carrying the negative sign. |
| www.usna.edu /EE/ee332/supplements/BINARY.DOC (1641 words) |
|