__ull_rshift

9/7/2007

This function shifts a 64-bit unsigned word to the right a specified number of bits.

Syntax

unsigned __int64 __cdecl __ull_rshift(
  unsigned__int64 Mask,
  int nBit
);

Parameters

  • Mask
    [in] The value to shift.
  • nBit
    [in] The number of bits to shift.

Return Values

The mask value shifted by nBit bits.

Remarks

If the second parameter is greater than 31 on x86 (63 on x64), that number is taken modulo 32 (64 on x64) to determine the number of bits to shift. The ull in the name indicates unsigned long long (unsigned __int64).

Requirements

Routine Required header Architecture

__ull_rshift

<winnt.h>

MIPS16, MIPSII, MIPSIII, MIPS IV, MIPS 32

See Also

Reference

Intrinsic Functions for MIPS Microprocessors