Question:
How to call assembly function from C-namespace
Answer:
When the compiler generates the assembly version of a C-namespace symbol, it either prepends an underscore or appends a dot to the symbol name.
Compiling with the -char-size-8 switch on processors that support byte-addressing, the asm symbol name will have a dot suffix. If compiling with -char-size-32 switch on processors that supports word-addressing, it will have an underscore prefix.
For example on byte addressing processors, the assembly function should be named as "Test_Function.". For word-addressing, the function should be as "_Test_Function".
We recommend to refer CCES help below for more information on Naming Conventions for Symbols
CrossCore® Embedded Studio 2.x.x > SHARC® Development Tools Documentation > C/C++ Compiler Manual for SHARC® Processors > Compiler > C/C++ Run-Time Model and Environment > Function Call and Return > Symbol Names in C/C++ and Assembly