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