
Manual Organization
Motorola
Introduction
1-5
1.4 Manual Organization
Installation details are provided in Chapter 2, the compiler operation is described in
Chapters 3-6 and reference information is in Chapter 3 and Appendices A-E. The contents
of each chapter and each appendix are described below.
Chapter 1, "Introduction," describes the overall organization of the DSP56KCC compiler
system. It also details the structure of this document, and conventions followed herein.
Chapter 2, "Installation Guide," describes the installation and organization of
DSP56KCC. It details how to set up an operating environment on the host system by
defining global environment variables and includes a step-by-step installation procedure.
Chapter 3, "Control Program Options," discusses the four passes of the compilation
process with particular attention to the functions of the compiler control program G56k.
This chapter includes a list of the compiler invocation options along with example
command lines for different memory and program configurations.
Chapter 4, "About g56k," provides information on the compiler run-time environment,
including explanations of compiler register and memory usage, stack frame architecture,
stack overflow checking, and defining/referencing of absolute memory locations.
Additionally, this chapter covers implementation issues such as data type sizes.
Chapter 5, "Mixing C and Assembly Language," discusses the methods for using
assembly language in conjunction with C language programs. It covers the inclusion of
assembly language within a C source file and also describes linking assembly language
modules with C modules and linking C modules with assembly language modules.
Chapter 6, "Software-Hardware Integration," describes how to modify a program’s
run-time environment, how to write software to handle interrupts, and the
setjmp/longjmp
ANSI library routines.
Appendix A, "Programming Support," provides a complete description and brief example
for every ANSI library subroutine distributed with the C compiler.
Appendix B, "DSP56000/DSP56001 Instruction Set and Assembler Directive Summary,"
provides a brief overview of the assembly language instructions and assembler directives.
Appendix C, "Utilities," provides DSP56000/1 Assembler manual pages for each of the
supporting programming utilities provided with the compiler.
Appendix D, "GNU Debugger (GDB)," provides a description of software, hardware,
support telephone numbers, and suggested reading for the C language and various areas of
DSP.
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.