> Can anyone point me to some sample code (assembly) > where I can convert a byte into individual digits? > i.e. 128 to 1, 2 and 8. I am looking at piclist.com > but I can't seem to find what I am looking for. To convert an integer to decimal digits, do successive divisions by 10. The remainders are the digits in least to most significant order. You're done when the integer becomes 0. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics