|
| _lror_| Summary | |
#include <intrins.h>
unsigned long _lror_ (
unsigned long l, /* 32-bit integer to rotate right */
unsigned char b); /* bit positions to rotate */
| | Description | | The _lror_ routine rotates the bit pattern for the long integer l right b bits. | | Return Value | | The _lror_ routine returns the rotated value of l. | | See Also | | _crol_, _cror_, _irol_, _iror_, _lrol_ | | Example | |
#include <intrins.h>
void test_lror (void) {
long a;
long b;
a = 0xA5A5A5A5;
b = _lror_(a,1); /* b now is 0xD2D2D2D2 */
}
|
Related Knowledgebase Articles |
|