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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [lcc/] [mips/] [irix/] [tst/] [init.sbk] - Blame information for rev 4

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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