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.

Language Implementation 3–37int _Y array[100];void main(void){__asm( ”do #20,_copy \n”” move y:(%0)+,y0 \n”” move y0,y:(%1)+ \n””_copy:\n”: ”=A”, ”=A”: ”0”(&array[20]), ”1”(&array[40]) : ”y0” );}move #Farray+20,r0move #Farray+40,r1do #20,_copymove y:(r0)+,y0move y0,y:(r1)+_copy:• • • • • • • •

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

Saved successfully!

Ooh no, something went wrong!