OpenCores
URL https://opencores.org/ocsvn/eco32/eco32/trunk

Subversion Repositories eco32

[/] [eco32/] [trunk/] [lcc/] [alpha/] [osf/] [tst/] [init.sbk] - Blame information for rev 233

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 4 hellwig
.sdata
2
.globl words
3
.align 2
4
words:
5
.long 0x1
6
.long 0x2
7
.long 0x3
8
.byte 105
9
.byte 102
10
.byte 0
11
.space 3
12
.space 2
13
.long 0x4
14
.long 0x5
15
.space 4
16
.byte 102
17
.byte 111
18
.byte 114
19
.space 3
20
.space 2
21
.long 0x6
22
.long 0x7
23
.long 0x8
24
.byte 101
25
.byte 108
26
.byte 115
27
.byte 101
28
.byte 0
29
.space 1
30
.space 2
31
.long 0x9
32
.long 0xa
33
.long 0xb
34
.byte 119
35
.byte 104
36
.byte 105
37
.byte 108
38
.byte 101
39
.space 1
40
.space 2
41
.long 0x0
42
.space 8
43
.space 8
44
.globl wordlist
45
.align 3
46
wordlist:
47
.quad words
48
.globl x
49
.align 2
50
x:
51
.long 0x1
52
.long 0x2
53
.long 0x3
54
.long 0x4
55
.long 0x0
56
.long 0x5
57
.long 0x6
58
.space 12
59
.long 0x7
60
.space 16
61
.globl y
62
.align 3
63
y:
64
.quad x
65
.quad x+20
66
.quad x+40
67
.quad 0x0
68
.globl main
69
.text
70
.text
71
.ent main
72
main:
73
ldgp $gp,0($27)
74
lda $sp,-80($sp)
75
.mask 0x4006000,-64
76
.frame $sp,80,$26,48
77
stq $13,0($sp)
78
stq $14,8($sp)
79
stq $26,16($sp)
80
.prologue 1
81
mov $31,$13
82
br L.8
83
L.5:
84
mov $31,$14
85
br L.12
86
L.9:
87
lda $16,L.13
88
sll $14,8*(8-4),$27
89
sra $27,8*(8-4),$27
90
sll $27,2,$27
91
sll $13,8*(8-4),$25
92
sra $25,8*(8-4),$25
93
sll $25,3,$25
94
ldq $25,y($25)
95
addq $27,$25,$27
96
ldl $17,($27)
97
jsr $26,printf
98
ldgp $gp,0($26)
99
L.10:
100
lda $14,1($14)
101
L.12:
102
sll $14,8*(8-4),$27
103
sra $27,8*(8-4),$27
104
sll $27,2,$27
105
sll $13,8*(8-4),$25
106
sra $25,8*(8-4),$25
107
sll $25,3,$25
108
ldq $25,y($25)
109
addq $27,$25,$27
110
ldl $27,($27)
111
cmpeq $27,$31,$23
112
beq $23,L.9
113
lda $16,L.14
114
jsr $26,printf
115
ldgp $gp,0($26)
116
L.6:
117
lda $13,1($13)
118
L.8:
119
sll $13,8*(8-4),$27
120
sra $27,8*(8-4),$27
121
sll $27,3,$27
122
ldq $27,y($27)
123
cmpeq $27,$31,$23
124
beq $23,L.5
125
jsr $26,f
126
ldgp $gp,0($26)
127
ldq $16,wordlist
128
jsr $26,g
129
ldgp $gp,0($26)
130
mov $31,$0
131
L.4:
132
ldq $13,0($sp)
133
ldq $14,8($sp)
134
ldq $26,16($sp)
135
lda $sp,80($sp)
136
ret
137
.end main
138
.sdata
139
.align 3
140
L.16:
141
.quad L.17
142
.quad L.18
143
.quad L.19
144
.quad L.20
145
.quad 0x0
146
.globl f
147
.text
148
.text
149
.ent f
150
f:
151
ldgp $gp,0($27)
152
lda $sp,-80($sp)
153
.mask 0x4004000,-72
154
.frame $sp,80,$26,48
155
stq $14,0($sp)
156
stq $26,8($sp)
157
.prologue 1
158
lda $14,L.16
159
br L.24
160
L.21:
161
lda $16,L.25
162
ldq $17,($14)
163
jsr $26,printf
164
ldgp $gp,0($26)
165
L.22:
166
lda $14,8($14)
167
L.24:
168
ldq $27,($14)
169
cmpeq $27,$31,$23
170
beq $23,L.21
171
mov $31,$0
172
L.15:
173
ldq $14,0($sp)
174
ldq $26,8($sp)
175
lda $sp,80($sp)
176
ret
177
.end f
178
.globl g
179
.text
180
.ent g
181
g:
182
ldgp $gp,0($27)
183
lda $sp,-80($sp)
184
.mask 0x4006000,-64
185
.frame $sp,80,$26,48
186
stq $13,0($sp)
187
stq $14,8($sp)
188
stq $26,16($sp)
189
mov $16,$14
190
.prologue 1
191
br L.30
192
L.27:
193
mov $31,$13
194
br L.34
195
L.31:
196
lda $16,L.35
197
sll $13,8*(8-4),$27
198
sra $27,8*(8-4),$27
199
sll $27,2,$27
200
addq $27,$14,$27
201
ldl $17,($27)
202
jsr $26,printf
203
ldgp $gp,0($26)
204
L.32:
205
lda $13,1($13)
206
L.34:
207
mov $13,$27
208
lda $25,3
209
cmpult $27,$25,$23
210
bne $23,L.31
211
lda $16,L.25
212
lda $17,12($14)
213
jsr $26,printf
214
ldgp $gp,0($26)
215
L.28:
216
lda $14,20($14)
217
L.30:
218
ldl $27,($14)
219
cmpeq $27,$31,$23
220
beq $23,L.27
221
jsr $26,h
222
ldgp $gp,0($26)
223
mov $31,$0
224
L.26:
225
ldq $13,0($sp)
226
ldq $14,8($sp)
227
ldq $26,16($sp)
228
lda $sp,80($sp)
229
ret
230
.end g
231
.globl h
232
.text
233
.ent h
234
h:
235
ldgp $gp,0($27)
236
lda $sp,-80($sp)
237
.mask 0x4004000,-72
238
.frame $sp,80,$26,48
239
stq $14,0($sp)
240
stq $26,8($sp)
241
.prologue 1
242
mov $31,$14
243
br L.40
244
L.37:
245
lda $16,L.41
246
lda $27,20
247
sll $14,8*(8-4),$25
248
sra $25,8*(8-4),$25
249
mulq $27,$25,$27
250
ldl $17,words($27)
251
ldl $18,words+4($27)
252
ldl $19,words+8($27)
253
lda $20,words+12($27)
254
jsr $26,printf
255
ldgp $gp,0($26)
256
L.38:
257
lda $14,1($14)
258
L.40:
259
mov $14,$27
260
lda $25,5
261
cmpult $27,$25,$23
262
bne $23,L.37
263
mov $31,$0
264
L.36:
265
ldq $14,0($sp)
266
ldq $26,8($sp)
267
lda $sp,80($sp)
268
ret
269
.end h
270
.rdata
271
.align 0
272
L.41:
273
.byte 37
274
.byte 100
275
.byte 32
276
.byte 37
277
.byte 100
278
.byte 32
279
.byte 37
280
.byte 100
281
.byte 32
282
.byte 37
283
.byte 115
284
.byte 10
285
.byte 0
286
.align 0
287
L.35:
288
.byte 37
289
.byte 100
290
.byte 32
291
.byte 0
292
.align 0
293
L.25:
294
.byte 37
295
.byte 115
296
.byte 10
297
.byte 0
298
.align 0
299
L.20:
300
.byte 119
301
.byte 104
302
.byte 105
303
.byte 108
304
.byte 101
305
.byte 0
306
.align 0
307
L.19:
308
.byte 101
309
.byte 108
310
.byte 115
311
.byte 101
312
.byte 0
313
.align 0
314
L.18:
315
.byte 102
316
.byte 111
317
.byte 114
318
.byte 0
319
.align 0
320
L.17:
321
.byte 105
322
.byte 102
323
.byte 0
324
.align 0
325
L.14:
326
.byte 10
327
.byte 0
328
.align 0
329
L.13:
330
.byte 32
331
.byte 37
332
.byte 100
333
.byte 0

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.