Add (Ternary): Difference between revisions

From T729 Balanced Ternary Computer
Jump to navigationJump to search
No edit summary
No edit summary
 
Line 1: Line 1:
<big><b>Add</b></big>
<big><b>Ternary Addition</b></big>


== Uses ==
== Uses ==

Latest revision as of 17:45, 10 March 2025

Ternary Addition

Uses

Adds two inputs and a carry in together. Outputs sum and carry out.

Negating the B input will result in a subtraction.

Truth Tables

A B Ci Co S
- - - - 0
- - 0 - +
- - + 0 -
- 0 - - +
- 0 0 0 -
- 0 + 0 0
- + - 0 -
- + 0 0 0
- + + 0 +
0 - - - +
0 - 0 0 -
0 - + 0 0
0 0 - 0 -
0 0 0 0 0
0 0 + 0 +
0 + - 0 0
0 + 0 0 +
0 + + + -
+ - - 0 -
+ - 0 0 0
+ - + 0 +
+ 0 - 0 0
+ 0 0 0 +
+ 0 + + -
+ + - 0 +
+ + 0 + -
+ + + + 0