Maxhexlen, Maxlength, Map maxhexlen maxlength – Zilog EZ80F916 User Manual
Page 273

UM014423-0607
Using the Linker/Locator
ZiLOG Developer Studio II
eZ80Acclaim!
®
User Manual
253
Example
LOCATE ROM AT $10000
NOTE: Refer to “Linker Expressions” on page 258 for the format to write an expression.
MAP
The
MAP
command causes the linker to create a link map file. The link map file contains
the location of address spaces, segments, and symbols. The default is to create a link map
file.
NOMAP
suppresses the generation of a link map file.
In the link map file, the C prefix indicates Code, and the D prefix indicates Data.
Syntax
-MAP =
[
mapfile has the same name as the executable file with the
.map
extension unless an
optional <mapfile> is specified.
Example
MAP = myfile.map
Link Map File
A sample map file is shown in the “Sample Linker Map File” on page 267.
MAXHEXLEN
The
MAXHEXLEN
command causes the linker to fix the maximum data record size for the
Intel hex output. The default is 64 bytes.
Syntax
[-]MAXHEXLEN < IS | = > < 16 | 32 | 64 | 128 | 255 >
Examples
-maxhexlen=16
or
MAXHEXLEN IS 16
MAXLENGTH
The
MAXLENGTH
command causes a warning message to be issued if a group, address
space, or segment is longer than the specified size. The
RANGE
command sets address
boundaries. The
MAXLENGTH
command allows further control of these boundaries.