> >> My friend came up with the fastest possible means I've yet seen. What >> say you all? This sounds like a trick question, but off the top of my head, 16 clocks in an AVR, very straightforward. Input in TEMP register, output in TEMP2 register ROL TEMP ROR TEMP2 (repeat 8X) -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu