I believe it was Donald Knuth that said "Premature optimization is the root= of all evil." Probably a bit of hyperbole, but definitely applicable to th= is project. I'm sure the math could be optimized to allow the processor to = spend 99.997% of it's time waiting instead of 99% Not a meaningful differen= ce. I think back to all the projects I've done that I did spend the time to= optimize the math, I wonder how many of them really needed it. I have seen where someone spent a lot of time and created a maintainability= mess, so that he could cut a few cycles out of an initialization routine t= hat ran only just after reset. --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .