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.
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_();