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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4–70Chapter 4Example:/** Compile with –OZ –O0, sequential register allocation, the* same register is used for each allocation.* Compile with –Oz –O0, non sequential register allocation.* Three different registers are used for the allocations.*/int a[3];voidmain( void ){a[0] = 0;a[1] = 1;a[2] = 2;}optimize

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

Saved successfully!

Ooh no, something went wrong!