next up previous contents
Next: 14.4 Loading an ICB Up: 14 Binary Programs Previous: 14.2 Interrupt-Driven Binary Programs

14.3 The Binary Object File

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.

Fred G. Martin
Fri Mar 29 17:44:15 EST 1996