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.

7–32Chapter 7d = a + b – c;move x:Fa,b ; pass floating point a in facmove x:Fa+1,amove x:Fb,x0 ; pass floating point b in ftm1move x:Fb+1,x1jsr Rfpaddf2 ; perform add; The intermediate floating point; result stays in fac !move x:Fc,x0 ; pass floating point c in ftm 1move x:Fc+1,x1jsr Rfpsubf2 ; perform subtractmove a,x:Fd+1 ; store result from fac in dmove b,x:Fd

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

Saved successfully!

Ooh no, something went wrong!