_rotr
Classification
Other, Shift, CPUID Test: None
Header File
Instruction
ROR r32, imm8
Synopsis
_rotr(unsigned int a, int shift);
Description
Shift the bits of unsigned 32-bit integer "a" right by the number of bits specified in "shift", rotating the least-significant bit to the most-significant bit location, and store the unsigned result in "dst".
Operation
dst := a
count := shift AND 31
DO WHILE (count > 0)
tmp[31] := dst[0]
dst := (dst >> 1) OR tmp
count := count - 1
OD