Linking For Assembly Source File - 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

Linking for Assembly Source File

Linking for Assembly Source File
Listing C-5
shows an example
describes a simple memory placement of an assembly source file. The file
in
Listing C-4
from, L2 SRAM. This example assumes that the code and data declared in
L2 memory is cacheable within L1 code and data memories. The LDF file
includes two commands,
specific memory and system information. Refer to Notes for
on page 3-4
for information on items in this basic example.
Listing C-4. MyFile.ASM
.SECTION program;
.GLOBAL main;
main:
p0.l = myArray;
p0.h = myArray;
r0 = [p0++];
...
.SECTION data1;
.GLOBAL myArray;
.VAR myArray[256] = "myArray.dat";
Listing C-5. Simple .LDF File Based on Assembly Source File Only
#define L2_START 0xf0000000
#define L2_END
// Declare specific DSP Architecture here (for linker)
ARCHITECTURE(ADSP-BF535)
// LDF macro equals all object files in project command line
$OBJECTS = $COMMAND_LINE_OBJECTS;
// Describe the physical system memory below
MEMORY{
C-6
.LDF
contains code and data that is to reside in, and execute
and
MEMORY
0xf003ffff
VisualDSP++ 3.5 Linker and Utilities Manual
file for an ADSP-BF535 DSP that
, which are used to describe
SECTIONS
for 16-Bit Processors
Listing 3-1

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