Chapter 2
SPRU352G – June 2005 – Revised February 2007
General Programming Guidelines
In this chapter, we develop programming guidelines that apply to all algorithms on all
DSP architectures, regardless of application area.
Topic .................................................................................................. Page
2.1 Use of C Language .................................................................... 16
2.2 Threads and Reentrancy ............................................................ 16
2.3 Data Memory ............................................................................ 19
2.4 Program Memory ..................................................................... 23
2.5 ROM-ability .............................................................................. 23
2.6 Use of Peripherals .................................................................... 24
SPRU352G – June 2005 – Revised February 2007 General Programming Guidelines 15
Submit Documentation Feedback