Statistics
| Branch: | Tag: | Revision:

root / LUFA / Drivers / USB / Class / Device / MIDI.lst @ 978b99e5

History | View | Annotate | Download (12.8 KB)

1
   1               		.file	"MIDI.c"
2
   2               	__SREG__ = 0x3f
3
   3               	__SP_H__ = 0x3e
4
   4               	__SP_L__ = 0x3d
5
   5               	__tmp_reg__ = 0
6
   6               	__zero_reg__ = 1
7
   7               		.global __do_copy_data
8
   8               		.global __do_clear_bss
9
  16               	.Ltext0:
10
  17               		.section	.text.MIDI_Device_ConfigureEndpoints,"ax",@progbits
11
  18               	.global	MIDI_Device_ConfigureEndpoints
12
  20               	MIDI_Device_ConfigureEndpoints:
13
  21               	.LFB94:
14
  22               	.LSM0:
15
  23               	.LVL0:
16
  24 0000 1F93      		push r17
17
  25 0002 CF93      		push r28
18
  26 0004 DF93      		push r29
19
  27               	/* prologue: function */
20
  28               	/* frame size = 0 */
21
  29               	/* stack size = 3 */
22
  30               	.L__stack_usage = 3
23
  31 0006 EC01      		movw r28,r24
24
  32               	.LVL1:
25
  33               	.LSM1:
26
  34 0008 11E0      		ldi r17,lo8(1)
27
  35               	.LVL2:
28
  36               	.L10:
29
  37               	.LBB30:
30
  38               	.LBB31:
31
  39               	.LSM2:
32
  40 000a 8981      		ldd r24,Y+1
33
  41 000c 1817      		cp r17,r24
34
  42 000e 01F4      		brne .L2
35
  43               	.LSM3:
36
  44 0010 EA81      		ldd r30,Y+2
37
  45 0012 FB81      		ldd r31,Y+3
38
  46               	.LVL3:
39
  47               	.LSM4:
40
  48 0014 9C81      		ldd r25,Y+4
41
  49               	.LVL4:
42
  50               	.LSM5:
43
  51 0016 80E8      		ldi r24,lo8(-128)
44
  52 0018 00C0      		rjmp .L3
45
  53               	.LVL5:
46
  54               	.L2:
47
  55               	.LSM6:
48
  56 001a 8D81      		ldd r24,Y+5
49
  57 001c 1817      		cp r17,r24
50
  58 001e 01F4      		brne .L4
51
  59               	.LSM7:
52
  60 0020 EE81      		ldd r30,Y+6
53
  61 0022 FF81      		ldd r31,Y+7
54
  62               	.LVL6:
55
  63               	.LSM8:
56
  64 0024 9885      		ldd r25,Y+8
57
  65               	.LVL7:
58
  66               	.LSM9:
59
  67 0026 80E0      		ldi r24,lo8(0)
60
  68               	.LVL8:
61
  69               	.L3:
62
  70               	.LSM10:
63
  71 0028 9923      		tst r25
64
  72 002a 01F0      		breq .L11
65
  73 002c 44E0      		ldi r20,lo8(4)
66
  74 002e 00C0      		rjmp .L5
67
  75               	.L11:
68
  76 0030 40E0      		ldi r20,lo8(0)
69
  77               	.L5:
70
  78               	.LVL9:
71
  79               	.LBB32:
72
  80               	.LBB33:
73
  81               	.LSM11:
74
  82 0032 61E0      		ldi r22,lo8(1)
75
  83 0034 8823      		tst r24
76
  84 0036 01F4      		brne .L6
77
  85 0038 60E0      		ldi r22,lo8(0)
78
  86               	.L6:
79
  87 003a 6068      		ori r22,lo8(-128)
80
  88               	.LVL10:
81
  89               	.LSM12:
82
  90 003c 28E0      		ldi r18,lo8(8)
83
  91 003e 30E0      		ldi r19,hi8(8)
84
  92               	.LSM13:
85
  93 0040 80E0      		ldi r24,lo8(0)
86
  94               	.LVL11:
87
  95 0042 00C0      		rjmp .L7
88
  96               	.LVL12:
89
  97               	.L8:
90
  98               	.LBB34:
91
  99               	.LBB35:
92
 100               	.LSM14:
93
 101 0044 8F5F      		subi r24,lo8(-(1))
94
 102               	.LVL13:
95
 103               	.LSM15:
96
 104 0046 220F      		lsl r18
97
 105 0048 331F      		rol r19
98
 106               	.LVL14:
99
 107               	.L7:
100
 108               	.LSM16:
101
 109 004a 2E17      		cp r18,r30
102
 110 004c 3F07      		cpc r19,r31
103
 111 004e 00F0      		brlo .L8
104
 112               	.LBE35:
105
 113               	.LBE34:
106
 114               	.LSM17:
107
 115 0050 4260      		ori r20,lo8(2)
108
 116               	.LVL15:
109
 117               	.LBB37:
110
 118               	.LBB36:
111
 119               	.LSM18:
112
 120 0052 8295      		swap r24
113
 121               	.LVL16:
114
 122 0054 807F      		andi r24,lo8(-16)
115
 123               	.LBE36:
116
 124               	.LBE37:
117
 125               	.LSM19:
118
 126 0056 482B      		or r20,r24
119
 127 0058 812F      		mov r24,r17
120
 128 005a 0E94 0000 		call Endpoint_ConfigureEndpoint_Prv
121
 129               	.LVL17:
122
 130               	.LBE33:
123
 131               	.LBE32:
124
 132               	.LSM20:
125
 133 005e 8823      		tst r24
126
 134 0060 01F0      		breq .L12
127
 135               	.LVL18:
128
 136               	.L4:
129
 137               	.LBE31:
130
 138               	.LSM21:
131
 139 0062 1F5F      		subi r17,lo8(-(1))
132
 140               	.LVL19:
133
 141 0064 1730      		cpi r17,lo8(7)
134
 142 0066 01F4      		brne .L10
135
 143               	.LSM22:
136
 144 0068 81E0      		ldi r24,lo8(1)
137
 145 006a 00C0      		rjmp .L9
138
 146               	.LVL20:
139
 147               	.L12:
140
 148               	.LBB38:
141
 149               	.LSM23:
142
 150 006c 80E0      		ldi r24,lo8(0)
143
 151               	.LVL21:
144
 152               	.L9:
145
 153               	/* epilogue start */
146
 154               	.LBE38:
147
 155               	.LBE30:
148
 156               	.LSM24:
149
 157 006e DF91      		pop r29
150
 158 0070 CF91      		pop r28
151
 159               	.LVL22:
152
 160 0072 1F91      		pop r17
153
 161 0074 0895      		ret
154
 162               	.LFE94:
155
 164               		.section	.text.MIDI_Device_SendEventPacket,"ax",@progbits
156
 165               	.global	MIDI_Device_SendEventPacket
157
 167               	MIDI_Device_SendEventPacket:
158
 168               	.LFB96:
159
 169               	.LSM25:
160
 170               	.LVL23:
161
 171               	/* prologue: function */
162
 172               	/* frame size = 0 */
163
 173               	/* stack size = 0 */
164
 174               	.L__stack_usage = 0
165
 175 0000 FC01      		movw r30,r24
166
 176 0002 CB01      		movw r24,r22
167
 177               	.LVL24:
168
 178               	.LSM26:
169
 179 0004 2EB3      		in r18,62-0x20
170
 180 0006 2430      		cpi r18,lo8(4)
171
 181 0008 01F4      		brne .L16
172
 182               	.LSM27:
173
 183 000a 2181      		ldd r18,Z+1
174
 184               	.LVL25:
175
 185               	.LBB39:
176
 186               	.LBB40:
177
 187               	.LSM28:
178
 188 000c 2093 E900 		sts 233,r18
179
 189               	.LBE40:
180
 190               	.LBE39:
181
 191               	.LSM29:
182
 192 0010 64E0      		ldi r22,lo8(4)
183
 193 0012 70E0      		ldi r23,hi8(4)
184
 194               	.LVL26:
185
 195 0014 40E0      		ldi r20,lo8(0)
186
 196 0016 50E0      		ldi r21,hi8(0)
187
 197 0018 0E94 0000 		call Endpoint_Write_Stream_LE
188
 198               	.LVL27:
189
 199 001c 8823      		tst r24
190
 200 001e 01F4      		brne .L15
191
 201               	.LBB41:
192
 202               	.LBB42:
193
 203               	.LSM30:
194
 204 0020 9091 E800 		lds r25,232
195
 205               	.LBE42:
196
 206               	.LBE41:
197
 207               	.LSM31:
198
 208 0024 95FD      		sbrc r25,5
199
 209 0026 00C0      		rjmp .L15
200
 210               	.LBB43:
201
 211               	.LBB44:
202
 212               	.LSM32:
203
 213 0028 9091 E800 		lds r25,232
204
 214 002c 9E77      		andi r25,lo8(126)
205
 215 002e 9093 E800 		sts 232,r25
206
 216 0032 0895      		ret
207
 217               	.LVL28:
208
 218               	.L16:
209
 219               	.LBE44:
210
 220               	.LBE43:
211
 221               	.LSM33:
212
 222 0034 82E0      		ldi r24,lo8(2)
213
 223               	.LVL29:
214
 224               	.L15:
215
 225               	.LSM34:
216
 226 0036 0895      		ret
217
 227               	.LFE96:
218
 229               		.section	.text.MIDI_Device_Flush,"ax",@progbits
219
 230               	.global	MIDI_Device_Flush
220
 232               	MIDI_Device_Flush:
221
 233               	.LFB97:
222
 234               	.LSM35:
223
 235               	.LVL30:
224
 236               	/* prologue: function */
225
 237               	/* frame size = 0 */
226
 238               	/* stack size = 0 */
227
 239               	.L__stack_usage = 0
228
 240               	.LSM36:
229
 241 0000 2EB3      		in r18,62-0x20
230
 242 0002 2430      		cpi r18,lo8(4)
231
 243 0004 01F4      		brne .L19
232
 244               	.LSM37:
233
 245 0006 FC01      		movw r30,r24
234
 246 0008 8181      		ldd r24,Z+1
235
 247               	.LVL31:
236
 248               	.LBB45:
237
 249               	.LBB46:
238
 250               	.LSM38:
239
 251 000a 8093 E900 		sts 233,r24
240
 252               	.LBE46:
241
 253               	.LBE45:
242
 254               	.LBB47:
243
 255               	.LBB48:
244
 256               	.LSM39:
245
 257 000e 8091 F200 		lds r24,242
246
 258 0012 9091 F300 		lds r25,242+1
247
 259               	.LBE48:
248
 260               	.LBE47:
249
 261               	.LSM40:
250
 262 0016 0097      		sbiw r24,0
251
 263 0018 01F0      		breq .L20
252
 264               	.LBB49:
253
 265               	.LBB50:
254
 266               	.LSM41:
255
 267 001a 8091 E800 		lds r24,232
256
 268 001e 8E77      		andi r24,lo8(126)
257
 269 0020 8093 E800 		sts 232,r24
258
 270               	.LBE50:
259
 271               	.LBE49:
260
 272               	.LSM42:
261
 273 0024 0E94 0000 		call Endpoint_WaitUntilReady
262
 274               	.LVL32:
263
 275 0028 0895      		ret
264
 276               	.LVL33:
265
 277               	.L19:
266
 278               	.LSM43:
267
 279 002a 82E0      		ldi r24,lo8(2)
268
 280               	.LVL34:
269
 281 002c 0895      		ret
270
 282               	.LVL35:
271
 283               	.L20:
272
 284               	.LSM44:
273
 285 002e 80E0      		ldi r24,lo8(0)
274
 286               	.LSM45:
275
 287 0030 0895      		ret
276
 288               	.LFE97:
277
 290               		.section	.text.MIDI_Device_USBTask,"ax",@progbits
278
 291               	.global	MIDI_Device_USBTask
279
 293               	MIDI_Device_USBTask:
280
 294               	.LFB95:
281
 295               	.LSM46:
282
 296               	.LVL36:
283
 297               	/* prologue: function */
284
 298               	/* frame size = 0 */
285
 299               	/* stack size = 0 */
286
 300               	.L__stack_usage = 0
287
 301               	.LSM47:
288
 302 0000 2EB3      		in r18,62-0x20
289
 303 0002 2430      		cpi r18,lo8(4)
290
 304 0004 01F4      		brne .L21
291
 305               	.LSM48:
292
 306 0006 0E94 0000 		call MIDI_Device_Flush
293
 307               	.LVL37:
294
 308               	.L21:
295
 309 000a 0895      		ret
296
 310               	.LFE95:
297
 312               		.section	.text.MIDI_Device_ReceiveEventPacket,"ax",@progbits
298
 313               	.global	MIDI_Device_ReceiveEventPacket
299
 315               	MIDI_Device_ReceiveEventPacket:
300
 316               	.LFB98:
301
 317               	.LSM49:
302
 318               	.LVL38:
303
 319               	/* prologue: function */
304
 320               	/* frame size = 0 */
305
 321               	/* stack size = 0 */
306
 322               	.L__stack_usage = 0
307
 323 0000 FC01      		movw r30,r24
308
 324 0002 CB01      		movw r24,r22
309
 325               	.LVL39:
310
 326               	.LSM50:
311
 327 0004 2EB3      		in r18,62-0x20
312
 328 0006 2430      		cpi r18,lo8(4)
313
 329 0008 01F4      		brne .L26
314
 330               	.LSM51:
315
 331 000a 2581      		ldd r18,Z+5
316
 332               	.LVL40:
317
 333               	.LBB51:
318
 334               	.LBB52:
319
 335               	.LSM52:
320
 336 000c 2093 E900 		sts 233,r18
321
 337               	.LBE52:
322
 338               	.LBE51:
323
 339               	.LBB53:
324
 340               	.LBB54:
325
 341               	.LSM53:
326
 342 0010 2091 E800 		lds r18,232
327
 343               	.LBE54:
328
 344               	.LBE53:
329
 345               	.LSM54:
330
 346 0014 25FF      		sbrs r18,5
331
 347 0016 00C0      		rjmp .L26
332
 348               	.LSM55:
333
 349 0018 64E0      		ldi r22,lo8(4)
334
 350 001a 70E0      		ldi r23,hi8(4)
335
 351               	.LVL41:
336
 352 001c 40E0      		ldi r20,lo8(0)
337
 353 001e 50E0      		ldi r21,hi8(0)
338
 354 0020 0E94 0000 		call Endpoint_Read_Stream_LE
339
 355               	.LVL42:
340
 356               	.LBB55:
341
 357               	.LBB56:
342
 358               	.LSM56:
343
 359 0024 8091 E800 		lds r24,232
344
 360               	.LBE56:
345
 361               	.LBE55:
346
 362               	.LSM57:
347
 363 0028 85FD      		sbrc r24,5
348
 364 002a 00C0      		rjmp .L27
349
 365               	.LBB57:
350
 366               	.LBB58:
351
 367               	.LSM58:
352
 368 002c 8091 E800 		lds r24,232
353
 369 0030 8B77      		andi r24,lo8(123)
354
 370 0032 8093 E800 		sts 232,r24
355
 371               	.LSM59:
356
 372 0036 81E0      		ldi r24,lo8(1)
357
 373 0038 0895      		ret
358
 374               	.LVL43:
359
 375               	.L26:
360
 376               	.LBE58:
361
 377               	.LBE57:
362
 378               	.LSM60:
363
 379 003a 80E0      		ldi r24,lo8(0)
364
 380 003c 0895      		ret
365
 381               	.LVL44:
366
 382               	.L27:
367
 383               	.LSM61:
368
 384 003e 81E0      		ldi r24,lo8(1)
369
 385               	.LSM62:
370
 386 0040 0895      		ret
371
 387               	.LFE98:
372
 445               	.Letext0:
373
DEFINED SYMBOLS
374
                            *ABS*:0000000000000000 MIDI.c
375
     /tmp/ccEp4Cft.s:2      *ABS*:000000000000003f __SREG__
376
     /tmp/ccEp4Cft.s:3      *ABS*:000000000000003e __SP_H__
377
     /tmp/ccEp4Cft.s:4      *ABS*:000000000000003d __SP_L__
378
     /tmp/ccEp4Cft.s:5      *ABS*:0000000000000000 __tmp_reg__
379
     /tmp/ccEp4Cft.s:6      *ABS*:0000000000000001 __zero_reg__
380
     /tmp/ccEp4Cft.s:20     .text.MIDI_Device_ConfigureEndpoints:0000000000000000 MIDI_Device_ConfigureEndpoints
381
     /tmp/ccEp4Cft.s:167    .text.MIDI_Device_SendEventPacket:0000000000000000 MIDI_Device_SendEventPacket
382
     /tmp/ccEp4Cft.s:232    .text.MIDI_Device_Flush:0000000000000000 MIDI_Device_Flush
383
     /tmp/ccEp4Cft.s:293    .text.MIDI_Device_USBTask:0000000000000000 MIDI_Device_USBTask
384
     /tmp/ccEp4Cft.s:315    .text.MIDI_Device_ReceiveEventPacket:0000000000000000 MIDI_Device_ReceiveEventPacket
385

    
386
UNDEFINED SYMBOLS
387
__do_copy_data
388
__do_clear_bss
389
Endpoint_ConfigureEndpoint_Prv
390
Endpoint_Write_Stream_LE
391
Endpoint_WaitUntilReady
392
Endpoint_Read_Stream_LE