HTTP
HTTP
com/knowhow/video_gallery/\
http://www.8051projects.net/keil-c-programming-tutorial/
http://www.8051projects.net/keil-microvision/
http://www.8051projects.net/keil-microvision/create-project.php
http://www.8051projects.net/keil-microvision/introduction.php
http://www.8051projects.net/keil-microvision/debugging.php
http://engineeringppt.blogspot.com/2010/01/c-programming.html
Concept 1 - Micro controllers
Let's see what micro controllers are and what we should know about them to get
along.
Micro is small and a controller manipulates or controls things or events.
Thus let's just think of a micro controller as a mini computer that can do or
control events like blinking a LED or doing multiplication or indicating the
temperature on a display.
No, the only language they understand is something called machine language!
And you should physically dump those instructions in machine language into
them.
1. Machine language?
2. How to dump my instructions into them?
How long will it take to learn this machine language's vocabulary? --- 2 Seconds!
Really? How big is its vocabulary? --- Only a 0 and a 1!
Try telling the micro to blink Leds using only 0s and 1s!
Impossible?
That's why some one invented Assembly.
Now what's that?
Its vocabulary consists of words like mov, clr, setb etc!
That’s for the 8051 Core. For the Microchip the words are movwf, bcf, clrf etc.
For Atmel ……? , For Hitachi ……?
No! No?
Always remember C is for Compilers and Machine Language is for Micro controllers.
The 8051 Programmer's Reference: A must have for Assembly Programming
Direct addressing
Immediate Addressing
Numbers(bin,hex,dec)
Indirect Addressing
R0 R1
PSW
Addressing Methods for the above blocks
Data Movement