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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/24/05 10:10
Read: times


 
#99957 - C
Responding to: ???'s previous message
Ghulam Mustafa said:
the problem is that i havent programed in c for microcontroller but have used this high lavel language before.

You mean you've done 'C' on PC/Linux/whatever?

In that case, there are plenty of books on 8051 and embedded 'C' - do the 'Search', see the 'Books' pages here, at Keil, etc, etc...

Do you already know the 8051 architecture?
If not, you will need to read-up on that.
See the Tutorials here, and the documents commonly referred to as "the bible" for the 8051:

Chapter 1 - 80C51 Family Architecture:
http://www.semiconductors.philips.com/acrobat/v...ARCH_1.pdf

Chapter 2 - 80C51 Family Programmer’s Guide and Instruction Set:
http://www.semiconductors.philips.com/acrobat/v...UIDE_1.pdf

Chapter 3 - 80C51 Family Hardware Description:
http://www.semiconductors.philips.com/acrobat/v...WARE_1.pdf

These documents define the basics - you will also need to read the Datasheet for the particular chip you are using for specific details.

kindly guide me how should i start.

You could download the Free Keil C51 Evaluation.
The C51 Manual describes all its special features, and the uVision Getting Started Guide will give you a proper introduction to the tools, how they work, and how to use them - and includes some example projects to get you started.
(Note that the free Evaluation version does not do floating-point)

No doubt other compiler vendors have similar offerings





List of 16 messages in thread
TopicAuthorDate
Mathematics of Fractional # in Intel ass            01/01/70 00:00      
   Search            01/01/70 00:00      
      Actual task            01/01/70 00:00      
         Lookup table?            01/01/70 00:00      
         Scale it            01/01/70 00:00      
   echo...........            01/01/70 00:00      
   sounds like fun, but it will take you ma            01/01/70 00:00      
      Using C            01/01/70 00:00      
         C            01/01/70 00:00      
            Space occupied            01/01/70 00:00      
               That old chestnut!            01/01/70 00:00      
                  Example            01/01/70 00:00      
               Does it really matter, anyhow?            01/01/70 00:00      
                  why assembler            01/01/70 00:00      
   If actual fraction numbers            01/01/70 00:00      
   And decimal number,            01/01/70 00:00      

Back to Subject List