THCA

From Esolang
Jump to navigation Jump to search

THCA, or Ternary Hybrid Computer Architecture, is a computer architecture that operates on a hybrid of Balanced Ternary and Unbalanced Ternary.

Terminology

Trit: The ternary equivalent of a bit.
Tryte: The ternary equivalent of a byte, composed of 9 trits.
T: True
U: Unknown
F: False

Operations

Balanced operations

Balanced AND(A, B)
A ∧ B B
F U T
A F F F F
U F U U
T F U T