is it possible to do log of numbers in 8-bit mcu using assembly? FOr example if i have to find log 28? or anynumber.... or does anyone knw any library available from microchip????????:?:
I am not aware of such a library, but of course you can do that in assembly.
Probably the easiest way would be to do a lookup table (or more), seeing that log of any number below 10 is less than one and for the tens you just add 1, for hundreds 2, and so on.
Take your example:
log 28= log (10*2.8)=log (10)+log (2.8)=1+log(2.8)=1.447