Skip to content

RorWord

Rotate bits of a word value to the right

Declaration

Source position: systemh.inc line 1062

  function RorWord(const AValue: Word) : Word;
  function RorWord(const AValue: Word; const Dist: Byte) : Word;

Description

RorWord rotates the bits of the word AValue with Dist positions to the right. If Dist is not specified, then 1 is assumed.

Errors

None.

See also

Name Description
RolWord Rotate bits of a word value to the left
RorByte Rotate bits of a byte value to the right
RorDWord Rotate bits of a DWord (cardinal) value to the right
RorQWord Rotate bits of a QWord (64-bit) value to the right