DEC (Ternary Gate): Difference between revisions

From T729 Balanced Ternary Computer
Jump to navigationJump to search
No edit summary
No edit summary
Line 8: Line 8:
<div class="tt">
<div class="tt">
<table class="tt">
<table class="tt">
<tr>
<td colspan="2">DEC</td>
</tr>
<tr>
<tr>
<td class="tt_bb"><b>A</b></td>
<td class="tt_bb"><b>A</b></td>
Line 19: Line 22:
<td class="tt_g">0</td>
<td class="tt_g">0</td>
<td class="tt_bl tt_r">-</td>
<td class="tt_bl tt_r">-</td>
</tr>
<tr>
<td class="tt_b">+</td>
<td class="tt_bl tt_g">0</td>
</tr>
</table>
<table class="tt">
<tr>
<td colspan="2">NDEC</td>
</tr>
<tr>
<td class="tt_bb"><b>A</b></td>
<td class="tt_bl tt_bb"><b>Y</b></td>
</tr>
<tr>
<td class="tt_r">-</td>
<td class="tt_bl tt_r">-</td>
</tr>
<tr>
<td class="tt_g">0</td>
<td class="tt_bl tt_b">+</td>
</tr>
</tr>
<tr>
<tr>

Revision as of 17:53, 13 June 2024

Decrement

Uses

Decrement will rotate the input down. It is used in Rotate Down operations.

Truth Table

DEC
A Y
- +
0 -
+ 0
NDEC
A Y
- -
0 +
+ 0