I need to divide a 16 bit number by an 8 bit number yielding a 16 bit result. The divisor varies and the dividend is constant (ie 21,904 / X ) so I can't simply use a fixed multiplication routine. I searched PICLIST, but the assembly routines for 16 bit by 8 bit only provide an 8 bit result and error out with numbers greater than 255. I don't care about the remainder, only the quotient and I am trying to keep the registers required down to about 4. I have been googling for a couple days trying to find a solution with no luck. Any help provided would be greatly appreciated. Z -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist