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

inserting one line assembly code in c

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

Parents
  • Andy,

    I think we are in complete agreement. When you said "Don't do it", I thought you meant not to use the intrinsic functions either (which is what both Erik and I recommended). I never use inline assembly, I toyed around with it once and decided it was too much of a headache.

Reply
  • Andy,

    I think we are in complete agreement. When you said "Don't do it", I thought you meant not to use the intrinsic functions either (which is what both Erik and I recommended). I never use inline assembly, I toyed around with it once and decided it was too much of a headache.

Children
No data