User manual

ST Assembler-Linker Librarian
Doc ID 11392 Rev 4 53/89
8.5 Copying modules from a library
To make a copy of a .OBJ module located in a library back to your hard disk, use, for
example:
*board
This checks the existence of board.obj in the current library, if not it reports the
failure and aborts the operation prompt. If it does find it, it invites you to give it the name
of the hard disk file to create to contain the copy of the .OBJ module.
Copy into .obj file [board.obj]:
If you type <ENTER>, it selects the original name of the object module as the copy's
name. Otherwise, give it a path spec. If the file you give already exists, LIB says:
File board.obj already exists; overwrite? (Y/N):
Again, responding 'N' aborts to the operations prompt, while 'Y' does the copy with the
message:
Copying board.obj to disk...
Done.
8.6 Getting details in your library
The last operation:
?
causes LIB to print out details of the current library.
Library LIB1.LIB is 2K long
16/1024 Publics labels used on 2/128 modules
0: z1.obj (z1.asm) length 2DE
1: board.obj (board.asm) length 7FFF
The name in brackets is the source module from which the named object module was
assembled.