home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CP/M
/
CPM_CDROM.iso
/
cpm
/
utils
/
asmutl
/
spasm201.lbr
/
SLIB.DZC
/
SLIB.DOC
Wrap
Text File
|
1988-09-02
|
3KB
|
72 lines
SLIB - Library Manager/Optimizer Quick Reference
(C) Copyright 1987,1988 BY: HARRIS LANDSBERG
A: COMMAND LINE
SLIB <librname> [options]
Must specify library name (without .OBJ) on the
command line. If file exists, it will read the file
like the <file> option. It always creates a temporary
library object file. Program requires a Z80 to run
correctly. An 8080 version can be made available, but
the optimize option run much too slowly.
Program can be run from command line only or
interactively from prompts.
Example: SLIB combine zsyscom /z* deviceio /z* /e
The above will create a file called COMBINE.OBJ
with all modules from ZSYSCOM.OBJ and DEVICEIO.OBJ. See
below for what the options mean.
B: PROMPTS
: means no file/module is active
* means there is an active file/module
C: OPTIONS
<file> opens file and reads first module into memory (prior abandoned)
may contain a du: specification and .OBJ is appended.
/A abandon the current file
/D<name> delete removable entry point symbol
/D* prompt for delete of all symbols (Y=delete,N=don't,^C=end option)
/E end work, close library and rename to .OBJ
/F<name> searches for module <name> and makes it current module
/I list module imported for current module
/L list defined symbols with their current value
/M list module name + code size + data size
/N next module, save current module to library
/O optimize label usages within module
/Q quit work, delete temporary file, work not saved
/R list removable labels for /D option
/S skip to next module, don't save current
/U list undefined symbols in current module
/W list modules written in work library
/Z<name> add modules to library until module <name>
/Z* add modules to library until end of file
D: COMMENTS
Modules that have link conditionals have their labels
that are defined after the link condition with a '*' next to
the value with the /L option. Do not optimize a module that
has a link conditional, since references may not be accurate
afterwards during the link phase.
Refer to the SPASM documenation and SLINK documenation
and SPL Language documentation for more about module object
concept and object file formats.
Send comments and other things to:
HARRIS LANDSBERG
1350 East 5th Street
Suite 1-J
Brooklyn, New York 11230
RG
1350 East 5th Street
Suite 1-J
Brooklyn, Ne