_rotwr
Classification
Other, Shift, CPUID Test: None
Header File
immintrin.h
Instruction
ROR r16, imm8
Synopsis
 _rotwr(unsigned short a, int shift);
Description
Shift the bits of unsigned 16-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 15
DO WHILE (count > 0)
	tmp[15] := dst[0]
	dst := (dst >> 1) OR tmp
	count := count - 1
OD