LDF Commands
In each scope scenario, follow the
command. Use the memory segment names to place program sections.
Only memory segment declarations may appear within the
mand. There is no limit to section name lengths.
If you do not specify the target processor's memory map with the
command, the linker cannot link your program. If the combined
MEMORY{}
sections directed to a memory segment require more space than exists in
the segment, the linker issues an error message and halts the link.
The syntax for the
a description of each part of a
segment_commands
MEMORY{
segment_name
Figure 3-2. Syntax Tree of the MEMORY{} Command
Segment Declarations
A segment declaration declares a memory segment on the target processor.
Although an LDF may contain only one
to all scopes, there is no limit to the number of memory segments declared
within a
MEMORY{}
3-30
MEMORY{}
command appears in
MEMORY{}
segment declaration
}
{
TYPE(RAM | ROM)
address_expression
START(
length_expression
LENGTH(
width_expression
WIDTH(
}
command.
VisualDSP++ 3.5 Linker and Utilities Manual
command with a
Figure
3-2, followed by
.
)
|
address_expression
)
END(
)
command that applies
MEMORY{}
for 16-Bit Processors
SECTIONS{}
com-
MEMORY{}
)
Need help?
Do you have a question about the VisualDSP++ 3.5 and is the answer not in the manual?