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.

Getting error while compiling ".s" assembler file in CCSv5.1.0.09000

Other Parts Discussed in Thread: OMAP-L137

Hello,

I am trying to compile my project in CCSv5.1 (Version:5.1.0.09000) but i failed to do so. As

it is giving errors in ".s" i.e. assembler files saying it as illegal mnemonics although while creating project

i had selected device type as ARM9 (I am working on OMAP-L137) and this project i am using as a static library.

Below are the statements where i am getting error:

 

 

 

.type

 

 

InsureCPU_Env, %function                         // illegal mnemonic specified

swi 0x0                                                                 // Comment field value must be an absolute constant

.arm                                                                      // expected a declaration

orrne r2,r2,#0x80                                                // '#' not expected here

what is .arm means for...?

Although, this project is successfully compiled in Code sourcery.  

Do i need to set any options in Assembler options? If so then please help me in that...

Thanks,

Priya