The Ubuntu 14.04 LTS mspgcc properly uses the hardware multiplier according
to the compiler flags.
break;
case 54: // */ ( a b c -- (a*b)/c ) \ 32b intermediate
-#if defined(MSP430)
- // TODO FIXME broken order of operations
- asm("dint");
- MPYS = popMathStack();
- OP2 = NOS;
- x = (((int32_t)RESHI << 16) | RESLO);
- asm("eint");
- x = (x / TOS);
- popMathStack();
- TOS = (int16_t)(x & 0xffff);
-#else
i = popMathStack();
j = TOS;
k = NOS;
x = x / i;
popMathStack();
TOS = (int16_t)(x & 0xffff);
-#endif
break;
case 55: // key ( -- c ) \ get a key from input .... (wait for it)