I want to assemble asm files

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I want to assemble asm files

Jump to solution
1,006 Views
andrewdavis
Contributor I

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

Labels (1)
0 Kudos
1 Solution
833 Views
Leojunin
Contributor III

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.

View solution in original post

0 Kudos
4 Replies
833 Views
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 Kudos
834 Views
Leojunin
Contributor III

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 Kudos
833 Views
andrewdavis
Contributor I

How do I configure CW as relocatable assembler?

Andrew

0 Kudos
833 Views
Leojunin
Contributor III

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 Kudos