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