I do my main program in c. I want to call in this c program a fonction (procedure) in assembler. How can I do this ? with a #include <xxxx.a51> ? how can I do a mix program with c and assembler procedure?
thanks for your answer.
"I'd suggest the file STARTUP.A51 in the lib directory. This file is the equivalent of the C runtime system"
No, that's not true!
STARTUP.A51 is the user-customisable part of the 'C' startup - it then calls the rest of the startup which, in turn, calls main().