This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CLA Assembler issue with float32 constant



Hello 

I found a problem with assembler for CLA (CCS Version: 4.1.2.00027 ,  on  28035 device connected with XDS100v2 emulator).

If I use the instruction

MMOVI32 MR2, #32010.00 ;

it should be loaded in MR2 with two 16 bit move as:  

0x00009448:   784246FA    MMOVIZ     MR2, #0x46fa

0x0000944A:   78821400    MMOVXI     MR2, #0x1400

 

but it really give back an error "  [E0201] Illegal floating-point expression "

Only fix I found is to manually convert in hex the floating point value then use it, but is not very comfortable way of programming. 

MMOVI32 MR2, #0x46FA1400 ;

 

Bye , Loriano.