![Texas Instruments TMS320C80 User Manual Download Page 31](http://html.mh-extra.com/html/texas-instruments/tms320c80/tms320c80_user-manual_1094755031.webp)
2-1
Chapter Title—Attribute Reference
Programming for Compatibility
By following simple compatibility guidelines, you can write code
that will run equally well on both the ’C80 and the ’C82. Object
code written with these guidelines in mind should run on both de-
vices without recompiling or relinking.
In this chapter, you will find information that will help you:
-
Select the best compatibility technique for your application.
-
Write programs that will run on both the ’C80 and the ’C82.
-
Write code that can test which device it is running on (’C80 or
’C82).
-
Write code that correctly initializes a PP’s stack pointer based
upon which device it is running on.
Topics
2.1
Programming Considerations
2-2
. . . . . . . . . . . . . . . . . . . .
2.2
Obtaining Device-Specific Information
2-3
. . . . . . . . . . . .
2.3
Technique #1: Using Only Common RAM
2-6
. . . . . . . . . .
2.4
Technique #2: Using Pointers to Allocate RAM
2-8
. . . .
Chapter 2
Summary of Contents for TMS320C80
Page 2: ...SPRU154 Printed in U S A November 1995 M418017 9741 revision ...
Page 8: ...vi TMS320C80 to TMS320C82 Software Compatibility User s Guide ...
Page 16: ...xiv TMS320C80 to TMS320C82 Software Compatibility User s Guide ...
Page 30: ...1 14 TMS320C80 to TMS320C82 Software Compatibility User s Guide ...
Page 40: ...2 10 TMS320C80 to TMS320C82 Software Compatibility User s Guide ...
Page 64: ...A 6 TMS320C80 to TMS320C82 Software Compatibility User s Guide ...