Hello everyone, I'm looking for a divide by 10 routine. The number that I want to divide is an 8 bit number but I will very likely need to divide 10 bit numbers by ten as well. While playing with micro processors during the mid 70s I remember that dividing by ten involved a shift right and an add instruction but I cannot remember the sequence. A web search has revealed many 16 bit division routines but they look more complex than I remember for a simple divide by 10. Again, can someone help? -- Regards, Phil. -- 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