Optimizing shifting for MSP430.