Open main menu

CDOT Wiki β

Changes

Bitwise Operations

146 bytes added, 23:17, 19 September 2021
Rotate
A rotate-left by 1 bit performed on a byte will move bit 0 to bit 1, bit 1 to bit 2, bit 2 to bit 3, and so forth. Bit 7 will move to bit 0.
 
Note that in some processors, a status register bit is included in the rotation, allowing rotates to be strung together in multi-byte sequences.
=== Shift ===