Figure 128. zneo hierarchical memory model – Zilog ZUSBOPTS User Manual

Page 217

Advertising
background image

UM017105-0511

Linker Command Files for C Programs

Zilog Developer Studio II – ZNEO™

User Manual

189

The linker depicts the memory of the ZNEO CPU using a hierarchical memory model con-
taining spaces and segments. Each memory region of the CPU is associated with a space.
Multiple segments can belong to a given space. Each space has a range associated with it
that identifies valid addresses for that space. The hierarchical memory model for the
ZNEO CPU is shown in Figure 128. Figure 129 depicts how the linker links and locates
segments in different object modules.

For a more detailed description of the linker and the various commands it supports, see the

Using the Linker/Locator

chapter on page 259.

Figure 128. ZNEO Hierarchical Memory Model

ZNeo Memory

Spaces

RAM Space

ERAM Space

NEAR_BSS

Segment

NEAR_DATA

Segment

FAR_BSS

Segment

FAR_DATA

Segment

ROM Space

ROM_DAT A

Segment

ROM_TEXT

Segment

NEAR_TEXT

Segment

FAR_TEXT

Segment

EROM_DAT A

Segment

CODE

Segment

__VECTORS

Segment

STARTUP

Segment

EROM Space

EROM_TEXT

Segment

Advertising
This manual is related to the following products: