Function that performs a left rotation of the specified number of bits.
Syntax |
i32 r_rol (i32 value, i32 nBit) |
---|---|
value |
Unit on which to perform the rotation |
nBit |
Number of bits |
Result |
Returns the result of the rotation |
Validity |
Rule, Task |
Note |
In the rotation the heaviest outgoing bit on the left is recirculated into the lightest incoming bit on the right |
Example of use:
Example usage:
Example usage:
|