beautypg.com

Multiply), Decimal numeric values, Hexadecimal numeric values – Zilog ZUSBOPTS User Manual

Page 306: Syntax

background image

Linker Expressions

UM017105-0511

278

Zilog Developer Studio II – ZNEO™
User Manual

/* RAM allocation */

LOCATE s_uninit_data at $8000

LOCATE s_nvrblock at $9000

DEFINE __low_data = BASE OF s_uninit_data

Using

LOCATE s_uninit_data at $8000

or

LOCATE s_uninit_data at LOWADDR OF RAM

gives the same address (the lowest possible address) when

RANGE RAM $8000:$BFFF

.

If

LOCATE s_uninit_data at $8000

is changed to

LOCATE s_uninit_data at BASE OF RAM

the lowest used address is

$9000

(because

LOCATE s_nvrblock at $9000

and

s_nvrblock

is in RAM).

* (Multiply)

The * (Multiply) operator is used to multiply two expressions.

Syntax

*

Decimal Numeric Values

Decimal numeric constant values can be used as an expression or part of an expression.
Digits are collections of numeric digits from 0 to 9.

Syntax

Hexadecimal Numeric Values

Hexadecimal numeric constant values can be used as an expression or part of an expres-
sion. Hex digits are collections of numeric digits from 0 to 9 or A to F.

This manual is related to the following products: