Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/16/04 22:00
Read: times


 
#79422 - Floating Point
Responding to: ???'s previous message
Sim Chee Siang said:
Is it possible to write a trigo function in 8051 assembly language or is it easier to do it in high level language?

Yes, and Yes!

Assembly language is a direct representation of the processor's instruction set - so if it can't be done in assembler, it can't be done at all!

However, writing floating point functions is certainly not a trivial excercise - especially in Assembler!

It is also very rare that floating point is actually required in embedded applications - especially those suited to an 8051.

Therefore, as a beginner's project & a learning excercise, I think you'd be best to concentrate on just developing a basic 4-function calculator. Or use a high-level language that comes complete with floating-point support - and just use it.

List of 32 messages in thread
TopicAuthorDate
Microcontroller Scientific Calculator            01/01/70 00:00      
   RE: Microcontroller Scientific Calculato            01/01/70 00:00      
      RE: Microcontroller Scientific Calculato            01/01/70 00:00      
         RE: Microcontroller Scientific Calculato            01/01/70 00:00      
            RE: Microcontroller Scientific Calculato            01/01/70 00:00      
         RE: Microcontroller Scientific Calculato            01/01/70 00:00      
            RE: Microcontroller Scientific Calculato            01/01/70 00:00      
               What college course?            01/01/70 00:00      
                  RE: What college course?            01/01/70 00:00      
                     RE: What college course?            01/01/70 00:00      
                        RE: What college course?            01/01/70 00:00      
                           RE: What college course?            01/01/70 00:00      
                              RE: What college course?            01/01/70 00:00      
                                 RE: What college course?            01/01/70 00:00      
   First things first..            01/01/70 00:00      
      RE: First things first..            01/01/70 00:00      
         RE: First things first..            01/01/70 00:00      
         Good +ve attitude... Sim            01/01/70 00:00      
            RE: Good +ve attitude... Sim            01/01/70 00:00      
               RE: Good +ve attitude... Sim            01/01/70 00:00      
                  RE: Good +ve attitude... Sim            01/01/70 00:00      
                     RE: Good +ve attitude... Sim            01/01/70 00:00      
                     Floating Point            01/01/70 00:00      
               What you need a PC for            01/01/70 00:00      
               8051 or PIC            01/01/70 00:00      
                  RE: 8051 or PIC            01/01/70 00:00      
                     RE: What to do ?            01/01/70 00:00      
                        RE: What to do ?            01/01/70 00:00      
                           RE: What to do ?            01/01/70 00:00      
                              Thank you            01/01/70 00:00      
                                 You can post here            01/01/70 00:00      
   RE: Microcontroller Scientific Calculator            01/01/70 00:00      

Back to Subject List