Divide 24/8 routine
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.
Spehro Pefhany --"it's the network..." "The Journey is the reward"
interlog.com Info for manufacturers: speffhttp://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 mitvma.mit.edu with SET PICList DIGEST in the body listserv
In reply to: <00cb01c2a904$d668a220$5800a8c0@DELL8100>
See also: www.piclist.com/techref/microchip/math/index.htm?key=divide
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the