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

ASM

How to use ASM into C code compiled by µVision ?

Parents
  • I have this error message:

    error C272: 'asm/endasm' requires src-control to be active

    Is there something to configure in the compiler for that?

    Yes, but do not worry about it.

    Make your assembly in a separate .A51 module and link it in.

    ifg you need assembler use assembler, if you do not, use whatever you like. Combining the two in the same module is but a kluge.

    Erik

Reply
  • I have this error message:

    error C272: 'asm/endasm' requires src-control to be active

    Is there something to configure in the compiler for that?

    Yes, but do not worry about it.

    Make your assembly in a separate .A51 module and link it in.

    ifg you need assembler use assembler, if you do not, use whatever you like. Combining the two in the same module is but a kluge.

    Erik

Children