James Newton, Host wrote: >>I want a 8 bit number divide by 10 (ten). >>I need the quotient and the remain. >> >>Which is the fastest ASM code for pic 16f877? > > > Multiply by 1/10 What about the remainder? Peter's solution has a similar problem. Scott -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist