1.2 C Compiler Overview
The TMS320C2x/C2xx/C5x C compiler is a full-featured optimizing compiler
that translates standard ANSI C programs into TMS320C2x/C2xx/C5x
assembly language source. The following list describes key characteristics of
the compiler:
ANSI-standard C
-
The TMS320C2x/C2xx/C5x compiler fully conforms to the ANSI C stan-
dard as defined by the ANSI specification and described in the second edi-
tion of Kernighan and Ritchie's The C Programming Language (K&R). The
ANSI C standard includes extensions to C that provide maximum
portability and increased capability.
ANSI-standard run-time support
-
The compiler tools include a complete run time library for each device. All
library functions conform to the ANSI C library standard. The libraries in-
clude functions for string manipulation, dynamic memory allocation, data
conversion, timekeeping, trigonometry, and exponential and hyperbolic
functions. Functions for I/O and signal handling are not included because
these are target-system specific. For more information, see Chapter 7,
Run-Time-Support Functions.
Assembly source output
-
The compiler generates assembly language source files that you can in-
spect easily, enabling you to see the code generated from the C source
files.
COFF object files
-
The common object file format (COFF) allows you to define your system's
memory map at link time. This maximizes performance by enabling you to
link C code and data objects into specific memory areas. COFF also sup-
ports source-level debugging.
Compiler shell program
-
The compiler tools include a shell program used to compile, and link pro-
grams in a single step. For more information, see section 2.1, About the
Shell Program, on page 2-2.
Flexible assembly language interface
-
The compiler has clear calling conventions, allowing you to easily write as-
sembly and C functions that call each other. For more information, see
Chapter 6, Run-Time Environment.
C Compiler Overview
Introduction
1-5
Need help?
Do you have a question about the TMS320C2x and is the answer not in the manual?