While there are tricks for division with a 6809 cpu, you might explore the built-in code for a 6309 cpu which could replace the Coco cpu. The commands are DIVD and DIVQ. The 6309 does have an extra register.Sent from my LG Mobile