Range, Searchpath, Range searchpath – Zilog EZ80F916 User Manual
Page 275

UM014423-0607
Using the Linker/Locator
ZiLOG Developer Studio II
eZ80Acclaim!
®
User Manual
255
<name> can be a group, address space, or segment.
of other groups, address spaces, or segments. However, a
RANGE
is established only for an
address space.
Example
ORDER GDATA,GTEXT
where
GDATA
and
GTEXT
are groups.
In this example, all address spaces associated with
GDATA
are located before (that is, at
lower addresses than) address spaces associated with
GTEXT
.
RANGE
The
RANGE
command sets the lower and upper bounds of a group, address space, or seg-
ment. If an address falls outside of the specified
RANGE
, the system displays a message.
NOTE: You must use white space to separate the colon from the
RANGE
command operands.
Syntax
RANGE
<name> can be a group, address space, or segment. The first <expression> marks the
lower boundary for a specified address
RANGE
. The second <expression> marks the upper
boundary for a specified address
RANGE
.
Example
RANGE CODE $100 : $1FF,$300 : $3FF
If a
RANGE
is specified for a segment, this range must be within any
RANGE
specified by
that segment’s address space.
NOTE: Refer to “Linker Expressions” on page 258 for the format to write an expression.
SEARCHPATH
The
SEARCHPATH
command establishes an additional search path to be specified in locat-
ing files. The search order is as follows.
1. Current directory
2. Environment path
3. Search path
Syntax
SEARCHPATH ="
"