##### Synopsis

    #include <inmsp.h>
    unsigned __get_register(unsigned reg);

##### Description

__get_register reads register reg and returns its contents. __get_register should be used for writing small wrapper routines in C that can be hand checked for correctness.

__get_register is an intrinsic function and produces inline code.

##### Portability

__get_register can be used on any MSP430 device.