Hi ,
I have a strange behavior , in the CLA module when comparing between Register and constant (#define) , the compiler issue [E0003] Unexpected trailing operand(s).
I look at ADC_CLA example for starting point .
The problematic code as follow:
CLA.asm
.....
....
MCMPF32 MR2,#N_1.0 ([E0003] Unexpected trailing operand(s))
.....
....
MCMPF32 MR3,#N_2.0 ([E0003] Unexpected trailing operand(s))
....
...
Where N_1 , N_2 are constantes ,that define in CLAShared.h
....
...
#define N 50
#define N_1 N-1
#define N_2 N-2
......
....
When writing the above lines with a specific Number such as :
.....
....
MCMPF32 MR2,#49.0
.....
....
MCMPF32 MR3,#48.0
....
....
There wont be any error .
any Suggestions ?