This is confusing because you seem to describe in your most recent reply that you want a decimal to decimal string (ascii) conversion but the code you posted does hex to decimal or binary coded decimal conversion. Ryan On 18 January 2018 at 15:07, John Ferrell wrote: > I believe the fastest way is an array of solutions indexed by the input > values. > > If you need faster than that, a hardware diode array will do it in one > machine cycle IF you can load the index that fast. > > > On 1/17/2018 6:32 PM, Dwayne Reid wrote: > > Was just wondering if there is another (faster) > > method that works over the range of 0..2047 decimal or 0..511 decimal. > > -- > John Ferrell W8CCW > Julian NC 27283 > It is better to walk alone, > than with a crowd going the wrong direction. > --Diane Grant > > > -- > http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .