I am a bit familiar with assembly language and i know that the 'nop' instruction is basically used to skip an instruction cycle. What I don't know however is what the 'asm("nop")' instuction does. I tried to compile some code which included this instruction (using Keil IDE) but the compiler returns an error which i can't make sense of. The error message reads: " 'asm' requires ANSI-style prototype".
'asm' is the name of the function being called. It is invoked with parameter "nop" which, I think, should be a string according to the rules of C.
I thank you in advance.