How to insert asm code in c file. I don't want to generate asm file and not to call asm function. example : void f1(void) { ... ... nop <----- put asm code here ... } how to write in Keil C compile ?
I think on way is to implement your nop as an assembly function. Try downloading the C51 compiler mannual and chapter6 teaches you how to interface to assembly routines.
I think on way is to implement your nop as an assembly function. That hardly gives you a "NO-Operation" does it!?