Hi,All I tried to using #pragma asm/#pragma endasm in my C program.Although reference the Keil's document.I still can't do the job. //----------------------- #pragma SRC //----------------------------- #pragma asm mov dptr,#0xf31b mov a,#0xff movx @dptr,a #pragma endasm //----------------------------- It show obj file not found. What can I do ? Thanks.
"You can ask the compiler to generate the src file ... maybe then you will have the object file..." No. Read the description of the SRC Directive in the Manual - it specifically tells you what the compiler will (and will not) generate!