> >That said, my first knee jerk reaction would be to shift one register one >bit at a time into C, then shift the other one in from the same direction. >Yes, I'm quite sure there are faster and smaller methods, but this method >is both cheap to write and maintain. I can probably write this loop >(including comments of course) or the unrolled version in under a minute. >Most of the time it wouldn't be in my customer's interest to spend 5 >minutes creating an optimized version. That's what I hit on, in my AVR version. :) I agree with you 100% on the reasoning. I also like to be able to debug my own code when I meet it again, a couple years later. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu