TMS9900: Fix divide and mod.