Assembling and Linking with CodeWarrior IDE

The CodeWarrior IDE simplifies the assembly of your assembly source code. To assemble and link all the files in the project, select the project in the CodeWarrior Projects view and select Project > Build Project from the IDE menu bar. The files generated after assembling and linking the project are placed into the <CPU Derivative>subfolder in the project directory. The files include:

Also, when you build a project, the project's source code files assembles into object ( *.obj) files.

The object files are generated and placed into the <CPU Derivative>\Sourcessubfolder in the project directory. The path of the object file created on assembling the main.asm file is:

<project directory>\<CPU Derivative>\Sources\main.obj

The Wizard does not generate default assembler-output listing files. If you want such listing files generated, follow the steps in topic Generating Listing Files.

You can add the *.lst files to the project window for easier viewing. This way you do not have to continually hunt for them with your editor.