The source file for a binary program must be named with the .asm suffix. Once the .asm file is created, a special version of the 6811 assembler program is used to construct the binary object code. This program creates a file containing the assembled machine code plus label definitions of entry points and C variables.
Figure 6: Sample IC
Binary Object File: testicb.icb
The program as11_ic is used to assemble the source code and create a binary object file. It is given the filename of the source file as an argument. The resulting object file is automatically given the suffix .icb (for IC Binary). Figure 6 shows the binary object file that is created from the
testicb.asm example file.