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.

3–38Chapter 3#define BLOCKSIZE 10int _Y array[10][BLOCKSIZE];void main(void){__asm( ”do #%5,_copy \n”” move y:(%0)+,%2 \n”” move %2,y:(%1)+ \n”);}”_copy:\n”: ”=A”, ”=A”, ”=r”: ”0”(&array[2]), ”1”(&array[4]), ”i”(2*BLOCKSIZE)move #Farray+20,r0move #Farray+40,r1do #20,_copymove y:(r0)+,n6move n6,y:(r1)+_copy:

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

Saved successfully!

Ooh no, something went wrong!