1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
|
.global main
.section ".text"
.align 4
main:
save %sp,-96,%sp
mov %g0,%o0
call exit; nop
mov %g0,%i0
.L1:
ret; restore
.type main,#function
.size main,.-main
.global nested
.align 4
nested:
cmp %o0,4; bge .L6; nop
cmp %o1,114; be .L9; nop
.L6:
cmp %o0,1; bne .L8; nop
cmp %o1,104; be .L9; nop
cmp %o1,105; be .L9; nop
.L8:
cmp %o0,2; bne .L3; nop
cmp %o1,111; be .L9; nop
cmp %o1,121; bne .L3; nop
.L9:
mov %o1,%o0
.L3:
mov %g0,%o0
.L2:
retl; nop
.type nested,#function
.size nested,.-nested
.global s
.align 4
s:
.L10:
retl; nop
.type s,#function
.size s,.-s
.section ".data"
.global Dy
.type Dy,#object
.size Dy,8
.align 4
Dy:
.word 0x0
.skip 4
.global Dz
.type Dz,#object
.size Dz,8
.align 4
Dz:
.word 0x1
.skip 4
.global Dfunc
.section ".text"
.align 4
Dfunc:
save %sp,-96,%sp
ret; restore
.type Dfunc,#function
.size Dfunc,.-Dfunc
.global f
.align 4
f:
retl; nop
.type f,#function
.size f,.-f
.global f1
.align 4
f1:
retl; nop
.type f1,#function
.size f1,.-f1
.global f2
.align 4
f2:
save %sp,-96,%sp
ret; restore
.type f2,#function
.size f2,.-f2
.global g
.align 4
g:
save %sp,-96,%sp
ret; restore
.type g,#function
.size g,.-g
.global h
.align 4
h:
save %sp,-96,%sp
ret; restore
.type h,#function
.size h,.-h
.global h1
.align 4
h1:
save %sp,-96,%sp
ret; restore
.type h1,#function
.size h1,.-h1
.global h2
.align 4
h2:
retl; nop
.type h2,#function
.size h2,.-h2
.section ".data"
.type .21,#object
.size .21,4
.align 4
.21:
.word 0x1
.global set1
.section ".text"
.align 4
set1:
retl; nop
.type set1,#function
.size set1,.-set1
.section ".data"
.type .23,#object
.size .23,4
.align 4
.23:
.word 0x2
.global set2
.section ".text"
.align 4
set2:
retl; nop
.type set2,#function
.size set2,.-set2
.align 4
goo:
retl; nop
.type goo,#function
.size goo,.-goo
.global sss
.align 4
sss:
retl; nop
.type sss,#function
.size sss,.-sss
.section ".bss"
.type .27,#object
.size .27,4
.local .27
.common .27,4,4
.global rrr
.section ".text"
.align 4
rrr:
retl; nop
.type rrr,#function
.size rrr,.-rrr
.global setstatic
.align 4
setstatic:
retl; nop
.type setstatic,#function
.size setstatic,.-setstatic
.global gx1
.align 4
gx1:
save %sp,-96,%sp
st %r24,[%fp+68]
st %r25,[%fp+72]
ret; restore
.type gx1,#function
.size gx1,.-gx1
.global ff1
.align 4
ff1:
save %sp,-96,%sp
st %r24,[%fp+68]
st %r25,[%fp+72]
ret; restore
.type ff1,#function
.size ff1,.-ff1
.global gg1
.align 4
gg1:
retl; nop
.type gg1,#function
.size gg1,.-gg1
.global hh1
.align 4
hh1:
retl; nop
.type hh1,#function
.size hh1,.-hh1
.global cmp
.align 4
cmp:
save %sp,-96,%sp
ret; restore
.type cmp,#function
.size cmp,.-cmp
.global sort
.align 4
sort:
save %sp,-96,%sp
ret; restore
.type sort,#function
.size sort,.-sort
.global onearg
.align 4
onearg:
save %sp,-96,%sp
ret; restore
.type onearg,#function
.size onearg,.-onearg
.section ".bss"
.global ss4
.type ss4,#object
.size ss4,4
.common ss4,4,4
.type ss2,#object
.size ss2,4
.local ss2
.common ss2,4,4
.type ss5,#object
.size ss5,4
.local ss5
.common ss5,4,4
.global ss3
.type ss3,#object
.size ss3,4
.common ss3,4,4
.type ss1,#object
.size ss1,4
.local ss1
.common ss1,4,4
.type yy,#object
.size yy,4
.local yy
.common yy,4,4
.global z
.type z,#object
.size z,4
.common z,4,4
.global y
.type y,#object
.size y,4
.common y,4,4
.global x
.type x,#object
.size x,4
.common x,4,4
.global b
.type b,#object
.size b,4
.common b,4,4
.global a
.type a,#object
.size a,4
.common a,4,4
|