Zilog EZ80F916 User Manual
Page 257

UM014423-0607
Using the Linker/Locator
ZiLOG Developer Studio II
eZ80Acclaim!
®
User Manual
237
The ZDS II compiler and assembler use a hierarchical processor model containing spaces
and segments. Each space has a range associated with it that identifies valid addresses for
that space. For example, Space A might be associated with the addresses from
100h
to
7FFFh
.
Each object file, called a module, contains several segments. See the following two fig-
ures. The linker performs the following functions:
• It resolves all external references in each module.
• It assigns (or locates) physical hardware memory addresses into which each segment will
be loaded.
Figure 89. Linker Segments
Figure 90. Modules and Segments
Because the linker both links names and locates modules, it is referred to as a linker/loca-
tor. The locator part of the linker assigns segments to spaces. In Figure 90, three modules