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.

Language Implementation 3–71_fract SomeVariable;_fract _circ input_buf[100];void func(void){_fract _circ *inPtr = input_buf;}...*inPtr++ = SomeVariable;...Ffunc:...move #Finput_buf,r3 ; load buffer address; in pointermove #100–1,m3; load modulo valuemove x:FSomeVariable,x0 ; get value of; SomeVariablemove x0,x:(r3)+; store value at; buffer location and; increment pointer. ; more actions with. ; inPtrmove m7,m3; disable modulo of m3; (m7 always contains; –1 in the mixed or; reentrant model)..input_buf• • • • • • • •

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

Saved successfully!

Ooh no, something went wrong!