03.03.2013 Views

DIGITAL RESEARCH(r) CP/M Plus TM (CP/M Version 3) Operating ...

DIGITAL RESEARCH(r) CP/M Plus TM (CP/M Version 3) Operating ...

DIGITAL RESEARCH(r) CP/M Plus TM (CP/M Version 3) Operating ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The LINK Command <strong>CP</strong>/M 3 User's Guide<br />

The LINK Command<br />

Syntax: LINK d:{filespec,{[o]}=}filespeci{[o]}{,...}<br />

Explanation:<br />

The LINK command combines relocatable ob'ect modules such as those<br />

produced by RMAC and PL/1-80" into a COM file ready for execution.<br />

Relocatable files can contain external references and publics. Relocatable<br />

files can reference modules in library files. LINK searches the library<br />

files and includes the referenced modules in the output file. The LINK<br />

command is the LINK-80 utility and are synonymous in this discussion.<br />

See the Programmer's Utilities Guide for the <strong>CP</strong>IM Family of <strong>Operating</strong><br />

Systems for a complete description of LINK-80.<br />

You can use LINK option switches to control the execution parameters<br />

of LINK-80. LINK options follow the file specifications and are enclosed<br />

within square brackets. Multiple switches are separated by commas.<br />

Table 5-10. LINK Options<br />

Option Meaning<br />

A Additional memory; reduces buffer space and writes<br />

temporary data to disk.<br />

B BIOS link in banked <strong>CP</strong>/M 3 system. Aligns data<br />

segment on page boundary; puts length of code segment<br />

in header; defaults to SPR filetype.<br />

Dbhhh Data origin; sets memory origin for common and<br />

data area.<br />

Gn Go; set start address to label n.<br />

Lhhhh Load; change default load address of module to hhhh.<br />

Default 0100H.<br />

Mhhhh Memory size; define free memory requirements for<br />

MP/M" modules.<br />

NL No listing of symbol table at console.<br />

5-56

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!