HELP ME PLEASE!
Is possible to define assembly and C functions in the same file? I dont want to use the asm {} instructian!
I want to having a complete function, writteng in assembly, but sitting in a C source file.
Eng. Liu
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
HELP ME PLEASE!
Is possible to define assembly and C functions in the same file? I dont want to use the asm {} instructian!
I want to having a complete function, writteng in assembly, but sitting in a C source file.
Eng. Liu
One possible way would be to generate the corresponding assembly file from the C source code using the appropriate compiler flag. Then add the assembly code you want to the *.s generated in the proper place.
Regards,
Vaibhav