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.

MOV32 Instruction Support

Other Parts Discussed in Thread: AM3359

I am using Code Composer Studio Version: 5.3.0.00090 , TI compiler version 5.0.2.

 

According to the ARM assembler documentation , MOV32 instruction is supported in v 5.0.2 version of the compiler for ARM architectures ARMv6T2 and above.  I am compiling for ArmV7 ( Cortex-A8).

However, I get the following error -

C:/ti/ccsv5/tools/compiler/tms470_5.0.2/bin/armcl" -mv7A8 --code_state=32 --abi=eabi -me -g --include_path="C:/ti/ccsv5/tools/compiler/tms470_5.0.2/include" --define=am3359 --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="copy.pp"  "../copy.asm"

"../copy.asm", WARNING! at line 14: [W0004] Invalid instruction modifier(s) ignored

1 Assembly Error, 1 Assembly Warning

MOV32 r3, #0xABCDEF12   ; loads 0xABCDEF12 into R3


"../copy.asm", ERROR!   at line 14: [E0004] Immediate cannot be greater than 16-bits

 

What is the issue ?