Jump to content

Talk:Subtractor

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Can the Subtracter (electronics) be explained with circuits and truth tables the same way as the Adder (electronics)(http://wiki.riteme.site/wiki/Full_adder)?

a subtractor is basically just an adder with one input inverted and the first carry in set to 1 rather than 0.

Full Subtractor

[edit]

the truth table for full subtractor is not correct; read this => http://www.doc.ic.ac.uk/~dfg/hardware/HardwareLecture13.pdf 60.48.175.38 (talk) 18:57, 26 September 2011 (UTC)[reply]

Note, the full substractor graphic is wrong. The first inversor goes in the A imput. If the subtrahend is 0 and the minuend is 1, it triggers the borrow out. — Preceding unsigned comment added by Mbertelotti (talkcontribs) 20:42, 22 April 2013 (UTC)[reply]

Half subtractor diagram

[edit]

The diagram should be replaced such that the X input is the minuend and Y is the subtrahend. Doing it this way would make the diagram consistent with the article and the following explanation unnecessary:

An important point worth mentioning is that the half subtractor diagram aside implements and not since on the diagram is given by

.

This is an important distinction to make since subtraction itself is not commutative, but the difference bit is calculated using an XOR gate which is commutative.

We could still have a footnote that says whichever input is inverted is the minuend. --Usability (talk) 07:40, 1 November 2015 (UTC)[reply]