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.
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.
http://www.keil.com/books/8051books.asp
You can start off with the Keil uVision 4. It has a simulator built-in, and is great for learning 8051 assembly language.
www.cs.ucr.edu/.../
whatever language you're programming in!
www.8052.com/.../tutorial - includes some assembler programming
www.8052.com/.../120112 - includes links to the so-called "bible" for the 8051
Also here: www.8052.com/.../187976
with the '51 understanding the chip is very important www.8052.com/.../120112 - includes links to the so-called "bible" for the 8051 "the bible" gives you the HW info you need and there is no better instruction set manual than "the bible" chapter2
Erik
I GOT MY 8051 YESTERDAY AND ALTHOUGH I CONSIDER MYSELF SOMETHING OF A TECHNO PHOBE, I HAD NO PROBLEMS SETTING IT UP WITH IN AN HOUR OR SO. MINE CAME FROM CHINA TOO AND I GOT THE ENGLISH EXAMPLE GOING WHEN IT ARRIVED ANYWAY, I LOVE IT!