On Mon, Aug 8, 2011 at 12:12 PM, Bob Ammerman wrote= : > So, was it worth it to write the FAST ASM version? While the performance = is > all that much better than the C implementation it was a pleasant challeng= e. > Also, I implemented the C version last, just for laughs, and was very(!) > surprised at the job done by the optimizer. In fact, I stole the "mul.uu > reg,#0,reg" trick from the C compiler's output. I'm glad to hear this supports the paradigm of code for readability, debug, profile, optimize only where necessary. -p. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .