home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Elysian Archive
/
AmigaElysianArchive.iso
/
prog
/
source
/
dcassem.lha
/
No.9
< prev
Wrap
Text File
|
1988-05-14
|
738b
|
18 lines
The files in this directory are for use as simple debug routines within
other assembler programs. To use them, you should include printf.mac
with your assembler module and link the resulting object modules with
the library printf.lib. To make printf.lib do the following:-
assem printf.asm -o printf.lib -i :include
To link your programs with this (we'll use test.o here) do the following:-
blink test.o to test lib printf.lib+:include/amiga.lib
If the printf macro has been used in any of the object modules you are
linking then the linker will pull the printf code out of printf.lib and
link it into the resulting program. If no references have been made to
printf, then no extra code will be linked with your program.