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

Extern function in Inline Assembly

I need to migrate my project from ARM Compiler 5 to ARM Compiler 6

How can I write extern syntax in inline assembly function?

Original Compilable Code In AC5

Fullscreen
1
2
3
4
5
void myFuction() {}
__asm void AssemblyFunction()
{
extern myFuction
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

My Code in AC6

Fullscreen
1
2
3
4
5
void myFunction() {...}
void myInlineAssemblyFunction()
{
__ASM("extern myFunction"); //importing extern outside function
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

It seems that the AC6 can't compile this part of importing extern outside function.

0