SHARC assember float scaled by a constant gives a syntax error

The code:

f0 = float r11 by 31;

gives Syntax Error at "31".

f0 = float r11 by -31;

gives Syntax Error at "-". 

the code

f0=float r11 by r13;

is fine.

Assember version is SHARC Family Assembler

Command line is:

"C:\Analog Devices\CrossCore Embedded Studio 2.8.1"\easm21k.exe -proc ADSP-SC589 -si-revision 1.0 -g -W1130 -l Build\converter_fix_to_float_with_DC_offset_filter_multi_channel_.l  -save-temps -D_DEBUG  -D_INCLUDE_LEGACY_SYSREG_NAMES -iC:\SVN\3.0.0_graham_dev\NionDSP\pion_dsp\algos   -iC:\SVN\3.0.0_graham_dev\NionDSP\pion_dsp -i"C:\Analog Devices\CrossCore Embedded Studio 2.8.1"\SHARC\include -nwc -char-size-32 ..\algos\converter_fix_to_float_with_DC_offset_filter_multi_channel_.asm -o Build\converter_fix_to_float_with_DC_offset_filter_multi_channel_.doj

Parents Reply Children