Addr() Operator - 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

can also be written as:
ldf_stack_space = ABSOLUTE(.);
• A symbol name

ADDR() Operator

Syntax:
ADDR(section_name)
This operator returns the start address of the named output section
defined in the LDF. Use this operator to assign a section's absolute address
to a symbol.
Example
If an .
file defines output sections as,
LDF
dxe_L2_code
{
INPUT_SECTIONS( $OBJECTS(program) $LIBRARIES(program))
}> mem_L2
dxe_L2_data
{
INPUT_SECTIONS( $OBJECTS(data1) $LIBRARIES(data1))
}> mem_L2
the
file may contain the command:
.LDF
ldf_start_L2 = ADDR(dxe_L2_code)
The linker generates the constant
address of the
VisualDSP++ 3.5 Linker and Utilities Manual
for 16-Bit Processors
output section.
dxe_L2
Linker Description File
and assigns it the start
ldf_start_L2
3-17

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

Subscribe to Our Youtube Channel

Related Products for Analog Devices VisualDSP++ 3.5

Table of Contents