Analog Devices VisualDSP++ 3.5 Manual page 306

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

Advertisement

Linking Large Uninitialized or Zero-initialized Variables
Listing D-2. Large Uninitialized Variables: Assembly Source
.SECTION/DATA extram_area;
.VAR
.SECTION
.VAR
Listing D-3. Large Uninitialized Variables: LDF Source
ARCHITECTURE(ADSP-219x)
$OBJECTS = $COMMAND_LINE_OBJECTS;
MEMORY {
mem_extram {
TYPE(DM RAM) START(0x10000) END(0x15fff) WIDTH(16)
}
// end segment
}
// end memory
PROCESSOR P0 {
LINK_AGAINST ( $COMMAND_LINE_LINK_AGAINST )
OUTPUT ( $COMMAND_LINE_OUTPUT_FILE )
// NO_INIT section is not written to output file
SECTION {
extram_output NO_INIT {
INPUT_SECTIONS ( $OBJECTS ( extram_area ) )}
>mem_extram;
SECTION {
zero_extram_output ZERO_INIT {
INPUT_SECTIONS ( $OBJECTS ( zero_extram_area ) )}
>mem_extram;
}
// end section
}
// end processor P0
D-6
huge_buffer[0x006000];
zero_extram_area;
huge_zero_buffer[0x006000];
VisualDSP++ 3.5 Linker and Utilities Manual
/* 1Mx16 EXTRAM */
// Libraries & objects from
// the command line
for 16-Bit Processors

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