formulae for the MSP430 microcontroller compiler toolchain