Subtraction
The well-known rule that subtraction is equivalent to addition of a negated operand is important in computing
a - b ? a + (-b)
In the arithmetic-logic unit of a computer, there is no subtraction circuitry per se, just negation
010 . . . 0
110 . . . 1
000 . . . 1
+
a
b
1
Previous slide
Next slide
Back to first slide
View graphic version