Technical Support
On-Line Manuals
C166 User's Guide
#include <intrins.h> unsigned long _lror_ ( unsigned long l, /* 32-bit integer to rotate right */ unsigned char b); /* bit positions to rotate */
The _lror_ routine rotates the bit pattern for the long integer l right b bits.
The _lror_ routine returns the rotated value of l.
_crol_, _cror_, _irol_, _iror_, _lrol_
#include <intrins.h> void test_lror (void) { long a; long b; a = 0xA5A5A5A5; b = _lror_(a,1); /* b now is 0xD2D2D2D2 */ }
Cookie Settings | Terms of Use | Privacy | Accessibility | Trademarks | Contact Us | Feedback
Copyright © 2005-2019 Arm Limited (or its affiliates). All rights reserved.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
Change Settings
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.