Code Composer Studio
Figure 2.8 TMS320C55x software development using CCS
view the contents of the registers and the memory locations. The data in the registers and
the memory locations can be modified manually. The data can be displayed in hexadeci-
mal, decimal integer, or floating-point formats. The execution of the program can be
single-stepped through the code, run-to-cursor, or controlled by applying breakpoints.
DSK and EVM are development boards with the C55x processor. They can be used for
real-time analysis of DSP algorithms, code logic verification, and simple application
tests. The XDS allows breakpoints to be set at a particular point in a program to examine
the registers and the memory locations in order to evaluate the real-time results using a
DSP board. Emulators allow the DSP software to run at full-speed in a real-time
2.3.5 Assembly Statement Syntax
The TMS320C55x assembly program statements may be separated into four ordered
fields. The basic syntax expression for a C55x assembly statement is
[label][:]mnemonic [operand list][;comment]
The elements inside the brackets are optional. Statements must begin with a label, blank,
asterisk, or semicolon. Each field must be separated by at least one blank. For ease of
reading and maintenance, it is strongly recommended that we use meaningful mnemonics
for labels, variables, and subroutine names, etc. An example of a C55x assembly state-
ment is shown in Figure 2.9. In this example, the auxiliary register, AR1, is initialized to a
constant value of 2.
Label field: Alabel can contain up to 32 alphanumeric characters (A±Z, a±z, 0±9, _ ,
and $). It associates a symbolic address with a unique program location. The line that is
labeled in the assembly program can then be referenced by the defined symbolic name.
This is useful for modular programming and branch instructions. Labels are optional,
but if used, they must begin in column 1. Labels are case sensitive and must start with an
alphabetic letter. In the example depicted in Figure 2.9, the symbol start is a label and
is placed in the first column.
Mnemonic field: The mnemonic field can contain a mnemonic instruction, an assem-
bler directive, macro directive, or macro call. The C55x instruction set supports both
SOFTWARE DEVELOPMENT TOOLS