To call the linker inside AsmPro (should work also on AsmOne), I add these lines at the start of the source:
AUTO wl rad:main.o\
AUTO y c:blink rad:main.o LIB path:somelib.lib\
When you assemble, and there are 'No errors', the first line save the Linkable file, while the second line execute the linker to create the executable file.
In your work you should assemble and write-linkable one of the file, and put a similar command in the other:
AUTO wl rad:main.o\
AUTO y c:blink rad:main.o rad:file1.o TO rad:myexe\
Bye
Fabio
Last edited by DrCinicus; 09 December 2014 at 09:31.
Reason: Forgot '\' in the last line,
|