I want to write few assembly instructions during I'm writting a C code for my 89C52 microcontroller. Do you know How? I don't want write another asm file and link it to my C file. thanx
Thanks, but I'd tested #pragma asm #pragma endasm before, and I could not use it. Do you have any example of using it?
"I could not use it." What happened? Why couldn't you use it? "Do you have any example of using it?" There are examples in the manual You did remember the SRC directive, didn't you...?
//here is a sample of Keil C51 main() { #asm mov a,b #endasm } // and you must set two options about 'SRC..' of this file. To right hit this file in the file tree -->Options for file..
The manual? Where can I get it? THANKS.
After creating or opening a project, click the "Books" tab in the Project Window.