some MSP430 codes