home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / cpm / utils / asmutl / spasm201.lbr / SLIB.DZC / SLIB.DOC
Text File  |  1988-09-02  |  3KB  |  72 lines

  1. SLIB - Library Manager/Optimizer   Quick Reference
  2. (C) Copyright 1987,1988       BY: HARRIS LANDSBERG
  3.  
  4. A: COMMAND LINE
  5.  
  6.    SLIB <librname> [options]
  7.  
  8.    Must specify library name (without .OBJ) on the
  9. command line. If file exists, it will read the file
  10. like the <file> option. It always creates a temporary
  11. library object file. Program requires a Z80 to run
  12. correctly. An 8080 version can be made available, but
  13. the optimize option run much too slowly.
  14.  
  15.     Program can be run from command line only or
  16. interactively from prompts.
  17.  
  18.     Example: SLIB combine zsyscom /z* deviceio /z* /e
  19.  
  20.     The above will create a file called COMBINE.OBJ
  21. with all modules from ZSYSCOM.OBJ and DEVICEIO.OBJ. See
  22. below for what the options mean.
  23.  
  24. B: PROMPTS
  25.  
  26.  :  means no file/module is active
  27.  *  means there is an active file/module
  28.  
  29. C: OPTIONS
  30.  
  31. <file>    opens file and reads first module into memory (prior abandoned)
  32.           may contain a du: specification and .OBJ is appended.
  33. /A        abandon the current file
  34. /D<name>  delete removable entry point symbol
  35. /D*       prompt for delete of all symbols (Y=delete,N=don't,^C=end option)
  36. /E        end work, close library and rename to .OBJ
  37. /F<name>  searches for module <name> and makes it current module
  38. /I        list module imported for current module
  39. /L        list defined symbols with their current value
  40. /M        list module name + code size + data size
  41. /N        next module, save current module to library
  42. /O        optimize label usages within module
  43. /Q        quit work, delete temporary file, work not saved
  44. /R        list removable labels for /D option
  45. /S        skip to next module, don't save current
  46. /U        list undefined symbols in current module
  47. /W        list modules written in work library
  48. /Z<name>  add modules to library until module <name>
  49. /Z*       add modules to library until end of file
  50.  
  51. D: COMMENTS
  52.  
  53.      Modules that have link conditionals have their labels
  54. that are defined after the link condition with a '*' next to
  55. the value with the /L option. Do not optimize a module that
  56. has a link conditional, since references may not be accurate
  57. afterwards during the link phase.
  58.  
  59.      Refer to the SPASM documenation and SLINK documenation
  60. and SPL Language documentation for more about module object
  61. concept and object file formats.
  62.  
  63.      Send comments and other things to:
  64.  
  65.                        HARRIS LANDSBERG
  66.                      1350 East 5th Street
  67.                           Suite 1-J
  68.                    Brooklyn, New York 11230
  69. RG
  70.                      1350 East 5th Street
  71.                           Suite 1-J
  72.                    Brooklyn, Ne