hi ..i am new to embedded systems ... i am using uvision from keil .. i just wanna include one line assembly code .. into my c-code .. example -- nop (no operation ) assembly instuction into my c code .. how do we do it ??? thanks .. pruthvi
Check intrins.h to see if nop is defined there. If so it would be as simple as including the following lines of code in your C-file.
#include <intrins.h> _nop_();