14.1
OVERVIEW
This chapter provides a brief summary of the development process that
you use to create executable programs for the ADSP-2100 family
processors. The summary is followed by a number of software examples
that can give you an idea of how to write your own applications.
The software examples presented in this chapter are used a variety of DSP
operations. The FIR filter and cascaded biquad IIR filter are general filter
algorithms that can be tailored to many applications. Matrix
multiplication is used in image processing and other areas requiring
vector operations. The sine function is required for many scientific
calculations. The FFT (fast Fourier transform) has wide application in
signal analysis. Each of these examples is described in greater detail in
Digital Signal Processing Applications Using The ADSP-2100 Family, Volume
1, available from Prentice Hall. They are presented here to show some
aspects of typical programs.
The FFT example is a complete program, showing a subroutine that
performs the FFT and a main calling program that initializes registers and
calls the FFT subroutine as well as an auxiliary routine.
Each of the other examples is shown as a subroutine in its own module.
The module starts with a .MODULE directive that names the module and
ends with the .ENDMOD directive. The subroutine can be called from a
program in another module that declares the starting label of the
subroutine as an external symbol. This is the same label that is declared
with the .ENTRY directive in the subroutine module. The last instruction
in each subroutine is the RTS instruction, which returns control to the
calling program.
14 – 1
14
Software Examples