this is the multiply/divide helper functions used by the compiler when
it generates 68000 code.