Assembler not legal in CodeWarrior

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Assembler not legal in CodeWarrior

1,033 次查看
sijiahao
Contributor III

Hello,

 

I have a problem when compiling assembler files using mwasmeppc.exe, this is the error message:

 

* Compiling s -> o
*
### mwasmeppc.exe Assembler:
#    File: ..\output\obj\cstartup.s
# ---------------------------------
#      88:   e_and2i. r3,0xFFF@l
#   Error:   ^^^^^^^^
#   Instruction not legal for current target processor(s)
### mwasmeppc.exe Assembler:
#      99:   sub r4,r3
#   Error:       ^^^^^
#   Not enough arguments for simplified mnemonic sub
### mwasmeppc.exe Assembler:
#     114:   e_or2i r31,0x4002
#   Error:   ^^^^^^
#   Instruction not legal for current target processor(s)

 

Some commands( e_and2i.  sub  e_or2i) can not be recognized, but this file cstartup.s works with other compiler(Greenhills, Windriver, etc)

 

CodeWarrior version: for MPC55xxMPC56xx v2.10.

MCU: XPC560XB

the cpu type is -proc Zen

 

I don't know if I miss some compiler options, or I need to include some compiler files?

 

Best regards,

Sijia

标签 (1)
0 项奖励
回复
1 回复

926 次查看
martin_kovar
NXP Employee
NXP Employee

Hi,

I have already answered your question in this thread:

https://community.nxp.com/thread/433463 

Regards,

Martin

0 项奖励
回复