first attempt at asm for the case3. it is faster than the C only, but still does not beat the divrem only version for larger than 12 bits