• -39 + 92
= 53:
1 |
1 | | 1 | 1 | | | | |
| 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 |
+ | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 |
| 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 |
Carryout without overflow.
Sum is correct. | • -19 + -7
= -26:
1 |
1 | 1 | 1 | 1 | | | 1 | |
| 1 | 1 | 1 | 0 | 1 | 1 | 0 | 1 |
+ | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 |
| 1 | 1 | 1 | 0 | 0 | 1 | 1 | 0 |
Carryout without overflow.
Sum is correct. |
• 44 + 45
= 89:
|
| 1 | | 1 | 1 | | | |
| 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 |
+ | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 |
| 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 |
No overflow nor carryout. |
• 104 + 45
= 149:
|
1 | 1 | | 1 | | | | |
| 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 |
+ | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 |
| 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 |
Overflow, no carryout.
Sum is not correct. | • -75 + 59
= -16:
|
| 1 | 1 | 1 | 1 | 1 | 1 | |
| 1 | 0 | 1 | 1 | 0 | 1 | 0 | 1 |
+ | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 1 |
| 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 |
No overflow nor carryout. |
• -103 + -69
= -172:
1 |
| 1 | 1 | 1 | | 1 | 1 | |
| 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 |
+ | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 1 |
| 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 |
Overflow, with incidental carryout.
Sum is not correct. |
• 10 + -3
= 7:
1 |
1 | 1 | 1 | 1 | | | | |
| 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 |
+ | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 |
| 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 |
Carryout without overflow.
Sum is correct. | • 127 + 1
= 128:
|
1 | 1 | 1 | 1 | 1 | 1 | 1 | |
| 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
+ | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
| 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Overflow, no carryout.
Sum is not correct. |
• -1 + 1
= 0:
1 |
1 | 1 | 1 | 1 | 1 | 1 | 1 | |
| 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
+ | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Carryout without overflow.
Sum is correct. |