Assembling a file, General information – Motorola HC12 User Manual

Page 32

Advertising
background image

User’s Manual

MCUez HC12 Assembler

32

General Information

MOTOROLA

General Information

4. The file is assembled, as shown in

Figure 1-8

, when the Assemble

button is clicked.

Figure 1-8. Assembling a File

The macro assembler indicates a successful assembler session by printing the
number of generated bytes of code. The message Code size: 10 indicates that
test.asm was assembled without errors. The macro assembler generates a binary
object file and a debug listing file for each source file. The binary object file has
the same name as the input module with an extension of .o. The debug listing
file has the same name as the input module, with an extension of .dbg.

When the assembly option -L is specified on the command line, the macro
assembler generates a list file containing the source instruction and
corresponding hexadecimal code.

Advertising