14 Software Examples
14 – 2
Each module is prefaced by a comment block that provides the following
information:
Calling Parameters
Register values that the calling program must
set before calling the subroutine
Return Values
Registers that hold the results of the subroutine
Altered Registers
Registers used by the subroutine. The calling
program must save them before calling the
subroutine and restore them afterward if it
needs to preserve their values.
Computation Time
The number of instruction cycles needed to
perform the subroutine
14.2
SYSTEM DEVELOPMENT PROCESS
The ADSP-2100 family of processors is supported by a complete set of
development tools. Programming aids and processor simulators facilitate
software design and debug. In-circuit emulators and demonstration
boards help in hardware prototyping.
The software development system includes several programs: System
Builder, Assembler, Linker, PROM Splitter, Simulators and C Compiler
with Runtime Library. These programs are described in detail in the
ADSP-2100 Family Assembler Tools & Simulator Manual, ADSP-2100 Family
C Tools Manual, and ADSP-2100 Family C Runtime Library Manual.
Figure 14.1 shows a flow chart of the system development process.
The development process begins with the task of describing the hardware
environment for the development software. You create a system
specification file using a text editor. This file contains simple directives
that describe the locations of memory and I/O ports, the type of
processor, and the state of the MMAP pin in the target hardware
configuration. The system builder reads this file and generates an
architecture description file which passes information to the linker,
simulator and emulator.
You begin code generation by creating source code files in C language or