View Full Version : Integer Math in Assembly

Chad George
11-13-2006, 05:44 AM
I'm needing some help on the best way to do integer multiplication and division in assembly
on the Propeller since it doesn't have a hardware multiplier. I was wondering if anyone had a
particularly good way to do it with the assembly instructions available on the Propeller.
16x16 multiplication is sufficient for my needs now, but if any example of how to approach 32x32 would be
appreciated as well.


Mike Green
11-13-2006, 06:03 AM
There's a fairly complete document with lots of other stuff, but includes several multiply and divide routines:

Chad George
11-13-2006, 11:38 AM

I had missed that document and it was exactly what I was looking for.
Thanks alot.