Add) – Zilog EZ80F916 User Manual
Page 279

UM014423-0607
Using the Linker/Locator
ZiLOG Developer Studio II
eZ80Acclaim!
®
User Manual
259
•
•
•
•
•
•
“Decimal Numeric Values” on page 262
•
“Hexadecimal Numeric Values” on page 263
•
•
•
“>> (Shift Right)” on page 263
•
•
•
“^ (Bitwise Exclusive Or)” on page 264
•
The following note applies to many of the <expression> commands discussed in this sec-
tion:
NOTE: 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
/* Do not do this: cannot use expression of seg1 to locate seg1 */
LOCATE seg1 AT (TOP OF seg2 - LENGTH OF seg1)
+ (Add)
The + (Add) operator is used to perform addition of two expressions.
Syntax
<expression> + <expression>