It was mentioned previously that the assembler output listing files are not generated without making configuration changes for the build target. To generate listing files, set up assembler options:
- In the
CodeWarrior Projects
view, right-click the assembler project for which you want to generate output listing files.
- Select
Properties
from the context menu that appears. The
Properties for <project name> dialog box appears.
- Select
C/C++ Build > Settings
. The
Tool Settings
page appears in the right panel.
- Select
S12Z Assembler > Output
in the
Tool Settings
page.
- Specifies the name,
%n, and path,
%TEXTPATH, of the assembly listing file in the
Generate listing file ( e.g. %(TEXTPATH)/%n.lst )
text box. For example, enter
<Workspace>\Project_1/lis.lst in the text box, if
<Workspace>\Project_1 and
lis.lst are the path and name of the listing file, where
<Workspace> is the current working directory.
- Click
Apply
to save the modified settings.
- Click
OK
to close the
Properties
dialog box.
- Right-click the project in the
CodeWarrior Projects
view and select
Build Project
from the context menu.
The listing file appears in the
CodeWarrior Projects
view under the specified directory.
The following figure displays the assembly listing file in the
CodeWarrior Projects
view.
Figure 1.
CodeWarrior Projects View - Assembly Listing File
