I use gcc compiler( download from KEIL ), and want to implement NOP and SWI instruction in my C program. anyone could tell me how? Thank you.
I thought i find the answer: asm("SWI"); asm("NOP");