ROR
Return to Introduction  Previous page  Next page

 

IEC / CEI 1131-3 Compliant

 

ror

 

This function rotates right the word applied to the input IN giving the result on the OUT pin. The number of rotations is specified by the value applied to the pin N. During every single rotation the less significant bit of the word is transferred to the most significant bit.

 

Net plugs

 

Plug

Description



IN

The word to be rotated

 

 

N

The number of rotation to be performed

 

 

OUT

The resulting word

 

See also : ROL, SHL, SHR