Hello,
I want to integrate an assembly function in my project.
I looked at the C compiler User's guide, and found some explanation. I tried to do the same example as describe:
- my project contains a asm file:
- this asm file contains only one function: _asmfunc
- I declared this function as extern in the C file, where I have touse this function:
But this does not work. The compiler cannot build the project:
Can somebody explain to me why ?
Also, why does not the assembly function need to know the section where the code has to be written ? (I thought the the line .sect ".text" had to be added)
Thank you for helping me.