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.

C2000 Assembler issues a warning for MOVI32



CGT: 15.12.1.LTS 

Hi,

I have the following assembly instruction:

MOVI32    R4H, 0x39800801

The assembler generates a warning "[W0001] Value out of range" which it shouldn't in my opinion as the operand to this instruction is a 32 bit value.

I checked the listing file and it is generating the correct code so im not sure why the warning is there

     217 00000027 E801          MOVI32    R4H, 0x39800801
         00000028 CC04 
         00000029 E808 
         0000002a 400C

  • Thank you for reporting this problem.  I can reproduce your results.  I filed CODEGEN-1510 in the SDOWP system to have this addressed.  You are welcome to follow it with the SDOWP link below in my signature.

    Thanks and regards,

    -George