4 <meta http-equiv=
"Content-Type" content=
"text/html">
5 <meta name=
"description" content=
"STABS">
6 <meta name=
"generator" content=
"makeinfo 4.3">
7 <link href=
"http://www.gnu.org/software/texinfo/" rel=
"generator-home">
12 Node:
<a name=
"Assembly%20Code">Assembly Code
</a>,
13 Previous:
<a rel=
"previous" accesskey=
"p" href=
"C-Example.html#C%20Example">C Example
</a>,
14 Up:
<a rel=
"up" accesskey=
"u" href=
"Overview.html#Overview">Overview
</a>
18 <h3 class=
"section">The Simple Example at the Assembly Level
</h3>
20 <p>This simple
"hello world" example demonstrates several of the stab
21 types used to describe C language source files.
23 <pre class=
"example"> 1 gcc2_compiled.:
24 2 .stabs
"/cygint/s1/users/jcm/play/",
100,
0,
0,Ltext0
25 3 .stabs
"hello.c",
100,
0,
0,Ltext0
28 6 .stabs
"int:t1=r1;-2147483648;2147483647;",
128,
0,
0,
0
29 7 .stabs
"char:t2=r2;0;127;",
128,
0,
0,
0
30 8 .stabs
"long int:t3=r1;-2147483648;2147483647;",
128,
0,
0,
0
31 9 .stabs
"unsigned int:t4=r1;0;-1;",
128,
0,
0,
0
32 10 .stabs
"long unsigned int:t5=r1;0;-1;",
128,
0,
0,
0
33 11 .stabs
"short int:t6=r1;-32768;32767;",
128,
0,
0,
0
34 12 .stabs
"long long int:t7=r1;0;-1;",
128,
0,
0,
0
35 13 .stabs
"short unsigned int:t8=r1;0;65535;",
128,
0,
0,
0
36 14 .stabs
"long long unsigned int:t9=r1;0;-1;",
128,
0,
0,
0
37 15 .stabs
"signed char:t10=r1;-128;127;",
128,
0,
0,
0
38 16 .stabs
"unsigned char:t11=r1;0;255;",
128,
0,
0,
0
39 17 .stabs
"float:t12=r1;4;0;",
128,
0,
0,
0
40 18 .stabs
"double:t13=r1;8;0;",
128,
0,
0,
0
41 19 .stabs
"long double:t14=r1;8;0;",
128,
0,
0,
0
42 20 .stabs
"void:t15=15",
128,
0,
0,
0
45 23 .ascii
"Hello, world!\12\0"
61 39 or %o1,%lo(LC0),%o0
72 50 .stabs
"main:F1",
36,
0,
0,_main
73 51 .stabn
192,
0,
0,LBB2
74 52 .stabn
224,
0,
0,LBE2