C Compiler Overview
1-5
Introduction
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,
-
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
.
Summary of Contents for TMS320C2x
Page 8: ...viii...
Page 69: ...2 47 C Compiler Description...
Page 159: ...6 36...
Page 226: ...8 6...