This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

C Macro Expansion Question

Is there a way to create a C #define macro such that a call to it:

nop_delay(5)

would yield the following expanded code?:

_nop()_;
_nop()_;
_nop()_;
_nop()_;
_nop()_;


Thanks,

Tom