DSM-ECU
  • Welcome
  • Resources
  • Disassembly from scratch
    • Things you need
    • Starting disassembly of a new binary
    • Mapping code vs. data areas
    • Assembly
    • Registers
    • Routine labels - easy mode
    • RAM/Variables
    • The "fun" part
  • Disassembly with Ghidra
    • Add TMP76C75T to Ghidra
    • Easy mode
    • SLEIGH Hints
  • Chips
    • IC MH6111 (TMP76C75T)
    • TMP76C75T Engineering Sample
    • IC MH6311F (TMP76C55T)
    • IC E303 (M60011)
    • IC E310 (M59107)
    • IC E315 (M65013L)
    • IC E320 (M65025)
    • 27C256
  • Hybrid boards
    • E528A
    • E518A
    • E527/E538
    • MA7815(B)
    • M67805 (Knock)
  • MC6801 vs. TMP76C75T
    • xDIV
  • Jellybean
    • Resistors
    • Driver Transistors
    • Power Transistors
  • MH6211 Differences
    • Vector Tables
Powered by GitBook
On this page
  • Comment from the `DSM-ECU` Yahoo! Group
  • The 6309 Book: DIVD operation p.3-61

Was this helpful?

  1. MC6801 vs. TMP76C75T

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.

Check out the Hitachi HD6309's DIVD which is the closest documentation to these instructions I've found.

Comment from the `DSM-ECU` Yahoo! Group

15 57 FDIV L0057 - 16bit x 8bit fractional divide with the parameters 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 also set 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

PreviousMC6801 vs. TMP76C75TNextResistors

Last updated 3 years ago

Was this helpful?