piclist 2002\12\21\180444a >
Thread: Divide 24/8 routine
picon face BY : Spehro Pefhany email (remove spam text)

At 10:22 AM 12/21/02 -0500, you wrote:

>No flak from me, you are exactly on. But perhaps what the OP really needs to
>know is how to take the assembly code and embed it in a C function using
>inline assembly, or how to set it up to be linked in with and callable by
>the C code. (None of which I can help with - I know nearly nothing about

I did something "hybrid" recently to get 16 x 16 -> 32 unsigned multiply,
by hacking some inline asm code into a C routine, and it was reasonably
efficient and (more importantly, as otherwise I could have used longs)
very compact. Can't share it, unfortunately. It could be broken by a future
version of the compiler, however it's very unlikely IMHO.

Best regards,

Spehro Pefhany --"it's the network..."            "The Journey is the reward"
spamBeGonespeffspaminterlog.com             Info for manufacturers: http://www.trexon.com
Embedded software/hardware/analog  Info for designers:  http://www.speff.com

http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email spamlistservspam.....mitvma.mit.edu with SET PICList DIGEST in the body

In reply to: <00cb01c2a904$d668a220$5800a8c0@DELL8100>
See also: www.piclist.com/techref/microchip/math/index.htm?key=divide
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Divide 24/8 routine

month overview.

new search...