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.

Run–time Environment 7–31Functioncfr21cfr22Modified register(s)A, B, Y, R0, N0A, B, Y, R0, N0c = a + b;move x:Fa,bmove x:Fa+1,amove x:Fb,x0move x:Fb+1,x1jsr Rfpaddf2move a,x:Fc+1move b,x:Fc; pass floating point a in fac; pass floating point b in ftm1; perform add; store result from fac in cfloat a;long b;a = b;move x:Fb+1,amove x:Fb,a0jsr Rfpcif22move a,x:Fa+1move b,x:Fa; pass long b in A; convert from long to float; store result from fac in a• • • • • • • •

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

Saved successfully!

Ooh no, something went wrong!