![]() |
![]() |
![]() |
|
|
|||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
hi
how to calculate cos angle(cos theta) in assembly language. please help me thank you |
|
|
|
|
|
|
(permalink) | |
|
Quote:
__________________
Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ |
||
|
|
|
|
|
(permalink) |
|
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 |
|
|
|
|
|
|
(permalink) | |
|
Quote:
achuthkumar, i suggest you read this part of my 8051 tutorial: http://www.ikalogic.com/tut_8051_2.php |
||
|
|
|
|
|
(permalink) |
|
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.
__________________
We never have time to do it right; but we always have time to do it over. |
|
|
|
|
|
|
(permalink) | |
|
Quote:
Torben |
||
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| hyperterminal communication w/ 8051 | spyghost | Micro Controllers | 8 | 22nd May 2008 10:54 AM |
| 8051 Microcontroller (Urgent Help) | UAE_Engineer | Micro Controllers | 5 | 22nd March 2007 11:13 AM |
| Could I get away with this? (8051 + AM29F010B) | mstechca | Micro Controllers | 0 | 9th March 2006 02:04 AM |
| interfacing 16*16 matrix display with 8051 | pmphilip | Micro Controllers | 0 | 1st February 2005 03:47 AM |
| 8051 "data" storage within program memory - how? | L0D|Mr_B | Micro Controllers | 1 | 11th January 2004 02:56 PM |