#include <inmsp.h>unsigned long __bit_reverse_long(unsigned long x);
__bit_reverse_long swaps the order of bits in x.
__bit_reverse_long is an intrinsic function and produces inline code.
__bit_reverse_long can be used on any MSP430 device.