>Hi, > >> I have a need for an unsigned 32 bit binary to bcd routine. >> >> A number have been posted in the past, and there is the 16 bit >> version in ECH which could be extended, >> >> but what would be really nice is a routine that produces the >> decimal digits in turn starting from the left. This way they >> can be sent to an LCD display or rs232 port without having to >> be stored in memory. I use a 32 bit subtract routine that works well for me. It's outputs each digit from left to right. It's not all that fast, but works well. (i.e. max instructions per digit is about 200 and the min is about 30) Let me know if you want the source for it? Mike H. mikeh1@fuse.net