December 19, 2016

Complement

Complement:

Subtraction of two numbers in a computer complicated and expensive in terms of circuit, especially for repeated borrowing from one column to another. Complements can be used to reduce from subtraction to addition. It avoids the possibility of repeated borrowing from one column to another and hence, borrow circuits are eliminated and cost is reduced.  
There are two types of complements:
  1. 1’s Complement.
  2.  2’s Complement. 

No comments:

Post a Comment