Rotate (Ternary): Difference between revisions
From TernaryWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<big><b>Register Rotate</b></big> | <big><b>Register Rotate</b></big> | ||
Rotate left and right works very similar to Shift but what gets shifted out gets shifted in on the other end. | Rotate left and right works very similar to [[Shift (Ternary)|Shift]] but what gets shifted out gets shifted in on the other end. | ||
Rotate up and down increment and decrement all trits, no carry or barrow is involved. | Rotate up and down increment and decrement all trits, no carry or barrow is involved. | ||
The trit rotated around also gets copied to the shift ALU flag. | |||
There are Logical and Arithmetic rotates where the ALU barrow/carry flag trit is excluded or included. | There are Logical and Arithmetic rotates where the ALU barrow/carry flag trit is excluded or included. |
Latest revision as of 23:00, 20 May 2025
Register Rotate
Rotate left and right works very similar to Shift but what gets shifted out gets shifted in on the other end.
Rotate up and down increment and decrement all trits, no carry or barrow is involved.
The trit rotated around also gets copied to the shift ALU flag.
There are Logical and Arithmetic rotates where the ALU barrow/carry flag trit is excluded or included.