Subtractor : Subtractor is the one which used to subtract two binary number and provides Difference and Borrow as a output.basically we have two types of subtractor.Half Subtractor :Half Subtractor is used for subtracting one single bit binary number from another single bit binary number.The truth table of Half Subtractor is shown below.
- Half Subtractor
- Full Subtractor
Like Adders Here also equation of Difference and Borrow is calculated as for more details please read What is meant by Arithmetic Circuits?
Difference = A'B+AB'=AB
The logic Diagram of Half Subtractor is shown below.
Full Subtractor : A logic Circuit Which is used for Subtracting Three Single bit Binary numbers is known as Full Subtractor.The Truth Table of Full Subtractor is Shown Below.
From the Truth Table The Difference and Borrow will written as
Reduce it like adder
Then We got
=A'B'C+A'BC'+A'BC+A'BC+A'BC+ABC ----------> A'BC=A'BC+A'BC+A'BC
The logic diagram of Full Subtractor is Shown below