Ldf Expressions - Analog Devices VisualDSP++ 3.5 Manual

Linker and utilities manual for 16-bit processors
Hide thumbs Also See for VisualDSP++ 3.5:
Table of Contents

Advertisement

LDF Expressions

LDF commands may contain arithmetic expressions that follow the same
syntax rules as C/C++ language expressions. The linker:
• Evaluates all expressions as type
stants as type
• Supports all C/C++ language arithmetic operators
• Allows definitions and references to symbolic constants in the LDF
• Allows reference to global variables in the program being linked
• Recognizes labels that conform to these constraints:
• Must start with a letter, underscore, or point
• May contain any letters, underscores, digits, and points
• Are delimited by white space
• Do not conflict with any keywords
• Are unique
Table 3-1. Valid Items in Expressions
Convention
.
0xnumber
number
number
k
or
number
K
number
B#
or
number
b#
VisualDSP++ 3.5 Linker and Utilities Manual
for 16-Bit Processors
unsigned long
Description
Current location counter (a period character in an address expres-
sion). See
"Location Counter (.)" on page
Hexadecimal number (a 0x prefix)
Decimal number (a number without a prefix)
A decimal number multiplied by 1024
A binary number
Linker Description File
and treats con-
unsigned long
3-19.
3-13

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VisualDSP++ 3.5 and is the answer not in the manual?

Questions and answers

Related Products for Analog Devices VisualDSP++ 3.5

Table of Contents