On Tue, Feb 05, 2002 at 01:36:20PM -0800, Andrew Warren wrote: > Tim Webb wrote: > > > What does a simple bit-shifting routine look like and how does it > > work. > > Tim: > > It looks like this: > > http://home.netcom.com/~fastfwd/answers.html#PIC00064 > > Unfortunately, I don't have time, at the moment, to explain how it > works... But I'll post another message later today if no one else has > explained it. Basically, it works just like long division method > you'd use by hand. Andy, I think that I already posted this info to this thread already. But just in case I posted a dividing mini-tutorial to the list last year. Talks about both divide by substraction and divide with shifting. And it has examples of both. You can find it in the archives here (PASSWORDED SITE!!! user and password are both 'piclist'): http://www.infosite.com/~jkeyzer/piclist/2000/Jul/1363.html I hope this saves you a couple of minutes Andy... BAJ -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu