Instructions: Difference between revisions

From T729 Balanced Ternary Computer
Jump to navigationJump to search
 
(9 intermediate revisions by the same user not shown)
Line 16: Line 16:
* Increment
* Increment
* Decrement
* Decrement
* The Negated Form Of Everything Above
** The Negated Form Of Everything Above
 
== Memory ==
* Move
* Save
* Load
* Push
* Pop
* Jump To Subroutine
* Return From Subroutine


== Register Shift / Rotate ==
== Register Shift / Rotate ==
Line 27: Line 36:


== Branches / Jumps ==
== Branches / Jumps ==
* Jump
* Branch If Negative/Zero/Positive
* Branch If Negative/Zero/Positive
* Branch If Underflow/Level/Overflow
* Branch If Underflow/Level/Overflow
* Branch If Borrow/Whole/Carry
* Branch If Borrow/Whole/Carry
* Branch If Odd/Zero/Even
* Branch If Odd/Zero/Even
** Absolute Jumps, Relative Jumps
 
* Increment & Jump If Not Zero
* Decrement & Jump If Not Zero
 
* A Register Nth Trit Checks

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