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

Listing D-5
shows an example
describes a simple memory placement of an assembly source file
(Listing
D-4). The LDF file includes two commands,
, which describe specific memory and system information. Arrays
TIONS
and
x_input
y_input
advantage of the ADSP-2191's Harvard architecture.
Listing D-4. MyFile.ASM
.SECTION/CODE program;
.GLOBAL _main;
_main:
I2 = x_input;
L2 = 0;
M0 = 1;
I6 = y_input;
AX0 = I6;
reg(B6) = AX0;
L6 = length(y_input);
M6 = 1;
AX0 = DM(I2+=M0), AY1 = PM(I6+=M6);
...
.SECTION/DATA data1;
.VAR x_input[256];
.SECTION/DATA data2;
.VAR/CIRC y_input[256] = "myinput.dat";
Notice the
VisualDSP++ 3.5 Linker and Utilities Manual
for 16-Bit Processors
LDF Programming Examples for ADSP-21xx DSPs
.LDF
are stored in two different memory blocks to take
/* linear buffer
/* circular buffer */
section and the use of uppercase keywords.
data2
file (for an ADSP-2191 DSP) that
MEMORY
*/
and
SEC-
D-7

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?

Subscribe to Our Youtube Channel

Related Products for Analog Devices VisualDSP++ 3.5

Table of Contents