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.

3–60Chapter 3move x:ss_main+21,b ; uibror b ; _ror(uib, 2)ror bmove b1,x:ss_main+22 ; uiamove x:ss_main+22,b ; uiarep #3ror b ; _ror(uia, 3)move b1,x:ss_main+22 ; uia_fract _round( long _fract operand );volatile _fract fa, fb;volatile long _fract lfa, lfb;void main( void ){fa = _round(fa);fb = _round(lfa);lfb = _round(lfa);}move x:ss_main+12,brnd bmove b,x:ss_main+12;move x:ss_main+10,bmove x:ss_main+9,b0rnd bmove b,x:ss_main+11;move x:ss_main+10,bmove x:ss_main+9,b0rnd bmove b,x:ss_main+8; fa; _round(fa); fa; _round(lfa); fb; _round(lfa); lfb

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

Saved successfully!

Ooh no, something went wrong!