This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Warning while using inline assembly

I am using inline assembly in C but i am getting a warning as "UNRESOLVED EXTERNAL SYMBOL".The code is executing but i am getting only the warning. I set all these options:
Generate assembler SRC file
Assemble SRC file
Include in Target Build
I have attached my code below

 main()
{
#pragma asm
         mov a,#24
         mov r1,#23
         add a,r1
   here:  ajmp here
#pragma endasm
}

0