13.07.2015 Views

DSP56xxx C Cross-Compiler User's Guide - Tasking

DSP56xxx C Cross-Compiler User's Guide - Tasking

DSP56xxx C Cross-Compiler User's Guide - Tasking

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4–66Chapter 4Option:Project | Project Options...C <strong>Compiler</strong>OptimizationCustom optimizationOptimizationRegister contents trackingPragma:Default:Description:Example:/** Compile with –OX –O0* Compile with –Ox –O0, register contents tracking,* the overlay scratch section is removed*/int a, b, c;void main(void){a = 2;switch(b){case 1:c = 3;break;case 2:case 3:c = 0;break;}}

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!