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.
Hi, Is there any method to include embedded c code in the assembly source code for 8051.
No.
However, you can call 'C' source code from assembler. http://www.keil.com/support/man/docs/c51/c51_ap_ctoasm.htm
But it's usually easier to do it the other way around; ie, call assembler from 'C'.
Remember that 'C' requires a certain amount of startup and runtime support code...
Thank u very much. Regards Bedaprakash