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.
When I compile following simple Code I will get L1 error, Please let me know what's the wrong with this code:
#include <reg51.h> void main(void) { #pragma asm NOP NOP NOP #pragma endasm }
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL SYMBOL: ?C_STARTUP
"there is a NOP macro"
It's called an "Intrinsic Function" in the Manual.
See http://www.keil.com/support/man/docs/c51/c51_lib_intrinsic.htm for the full list.
See also http://www.keil.com/forum/docs/thread9886.asp