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
1) the way Keil handles asm in C is - at best - crummy. It totally destroy your ability to see the original code in the emulator and require a two pass compilation-assembly. 2) if it really is a nop you want to insert Keil has provided a workaround _nop_() will insert a nop in your code. Erik