Binary Arithmetic Using Complement Codes

 

v                      Example

5)  X =  1 0 1 1 0  -     =    -10

     Y =  1 1 0 1 1         =    -5

             ------------

             1 1 0 1 1         =    -5

 

v                      Observation

Overflow occurs when addition of two positive numbers gives a negative number & addition of two positive gives a negative.

 

        -  Can overflow occur if number of different signs are considered?