Hi is there any way that i could insert some lines of assembly code in my code which was written in keil( C language). please tell
Mudassir, Did you add STARTUP.A51 as well? I'm unable to reproduce the problem you're having. I can create a new project with only a main() function, set the options mentioned above, and then use pragma asm/endasm to insert some assembly statements. Mine gave the same warning, but when I added INIT.A51 (in addition to the already included STARTUP.A51), everything compiled fine.