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.

Can we declare an assembly function as "inline"?

Hi,all

Is it feasible to declare a function as inline and then realize this function using assembly code?But it will cause the compiler error.

Such as:

//Declartion:

inline int func(void);

main()

{

……

     int a = func();

……

}

And func() is realized in another asm file.

Allen