On Thu, 17 Jan 2002, Alan B. Pearce wrote: > I have been looking at the code on the piclist website for doing bin to hex > ASCII conversion, and I'm sure there is a simpler way. I have seen some > cunning code originally done for use on an 8080 or z80, and I was sure it > was in the Scelbi 8080 cookbook that I have, but I cannot find it in there. You mean when you saw this: http://www.piclist.com/techref/microchip/math/radix/b2ah-8b2a-sd.htm you really wanted something better? You can shave 2-cycles off of this if you use a temporary register. Scott -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads