-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpseudoasm.txt
292 lines (292 loc) · 3.21 KB
/
pseudoasm.txt
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
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
a_00000:
mov r2, 28672
a_00038:
mov r1, r2
a_00074:
mov [r1], 1
a_00108:
mov r1, r2 + 2
a_00149:
mov [r1], 1
a_00183:
mov r3, 2
a_00218:
mov r6, r3 + r3
a_00264:
mov r1, r6 + 28672
a_00310:
mov r5, word [r1]
a_00347:
jnz r5, 804
a_00384:
mov r4, r3 + r3
a_00430:
mov r1, 65519
a_00468:
mov [r1], r4
a_00505:
mov r1, 65520
a_00543:
mov r5, word [r1]
a_00580:
jnz r5, 804
a_00617:
mov r6, r4 + r4
a_00663:
mov r1, r6 + 28672
a_00709:
mov [r1], 1
a_00743:
mov r4, r4 + r3
a_00789:
jmp 430
a_00804:
mov r3, r3 + 1
a_00847:
jnz r3, 218
a_00884:
mov r2, 57344
a_00922:
mov r3, 0
a_00957:
mov r1, r2
a_00993:
mov r4, word [r1]
a_01030:
jnz r4, 1082
a_01067:
jmp 1185
a_01082:
mov r3, r3 + 65535
a_01129:
mov r2, r2 + 1
a_01170:
jmp 957
a_01185:
mov r6, r3 + 254
a_01232:
jnz r6, 1284
a_01269:
jmp 1334
a_01284:
mov ra, 5
a_01319:
jmp 5081
a_01334:
mov r2, 0
a_01368:
mov r3, 0
a_01403:
mov r1, 61696
a_01441:
mov r4, word [r1]
a_01478:
mov r5, 1
a_01513:
mov ra, 0
a_01548:
mov r1, r2 + 57344
a_01593:
mov r6, word [r1]
a_01630:
jnz r6, 1682
a_01667:
jmp 3479
a_01682:
mov r2, r2 + 1
a_01723:
mov r7, r6 + 65419
a_01770:
jnz r7, 1861
a_01807:
mov r6, 65520
a_01846:
jmp 2373
a_01861:
mov r7, r6 + 65422
a_01908:
jnz r7, 1995
a_01945:
mov r6, 1
a_01980:
jmp 2373
a_01995:
mov r7, r6 + 65436
a_02042:
jnz r7, 2130
a_02079:
mov r6, 16
a_02115:
jmp 2373
a_02130:
mov r7, r6 + 65428
a_02177:
jnz r7, 2268
a_02214:
mov r6, 65535
a_02253:
jmp 2373
a_02268:
mov r5, 0
a_02303:
mov r6, 0
a_02338:
mov ra, 1
a_02373:
mov r4, r4 + r6
a_02419:
mov r1, 65519
a_02457:
mov [r1], r4
a_02494:
mov r1, 65520
a_02532:
mov r6, word [r1]
a_02569:
jnz r6, 3429
a_02606:
mov r1, r4 + 61440
a_02652:
mov r6, word [r1]
a_02689:
mov r1, 65519
a_02727:
mov [r1], r6
a_02764:
mov r1, 65520
a_02802:
mov [r1], 0
a_02836:
mov r1, 65519
a_02874:
mov r6, word [r1]
a_02911:
mov r6, r6 + r6
a_02957:
mov r1, r6 + 28672
a_03003:
mov r6, word [r1]
a_03040:
jnz r6, 3344
a_03077:
mov r6, r3 + 1
a_03120:
mov r1, r6 + 61698
a_03166:
mov r6, word [r1]
a_03203:
mov r6, r6 + r4
a_03249:
jnz r6, 3329
a_03286:
mov r3, r3 + 1
a_03329:
jmp 1548
a_03344:
mov r5, 0
a_03379:
mov ra, 2
a_03414:
jmp 1548
a_03429:
mov ra, 4
a_03464:
ret
a_03479:
jnz r5, 3531
a_03516:
jmp 5081
a_03531:
mov r6, r3 + 65527
a_03578:
jnz r6, 3630
a_03615:
jmp 3680
a_03630:
mov ra, 3
a_03665:
jmp 5081
a_03680:
mov r2, 0
a_03714:
mov r3, 0
a_03749:
mov r4, r2 + 65497
a_03795:
jnz r4, 3847
a_03832:
jmp 4987
a_03847:
mov r5, 4
a_03882:
mov r4, 0
a_03917:
mov r4, r4 + r4
a_03963:
mov r4, r4 + r4
a_04009:
mov r1, r3 + 57344
a_04055:
mov r6, word [r1]
a_04092:
mov r7, r6 + 65419
a_04139:
jnz r7, 4191
a_04176:
jmp 4632
a_04191:
mov r7, r6 + 65422
a_04238:
jnz r7, 4333
a_04275:
mov r4, r4 + 1
a_04318:
jmp 4632
a_04333:
mov r7, r6 + 65436
a_04380:
jnz r7, 4475
a_04417:
mov r4, r4 + 2
a_04460:
jmp 4632
a_04475:
mov r7, r6 + 65428
a_04522:
jnz r7, 4617
a_04559:
mov r4, r4 + 3
a_04602:
jmp 4632
a_04617:
jmp 5081
a_04632:
mov r3, r3 + 1
a_04675:
mov r5, r5 + 65535
a_04722:
jnz r5, 3917
a_04759:
mov r1, r2 + 61708
a_04804:
mov r5, word [r1]
a_04841:
mov r1, r2 + 59392
a_04886:
mov [r1], r5 + r4
a_04931:
mov r2, r2 + 1
a_04972:
jmp 3749
a_04987:
mov r1, r2 + 59392
a_05032:
mov [r1], 0
a_05066:
ret
a_05081:
mov r1, 59392
a_05119:
mov [r1], 0
a_05153:
ret