// Define CPU Type
//#define __MSP430_449__
//The linker can't see this #define, so, we have to define the CPU via compile command line
#ifndef __MSP430_449__
  #error This project must be compiled w/ -mmcu=msp430x449 !
#endif

#include <io.h>

// Globals
volatile unsigned int int16, int16a;
volatile unsigned long int int32;

int main(void)
{
    int32 = 0;
    int16 = 1;
    int16a = 2;

    if ( int16 != int32 )       // Only update total if it's different
        int16 = int32;

    if ( int16 != (unsigned int)int32 )       // Only update total if it's different
        int16 = (unsigned int)int32;

    if ( int16 != int16a )       // Only update total if it's different
        int16 = int16a;

}
