Are you interested on division algorithms in asm? http://www.piclist.com/techref/microchip/math/div/index.htm Tamas On Tue, Jul 29, 2008 at 12:39 AM, threewheeler7 wrote: > > is it possible to do multiplication or division on two registers, instead > of > one being a literal constant? lets say i have a routine that flashes an led > "x" number of times with "t" amount of time between flashes. i would like > to > write a routine that instead of feeding the first routine t; it would take > the "total time" (in ms) i want the flashing routine to run for, and divide > it by "x", to get "t". so each time it is executed, "x" and "total time" > may > me different. > -- > View this message in context: > http://www.nabble.com/Multiplication--Division-tp18702111p18702111.html > Sent from the PIC - [PIC] mailing list archive at Nabble.com. > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- Rudonix DoubleSaver http://www.rudonix.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist