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

Interface a assambler prog. in a C-Prog.

How Can I interface a assambler -file in a C-Code??

Parents
  • Hi Changhua,

    You can use #pragma asm, #pragma endasm to insert pure asm code in your c code, and please don't forget to check the options of Assemble SRC file and Generate Assembler SRC file.

    But to me the best solution is to put the asm code into asm file, then you can avoid many headaches later. You will know what I mean when you go through it yourself.

    Hope it will help you out!

    Frank

Reply
  • Hi Changhua,

    You can use #pragma asm, #pragma endasm to insert pure asm code in your c code, and please don't forget to check the options of Assemble SRC file and Generate Assembler SRC file.

    But to me the best solution is to put the asm code into asm file, then you can avoid many headaches later. You will know what I mean when you go through it yourself.

    Hope it will help you out!

    Frank

Children
No data