ACC Utilities Reference Guide

78 Chapter3
ZLINK - Z80/Z180 Relocating Linker
Available Commands
HX
Format: HX
The HX command causes ZLINK to produce a hexadecimal dump of the
absolute file as part of the link map output.
LI - Library
Format: LI <file>
The LI command is not implemented.
LO - Set Logical Address Mode
Format: LO <address>
LO causes ZLINK to produce output records containing logical addresses
in the absolute file. The command also establishes the logical address at
which the executable code will be produced.
LN - Transfer to ZLINK Command File
Format: LN <file>
<file> is the name of the command file. If a file type extension is not
specified, then ZLINK assumes the .ZLNK file type extension.
MA - Produce Link Map
Format: MA [file]
This command causes ZLINK to produce a link map output to the
specified file. If the file name is not specified, the link map file name will
be the module name with a suffix of .ZMAP.
The link map for the HDLC protocol (the ZLINK command file for which
is listed above) is given as the following example.