#include <in430.h>unsigned _SWPB(unsigned x);
_SWPB swaps the order of high and low bytes of x and returns that as its result.
_SWPB is an intrinsic function and produces inline code.
_SWPB can be used on any MSP430 device.
_LSWPB, _LSWPW