At 11:12 AM 05/03/1997 EST, you wrote: >> From: John Dammeyer >The conversion procedure is broken up into very small bites so >that your non-interrupt-capable processor will have only a small >latency between checking for I/O etc. I'll take a crack at it but I won't use the switch. The extra code penalty without the ability to use a jump table on a PIC is much too high. This is not meant as a criticism as I realize you whipped this out on the fly. The cost of walking down to 'case sub10:' nine times in a switch statement is expensive. I am not sure that this is actually any faster (or smaller) than the DAA method. And yes, negative constants are usually better. I'll post the result when I'm done and like your example I'll make it small bite capable. BTW, to be fair you need to pack the result; mine was. 8-). Or else I need to unpack mine 8-(. Cheers, John Pioneers are the ones, face down in the mud, with arrows in their backs. Automation Artisans Inc. Ph. 1-250-544-4950 PO Box 20002 Fax 1-250-544-4954 Sidney, BC CANADA V8L 5C9