|
Inputs |
Outputs |
|||
|
Minuendi |
Subtrahendi |
Borrow-in |
Difference |
Borrow-out |
|
0 |
0 |
0 |
0 |
0 |
|
0 |
0 |
1 |
1 |
1 |
|
0 |
1 |
0 |
1 |
1 |
|
0 |
1 |
1 |
0 |
1 |
|
1 |
0 |
0 |
1 |
0 |
|
1 |
0 |
1 |
0 |
0 |
|
1 |
1 |
0 |
0 |
0 |
|
1 |
1 |
1 |
1 |
1 |
*
When insufficient value is present from which a larger value is to be subtracted,
then additional value is borrowed from the next
higher position.