View Single Post
Old 10-14-2011, 04:56 PM   #395 (permalink)
harlequin2
EcoModder
 
Join Date: Mar 2010
Location: New Zealand
Posts: 181
Thanks: 0
Thanked 33 Times in 20 Posts
OK, I'll have another look at your posting, thanks. I haven't done more than a cursory glance at it as yet, same for Freyguy's asm code.
Was there a particular reason why you wanted the C compiler to generate the same asm instructions or was it just so you could be sure it would work the same without having to debug new C code if it didn't do quite what you expected?

I haven't even seen that it uses 24-bit arithmetic! Take your word for it, but wow! I managed to get my bms done with 8 bit integer arithmetic and still keep sufficient accuracy and resolution.
__________________
Sometimes I sits and thinks and sometimes I just sits.
  Reply With Quote