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.

Invoke assembly function in C++ code



Hi,

I'm trying to invoke my assembly function(which is located in a .asm file) in the .cpp file.

But the build process report unresolved symbol error except I add extern "C"{} expression in the head and tail of the cpp file.

That means one can only call a assembly function directly in a C file.

What's the reason for that? I use CCS5.0.3 and CGToolsv7.2.1.

Allen