Memory Overlays and Advanced LDF Commands
Your LDF may contain multiple
maximum number of processors that can access a shared memory is pro-
cessor-specific. The
scope of a
MEMORY{}
cessors that share this memory must also appear within this scope.
Figure 5-10
shows the syntax for the
lowed by definitions of its components.
SHARED_MEMORY
Figure 5-10. SHARED_MEMORY{} Command Syntax
The command components are:
•
OUTPUT()
shared memory executable (
SHARED_MEMORY{}
command in that scope.
•
SECTIONS()
memory executable (
Figure 5-11
shows the scope of
VisualDSP++ 3.5 Linker and Utilities Manual
for 16-Bit Processors
SHARED_MEMORY{}
SHARED_MEMORY{}
command.
PROCESSOR{}
{
file_name
OUTPUT(
section_commands
SECTIONS{
}
– Specifies the output file name (
command must appear before the
– Defines sections for placement within the shared
)
.SM
SHARED_MEMORY{}
commands, but the
command must appear within the
commands declaring the pro-
SHARED_MEMORY{}
.SM)
}
file_name
) file. An
.SM
OUTPUT()
commands in the LDF.
command, fol-
.
) of the
SM
command in a
SECTIONS{}
5-39
Need help?
Do you have a question about the VisualDSP++ 3.5 and is the answer not in the manual?