We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
how can i include assembly language instuction in c programming
A browse through the compiler manual would quite soon reveal how you can do this.
A more important question is: why do you think you need to do this? Most times when this question is asked at such a basic level as this it's due to a fundamental misunderstanding or miconception of how the tools work.
Thus it would be helpful if you would explain why you think this is necessary - what are you trying to do that (you think) can't be done in C51, or is an assembler function that you call from C51...?
"can't be done in C51, or is an assembler function that you call from C51...?"
Should be: "can't be done in C51, or in an assembler function that you call from C51...?"
You can start by looking here.
http://www.keil.com/support/man/docs/c51/c51_ap_ctoasm.htm
how we can access each bit of a register using keil, means if i need 5 th bit of a register value ,without AND how can i take it
thankssssssss
"how we can access each bit of a register using keil"
You really need to spend some time familiarising yourself with the Keil C51 manual:
http://www.keil.com/support/man/docs/c51/
For this particular question, see: http://www.keil.com/support/man/docs/c51/c51_le_bitaddrobj.htm
s u r correct , am a beginner in this, thanks for ur reply