1 |
2 |
tak.sugawa |
|
2 |
|
|
test.exe: file format elf32-bigmips
|
3 |
|
|
|
4 |
|
|
No symbols in "test.exe".
|
5 |
|
|
Disassembly of section .text:
|
6 |
|
|
|
7 |
|
|
00000000 <.text>:
|
8 |
|
|
0: 3c1c0000 lui $gp,0x0
|
9 |
|
|
4: 379c0000 ori $gp,$gp,0x0
|
10 |
|
|
8: 3c040000 lui $a0,0x0
|
11 |
|
|
c: 34840000 ori $a0,$a0,0x0
|
12 |
|
|
10: 3c050000 lui $a1,0x0
|
13 |
|
|
14: 34a50000 ori $a1,$a1,0x0
|
14 |
|
|
18: 3c1d0000 lui $sp,0x0
|
15 |
|
|
1c: 37bdfff0 ori $sp,$sp,0xfff0
|
16 |
|
|
20: ac800000 sw $zero,0($a0)
|
17 |
|
|
24: 0085182a slt $v1,$a0,$a1
|
18 |
|
|
28: 1460fffd bnez $v1,0x20
|
19 |
|
|
2c: 24840004 addiu $a0,$a0,4
|
20 |
|
|
30: 0c000075 jal 0x1d4
|
21 |
|
|
34: 00000000 nop
|
22 |
|
|
38: 0800000e j 0x38
|
23 |
|
|
3c: 341affff li $k0,0xffff
|
24 |
|
|
40: 341b002e li $k1,0x2e
|
25 |
|
|
44: a35b0000 sb $k1,0($k0)
|
26 |
|
|
48: 341a0001 li $k0,0x1
|
27 |
|
|
4c: 401b7000 mfc0 $k1,$epc
|
28 |
|
|
50: 03600008 jr $k1
|
29 |
|
|
54: 409a6000 mtc0 $k0,$status
|
30 |
|
|
58: 03e00008 jr $ra
|
31 |
|
|
5c: 40846000 mtc0 $a0,$status
|
32 |
|
|
60: 3405ffff li $a1,0xffff
|
33 |
|
|
64: 03e00008 jr $ra
|
34 |
|
|
68: a0a40000 sb $a0,0($a1)
|
35 |
|
|
6c: 3405ffff li $a1,0xffff
|
36 |
|
|
70: 80860000 lb $a2,0($a0)
|
37 |
|
|
74: 10c00003 beqz $a2,0x84
|
38 |
|
|
78: 24840001 addiu $a0,$a0,1
|
39 |
|
|
7c: 1000fffc b 0x70
|
40 |
|
|
80: a0a60000 sb $a2,0($a1)
|
41 |
|
|
84: 03e00008 jr $ra
|
42 |
|
|
88: 34020000 li $v0,0x0
|
43 |
|
|
8c: 90820000 lbu $v0,0($a0)
|
44 |
|
|
90: 00000000 nop
|
45 |
|
|
94: 1040000f beqz $v0,0xd4
|
46 |
|
|
98: 00000000 nop
|
47 |
|
|
9c: 24033ffc li $v1,16380
|
48 |
|
|
a0: 8c620000 lw $v0,0($v1)
|
49 |
|
|
a4: 00000000 nop
|
50 |
|
|
a8: 30420100 andi $v0,$v0,0x100
|
51 |
|
|
ac: 1440fffc bnez $v0,0xa0
|
52 |
|
|
b0: 00000000 nop
|
53 |
|
|
b4: 90820000 lbu $v0,0($a0)
|
54 |
|
|
b8: 00000000 nop
|
55 |
|
|
bc: a0620000 sb $v0,0($v1)
|
56 |
|
|
c0: 24840001 addiu $a0,$a0,1
|
57 |
|
|
c4: 90820000 lbu $v0,0($a0)
|
58 |
|
|
c8: 00000000 nop
|
59 |
|
|
cc: 1440fff4 bnez $v0,0xa0
|
60 |
|
|
d0: 00000000 nop
|
61 |
|
|
d4: 03e00008 jr $ra
|
62 |
|
|
d8: 00000000 nop
|
63 |
|
|
dc: 308400ff andi $a0,$a0,0xff
|
64 |
|
|
e0: 24033ffc li $v1,16380
|
65 |
|
|
e4: 8c620000 lw $v0,0($v1)
|
66 |
|
|
e8: 00000000 nop
|
67 |
|
|
ec: 30420100 andi $v0,$v0,0x100
|
68 |
|
|
f0: 1440fffc bnez $v0,0xe4
|
69 |
|
|
f4: 24023ffc li $v0,16380
|
70 |
|
|
f8: a0440000 sb $a0,0($v0)
|
71 |
|
|
fc: 03e00008 jr $ra
|
72 |
|
|
100: 00000000 nop
|
73 |
|
|
104: 90820000 lbu $v0,0($a0)
|
74 |
|
|
108: 00000000 nop
|
75 |
|
|
10c: 10400009 beqz $v0,0x134
|
76 |
|
|
110: 00401825 move $v1,$v0
|
77 |
|
|
114: 24053ff0 li $a1,16368
|
78 |
|
|
118: 00601025 move $v0,$v1
|
79 |
|
|
11c: a0a20000 sb $v0,0($a1)
|
80 |
|
|
120: 24840001 addiu $a0,$a0,1
|
81 |
|
|
124: 90830000 lbu $v1,0($a0)
|
82 |
|
|
128: 00000000 nop
|
83 |
|
|
12c: 1460fffb bnez $v1,0x11c
|
84 |
|
|
130: 00601025 move $v0,$v1
|
85 |
|
|
134: 24023ff0 li $v0,16368
|
86 |
|
|
138: 03e00008 jr $ra
|
87 |
|
|
13c: a0400000 sb $zero,0($v0)
|
88 |
|
|
140: 308400ff andi $a0,$a0,0xff
|
89 |
|
|
144: 24023ff0 li $v0,16368
|
90 |
|
|
148: 03e00008 jr $ra
|
91 |
|
|
14c: a0440000 sb $a0,0($v0)
|
92 |
|
|
150: 27bdffd8 addiu $sp,$sp,-40
|
93 |
|
|
154: afbf0020 sw $ra,32($sp)
|
94 |
|
|
158: afb3001c sw $s3,28($sp)
|
95 |
|
|
15c: afb20018 sw $s2,24($sp)
|
96 |
|
|
160: afb10014 sw $s1,20($sp)
|
97 |
|
|
164: afb00010 sw $s0,16($sp)
|
98 |
|
|
168: 00809025 move $s2,$a0
|
99 |
|
|
16c: 241103e8 li $s1,1000
|
100 |
|
|
170: 3c13cccc lui $s3,0xcccc
|
101 |
|
|
174: 3673cccd ori $s3,$s3,0xcccd
|
102 |
|
|
178: 16200002 bnez $s1,0x184
|
103 |
|
|
17c: 0251001b divu $zero,$s2,$s1
|
104 |
|
|
180: 0007000d break 0x7
|
105 |
|
|
184: 00008012 mflo $s0
|
106 |
|
|
188: 26040030 addiu $a0,$s0,48
|
107 |
|
|
18c: 0c000050 jal 0x140
|
108 |
|
|
190: 308400ff andi $a0,$a0,0xff
|
109 |
|
|
194: 02110018 mult $s0,$s1
|
110 |
|
|
198: 00001012 mflo $v0
|
111 |
|
|
19c: 02429023 subu $s2,$s2,$v0
|
112 |
|
|
1a0: 00000000 nop
|
113 |
|
|
1a4: 02330019 multu $s1,$s3
|
114 |
|
|
1a8: 00001010 mfhi $v0
|
115 |
|
|
1ac: 000288c2 srl $s1,$v0,0x3
|
116 |
|
|
1b0: 1620fff1 bnez $s1,0x178
|
117 |
|
|
1b4: 00000000 nop
|
118 |
|
|
1b8: 8fbf0020 lw $ra,32($sp)
|
119 |
|
|
1bc: 8fb3001c lw $s3,28($sp)
|
120 |
|
|
1c0: 8fb20018 lw $s2,24($sp)
|
121 |
|
|
1c4: 8fb10014 lw $s1,20($sp)
|
122 |
|
|
1c8: 8fb00010 lw $s0,16($sp)
|
123 |
|
|
1cc: 03e00008 jr $ra
|
124 |
|
|
1d0: 27bd0028 addiu $sp,$sp,40
|
125 |
|
|
1d4: 27bdffe8 addiu $sp,$sp,-24
|
126 |
|
|
1d8: afbf0014 sw $ra,20($sp)
|
127 |
|
|
1dc: afb00010 sw $s0,16($sp)
|
128 |
|
|
1e0: 3c040000 lui $a0,0x0
|
129 |
|
|
1e4: 0c000041 jal 0x104
|
130 |
|
|
1e8: 24840410 addiu $a0,$a0,1040
|
131 |
|
|
1ec: 8f838018 lw $v1,-32744($gp)
|
132 |
|
|
1f0: 8f828014 lw $v0,-32748($gp)
|
133 |
|
|
1f4: 00000000 nop
|
134 |
|
|
1f8: 10620014 beq $v1,$v0,0x24c
|
135 |
|
|
1fc: 3c020000 lui $v0,0x0
|
136 |
|
|
200: 24460460 addiu $a2,$v0,1120
|
137 |
|
|
204: 8f828010 lw $v0,-32752($gp)
|
138 |
|
|
208: 3c036666 lui $v1,0x6666
|
139 |
|
|
20c: 34636667 ori $v1,$v1,0x6667
|
140 |
|
|
210: 00430018 mult $v0,$v1
|
141 |
|
|
214: 00004010 mfhi $t0
|
142 |
|
|
218: 00081843 sra $v1,$t0,0x1
|
143 |
|
|
21c: 000217c3 sra $v0,$v0,0x1f
|
144 |
|
|
220: 00622823 subu $a1,$v1,$v0
|
145 |
|
|
224: 8f848014 lw $a0,-32748($gp)
|
146 |
|
|
228: 8f838018 lw $v1,-32744($gp)
|
147 |
|
|
22c: 00000000 nop
|
148 |
|
|
230: 00031080 sll $v0,$v1,0x2
|
149 |
|
|
234: 00461021 addu $v0,$v0,$a2
|
150 |
|
|
238: ac450000 sw $a1,0($v0)
|
151 |
|
|
23c: 24630001 addiu $v1,$v1,1
|
152 |
|
|
240: af838018 sw $v1,-32744($gp)
|
153 |
|
|
244: 1464fff8 bne $v1,$a0,0x228
|
154 |
|
|
248: 00000000 nop
|
155 |
|
|
24c: af808020 sw $zero,-32736($gp)
|
156 |
|
|
250: 8f828014 lw $v0,-32748($gp)
|
157 |
|
|
254: 00000000 nop
|
158 |
|
|
258: 00021040 sll $v0,$v0,0x1
|
159 |
|
|
25c: af82801c sw $v0,-32740($gp)
|
160 |
|
|
260: 10400059 beqz $v0,0x3c8
|
161 |
|
|
264: 3c020000 lui $v0,0x0
|
162 |
|
|
268: 24500460 addiu $s0,$v0,1120
|
163 |
|
|
26c: 8f828014 lw $v0,-32748($gp)
|
164 |
|
|
270: 00000000 nop
|
165 |
|
|
274: af828018 sw $v0,-32744($gp)
|
166 |
|
|
278: 8f878010 lw $a3,-32752($gp)
|
167 |
|
|
27c: 10000007 b 0x29c
|
168 |
|
|
280: 00000000 nop
|
169 |
|
|
284: 8f838020 lw $v1,-32736($gp)
|
170 |
|
|
288: 8f828018 lw $v0,-32744($gp)
|
171 |
|
|
28c: 00000000 nop
|
172 |
|
|
290: 00620018 mult $v1,$v0
|
173 |
|
|
294: 00004012 mflo $t0
|
174 |
|
|
298: af888020 sw $t0,-32736($gp)
|
175 |
|
|
29c: 8f868018 lw $a2,-32744($gp)
|
176 |
|
|
2a0: 00000000 nop
|
177 |
|
|
2a4: 00062880 sll $a1,$a2,0x2
|
178 |
|
|
2a8: 00b02821 addu $a1,$a1,$s0
|
179 |
|
|
2ac: 8ca20000 lw $v0,0($a1)
|
180 |
|
|
2b0: 00000000 nop
|
181 |
|
|
2b4: 00470018 mult $v0,$a3
|
182 |
|
|
2b8: 00001012 mflo $v0
|
183 |
|
|
2bc: 8f838020 lw $v1,-32736($gp)
|
184 |
|
|
2c0: 00000000 nop
|
185 |
|
|
2c4: 00431821 addu $v1,$v0,$v1
|
186 |
|
|
2c8: af838020 sw $v1,-32736($gp)
|
187 |
|
|
2cc: 8f84801c lw $a0,-32740($gp)
|
188 |
|
|
2d0: 00000000 nop
|
189 |
|
|
2d4: 2482ffff addiu $v0,$a0,-1
|
190 |
|
|
2d8: af82801c sw $v0,-32740($gp)
|
191 |
|
|
2dc: 14400002 bnez $v0,0x2e8
|
192 |
|
|
2e0: 0062001a div $zero,$v1,$v0
|
193 |
|
|
2e4: 0007000d break 0x7
|
194 |
|
|
2e8: 2401ffff li $at,-1
|
195 |
|
|
2ec: 14410004 bne $v0,$at,0x300
|
196 |
|
|
2f0: 3c018000 lui $at,0x8000
|
197 |
|
|
2f4: 14610002 bne $v1,$at,0x300
|
198 |
|
|
2f8: 00000000 nop
|
199 |
|
|
2fc: 0006000d break 0x6
|
200 |
|
|
300: 00001812 mflo $v1
|
201 |
|
|
304: 00001010 mfhi $v0
|
202 |
|
|
308: aca20000 sw $v0,0($a1)
|
203 |
|
|
30c: af838020 sw $v1,-32736($gp)
|
204 |
|
|
310: 2484fffe addiu $a0,$a0,-2
|
205 |
|
|
314: af84801c sw $a0,-32740($gp)
|
206 |
|
|
318: 24c6ffff addiu $a2,$a2,-1
|
207 |
|
|
31c: af868018 sw $a2,-32744($gp)
|
208 |
|
|
320: 14c0ffd8 bnez $a2,0x284
|
209 |
|
|
324: 00000000 nop
|
210 |
|
|
328: 8f828014 lw $v0,-32748($gp)
|
211 |
|
|
32c: 00000000 nop
|
212 |
|
|
330: 2442fff2 addiu $v0,$v0,-14
|
213 |
|
|
334: af828014 sw $v0,-32748($gp)
|
214 |
|
|
338: 8f828010 lw $v0,-32752($gp)
|
215 |
|
|
33c: 00000000 nop
|
216 |
|
|
340: 14400002 bnez $v0,0x34c
|
217 |
|
|
344: 0062001a div $zero,$v1,$v0
|
218 |
|
|
348: 0007000d break 0x7
|
219 |
|
|
34c: 2401ffff li $at,-1
|
220 |
|
|
350: 14410004 bne $v0,$at,0x364
|
221 |
|
|
354: 3c018000 lui $at,0x8000
|
222 |
|
|
358: 14610002 bne $v1,$at,0x364
|
223 |
|
|
35c: 00000000 nop
|
224 |
|
|
360: 0006000d break 0x6
|
225 |
|
|
364: 00001812 mflo $v1
|
226 |
|
|
368: 8f848024 lw $a0,-32732($gp)
|
227 |
|
|
36c: 0c000054 jal 0x150
|
228 |
|
|
370: 00642021 addu $a0,$v1,$a0
|
229 |
|
|
374: 8f838020 lw $v1,-32736($gp)
|
230 |
|
|
378: 8f828010 lw $v0,-32752($gp)
|
231 |
|
|
37c: 00000000 nop
|
232 |
|
|
380: 14400002 bnez $v0,0x38c
|
233 |
|
|
384: 0062001a div $zero,$v1,$v0
|
234 |
|
|
388: 0007000d break 0x7
|
235 |
|
|
38c: 2401ffff li $at,-1
|
236 |
|
|
390: 14410004 bne $v0,$at,0x3a4
|
237 |
|
|
394: 3c018000 lui $at,0x8000
|
238 |
|
|
398: 14610002 bne $v1,$at,0x3a4
|
239 |
|
|
39c: 00000000 nop
|
240 |
|
|
3a0: 0006000d break 0x6
|
241 |
|
|
3a4: 00001010 mfhi $v0
|
242 |
|
|
3a8: af828024 sw $v0,-32732($gp)
|
243 |
|
|
3ac: af808020 sw $zero,-32736($gp)
|
244 |
|
|
3b0: 8f828014 lw $v0,-32748($gp)
|
245 |
|
|
3b4: 00000000 nop
|
246 |
|
|
3b8: 00021040 sll $v0,$v0,0x1
|
247 |
|
|
3bc: af82801c sw $v0,-32740($gp)
|
248 |
|
|
3c0: 1440ffaa bnez $v0,0x26c
|
249 |
|
|
3c4: 00000000 nop
|
250 |
|
|
3c8: 0c000050 jal 0x140
|
251 |
|
|
3cc: 2404000a li $a0,10
|
252 |
|
|
3d0: 3c040000 lui $a0,0x0
|
253 |
|
|
3d4: 0c000041 jal 0x104
|
254 |
|
|
3d8: 2484043c addiu $a0,$a0,1084
|
255 |
|
|
3dc: 3c040000 lui $a0,0x0
|
256 |
|
|
3e0: 0c000041 jal 0x104
|
257 |
|
|
3e4: 24840440 addiu $a0,$a0,1088
|
258 |
|
|
3e8: 8fbf0014 lw $ra,20($sp)
|
259 |
|
|
3ec: 8fb00010 lw $s0,16($sp)
|
260 |
|
|
3f0: 03e00008 jr $ra
|
261 |
|
|
3f4: 27bd0018 addiu $sp,$sp,24
|