I would like to write functions in assembly along with the c source code, but somehow I can't find the syntax. I tried e.g. in the fname.asm file (simplified):
fill_bmap: rts
In the fname.c source:
extern void fill_bmap();
But the compiler gives this error message:
undefined reference to `fill_bmap'
-v
option. And the build system: you mention makefiles, but did not say anything if you write them directly or had them generated from something else. Elementary questions are fine in my book, as long as they are well-written. (That beginners do not always write them well is a different matter…)