Owning Palette: Data Manipulation Functions
Requires: Base Development System
Rotates x the number of bits specified by y.
The connector pane displays the default data types for this polymorphic function.
Add to the block diagram | Find on the palette |
The following table illustrates how x and y affect x rotated left by y:
y | x | x rotated left by y | Comments |
---|---|---|---|
1 | 3 (00000011) | 6 (00000110) | This function shifts the first one bit on the left, 0, to the right end. |
2 | 3 (00000011) | 12 (00001100) | This function shifts the first two bits on the left, 00, to the right end. |
–3 | 3 (00000011) | 96 (01100000) | This function shifts the first three bits on the right, 011, to the left end. |