#include #include unsigned int mask = 0x1230; void main() { mask = _rotr( mask, 4 ); printf( "%04X\n", mask ); }