Hi guys. I've heard about interesting trick shifting bits individually into different positions by multiplying on constant on micros with hardware multiplication unit. Anybody familiar and can point to the source or discuss/explain it ? (not sure if it's applicable to 8-bit micros but curious to find out :) WBR Dmitry. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist