xDIV
Division instructions
The TMP76C75T has two 16-bit by 8-bit(16/8) division instructions IDIV and FDIV. Supposedly these are Integer Division and Fractional Division respectively.
Comment from the `DSM-ECU` Yahoo! Group
15 57 FDIV L0057 - 16bit x 8bit fractional divide with theparameters as you stated: D = numerator, direct mem location $57 =denominator, B = result, A = remainder. sets carry if overflow, i.e.numerator > denominator. if this is like the hc11 FDIV it will alsoset the carry on a divide by 0. the denominator is not affected.
-jjbrad123, Thu, 18 Dec 2003 14:34:02 -0000
The 6309 Book: DIVD operation p.3-61
Operation: B’ <- D / (m); A’ <- D % (m)
Also see: Motorola 6809 and Hitachi 6309 Programming Reference (Darren Atkinson) p.59
Last updated
Was this helpful?