|
| _crol_| Summary | |
#include <intrins.h>
unsigned char _crol_ (
unsigned char c, /* character to rotate left */
unsigned char b); /* bit positions to rotate */
| | Description | | The _crol_ routine rotates the bit pattern for the character c left b bits. This routine is implemented as an intrinsic function. | | Return Value | | The _crol_ routine returns the rotated value of c. | | See Also | | _cror_, _irol_, _iror_, _lrol_, _lror_ | | Example | |
#include <intrins.h>
void test_crol (void) {
char a;
char b;
a = 0xA5;
b = _crol_(a,3); /* b now is 0x2D */
}
|
|
|