beautypg.com

Outputfile>== change – Zilog Z8F0130 User Manual

Page 372

background image

Using the Linker/Locator

UM013037-1212

348

Zilog Developer Studio II – Z8 Encore!
User Manual

Only the <outputfile>=<module list> and the

FORMAT

commands are required. All com-

mands and operators are not case-sensitive.

=

This command defines the executable file, object modules, and libraries involved in the
linking process. The default extension is

.lod

as specified by the FORMAT command.

<module list> is a list of object module or library path names to be linked together to cre-
ate the output file.

Example

sample=c:\ZDSII_Z8 Encore!_4.11.0\lib\zilog\startups.obj, \

test.obj, \

c:\ZDSII_Z8 Encore!_4.11.0\lib\std\chelpd.lib, \

c:\ZDSII_Z8 Encore!_4.11.0\lib\std\crtsdd.lib, \

c:\ZDSII_Z8

Encore!_4.11.0\lib\std\fpsdd.lib

The preceding command links the two object modules and three library modules to gener-
ate the linked output file

sample.lod

in IEEE 695 format when the

format=OMF695

command is present.

In the preceding example, the

\

(backslash) at the end of the first line allows the <module

list> to extend over several lines in a linker command file.


The backslash to continue the <module list> over multiple lines is not supported when this
command is entered on the DOS command line.

CHANGE

The

CHANGE

command is used to rename a group, address space, or segment. The

CHANGE

command can also be used to move an address space to another group or to move a seg-
ment to another address space.

Syntax

CHANGE

=

<name> can be a group, address space, or segment.

Note:

Notes: