home *** CD-ROM | disk | FTP | other *** search
/ Amiga Elysian Archive / AmigaElysianArchive.iso / prog / source / dcassem.lha / No.9 < prev   
Text File  |  1988-05-14  |  738b  |  18 lines

  1. The files in this directory are for use as simple debug routines within
  2. other assembler programs.  To use them, you should include printf.mac
  3. with your assembler module and link the resulting object modules with
  4. the library printf.lib.  To make printf.lib do the following:-
  5.  
  6.     assem printf.asm -o printf.lib -i :include
  7.  
  8.  
  9. To link your programs with this (we'll use test.o here) do the following:-
  10.  
  11.     blink test.o to test lib printf.lib+:include/amiga.lib
  12.  
  13.  
  14. If the printf macro has been used in any of the object modules you are
  15. linking then the linker will pull the printf code out of printf.lib and
  16. link it into the resulting program.  If no references have been made to
  17. printf, then no extra code will be linked with your program.
  18.