Prototyping Code Using Linker Command Files
3-7
Prototyping ’C82 Code on the ’C80
For more information on PP-relative addressing, see subsection
8.8.1.5,
PP-Relative Addressing, in the TMS320C80 (MVP) Par-
allel Processor User’s Guide.
3.4.2 Map Files
Map files show where sections are linked in memory. Specifically,
they show the names and address ranges of sections and global
variables.
You can cause the linker to generate a map file of your code by
specifying the –m option on the command line or in the linker
command file.
By examining the map file generated by the linker, you can verify
that the sections of your program are mapped into the proper
locations in memory.
For more information about map files, see subsection 13.3.8,
Create a map file (–m filename option), in the TMS320C80 (MVP)
Code Generation Tools User’s Guide.
3.4.3 Linking Your ’C82 Code for Prototyping on a ’C80
Example 3–1 is a sample PP C program that will be used to illus-
trate how code written for the ’C82 can be made to run on the ’C80
through linking. The program calculates the dot product of two
vectors, A and B. The source code needs to compiled only once;
the object file then only needs to be linked with the proper linker
command file for each device.
Содержание TMS320C80
Страница 1: ...TMS320C80 to TMS320C82 Software Compatibility User s Guide 1995 Digital Signal Processing Products ...
Страница 2: ...SPRU154 Printed in U S A November 1995 M418017 9741 revision ...
Страница 8: ...vi TMS320C80 to TMS320C82 Software Compatibility User s Guide ...
Страница 16: ...xiv TMS320C80 to TMS320C82 Software Compatibility User s Guide ...
Страница 30: ...1 14 TMS320C80 to TMS320C82 Software Compatibility User s Guide ...
Страница 40: ...2 10 TMS320C80 to TMS320C82 Software Compatibility User s Guide ...
Страница 64: ...A 6 TMS320C80 to TMS320C82 Software Compatibility User s Guide ...