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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/19/09 15:08
Read: times


 
#169885 - Just read the SDCC library code
Responding to: ???'s previous message
In days gone by, you had books for z80 and 6800 that gave the basic algorithms implemented in the particular processor.

If you can find one of the "Lance Levanthal" books, you will see the general techniques. You just have to adapt for the 8051 architecture. There are probably app notes from several 8051 manufacturers.

But the best method is to obtain the source code for a well-written 8051 application. I suspect the SDCC support library code is written in assembler. Or at worst disassemble an 8051 BASIC interpreter. This will have fairly size-efficient float routines.

And you can always just examine the ASM that a Compiler generates. But this model will probably be more suited to the needs of the compiler than raw efficiency.

David.

List of 13 messages in thread
TopicAuthorDate
Best book to learn 8051 ASM programming            01/01/70 00:00      
   What is your background?            01/01/70 00:00      
      I'm an advanced programmer            01/01/70 00:00      
         not a book that gives each instruction and details about it            01/01/70 00:00      
            "the bible" ch 2 ...            01/01/70 00:00      
            But that is the only part that is specific to the 8051!            01/01/70 00:00      
               Just read the SDCC library code            01/01/70 00:00      
               www.8052.com resources            01/01/70 00:00      
                  i agree with Joe Gold            01/01/70 00:00      
         Mazidi & Mazidi            01/01/70 00:00      
   re: learn 8051 assembler            01/01/70 00:00      
      kenneth ayala's 8051 Microcontroller: Architecture, Programm            01/01/70 00:00      
         2nd Recommendation on Kenneth Ayala's Book            01/01/70 00:00      

Back to Subject List