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

Calling assembly function from C

I am working on a project that has multiple C files and an assembly file. A function in one of the C files is calling an assembly subroutine.

The project compiles fine but linking produces the following error:
*** ERROR L127: UNRESOLVED EXTERNAL SYMBOL.

I have declared my assembly function as PUBLIC and I am following the naming convention (assembly function name is followed by '?').

Additionally, a function prototype of the assembly subroutine is on the c file that will call it.

I've been going through the forums and the keil 251 manuals but cannot find a solution.

Would appreciate tips/advice. thanks.