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