Instructions

From TernaryWiki
Revision as of 13:24, 13 April 2025 by MrDyne (talk | contribs) (Created page with "(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 ** A...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

(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