I want to assemble asm files

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

I want to assemble asm files

跳至解决方案
2,422 次查看
andrewdavis
Contributor I

I have many files that are in coded ASM. Will CodeWarrior assemble these files?

标签 (1)
0 项奖励
回复
1 解答
2,249 次查看
Leojunin
Contributor IV

You must configure the CW as relocatable assembler, put all the files in the source folder, and add these to the project. Compile and ready.

在原帖中查看解决方案

0 项奖励
回复
4 回复数
2,249 次查看
trytohelp
NXP Employee
NXP Employee

Hi,

In addition to Daniel ...

With the project wizard File + New + BareBoard, for the Language and Build Tools Options you can select the Language.

The options available depends of the processors:

    DSC and S12Z: C, C++, Mixed C and ASM, ASM

    Coldfire: no option excepted to select C++

    Kinetis: C, C++ and ASM

    Qorivva: C and C++

    RS08: C and Relocatable Assembly (using linker)

    HCS08: C, C++ and Relocatable Assembly (using linker)

  

Regards


Have a great day,
Pascal
NXP Technical Support

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
2,250 次查看
Leojunin
Contributor IV

You must configure the CW as relocatable assembler, put all the files in the source folder, and add these to the project. Compile and ready.

0 项奖励
回复
2,249 次查看
andrewdavis
Contributor I

How do I configure CW as relocatable assembler?

Andrew

0 项奖励
回复
2,249 次查看
Leojunin
Contributor IV

Init CW

If init "Startup menu" select "Create new project"

if not let File > Startup dialog then select "Create new project"

Follow the steps

at a certain point will give you wondering language options:

C ++

C

assembler

relocatable assembler

select relocatable assembler

when you finish add your .asm file in the sources folder located within the project folder

Then in the project, right-click on the sources folder and choose Add Files

find the .asm files you want to add using the browser opens.

and ready.

0 项奖励
回复