Highaddr, Length, Lowaddr – Zilog ZUSBOPTS User Manual
Page 305: Highaddr length lowaddr, Syntax, Base of versus lowaddr of

UM017105-0511
Linker Expressions
Zilog Developer Studio II – ZNEO™
User Manual
277
HIGHADDR
The HIGHADDR operator provides the highest possible address of a group, address
space, or segment. The value of HIGHADDR is treated as an expression value.
Syntax
HIGHADDR OF
<name> can be a group, address space, or segment.
LENGTH
The LENGTH operator provides the length of a group, address space, or segment. The
value of LENGTH is treated as an expression value.
Syntax
LENGTH OF
<name> can be a group, address space, or segment.
LOWADDR
The LOWADDR operator provides the lowest possible address of a group, address space,
or segment. The value of LOWADDR is treated as an expression value.
Syntax
LOWADDR OF
<name> can be a group, address space, or segment.
BASE OF Versus LOWADDR OF
By default, allocation for a given memory group, address space, or segment starts at the
lowest defined address for that memory group, address space, or segment. If you explicitly
define an assignment within that memory space, allocation for that space begins at that
defined point and then occupies subsequent memory locations; the explicit allocation
becomes the default BASE OF value. BASE OF <name> gives the lowest allocated
address in the space; LOWADDR OF <name> gives the lowest physical address in the
space.
For example:
RANGE ROM $0 : $7FFF
RANGE RAM $8000 : $BFFF