javascript code that implements a single instruction assembler for the MSP430