5 ms·
You don't need division to convert to decimal, though it will still be slower than using BCD operations.
by kevin_thibedeau 1y ago
You don't need division to convert to decimal, though it will still be slower than using BCD operations.
- MobiusHorizons 1y agoOh? How do you do it? Some kind of lookup table?
- kevin_thibedeau 1y agohttps://en.wikipedia.org/wiki/Double_dabble https://en.wikipedia.org/wiki/Double_dabble A software implementation with masks and shifts will beat traditional CISC dividers.
- kstenerud 1y agoTechnically no, but they were also always fighting against the ROM size, trying to keep costs down. Every byte helped.