Instructions: Difference between revisions

From T729 Balanced Ternary Computer
Jump to navigationJump to search
m (MrDyne moved page Ternary Operations to Instructions without leaving a redirect)
 
Line 20: Line 20:
== Memory ==
== Memory ==
* Move
* Move
* Save
* Load
* Load
* Push
* Push

Latest revision as of 18:23, 30 January 2025

(Very rough list.)

ALU

  • Addition
  • Subtraction
  • Multiply
  • Multiply-Accumulate
  • Negate
  • Sum
  • Any
  • Consensus
  • Eor
  • Compare
  • Maximum
  • Minimum
  • Increment
  • Decrement
    • The Negated Form Of Everything Above

Memory

  • Move
  • Save
  • Load
  • Push
  • Pop
  • Jump To Subroutine
  • Return From Subroutine

Register Shift / Rotate

  • Arithmetic Shift In/Out
  • Logical Shifts In/Out
  • Arithmetic Rotate Left/Right/Up/Down
  • Logical Rotate Left/Right/Up/Down
    • Arithmetic operations use the carry/barrow flag trit.
    • Logical operations do not use the carry/barrow flag trit.

Branches / Jumps

  • Branch If Negative/Zero/Positive
  • Branch If Underflow/Level/Overflow
  • Branch If Borrow/Whole/Carry
  • Branch If Odd/Zero/Even
  • Increment & Jump If Not Zero
  • Decrement & Jump If Not Zero
  • A Register Nth Trit Checks