| |||
| Home > Compiler-specific Features > Instruction intrinsics > __rbit | |||
This intrinsic inserts an RBIT instruction into
the instruction stream generated by the compiler. It enables you
to reverse the bit order in a 32-bit word from within your C or C++
code.
unsigned int __rbit(unsigned int val)
where:
valis the data value whose bit order is to be reversed.
REV, REV16, REVSH, and RBIT in the Assembler Guide.