466
|
1 <chapter>
|
|
2 <title>Characteristics of Compiled Programs</title>
|
|
3
|
|
4 <section>
|
|
5 <title>The Object Code Module</title>
|
|
6 <para>
|
468
|
7 The compiler produces position-independent, reentrant 6809 code
|
|
8 in a standard OS-9 memory module format. The format of an executable
|
|
9 program module is shown below. Detailed descriptions of each
|
|
10 section of the module are given on following pages.
|
466
|
11 </para>
|
468
|
12 <informalfigure>
|
|
13 <screen>
|
|
14 Module
|
|
15 Offset
|
466
|
16
|
468
|
17 +-------------------------------+
|
|
18 ! !
|
|
19 ! Module Header !
|
|
20 ! !
|
|
21 !-------------------------------!
|
|
22 ! Execution Offset !
|
|
23 !-------------------------------!
|
|
24 ! Permanent Storage Size !
|
|
25 !-------------------------------!
|
|
26 ! Data-text Reference Count !
|
|
27 v v
|
|
28 : Data-text Reference Offsets :
|
|
29 ^ ^
|
|
30 </screen>
|
|
31 </informalfigure>
|
466
|
32 <section>
|
468
|
33 <title>Module Header</title>
|
466
|
34 <para>
|
468
|
35 This is a standard module header with the type/language byte set to
|
|
36 $11 (Program + 6809 Object Code), and the attribute/revision byte
|
|
37 set to $81 (Reentrant + 1).
|
466
|
38 </para>
|
|
39 </section>
|
468
|
40 </section>
|
466
|
41 </chapter>
|