COM (Ternary Gate)

From T729 Balanced Ternary Computer
Revision as of 03:55, 5 June 2024 by MrDyne (talk | contribs) (Created page with "<big><b>Compare</b></big> == Uses == A tree of compares can calculate down if a register is negative, zero, or positive. This is done as part of the ALU Flags. I do not know yet if it is useful to Compare say two registers. == Truth Tables == <div class="tt"> <table class="tt"> <tr> <td class="tt_br tt_bb" colspan="2" rowspan="2">COM</td> <td colspan="3" class="tce"><b>B</b></td> </tr> <tr> <td class="tt_r tt_bb">-</td> <td class="tt_g tt_bb">0</td>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Compare

Uses

A tree of compares can calculate down if a register is negative, zero, or positive. This is done as part of the ALU Flags.

I do not know yet if it is useful to Compare say two registers.

Truth Tables

COM B
- 0 +
A - - - -
0 - 0 +
+ + + +
A B Y
- - -
- 0 -
- + -
0 - -
0 0 0
0 + +
+ - +
+ 0 +
+ + +