Ross Lyle (lyle@CAMADM.CAMOSUN.BC.CA) wrote: >I'm the one who posted the original BCD request. Andy, your code works great >and is much more compact than the code I ended up writing. Glad you like it... The routine in the Embedded Control Handbook uses the same algorithm; it also appears in an old General Instruments appnote for the original NMOS PIC, circa 1980. In both appnotes, though, the algorithm's coded significantly less-optimally. >Now whats this about an Embedded Controls conference? The Embedded Systems Conference is an annual affair put on by Embedded Systems Programming magazine. It runs from September 12th through the 14th at the San Jose Convention Center (in the heart of Silicon Valley, near San Francisco). The exhibits-only fee is $25; if you have $600 or so, you can attend three days' worth of classes, seminars, workshops, etc. To register, call 214 323-0575. -Andy -- Andrew Warren - fastfwd@ix.netcom.com Fast Forward Engineering, Vista, California