At 11:54 AM 12/21/01 +0000, Antonio Sergio Sena wrote: >Hello all !! > >For a project of mine, i am in need of some mathematics, particularly >16x16 multiplications. > >I investigated the AN526 application note in the Microchip handbook, and >used the DBL_MPYS.asm ( 16x16=32) with unsigned multiplication. > >The results i got, though, were far from what i was expecting. I am >multiplying a constant (d'328') by a variable (max: d'30000'), and when my >variable is > 199, i get strange results... > >I dont have any idea what problem the Microchip routines may have. Why not head over to www.piclist.com and check out the routines posted there: most of those come from working code. dwayne Dwayne Reid Trinity Electronics Systems Ltd Edmonton, AB, CANADA (780) 489-3199 voice (780) 487-6397 fax Celebrating 17 years of Engineering Innovation (1984 - 2001) * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Do NOT send unsolicited commercial email to this email address. This message neither grants consent to receive unsolicited commercial email nor is intended to solicit commercial email. -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body