You may want to read this thread (http://www.microchip.com/forums/
fb.ashx?m=542528) about dividing by a constant for PIC18: in only 4
instructions. It may be used for multiple right shift too (divide by a
power of 2).
Assembler is often the better way to tune libraries. You can't beat it
on this subject, in any language.
By using conditional compilation you may deal with the different
processors and use different code optimizations.

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to