I would suggest using lookup tables if you at all can. Trig functions (or anything using or resulting in floating-point) will increase your processing time and memory demands significantly. Some 8051s will be better than others in this regard, though--the 8015 processor family is huge.
I would suggest using lookup tables if you at all can. Trig functions (or anything using or resulting in floating-point) will increase your processing time and memory demands significantly. Some 8051s will be better than others in this regard, though--the 8015 processor family is huge.
hmmm... i think the only differnece between those different members of the 8051 family is the peripherals, but they all share the same architecture, and surely the same ALU.
achuthkumar, i suggest you read this part of my 8051 tutorial:
**broken link removed**
Look at the clock rate for some turbo charged 8051's. Upwards of 48 MHz.
Let's not forget the hardware multiply and divide. 8 x 8 it's true, but better than a sharp stick in the eye.
hmmm... i think the only differnece between those different members of the 8051 family is the peripherals, but they all share the same architecture, and surely the same ALU.
There are differences in peripherals, but also in speed, instructions per cycle, and so on. There is (was) also at least one 8051 variant from Ramtron which included an FPU among its features, but that one appears to now be obsolete.