I don't know why, but it's almost impossible to find a fast compact 16 bit signed division assembly routine.
Ideally, HL=DE/HL with DE=remainder. But I'll take anything.
Here is the z88dk small implementation, which follows the C standard of the remainder taking the sign of the dividend.
--
You received this message because you are subscribed to the Google Groups "RC2014-Z80" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rc2014-z80+...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/rc2014-z80/79c92d5b-8d9a-4e77-b75e-7609c71a48b0n%40googlegroups.com.
We could always try this on a card, https://www.nxp.com/products/no-longer-manufactured/math-coprocessor:MC68882 not long ago I was able to source some from Aliexpress.
--
You received this message because you are subscribed to the Google Groups "RC2014-Z80" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rc2014-z80+...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/rc2014-z80/9a77fc77-3cc2-4062-9acf-7a2caa5fc97dn%40googlegroups.com.
after seeing the 8x8 LUT board for the RC2014, I have to ask if a 16x16 LUT could be made with a pair of ROMs? The question in my mind is how to handle the outputs of the ROMs into a single output. IE how does one handle the carry forwards and backwards between the pair of ROM chips. Some further thought on this leads me to realize something like this for the 68k would involve 16x16 inputs for a 32bit output.