This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Best way to start learning 8051 Assembler

Hey everyone,

I'm very interested in learning how to program using the assembly language of the 8051, I think it will be a good grounding for me to being learning more complex topics... but I know nothing at the moment!

I've had a look at some sites on the net and found a few other sites around the net but I'm still totally lost. These appear to assume some prior knowledge of assembly and programming at this level, this confuses me alot

Would someone be able to suggest a web resource to start with? (Or help me decode the Assembly-in one step site!) Also I'm looking for a simulator (or is it emulator?) for learning with as I don't have any genuine hardware around, this can be for Windows or Mac OS X, as I use both.

Basically I'm looking for advice on how and where to start! Thank you!

Thanks for your advice!
-F.

Parents
  • Just my opinion: you should start programming MCUs in C. If you start doing it in assembly language, you'll make transition to C more difficult for yourself. More than 90% of MCU programming should be done in C. Knowing assembly language helps, no doubt, but you can learn it by looking at the disassembler output for compiler-generated code.
    Since the 8051 CPU has some quirks that make it a poor target for C code, I suggest that you pick a different CPU. Some people say that AVR is good for beginners.

Reply
  • Just my opinion: you should start programming MCUs in C. If you start doing it in assembly language, you'll make transition to C more difficult for yourself. More than 90% of MCU programming should be done in C. Knowing assembly language helps, no doubt, but you can learn it by looking at the disassembler output for compiler-generated code.
    Since the 8051 CPU has some quirks that make it a poor target for C code, I suggest that you pick a different CPU. Some people say that AVR is good for beginners.

Children