Zilog Z8F0130 User Manual

Page 384

Advertising
background image

Using the Linker/Locator

UM013037-1212

360

Zilog Developer Studio II – Z8 Encore!
User Manual

•

& (And)

– see page 361

•

BASE OF

– see page 361

•

COPY BASE

– see page 362

•

COPY TOP

– see page 362

•

/ (Divide)

– see page 362

•

FREEMEM

– see page 363

•

HIGHADDR

– see page 363

•

LENGTH

– see page 363

•

LOWADDR

– see page 363

•

* (Multiply)

– see page 364

•

Decimal Numeric Values

– see page 364

•

Hexadecimal Numeric Values

– see page 364

•

| (Or)

– see page 364

•

<< (Shift Left)

– see page 364

•

>> (Shift Right)

– see page 365

•

- (Subtract)

– see page 365

•

TOP OF

– see page 365

•

^ (Bitwise Exclusive Or)

– see page 366

•

~ (Not)

– see page 366

The following note applies to many of the <expression> commands discussed in this sec-
tion.

To use BASE, TOP, COPY BASE, COPY TOP, LOWADDR, HIGHADDR, LENGTH, and
FREEMEM <expression> commands, you must have completed the calculations on the
expression. This is done using the SEQUENCE and ORDER commands. Do not use an
expression of the segment or space itself to locate the object in question.

Examples

/* Correct example using segments */

SEQUENCE seg2, seg1 /* Calculate seg2 before seg1 */

LOCATE seg1 AT TOP OF seg2 + 1

Note:

Advertising