Assembling with Assembler

It is also possible to use the HC(S)08/RS08 Assembler as a standalone assembler. If you prefer not to use the assembler but you want to use the Linker, you can skip this section and proceed to Linking Application.

This tutorial does not create another project from scratch with the Build Tools, but instead uses some files of a project already created by the New Bareboard Project wizard. The CodeWarrior IDE can create, configure, and manage a project much easier and quicker than using the Build Tools. However, the Build Tools could also create and configure another project from scratch.

A Build Tool, such as the Assembler makes use of a project directory file for configuring and locating its input and generated files. The folder that is designated for this purpose is referred to by a Build Tool as the current directory.

Start the Assembler by double-clicking the ahc08.exe file in the <MCU>\prog folder in the CodeWarrior installation directory. The Assembler opens (refer to the figure listed below). Read the tip displayed in the Tip of the Day dialog box, if you want to, and then click Close to close the dialog box.

Figure 1. HC08 Assembler Default Configuration Dialog Box
HC08 Assembler Default Configuration Dialog Box