Roberts II, Charles K. wrote: > I am trying to use the 16 by 16 bit divide from > http://home.netcom.com/~fastfwd/answers.html#PIC00094. I can not > get it to work. Charles: Since the code is known to work (I wouldn't have put it on my web page if it didn't), the problem must be elsewhere. Let's start with the easyest possibility first: Is your default radix set to decimal (i.e., is there a "LIST R = DEC" line in your source code)? If not, the "MOVLW 16" at the start of the routine is being interpreted as "MOVLW 22". To fix this, don't add a "LIST R = DEC" to your source; you'll probably break something else that assumes hex radix. Instead, just change that line to "MOVLW 0x10". If that wasn't the problem, please post some more details... Like what result you get for a specific set of inputs. -Andy === Andrew Warren -- aiw@cypress.com === Principal Design Engineer === Cypress Semiconductor Corporation === === Opinions expressed above do not === necessarily represent those of === Cypress Semiconductor Corporation -- 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