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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/25/10 07:20
Read: times


 
#176165 - About C++
Responding to: ???'s previous message
Joseph Hebert said:
I have two suggestions for your lack of programming skills. First, learn C

Agree!

(or C++)

Beware that C++ is far less common for small embedded targets - particularly 8-bit targets like the 8051.


As Erik pointed out, this will be done on a computer, not a µ-controller. You can find a plethora of books/tutorials on learning C/C++.


Also agree.

But always bear in mind that a PC has orders of magnitude more resources than a microcontroller - especially a little 8-bitter like an 8051.

Second, learn Assembler.

Each processor has its own specific assembler, so learning PC assembler is probably not useful - go straight to 8051 assembler.

As mentioned elsewhere, you can run your 8051 programs on a PC using a Simulator.

In point of fact, learning Assembler is (for my money at least) hands down the best bridge between general programming and µ-controllers.


Probably true: in assembler, you are dealing directly with the processor registers - which is about as close to the hardware as you can get!


List of 13 messages in thread
TopicAuthorDate
please help            01/01/70 00:00      
   Some answers            01/01/70 00:00      
   not a micro job            01/01/70 00:00      
   two programming suggestions            01/01/70 00:00      
      Inclined to Agree            01/01/70 00:00      
         Probably bad design or bad workmanship            01/01/70 00:00      
      About C++            01/01/70 00:00      
   Books for you to study            01/01/70 00:00      
   making progress            01/01/70 00:00      
      bible time            01/01/70 00:00      
   8052.com SBCMON code            01/01/70 00:00      
   8052.com instruction set pages            01/01/70 00:00      
      why not the whole story?            01/01/70 00:00      

Back to Subject List