3 ms·
The 6809 had a 'mul' instruction: https://atjs.mbnet.fi/mc6809/Information/6809.htm https://atjs.mbnet.fi/mc6809/Information/6809.htm 8x8 unsigned. I started
by jacquesm 4y ago
The 6809 had a 'mul' instruction:
https://atjs.mbnet.fi/mc6809/Information/6809.htm https://atjs.mbnet.fi/mc6809/Information/6809.htm
8x8 unsigned. I started out programming assembler on the KIM, then moved to the Dragon 32 which had a 6809 and then back to the BBC micro again, which in almost every way felt like a huge step forward and in that one way felt like a step back, the lack of 8x8 multiply in hardware. Here is a very neat (and pretty quick) multiplication routine:
http://www.txbobsc.com/aal/1986/aal8603.html http://www.txbobsc.com/aal/1986/aal8603.html
- FatalLogic 4y agoI'm surprised that the 6809 MUL instruction seems to have a fixed execution time (11 cycles, if I am interpreting the specs correctly). This implies to me that it might be heavily based on look-up tables, yet the 6809 surely had very limited die space for that
- jacquesm 4y agoBarrelshifter!