beautypg.com

Range, Searchpath, Range searchpath – Zilog Z8F0130 User Manual

Page 380

background image

Using the Linker/Locator

UM013037-1212

356

Zilog Developer Studio II – Z8 Encore!
User Manual

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.

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 ROM $0000 : $0FFF,$4000 : $4FFF

If a

RANGE

is specified for a segment, this range must be within any

RANGE

specified by

that segment’s address space.

Refer to the

Linker Expressions

section on page 359 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 ="

"

Example

SEARCHPATH="C:\ZDSII_Z8Encore!_4.11.0\lib\std"

Note:

Note: