hi i am using a evaluation version of keil...i would like to know how i can use asm instructions when i am c-language.for example mov A,#10h and what is inline assmebly means...
Sounds like you have never written a program in 'C' before? Therefore, the first thing you need to do is to spend some time to learn the 'C' language. Having learned the general language, you can then turn to the manual for the specific compiler (Keil C51, in this case). The compiler manual will tell you what extensions it provides to the general language to address the specific details of the target processor (the 8051, in this case). You should certainly not do anything else before you have read the uVision Getting Started Guide, and worked through the example projects in it. This will give you a proper introduction to the tools, how they work, and how to use them - rather than just jumping-in blindly at the deep end. (The uVision Getting Started Guide is available on the 'Books' tab in the 'Project' Window; The 'Books' window is also available via the 'Help' menu; failing all that, search for GS51.PDF in your Keil folder) Once you've got a grip of the tools, you can go to the Downloads section of this website; there you'll find plenty of examples - including the use of the 8051's Timers in C51.