math functions in 8051

Status
Not open for further replies.
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.


Torben
 

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.
 
ikalogic said:
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.


Torben
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…