Hi,
today I stumbled over a routine I developed for my old 3D demos and which I uploaded to the CPCWiki some time ago:
http://www.cpcwiki.com/index.php/Programming:Ultrafast_Multiplication
As this is 100% Z80 and not platform related it maybe interesting for you.
AFAIK it's the fastest way of multiplication which is possible on Z80 for this precision (16bit x 8/7bit).
I wonder, if it could be even done faster, and how much faster the R800 does with its inbuilt MUL-commands?
CU,
Prodatron
Entrar ou registrar-se para comentar