beautypg.com

Sequence, Sort, Splittable – Zilog Z8F0130 User Manual

Page 381: Sequence sort splittable

background image

UM013037-1212

SEQUENCE

Zilog Developer Studio II – Z8 Encore!

User Manual

357

SEQUENCE

The

SEQUENCE

command forces the linker to allocate a group, address space, or segment

in the order specified.

Syntax

SEQUENCE

<name>[,<name_list>]

<name> is either a group, address space, or segment.

<name_list> is a comma-separated list of group, address space, or segment names.

Example

SEQUENCE NEAR_DATA,NEAR_TEXT,NEAR_BSS

If the sequenced segments do not all receive space allocation in the first pass through the
available address ranges, then the sequence of segments is not maintained.

SORT

The

SORT

command sorts the external symbol listing in the map file by name or address

order. The default is to sort in ascending order by name.

Syntax

[-]SORT

[IS | =]

DOWN>

NAME

indicates sorting by symbol name.

ADDRESS

indicates sorting by symbol address.

Examples

The following examples show how to sort the symbol listing by the address in ascending
order:

SORT ADDRESS ASCENDING

or

-SORT ADDRESS = UP

SPLITTABLE

The

SPLITTABLE

command allows (but does not force) the linker to split a segment into

noncontiguous pieces to fit into available memory slots. Splitting segments can be helpful

Note: