steve_bank
Diabetic retinopathy and poor eyesight. Typos ...
All math reduces to binary operations. Decimal numbers are for input and output.
Binary addition is easy to implement in hardware logic.
0+0 = 0 0+1 = 1 1+0 = 1 1+1 = 0 carry 1
The truth table yields an excusive OR, one or the other but not both. It takes a few more logic gates to generate the carry bit and add in the carry bit from a previous bit in the adder.
11 0 carry one
01 1
10 1
00 0
While all adition, subtraction, multiplication, and division can be done by software alone, it is slow. It matters for apps like digital image processing that require a lot of repetitive addition and multiplication in the algorithms.
Binary addition is easy to implement in hardware logic.
0+0 = 0 0+1 = 1 1+0 = 1 1+1 = 0 carry 1
The truth table yields an excusive OR, one or the other but not both. It takes a few more logic gates to generate the carry bit and add in the carry bit from a previous bit in the adder.
11 0 carry one
01 1
10 1
00 0
While all adition, subtraction, multiplication, and division can be done by software alone, it is slow. It matters for apps like digital image processing that require a lot of repetitive addition and multiplication in the algorithms.
Last edited: