Shift (Ternary)

From TernaryWiki
Jump to navigationJump to search

Register Shift

Register shift, shifts all trits to the left or right.

What is shifted in can be selected; negative, zero, positive.

There are Logical and Arithmetic shifts where the ALU barrow/carry flag trit is excluded or included.

A left shift will cube the result. A right shift will cube-root the result.