Subversion Repositories BL-Ctrl

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
116 - 1
   1               		.file	"main.c"
2
   2               	__SREG__ = 0x3f
3
   3               	__SP_H__ = 0x3e
4
   4               	__SP_L__ = 0x3d
5
   5               	__CCP__  = 0x34
6
   6               	__tmp_reg__ = 0
7
   7               	__zero_reg__ = 1
8
  15               	.Ltext0:
9
  16               	.global	SetPWM
10
  18               	SetPWM:
11
  19               	.LFB3:
12
  20               	.LM1:
13
  21               	/* prologue: function */
14
  22               	/* frame size = 0 */
15
  23               	.LM2:
16
  24 0000 4091 0000 		lds r20,PWM
17
  25               	.LVL0:
18
  26               	.LM3:
19
  27 0004 8091 0000 		lds r24,MaxPWM
20
  28               	.LVL1:
21
  29 0008 8417      		cp r24,r20
22
  30 000a 00F4      		brsh .L2
23
  31               	.LM4:
24
  32 000c AB9A      		sbi 53-32,3
25
  33 000e 482F      		mov r20,r24
26
  34               	.L2:
27
  35               	.LM5:
28
  36 0010 2091 0000 		lds r18,Strom
29
  37 0014 3091 0000 		lds r19,(Strom)+1
30
  38 0018 293C      		cpi r18,201
31
  39 001a 3105      		cpc r19,__zero_reg__
32
  40 001c 00F0      		brlo .L3
33
  41               	.LM6:
34
  42 001e 1BBC      		out (74)+1-32,__zero_reg__
35
  43 0020 1ABC      		out 74-32,__zero_reg__
36
  44 0022 19BC      		out (72)+1-32,__zero_reg__
37
  45 0024 18BC      		out 72-32,__zero_reg__
38
  46 0026 13BC      		out 67-32,__zero_reg__
39
  47               	.LM7:
40
  48 0028 82B3      		in r24,50-32
41
  49               	.LVL2:
42
  50 002a 877C      		andi r24,lo8(-57)
43
  51 002c 82BB      		out 50-32,r24
44
  52               	.LM8:
45
  53 002e AB9A      		sbi 53-32,3
46
  54               	.LM9:
47
  55 0030 8091 0000 		lds r24,DebugOut+14
48
  56 0034 9091 0000 		lds r25,(DebugOut+14)+1
49
  57 0038 0196      		adiw r24,1
50
  58 003a 9093 0000 		sts (DebugOut+14)+1,r25
51
  59 003e 8093 0000 		sts DebugOut+14,r24
52
  60               	.LM10:
53
  61 0042 2150      		subi r18,lo8(-(-1))
54
  62 0044 3040      		sbci r19,hi8(-(-1))
55
  63 0046 3093 0000 		sts (Strom)+1,r19
56
  64 004a 2093 0000 		sts Strom,r18
57
  65 004e 0895      		ret
58
  66               	.LVL3:
59
  67               	.L3:
60
  68               	.LM11:
61
  69 0050 842F      		mov r24,r20
62
  70               	.LVL4:
63
  71 0052 90E0      		ldi r25,lo8(0)
64
  72 0054 9BBD      		out (74)+1-32,r25
65
  73 0056 8ABD      		out 74-32,r24
66
  74 0058 99BD      		out (72)+1-32,r25
67
  75 005a 88BD      		out 72-32,r24
68
  76 005c 43BD      		out 67-32,r20
69
  77 005e 0895      		ret
70
  78               	.LFE3:
71
  80               	.global	DebugAusgaben
72
  82               	DebugAusgaben:
73
  83               	.LFB4:
74
  84               	.LM12:
75
  85               	/* prologue: function */
76
  86               	/* frame size = 0 */
77
  87               	.LM13:
78
  88 0060 E0E0      		ldi r30,lo8(DebugOut+2)
79
  89 0062 F0E0      		ldi r31,hi8(DebugOut+2)
80
  90 0064 8091 0000 		lds r24,Strom
81
  91 0068 9091 0000 		lds r25,(Strom)+1
82
  92 006c 9093 0000 		sts (DebugOut+2)+1,r25
83
  93 0070 8093 0000 		sts DebugOut+2,r24
84
  94               	.LM14:
85
  95 0074 8091 0000 		lds r24,Mittelstrom
86
  96 0078 8093 0000 		sts DebugOut+4,r24
87
  97 007c 1382      		std Z+3,__zero_reg__
88
  98               	.LM15:
89
  99 007e 8091 0000 		lds r24,SIO_Drehzahl
90
 100 0082 9091 0000 		lds r25,(SIO_Drehzahl)+1
91
 101 0086 9093 0000 		sts (DebugOut+6)+1,r25
92
 102 008a 8093 0000 		sts DebugOut+6,r24
93
 103               	.LM16:
94
 104 008e 8091 0000 		lds r24,PPM_Signal
95
 105 0092 9091 0000 		lds r25,(PPM_Signal)+1
96
 106 0096 9093 0000 		sts (DebugOut+8)+1,r25
97
 107 009a 8093 0000 		sts DebugOut+8,r24
98
 108               	.LM17:
99
 109 009e 83B5      		in r24,67-32
100
 110 00a0 8093 0000 		sts DebugOut+10,r24
101
 111 00a4 1186      		std Z+9,__zero_reg__
102
 112               	/* epilogue start */
103
 113               	.LM18:
104
 114 00a6 0895      		ret
105
 115               	.LFE4:
106
 117               	.global	PWM_Init
107
 119               	PWM_Init:
108
 120               	.LFB5:
109
 121               	.LM19:
110
 122               	/* prologue: function */
111
 123               	/* frame size = 0 */
112
 124               	.LM20:
113
 125 00a8 1BBC      		out (74)+1-32,__zero_reg__
114
 126 00aa 1ABC      		out 74-32,__zero_reg__
115
 127 00ac 19BC      		out (72)+1-32,__zero_reg__
116
 128 00ae 18BC      		out 72-32,__zero_reg__
117
 129 00b0 13BC      		out 67-32,__zero_reg__
118
 130 00b2 91E0      		ldi r25,lo8(1)
119
 131 00b4 9FBD      		out 79-32,r25
120
 132 00b6 81E4      		ldi r24,lo8(65)
121
 133 00b8 85BD      		out 69-32,r24
122
 134 00ba 8EE0      		ldi r24,lo8(14)
123
 135 00bc 87BB      		out 55-32,r24
124
 136 00be 88B3      		in r24,56-32
125
 137 00c0 817F      		andi r24,lo8(-15)
126
 138 00c2 88BB      		out 56-32,r24
127
 139               	.LM21:
128
 140 00c4 9EBD      		out 78-32,r25
129
 141               	/* epilogue start */
130
 142               	.LM22:
131
 143 00c6 0895      		ret
132
 144               	.LFE5:
133
 146               	.global	Wait
134
 148               	Wait:
135
 149               	.LFB6:
136
 150               	.LM23:
137
 151               	.LVL5:
138
 152               	/* prologue: function */
139
 153               	/* frame size = 0 */
140
 154               	.LM24:
141
 155 00c8 92B7      		in r25,82-32
142
 156 00ca 980F      		add r25,r24
143
 157               	.L11:
144
 158               	.LM25:
145
 159 00cc 82B7      		in r24,82-32
146
 160               	.LVL6:
147
 161 00ce 891B      		sub r24,r25
148
 162               	.LVL7:
149
 163 00d0 87FD      		sbrc r24,7
150
 164 00d2 00C0      		rjmp .L11
151
 165               	/* epilogue start */
152
 166               	.LM26:
153
 167 00d4 0895      		ret
154
 168               	.LFE6:
155
 170               	.global	Delay
156
 172               	Delay:
157
 173               	.LFB10:
158
 174               	.LM27:
159
 175               	.LVL8:
160
 176               	/* prologue: function */
161
 177               	/* frame size = 0 */
162
 178 00d6 00C0      		rjmp .L15
163
 179               	.L16:
164
 180               	.LM28:
165
 181 00d8 0197      		sbiw r24,1
166
 182               	.LVL9:
167
 183               	.L15:
168
 184               	.LM29:
169
 185 00da 0097      		sbiw r24,0
170
 186 00dc 01F4      		brne .L16
171
 187               	.LM30:
172
 188 00de 80E0      		ldi r24,lo8(0)
173
 189               	.LVL10:
174
 190               	/* epilogue start */
175
 191 00e0 0895      		ret
176
 192               	.LFE10:
177
 194               	.global	SollwertErmittlung
178
 196               	SollwertErmittlung:
179
 197               	.LFB12:
180
 198               	.LM31:
181
 199               	/* prologue: function */
182
 200               	/* frame size = 0 */
183
 201               	.LM32:
184
 202 00e2 8091 0000 		lds r24,I2C_Timeout
185
 203 00e6 9091 0000 		lds r25,(I2C_Timeout)+1
186
 204 00ea 892B      		or r24,r25
187
 205 00ec 01F0      		breq .+2
188
 206 00ee 00C0      		rjmp .L19
189
 207               	.LM33:
190
 208 00f0 8091 0000 		lds r24,SIO_Timeout
191
 209 00f4 9091 0000 		lds r25,(SIO_Timeout)+1
192
 210 00f8 892B      		or r24,r25
193
 211 00fa 01F0      		breq .L20
194
 212               	.LM34:
195
 213 00fc 9091 0000 		lds r25,SIO_Sollwert
196
 214 0100 8FEF      		ldi r24,lo8(-1)
197
 215 0102 989F      		mul r25,r24
198
 216 0104 C001      		movw r24,r0
199
 217 0106 1124      		clr r1
200
 218 0108 68EC      		ldi r22,lo8(200)
201
 219 010a 70E0      		ldi r23,hi8(200)
202
 220 010c 00D0      		rcall __udivmodhi4
203
 221 010e 7093 0000 		sts (sollwert.2195)+1,r23
204
 222 0112 6093 0000 		sts sollwert.2195,r22
205
 223               	.LM35:
206
 224 0116 1092 0000 		sts PPM_Betrieb,__zero_reg__
207
 225               	.LM36:
208
 226 011a 89B7      		in r24,89-32
209
 227 011c 8F7D      		andi r24,lo8(-33)
210
 228 011e 89BF      		out 89-32,r24
211
 229 0120 00C0      		rjmp .L26
212
 230               	.L20:
213
 231               	.LM37:
214
 232 0122 8091 0000 		lds r24,anz_ppm_werte
215
 233 0126 8531      		cpi r24,lo8(21)
216
 234 0128 00F0      		brlo .L22
217
 235               	.LM38:
218
 236 012a 81E0      		ldi r24,lo8(1)
219
 237 012c 8093 0000 		sts PPM_Betrieb,r24
220
 238               	.LM39:
221
 239 0130 2091 0000 		lds r18,PPM_Signal
222
 240 0134 3091 0000 		lds r19,(PPM_Signal)+1
223
 241               	.LVL11:
224
 242               	.LM40:
225
 243 0138 41E0      		ldi r20,hi8(301)
226
 244 013a 2D32      		cpi r18,lo8(301)
227
 245 013c 3407      		cpc r19,r20
228
 246 013e 00F4      		brsh .L23
229
 247               	.LM41:
230
 248 0140 293C      		cpi r18,201
231
 249 0142 3105      		cpc r19,__zero_reg__
232
 250 0144 00F4      		brsh .L24
233
 251               	.LM42:
234
 252 0146 2B30      		cpi r18,11
235
 253 0148 3105      		cpc r19,__zero_reg__
236
 254 014a 00F4      		brsh .L25
237
 255               	.L23:
238
 256 014c 1092 0000 		sts (sollwert.2195)+1,__zero_reg__
239
 257 0150 1092 0000 		sts sollwert.2195,__zero_reg__
240
 258 0154 00C0      		rjmp .L26
241
 259               	.L24:
242
 260 0156 28EC      		ldi r18,lo8(200)
243
 261 0158 30E0      		ldi r19,hi8(200)
244
 262               	.L25:
245
 263               	.LM43:
246
 264 015a 8CEF      		ldi r24,lo8(252)
247
 265 015c 90E0      		ldi r25,hi8(252)
248
 266 015e AC01      		movw r20,r24
249
 267 0160 249F      		mul r18,r20
250
 268 0162 C001      		movw r24,r0
251
 269 0164 259F      		mul r18,r21
252
 270 0166 900D      		add r25,r0
253
 271 0168 349F      		mul r19,r20
254
 272 016a 900D      		add r25,r0
255
 273 016c 1124      		clr r1
256
 274 016e 885D      		subi r24,lo8(-(-2520))
257
 275 0170 9940      		sbci r25,hi8(-(-2520))
258
 276 0172 64EB      		ldi r22,lo8(180)
259
 277 0174 70E0      		ldi r23,hi8(180)
260
 278 0176 00D0      		rcall __udivmodhi4
261
 279 0178 6D5F      		subi r22,lo8(-(3))
262
 280 017a 7F4F      		sbci r23,hi8(-(3))
263
 281 017c 7093 0000 		sts (sollwert.2195)+1,r23
264
 282 0180 6093 0000 		sts sollwert.2195,r22
265
 283               	.L26:
266
 284               	.LM44:
267
 285 0184 AB98      		cbi 53-32,3
268
 286 0186 00C0      		rjmp .L21
269
 287               	.LVL12:
270
 288               	.L22:
271
 289               	.LM45:
272
 290 0188 8091 0000 		lds r24,sollwert.2195
273
 291 018c 9091 0000 		lds r25,(sollwert.2195)+1
274
 292 0190 0097      		sbiw r24,0
275
 293 0192 01F0      		breq .L27
276
 294 0194 0197      		sbiw r24,1
277
 295 0196 9093 0000 		sts (sollwert.2195)+1,r25
278
 296 019a 8093 0000 		sts sollwert.2195,r24
279
 297               	.L27:
280
 298               	.LM46:
281
 299 019e AB9A      		sbi 53-32,3
282
 300 01a0 00C0      		rjmp .L21
283
 301               	.L19:
284
 302               	.LM47:
285
 303 01a2 8091 0000 		lds r24,I2C_RXBuffer
286
 304 01a6 8093 0000 		sts sollwert.2195,r24
287
 305 01aa 1092 0000 		sts sollwert.2195+1,__zero_reg__
288
 306               	.LM48:
289
 307 01ae 1092 0000 		sts PPM_Betrieb,__zero_reg__
290
 308               	.LM49:
291
 309 01b2 AB98      		cbi 53-32,3
292
 310               	.LM50:
293
 311 01b4 89B7      		in r24,89-32
294
 312 01b6 8F7D      		andi r24,lo8(-33)
295
 313 01b8 89BF      		out 89-32,r24
296
 314               	.LVL13:
297
 315               	.L21:
298
 316               	.LM51:
299
 317 01ba 8091 0000 		lds r24,sollwert.2195
300
 318 01be 9091 0000 		lds r25,(sollwert.2195)+1
301
 319 01c2 8F3F      		cpi r24,255
302
 320 01c4 9105      		cpc r25,__zero_reg__
303
 321 01c6 01F0      		breq .L28
304
 322 01c8 00F0      		brlo .L28
305
 323 01ca 8FEF      		ldi r24,lo8(255)
306
 324 01cc 90E0      		ldi r25,hi8(255)
307
 325 01ce 9093 0000 		sts (sollwert.2195)+1,r25
308
 326 01d2 8093 0000 		sts sollwert.2195,r24
309
 327               	.L28:
310
 328               	.LM52:
311
 329 01d6 8091 0000 		lds r24,sollwert.2195
312
 330               	/* epilogue start */
313
 331 01da 0895      		ret
314
 332               	.LFE12:
315
 334               	.global	DelayM
316
 336               	DelayM:
317
 337               	.LFB9:
318
 338               	.LM53:
319
 339               	.LVL14:
320
 340 01dc CF93      		push r28
321
 341 01de DF93      		push r29
322
 342               	/* prologue: function */
323
 343               	/* frame size = 0 */
324
 344 01e0 EC01      		movw r28,r24
325
 345 01e2 00C0      		rjmp .L31
326
 346               	.LVL15:
327
 347               	.L33:
328
 348               	.LM54:
329
 349 01e4 00D0      		rcall FastADConvert
330
 350 01e6 2197      		sbiw r28,1
331
 351               	.LM55:
332
 352 01e8 8091 0000 		lds r24,RuheStrom
333
 353 01ec 9091 0000 		lds r25,(RuheStrom)+1
334
 354 01f0 8858      		subi r24,lo8(-(120))
335
 355 01f2 9F4F      		sbci r25,hi8(-(120))
336
 356 01f4 2091 0000 		lds r18,Strom
337
 357 01f8 3091 0000 		lds r19,(Strom)+1
338
 358 01fc 8217      		cp r24,r18
339
 359 01fe 9307      		cpc r25,r19
340
 360 0200 00F4      		brsh .L31
341
 361               	.LM56:
342
 362 0202 82B3      		in r24,50-32
343
 363 0204 877C      		andi r24,lo8(-57)
344
 364 0206 82BB      		out 50-32,r24
345
 365 0208 88B3      		in r24,56-32
346
 366 020a 817F      		andi r24,lo8(-15)
347
 367 020c 88BB      		out 56-32,r24
348
 368 020e 81E0      		ldi r24,lo8(1)
349
 369 0210 00C0      		rjmp .L32
350
 370               	.LVL16:
351
 371               	.L31:
352
 372               	.LM57:
353
 373 0212 2097      		sbiw r28,0
354
 374 0214 01F4      		brne .L33
355
 375 0216 80E0      		ldi r24,lo8(0)
356
 376               	.L32:
357
 377               	/* epilogue start */
358
 378               	.LM58:
359
 379 0218 DF91      		pop r29
360
 380 021a CF91      		pop r28
361
 381               	.LVL17:
362
 382 021c 0895      		ret
363
 383               	.LFE9:
364
 385               	.global	RotBlink
365
 387               	RotBlink:
366
 388               	.LFB7:
367
 389               	.LM59:
368
 390               	.LVL18:
369
 391 021e 1F93      		push r17
370
 392               	/* prologue: function */
371
 393               	/* frame size = 0 */
372
 394 0220 182F      		mov r17,r24
373
 395               	.LM60:
374
 396               	/* #APP */
375
 397               	 ;  149 "main.c" 1
376
 398 0222 7894      		sei
377
 399               	 ;  0 "" 2
378
 400               	/* #NOAPP */
379
 401 0224 00C0      		rjmp .L37
380
 402               	.LVL19:
381
 403               	.L38:
382
 404               	.LM61:
383
 405 0226 AB9A      		sbi 53-32,3
384
 406               	.LM62:
385
 407 0228 8CE2      		ldi r24,lo8(300)
386
 408 022a 91E0      		ldi r25,hi8(300)
387
 409 022c 00D0      		rcall Delay_ms
388
 410               	.LM63:
389
 411 022e AB98      		cbi 53-32,3
390
 412               	.LM64:
391
 413 0230 8CE2      		ldi r24,lo8(300)
392
 414 0232 91E0      		ldi r25,hi8(300)
393
 415 0234 00D0      		rcall Delay_ms
394
 416 0236 1150      		subi r17,lo8(-(-1))
395
 417               	.LVL20:
396
 418               	.L37:
397
 419               	.LM65:
398
 420 0238 1123      		tst r17
399
 421 023a 01F4      		brne .L38
400
 422               	.LM66:
401
 423 023c 88EE      		ldi r24,lo8(1000)
402
 424 023e 93E0      		ldi r25,hi8(1000)
403
 425 0240 00D0      		rcall Delay_ms
404
 426               	/* epilogue start */
405
 427               	.LM67:
406
 428 0242 1F91      		pop r17
407
 429               	.LVL21:
408
 430 0244 0895      		ret
409
 431               	.LFE7:
410
 433               	.global	MotorTon
411
 435               	MotorTon:
412
 436               	.LFB11:
413
 437               	.LM68:
414
 438 0246 AF92      		push r10
415
 439 0248 BF92      		push r11
416
 440 024a DF92      		push r13
417
 441 024c EF92      		push r14
418
 442 024e FF92      		push r15
419
 443 0250 0F93      		push r16
420
 444 0252 1F93      		push r17
421
 445 0254 DF93      		push r29
422
 446 0256 CF93      		push r28
423
 447 0258 CDB7      		in r28,__SP_L__
424
 448 025a DEB7      		in r29,__SP_H__
425
 449 025c 2797      		sbiw r28,7
426
 450 025e 0FB6      		in __tmp_reg__,__SREG__
427
 451 0260 F894      		cli
428
 452 0262 DEBF      		out __SP_H__,r29
429
 453 0264 0FBE      		out __SREG__,__tmp_reg__
430
 454 0266 CDBF      		out __SP_L__,r28
431
 455               	/* prologue: function */
432
 456               	/* frame size = 7 */
433
 457               	.LM69:
434
 458 0268 DE01      		movw r26,r28
435
 459 026a 1196      		adiw r26,1
436
 460 026c E0E0      		ldi r30,lo8(C.19.2035)
437
 461 026e F0E0      		ldi r31,hi8(C.19.2035)
438
 462 0270 87E0      		ldi r24,lo8(7)
439
 463               	.L41:
440
 464 0272 0190      		ld r0,Z+
441
 465 0274 0D92      		st X+,r0
442
 466 0276 8150      		subi r24,lo8(-(-1))
443
 467 0278 01F4      		brne .L41
444
 468               	.LM70:
445
 469 027a AB98      		cbi 53-32,3
446
 470               	.LM71:
447
 471 027c 8091 0000 		lds r24,MotorAdresse
448
 472 0280 FE01      		movw r30,r28
449
 473 0282 E80F      		add r30,r24
450
 474 0284 F11D      		adc r31,__zero_reg__
451
 475 0286 8181      		ldd r24,Z+1
452
 476 0288 90E0      		ldi r25,lo8(0)
453
 477 028a 2CE2      		ldi r18,lo8(300)
454
 478 028c 31E0      		ldi r19,hi8(300)
455
 479 028e AC01      		movw r20,r24
456
 480 0290 429F      		mul r20,r18
457
 481 0292 C001      		movw r24,r0
458
 482 0294 439F      		mul r20,r19
459
 483 0296 900D      		add r25,r0
460
 484 0298 529F      		mul r21,r18
461
 485 029a 900D      		add r25,r0
462
 486 029c 1124      		clr r1
463
 487 029e 00D0      		rcall Delay_ms
464
 488               	.LM72:
465
 489 02a0 1092 0000 		sts CompInterruptFreigabe,__zero_reg__
466
 490 02a4 4398      		cbi 40-32,3
467
 491               	.LM73:
468
 492               	/* #APP */
469
 493               	 ;  277 "main.c" 1
470
 494 02a6 F894      		cli
471
 495               	 ;  0 "" 2
472
 496               	.LM74:
473
 497               	/* #NOAPP */
474
 498 02a8 8AE0      		ldi r24,lo8(10)
475
 499 02aa 00D0      		rcall uart_putchar
476
 500               	.LM75:
477
 501 02ac 82B3      		in r24,50-32
478
 502 02ae 877C      		andi r24,lo8(-57)
479
 503 02b0 82BB      		out 50-32,r24
480
 504 02b2 1BBC      		out (74)+1-32,__zero_reg__
481
 505 02b4 1ABC      		out 74-32,__zero_reg__
482
 506 02b6 19BC      		out (72)+1-32,__zero_reg__
483
 507 02b8 18BC      		out 72-32,__zero_reg__
484
 508 02ba 13BC      		out 67-32,__zero_reg__
485
 509 02bc 81E0      		ldi r24,lo8(1)
486
 510 02be 8FBD      		out 79-32,r24
487
 511 02c0 81E4      		ldi r24,lo8(65)
488
 512 02c2 85BD      		out 69-32,r24
489
 513 02c4 8EE0      		ldi r24,lo8(14)
490
 514 02c6 87BB      		out 55-32,r24
491
 515 02c8 88B3      		in r24,56-32
492
 516 02ca 817F      		andi r24,lo8(-15)
493
 517 02cc 88BB      		out 56-32,r24
494
 518               	.LM76:
495
 519 02ce 1092 0000 		sts Strom_max,__zero_reg__
496
 520               	.LM77:
497
 521 02d2 82E3      		ldi r24,lo8(50)
498
 522 02d4 90E0      		ldi r25,hi8(50)
499
 523 02d6 00D0      		rcall DelayM
500
 524               	.LM78:
501
 525 02d8 8091 0000 		lds r24,Strom_max
502
 526 02dc 8093 0000 		sts RuheStrom,r24
503
 527 02e0 1092 0000 		sts RuheStrom+1,__zero_reg__
504
 528               	.LM79:
505
 529 02e4 1092 0000 		sts (Strom)+1,__zero_reg__
506
 530 02e8 1092 0000 		sts Strom,__zero_reg__
507
 531               	.LM80:
508
 532 02ec 8CB1      		in r24,44-32
509
 533 02ee 8032      		cpi r24,lo8(32)
510
 534 02f0 01F0      		breq .L42
511
 535 02f2 38EE      		ldi r19,lo8(1000)
512
 536 02f4 E32E      		mov r14,r19
513
 537 02f6 33E0      		ldi r19,hi8(1000)
514
 538 02f8 F32E      		mov r15,r19
515
 539               	.LVL22:
516
 540 02fa 82E3      		ldi r24,lo8(50)
517
 541               	.LVL23:
518
 542 02fc 00C0      		rjmp .L43
519
 543               	.LVL24:
520
 544               	.L42:
521
 545 02fe 8FE5      		ldi r24,lo8(95)
522
 546 0300 00D0      		rcall uart_putchar
523
 547 0302 EE24      		clr r14
524
 548 0304 EA94      		dec r14
525
 549 0306 FE2C      		mov r15,r14
526
 550               	.LVL25:
527
 551 0308 88E2      		ldi r24,lo8(40)
528
 552               	.LVL26:
529
 553               	.L43:
530
 554               	.LM81:
531
 555 030a 1092 0000 		sts (Strom)+1,__zero_reg__
532
 556 030e 1092 0000 		sts Strom,__zero_reg__
533
 557 0312 00E0      		ldi r16,lo8(0)
534
 558 0314 10E0      		ldi r17,hi8(0)
535
 559               	.LVL27:
536
 560               	.LM82:
537
 561 0316 A82E      		mov r10,r24
538
 562 0318 BB24      		clr r11
539
 563               	.L45:
540
 564               	.LM83:
541
 565 031a 939A      		sbi 50-32,3
542
 566               	.LM84:
543
 567 031c 81E0      		ldi r24,lo8(1)
544
 568 031e 90E0      		ldi r25,hi8(1)
545
 569               	.LVL28:
546
 570 0320 00D0      		rcall DelayM
547
 571               	.LM85:
548
 572 0322 82B3      		in r24,50-32
549
 573 0324 877C      		andi r24,lo8(-57)
550
 574 0326 82BB      		out 50-32,r24
551
 575 0328 88B3      		in r24,56-32
552
 576 032a 817F      		andi r24,lo8(-15)
553
 577 032c 88BB      		out 56-32,r24
554
 578               	.LBB46:
555
 579               	.LBB47:
556
 580               	.LM86:
557
 581               	.LBE47:
558
 582               	.LBE46:
559
 583               	.LM87:
560
 584 032e C39A      		sbi 56-32,3
561
 585               	.LM88:
562
 586 0330 81E0      		ldi r24,lo8(1)
563
 587 0332 90E0      		ldi r25,hi8(1)
564
 588 0334 00D0      		rcall DelayM
565
 589               	.LM89:
566
 590 0336 82B3      		in r24,50-32
567
 591 0338 877C      		andi r24,lo8(-57)
568
 592 033a 82BB      		out 50-32,r24
569
 593 033c 88B3      		in r24,56-32
570
 594 033e 817F      		andi r24,lo8(-15)
571
 595 0340 88BB      		out 56-32,r24
572
 596               	.LM90:
573
 597 0342 8091 0000 		lds r24,RuheStrom
574
 598 0346 9091 0000 		lds r25,(RuheStrom)+1
575
 599 034a 8A0D      		add r24,r10
576
 600 034c 9B1D      		adc r25,r11
577
 601 034e 2091 0000 		lds r18,Strom
578
 602 0352 3091 0000 		lds r19,(Strom)+1
579
 603 0356 8217      		cp r24,r18
580
 604 0358 9307      		cpc r25,r19
581
 605 035a 00F0      		brlo .L44
582
 606               	.LBB48:
583
 607               	.LBB49:
584
 608               	.LM91:
585
 609               	.LBE49:
586
 610               	.LBE48:
587
 611               	.LM92:
588
 612 035c 0F5F      		subi r16,lo8(-(1))
589
 613 035e 1F4F      		sbci r17,hi8(-(1))
590
 614 0360 0E15      		cp r16,r14
591
 615 0362 1F05      		cpc r17,r15
592
 616 0364 00F0      		brlo .L45
593
 617 0366 DD24      		clr r13
594
 618               	.LVL29:
595
 619 0368 00C0      		rjmp .L46
596
 620               	.LVL30:
597
 621               	.L44:
598
 622               	.LM93:
599
 623 036a 84E3      		ldi r24,lo8(52)
600
 624 036c 00D0      		rcall uart_putchar
601
 625 036e 82B3      		in r24,50-32
602
 626 0370 877C      		andi r24,lo8(-57)
603
 627 0372 82BB      		out 50-32,r24
604
 628 0374 88B3      		in r24,56-32
605
 629 0376 817F      		andi r24,lo8(-15)
606
 630 0378 88BB      		out 56-32,r24
607
 631 037a 24E0      		ldi r18,lo8(4)
608
 632 037c D22E      		mov r13,r18
609
 633               	.LVL31:
610
 634               	.L46:
611
 635 037e 80E1      		ldi r24,lo8(10000)
612
 636 0380 97E2      		ldi r25,hi8(10000)
613
 637               	.LVL32:
614
 638 0382 00C0      		rjmp .L47
615
 639               	.L48:
616
 640               	.LBB50:
617
 641               	.LBB51:
618
 642               	.LM94:
619
 643               	.L47:
620
 644               	.LM95:
621
 645 0384 0197      		sbiw r24,1
622
 646 0386 5FEF      		ldi r21,hi8(-1)
623
 647 0388 8F3F      		cpi r24,lo8(-1)
624
 648 038a 9507      		cpc r25,r21
625
 649 038c 01F4      		brne .L48
626
 650               	.LBE51:
627
 651               	.LBE50:
628
 652               	.LM96:
629
 653 038e 1092 0000 		sts (Strom)+1,__zero_reg__
630
 654 0392 1092 0000 		sts Strom,__zero_reg__
631
 655 0396 00E0      		ldi r16,lo8(0)
632
 656 0398 10E0      		ldi r17,hi8(0)
633
 657               	.LVL33:
634
 658               	.L50:
635
 659               	.LM97:
636
 660 039a 949A      		sbi 50-32,4
637
 661               	.LM98:
638
 662 039c 81E0      		ldi r24,lo8(1)
639
 663 039e 90E0      		ldi r25,hi8(1)
640
 664               	.LVL34:
641
 665 03a0 00D0      		rcall DelayM
642
 666               	.LM99:
643
 667 03a2 82B3      		in r24,50-32
644
 668 03a4 877C      		andi r24,lo8(-57)
645
 669 03a6 82BB      		out 50-32,r24
646
 670 03a8 88B3      		in r24,56-32
647
 671 03aa 817F      		andi r24,lo8(-15)
648
 672 03ac 88BB      		out 56-32,r24
649
 673               	.LBB52:
650
 674               	.LBB53:
651
 675               	.LM100:
652
 676               	.LBE53:
653
 677               	.LBE52:
654
 678               	.LM101:
655
 679 03ae C29A      		sbi 56-32,2
656
 680               	.LM102:
657
 681 03b0 81E0      		ldi r24,lo8(1)
658
 682 03b2 90E0      		ldi r25,hi8(1)
659
 683 03b4 00D0      		rcall DelayM
660
 684               	.LM103:
661
 685 03b6 82B3      		in r24,50-32
662
 686 03b8 877C      		andi r24,lo8(-57)
663
 687 03ba 82BB      		out 50-32,r24
664
 688 03bc 88B3      		in r24,56-32
665
 689 03be 817F      		andi r24,lo8(-15)
666
 690 03c0 88BB      		out 56-32,r24
667
 691               	.LM104:
668
 692 03c2 8091 0000 		lds r24,RuheStrom
669
 693 03c6 9091 0000 		lds r25,(RuheStrom)+1
670
 694 03ca 8A0D      		add r24,r10
671
 695 03cc 9B1D      		adc r25,r11
672
 696 03ce 2091 0000 		lds r18,Strom
673
 697 03d2 3091 0000 		lds r19,(Strom)+1
674
 698 03d6 8217      		cp r24,r18
675
 699 03d8 9307      		cpc r25,r19
676
 700 03da 00F0      		brlo .L49
677
 701               	.LBB54:
678
 702               	.LBB55:
679
 703               	.LM105:
680
 704               	.LBE55:
681
 705               	.LBE54:
682
 706               	.LM106:
683
 707 03dc 0F5F      		subi r16,lo8(-(1))
684
 708 03de 1F4F      		sbci r17,hi8(-(1))
685
 709 03e0 0E15      		cp r16,r14
686
 710 03e2 1F05      		cpc r17,r15
687
 711 03e4 00F0      		brlo .L50
688
 712 03e6 00C0      		rjmp .L51
689
 713               	.L49:
690
 714               	.LM107:
691
 715 03e8 85E3      		ldi r24,lo8(53)
692
 716 03ea 00D0      		rcall uart_putchar
693
 717 03ec 82B3      		in r24,50-32
694
 718 03ee 877C      		andi r24,lo8(-57)
695
 719 03f0 82BB      		out 50-32,r24
696
 720 03f2 88B3      		in r24,56-32
697
 721 03f4 817F      		andi r24,lo8(-15)
698
 722 03f6 88BB      		out 56-32,r24
699
 723 03f8 95E0      		ldi r25,lo8(5)
700
 724 03fa D92E      		mov r13,r25
701
 725               	.L51:
702
 726               	.LM108:
703
 727 03fc 1092 0000 		sts (Strom)+1,__zero_reg__
704
 728 0400 1092 0000 		sts Strom,__zero_reg__
705
 729 0404 80E1      		ldi r24,lo8(10000)
706
 730 0406 97E2      		ldi r25,hi8(10000)
707
 731               	.LVL35:
708
 732 0408 00C0      		rjmp .L52
709
 733               	.L53:
710
 734               	.LBB56:
711
 735               	.LBB57:
712
 736               	.LM109:
713
 737               	.L52:
714
 738               	.LM110:
715
 739 040a 0197      		sbiw r24,1
716
 740 040c 2FEF      		ldi r18,hi8(-1)
717
 741 040e 8F3F      		cpi r24,lo8(-1)
718
 742 0410 9207      		cpc r25,r18
719
 743 0412 01F4      		brne .L53
720
 744 0414 00E0      		ldi r16,lo8(0)
721
 745 0416 10E0      		ldi r17,hi8(0)
722
 746               	.LVL36:
723
 747               	.L55:
724
 748               	.LBE57:
725
 749               	.LBE56:
726
 750               	.LM111:
727
 751 0418 959A      		sbi 50-32,5
728
 752               	.LM112:
729
 753 041a 81E0      		ldi r24,lo8(1)
730
 754 041c 90E0      		ldi r25,hi8(1)
731
 755               	.LVL37:
732
 756 041e 00D0      		rcall DelayM
733
 757               	.LM113:
734
 758 0420 82B3      		in r24,50-32
735
 759 0422 877C      		andi r24,lo8(-57)
736
 760 0424 82BB      		out 50-32,r24
737
 761 0426 88B3      		in r24,56-32
738
 762 0428 817F      		andi r24,lo8(-15)
739
 763 042a 88BB      		out 56-32,r24
740
 764               	.LBB58:
741
 765               	.LBB59:
742
 766               	.LM114:
743
 767               	.LBE59:
744
 768               	.LBE58:
745
 769               	.LM115:
746
 770 042c C19A      		sbi 56-32,1
747
 771               	.LM116:
748
 772 042e 81E0      		ldi r24,lo8(1)
749
 773 0430 90E0      		ldi r25,hi8(1)
750
 774 0432 00D0      		rcall DelayM
751
 775               	.LM117:
752
 776 0434 82B3      		in r24,50-32
753
 777 0436 877C      		andi r24,lo8(-57)
754
 778 0438 82BB      		out 50-32,r24
755
 779 043a 88B3      		in r24,56-32
756
 780 043c 817F      		andi r24,lo8(-15)
757
 781 043e 88BB      		out 56-32,r24
758
 782               	.LM118:
759
 783 0440 8091 0000 		lds r24,RuheStrom
760
 784 0444 9091 0000 		lds r25,(RuheStrom)+1
761
 785 0448 8A0D      		add r24,r10
762
 786 044a 9B1D      		adc r25,r11
763
 787 044c 2091 0000 		lds r18,Strom
764
 788 0450 3091 0000 		lds r19,(Strom)+1
765
 789 0454 8217      		cp r24,r18
766
 790 0456 9307      		cpc r25,r19
767
 791 0458 00F0      		brlo .L54
768
 792               	.LBB60:
769
 793               	.LBB61:
770
 794               	.LM119:
771
 795               	.LBE61:
772
 796               	.LBE60:
773
 797               	.LM120:
774
 798 045a 0F5F      		subi r16,lo8(-(1))
775
 799 045c 1F4F      		sbci r17,hi8(-(1))
776
 800 045e 0E15      		cp r16,r14
777
 801 0460 1F05      		cpc r17,r15
778
 802 0462 00F0      		brlo .L55
779
 803 0464 00C0      		rjmp .L110
780
 804               	.L54:
781
 805               	.LM121:
782
 806 0466 86E3      		ldi r24,lo8(54)
783
 807 0468 00D0      		rcall uart_putchar
784
 808 046a 82B3      		in r24,50-32
785
 809 046c 877C      		andi r24,lo8(-57)
786
 810 046e 82BB      		out 50-32,r24
787
 811 0470 88B3      		in r24,56-32
788
 812 0472 817F      		andi r24,lo8(-15)
789
 813 0474 88BB      		out 56-32,r24
790
 814 0476 86E0      		ldi r24,lo8(6)
791
 815 0478 D82E      		mov r13,r24
792
 816 047a 00C0      		rjmp .L108
793
 817               	.L110:
794
 818               	.LM122:
795
 819 047c DD20      		tst r13
796
 820 047e 01F0      		breq .L58
797
 821               	.L108:
798
 822 0480 8D2D      		mov r24,r13
799
 823 0482 00D0      		rcall RotBlink
800
 824 0484 00C0      		rjmp .L108
801
 825               	.L58:
802
 826               	.LM123:
803
 827 0486 8091 0000 		lds r24,IntRef
804
 828 048a 87B9      		out 39-32,r24
805
 829               	.LM124:
806
 830 048c 82B3      		in r24,50-32
807
 831 048e 877C      		andi r24,lo8(-57)
808
 832 0490 82BB      		out 50-32,r24
809
 833 0492 88B3      		in r24,56-32
810
 834 0494 817F      		andi r24,lo8(-15)
811
 835 0496 88BB      		out 56-32,r24
812
 836               	.LM125:
813
 837 0498 949A      		sbi 50-32,4
814
 838               	.LM126:
815
 839 049a 959A      		sbi 50-32,5
816
 840               	.LM127:
817
 841 049c 1092 0000 		sts (Strom)+1,__zero_reg__
818
 842 04a0 1092 0000 		sts Strom,__zero_reg__
819
 843 04a4 00E0      		ldi r16,lo8(0)
820
 844 04a6 10E0      		ldi r17,hi8(0)
821
 845               	.LVL38:
822
 846 04a8 FF24      		clr r15
823
 847               	.LVL39:
824
 848               	.L63:
825
 849               	.LM128:
826
 850 04aa C39A      		sbi 56-32,3
827
 851               	.LBB62:
828
 852               	.LBB63:
829
 853               	.LM129:
830
 854               	.LBE63:
831
 855               	.LBE62:
832
 856               	.LM130:
833
 857 04ac 80E0      		ldi r24,lo8(0)
834
 858               	.LVL40:
835
 859 04ae 00D0      		rcall MessAD
836
 860 04b0 C397      		sbiw r24,51
837
 861 04b2 00F0      		brlo .L59
838
 862 04b4 41E0      		ldi r20,lo8(1)
839
 863 04b6 F42A      		or r15,r20
840
 864 04b8 00C0      		rjmp .L60
841
 865               	.L59:
842
 866 04ba 5EEF      		ldi r21,lo8(-2)
843
 867 04bc F522      		and r15,r21
844
 868               	.L60:
845
 869               	.LM131:
846
 870 04be 18BA      		out 56-32,__zero_reg__
847
 871 04c0 8CE2      		ldi r24,lo8(300)
848
 872 04c2 91E0      		ldi r25,hi8(300)
849
 873               	.LVL41:
850
 874 04c4 00C0      		rjmp .L61
851
 875               	.L62:
852
 876               	.LBB64:
853
 877               	.LBB65:
854
 878               	.LM132:
855
 879               	.L61:
856
 880               	.LM133:
857
 881 04c6 0197      		sbiw r24,1
858
 882 04c8 2FEF      		ldi r18,hi8(-1)
859
 883 04ca 8F3F      		cpi r24,lo8(-1)
860
 884 04cc 9207      		cpc r25,r18
861
 885 04ce 01F4      		brne .L62
862
 886               	.LBE65:
863
 887               	.LBE64:
864
 888               	.LM134:
865
 889 04d0 0F5F      		subi r16,lo8(-(1))
866
 890 04d2 1F4F      		sbci r17,hi8(-(1))
867
 891 04d4 0937      		cpi r16,121
868
 892 04d6 1105      		cpc r17,__zero_reg__
869
 893 04d8 01F4      		brne .L63
870
 894               	.LM135:
871
 895 04da 82B3      		in r24,50-32
872
 896               	.LVL42:
873
 897 04dc 877C      		andi r24,lo8(-57)
874
 898 04de 82BB      		out 50-32,r24
875
 899 04e0 88B3      		in r24,56-32
876
 900 04e2 817F      		andi r24,lo8(-15)
877
 901 04e4 88BB      		out 56-32,r24
878
 902               	.LM136:
879
 903 04e6 939A      		sbi 50-32,3
880
 904               	.LM137:
881
 905 04e8 959A      		sbi 50-32,5
882
 906 04ea 00E0      		ldi r16,lo8(0)
883
 907 04ec 10E0      		ldi r17,hi8(0)
884
 908               	.LVL43:
885
 909               	.L68:
886
 910               	.LM138:
887
 911 04ee C29A      		sbi 56-32,2
888
 912               	.LBB66:
889
 913               	.LBB67:
890
 914               	.LM139:
891
 915               	.LBE67:
892
 916               	.LBE66:
893
 917               	.LM140:
894
 918 04f0 81E0      		ldi r24,lo8(1)
895
 919               	.LVL44:
896
 920 04f2 00D0      		rcall MessAD
897
 921 04f4 C397      		sbiw r24,51
898
 922 04f6 00F0      		brlo .L64
899
 923 04f8 42E0      		ldi r20,lo8(2)
900
 924 04fa F42A      		or r15,r20
901
 925 04fc 00C0      		rjmp .L65
902
 926               	.L64:
903
 927 04fe 5DEF      		ldi r21,lo8(-3)
904
 928 0500 F522      		and r15,r21
905
 929               	.L65:
906
 930               	.LM141:
907
 931 0502 18BA      		out 56-32,__zero_reg__
908
 932 0504 8CE2      		ldi r24,lo8(300)
909
 933 0506 91E0      		ldi r25,hi8(300)
910
 934               	.LVL45:
911
 935 0508 00C0      		rjmp .L66
912
 936               	.L67:
913
 937               	.LBB68:
914
 938               	.LBB69:
915
 939               	.LM142:
916
 940               	.L66:
917
 941               	.LM143:
918
 942 050a 0197      		sbiw r24,1
919
 943 050c 2FEF      		ldi r18,hi8(-1)
920
 944 050e 8F3F      		cpi r24,lo8(-1)
921
 945 0510 9207      		cpc r25,r18
922
 946 0512 01F4      		brne .L67
923
 947               	.LBE69:
924
 948               	.LBE68:
925
 949               	.LM144:
926
 950 0514 0F5F      		subi r16,lo8(-(1))
927
 951 0516 1F4F      		sbci r17,hi8(-(1))
928
 952 0518 0538      		cpi r16,133
929
 953 051a 1105      		cpc r17,__zero_reg__
930
 954 051c 01F4      		brne .L68
931
 955               	.LM145:
932
 956 051e 82B3      		in r24,50-32
933
 957               	.LVL46:
934
 958 0520 877C      		andi r24,lo8(-57)
935
 959 0522 82BB      		out 50-32,r24
936
 960 0524 88B3      		in r24,56-32
937
 961 0526 817F      		andi r24,lo8(-15)
938
 962 0528 88BB      		out 56-32,r24
939
 963               	.LM146:
940
 964 052a 939A      		sbi 50-32,3
941
 965               	.LM147:
942
 966 052c 949A      		sbi 50-32,4
943
 967 052e 00E0      		ldi r16,lo8(0)
944
 968 0530 10E0      		ldi r17,hi8(0)
945
 969               	.LVL47:
946
 970               	.L73:
947
 971               	.LM148:
948
 972 0532 C19A      		sbi 56-32,1
949
 973               	.LBB70:
950
 974               	.LBB71:
951
 975               	.LM149:
952
 976               	.LBE71:
953
 977               	.LBE70:
954
 978               	.LM150:
955
 979 0534 82E0      		ldi r24,lo8(2)
956
 980               	.LVL48:
957
 981 0536 00D0      		rcall MessAD
958
 982 0538 C397      		sbiw r24,51
959
 983 053a 00F0      		brlo .L69
960
 984 053c 44E0      		ldi r20,lo8(4)
961
 985 053e F42A      		or r15,r20
962
 986 0540 00C0      		rjmp .L70
963
 987               	.L69:
964
 988 0542 5BEF      		ldi r21,lo8(-5)
965
 989 0544 F522      		and r15,r21
966
 990               	.L70:
967
 991               	.LM151:
968
 992 0546 18BA      		out 56-32,__zero_reg__
969
 993 0548 8AE4      		ldi r24,lo8(330)
970
 994 054a 91E0      		ldi r25,hi8(330)
971
 995               	.LVL49:
972
 996 054c 00C0      		rjmp .L71
973
 997               	.L72:
974
 998               	.LBB72:
975
 999               	.LBB73:
976
 1000               	.LM152:
977
 1001               	.L71:
978
 1002               	.LM153:
979
 1003 054e 0197      		sbiw r24,1
980
 1004 0550 2FEF      		ldi r18,hi8(-1)
981
 1005 0552 8F3F      		cpi r24,lo8(-1)
982
 1006 0554 9207      		cpc r25,r18
983
 1007 0556 01F4      		brne .L72
984
 1008               	.LBE73:
985
 1009               	.LBE72:
986
 1010               	.LM154:
987
 1011 0558 0F5F      		subi r16,lo8(-(1))
988
 1012 055a 1F4F      		sbci r17,hi8(-(1))
989
 1013 055c 0F36      		cpi r16,111
990
 1014 055e 1105      		cpc r17,__zero_reg__
991
 1015 0560 01F4      		brne .L73
992
 1016               	.LM155:
993
 1017 0562 82B3      		in r24,50-32
994
 1018               	.LVL50:
995
 1019 0564 877C      		andi r24,lo8(-57)
996
 1020 0566 82BB      		out 50-32,r24
997
 1021 0568 88B3      		in r24,56-32
998
 1022 056a 817F      		andi r24,lo8(-15)
999
 1023 056c 88BB      		out 56-32,r24
1000
 1024               	.LM156:
1001
 1025 056e 939A      		sbi 50-32,3
1002
 1026 0570 00E0      		ldi r16,lo8(0)
1003
 1027 0572 10E0      		ldi r17,hi8(0)
1004
 1028               	.LVL51:
1005
 1029               	.L78:
1006
 1030               	.LM157:
1007
 1031 0574 C29A      		sbi 56-32,2
1008
 1032               	.LBB74:
1009
 1033               	.LBB75:
1010
 1034               	.LM158:
1011
 1035               	.LBE75:
1012
 1036               	.LBE74:
1013
 1037               	.LM159:
1014
 1038 0576 80E0      		ldi r24,lo8(0)
1015
 1039               	.LVL52:
1016
 1040 0578 00D0      		rcall MessAD
1017
 1041 057a 8138      		cpi r24,129
1018
 1042 057c 9105      		cpc r25,__zero_reg__
1019
 1043 057e 00F0      		brlo .L74
1020
 1044 0580 47EF      		ldi r20,lo8(-9)
1021
 1045 0582 F422      		and r15,r20
1022
 1046 0584 00C0      		rjmp .L75
1023
 1047               	.L74:
1024
 1048 0586 58E0      		ldi r21,lo8(8)
1025
 1049 0588 F52A      		or r15,r21
1026
 1050               	.L75:
1027
 1051               	.LM160:
1028
 1052 058a 18BA      		out 56-32,__zero_reg__
1029
 1053 058c 8AE4      		ldi r24,lo8(330)
1030
 1054 058e 91E0      		ldi r25,hi8(330)
1031
 1055               	.LVL53:
1032
 1056 0590 00C0      		rjmp .L76
1033
 1057               	.L77:
1034
 1058               	.LBB76:
1035
 1059               	.LBB77:
1036
 1060               	.LM161:
1037
 1061               	.L76:
1038
 1062               	.LM162:
1039
 1063 0592 0197      		sbiw r24,1
1040
 1064 0594 2FEF      		ldi r18,hi8(-1)
1041
 1065 0596 8F3F      		cpi r24,lo8(-1)
1042
 1066 0598 9207      		cpc r25,r18
1043
 1067 059a 01F4      		brne .L77
1044
 1068               	.LBE77:
1045
 1069               	.LBE76:
1046
 1070               	.LM163:
1047
 1071 059c 0F5F      		subi r16,lo8(-(1))
1048
 1072 059e 1F4F      		sbci r17,hi8(-(1))
1049
 1073 05a0 0937      		cpi r16,121
1050
 1074 05a2 1105      		cpc r17,__zero_reg__
1051
 1075 05a4 01F4      		brne .L78
1052
 1076               	.LM164:
1053
 1077 05a6 959A      		sbi 50-32,5
1054
 1078 05a8 00E0      		ldi r16,lo8(0)
1055
 1079 05aa 10E0      		ldi r17,hi8(0)
1056
 1080               	.LVL54:
1057
 1081               	.L83:
1058
 1082               	.LM165:
1059
 1083 05ac C29A      		sbi 56-32,2
1060
 1084               	.LBB78:
1061
 1085               	.LBB79:
1062
 1086               	.LM166:
1063
 1087               	.LBE79:
1064
 1088               	.LBE78:
1065
 1089               	.LM167:
1066
 1090 05ae 82E0      		ldi r24,lo8(2)
1067
 1091               	.LVL55:
1068
 1092 05b0 00D0      		rcall MessAD
1069
 1093 05b2 8138      		cpi r24,129
1070
 1094 05b4 9105      		cpc r25,__zero_reg__
1071
 1095 05b6 00F0      		brlo .L79
1072
 1096 05b8 4FED      		ldi r20,lo8(-33)
1073
 1097 05ba F422      		and r15,r20
1074
 1098 05bc 00C0      		rjmp .L80
1075
 1099               	.L79:
1076
 1100 05be 50E2      		ldi r21,lo8(32)
1077
 1101 05c0 F52A      		or r15,r21
1078
 1102               	.L80:
1079
 1103               	.LM168:
1080
 1104 05c2 18BA      		out 56-32,__zero_reg__
1081
 1105 05c4 88E6      		ldi r24,lo8(360)
1082
 1106 05c6 91E0      		ldi r25,hi8(360)
1083
 1107               	.LVL56:
1084
 1108 05c8 00C0      		rjmp .L81
1085
 1109               	.L82:
1086
 1110               	.LBB80:
1087
 1111               	.LBB81:
1088
 1112               	.LM169:
1089
 1113               	.L81:
1090
 1114               	.LM170:
1091
 1115 05ca 0197      		sbiw r24,1
1092
 1116 05cc 2FEF      		ldi r18,hi8(-1)
1093
 1117 05ce 8F3F      		cpi r24,lo8(-1)
1094
 1118 05d0 9207      		cpc r25,r18
1095
 1119 05d2 01F4      		brne .L82
1096
 1120               	.LBE81:
1097
 1121               	.LBE80:
1098
 1122               	.LM171:
1099
 1123 05d4 0F5F      		subi r16,lo8(-(1))
1100
 1124 05d6 1F4F      		sbci r17,hi8(-(1))
1101
 1125 05d8 0538      		cpi r16,133
1102
 1126 05da 1105      		cpc r17,__zero_reg__
1103
 1127 05dc 01F4      		brne .L83
1104
 1128               	.LM172:
1105
 1129 05de 82B3      		in r24,50-32
1106
 1130               	.LVL57:
1107
 1131 05e0 877C      		andi r24,lo8(-57)
1108
 1132 05e2 82BB      		out 50-32,r24
1109
 1133 05e4 88B3      		in r24,56-32
1110
 1134 05e6 817F      		andi r24,lo8(-15)
1111
 1135 05e8 88BB      		out 56-32,r24
1112
 1136               	.LM173:
1113
 1137 05ea 82B3      		in r24,50-32
1114
 1138 05ec 877C      		andi r24,lo8(-57)
1115
 1139 05ee 82BB      		out 50-32,r24
1116
 1140 05f0 88B3      		in r24,56-32
1117
 1141 05f2 817F      		andi r24,lo8(-15)
1118
 1142 05f4 88BB      		out 56-32,r24
1119
 1143               	.LM174:
1120
 1144 05f6 949A      		sbi 50-32,4
1121
 1145 05f8 00E0      		ldi r16,lo8(0)
1122
 1146 05fa 10E0      		ldi r17,hi8(0)
1123
 1147               	.LVL58:
1124
 1148               	.L88:
1125
 1149               	.LM175:
1126
 1150 05fc C19A      		sbi 56-32,1
1127
 1151               	.LBB82:
1128
 1152               	.LBB83:
1129
 1153               	.LM176:
1130
 1154               	.LBE83:
1131
 1155               	.LBE82:
1132
 1156               	.LM177:
1133
 1157 05fe 81E0      		ldi r24,lo8(1)
1134
 1158               	.LVL59:
1135
 1159 0600 00D0      		rcall MessAD
1136
 1160 0602 8138      		cpi r24,129
1137
 1161 0604 9105      		cpc r25,__zero_reg__
1138
 1162 0606 00F0      		brlo .L84
1139
 1163 0608 4FEE      		ldi r20,lo8(-17)
1140
 1164 060a F422      		and r15,r20
1141
 1165 060c 00C0      		rjmp .L85
1142
 1166               	.L84:
1143
 1167 060e 50E1      		ldi r21,lo8(16)
1144
 1168 0610 F52A      		or r15,r21
1145
 1169               	.L85:
1146
 1170               	.LM178:
1147
 1171 0612 18BA      		out 56-32,__zero_reg__
1148
 1172 0614 88E6      		ldi r24,lo8(360)
1149
 1173 0616 91E0      		ldi r25,hi8(360)
1150
 1174               	.LVL60:
1151
 1175 0618 00C0      		rjmp .L86
1152
 1176               	.L87:
1153
 1177               	.LBB84:
1154
 1178               	.LBB85:
1155
 1179               	.LM179:
1156
 1180               	.L86:
1157
 1181               	.LM180:
1158
 1182 061a 0197      		sbiw r24,1
1159
 1183 061c 2FEF      		ldi r18,hi8(-1)
1160
 1184 061e 8F3F      		cpi r24,lo8(-1)
1161
 1185 0620 9207      		cpc r25,r18
1162
 1186 0622 01F4      		brne .L87
1163
 1187               	.LBE85:
1164
 1188               	.LBE84:
1165
 1189               	.LM181:
1166
 1190 0624 0F5F      		subi r16,lo8(-(1))
1167
 1191 0626 1F4F      		sbci r17,hi8(-(1))
1168
 1192 0628 0F36      		cpi r16,111
1169
 1193 062a 1105      		cpc r17,__zero_reg__
1170
 1194 062c 01F4      		brne .L88
1171
 1195               	.LM182:
1172
 1196 062e 82B3      		in r24,50-32
1173
 1197               	.LVL61:
1174
 1198 0630 877C      		andi r24,lo8(-57)
1175
 1199 0632 82BB      		out 50-32,r24
1176
 1200 0634 88B3      		in r24,56-32
1177
 1201 0636 817F      		andi r24,lo8(-15)
1178
 1202 0638 88BB      		out 56-32,r24
1179
 1203               	.LM183:
1180
 1204               	/* #APP */
1181
 1205               	 ;  468 "main.c" 1
1182
 1206 063a 7894      		sei
1183
 1207               	 ;  0 "" 2
1184
 1208               	.LM184:
1185
 1209               	/* #NOAPP */
1186
 1210 063c 8091 0000 		lds r24,MotorAdresse
1187
 1211 0640 FE01      		movw r30,r28
1188
 1212 0642 E80F      		add r30,r24
1189
 1213 0644 F11D      		adc r31,__zero_reg__
1190
 1214 0646 2181      		ldd r18,Z+1
1191
 1215 0648 83E0      		ldi r24,lo8(3)
1192
 1216 064a 90E0      		ldi r25,hi8(3)
1193
 1217 064c 821B      		sub r24,r18
1194
 1218 064e 9109      		sbc r25,__zero_reg__
1195
 1219 0650 2CE2      		ldi r18,lo8(300)
1196
 1220 0652 31E0      		ldi r19,hi8(300)
1197
 1221 0654 AC01      		movw r20,r24
1198
 1222 0656 429F      		mul r20,r18
1199
 1223 0658 C001      		movw r24,r0
1200
 1224 065a 439F      		mul r20,r19
1201
 1225 065c 900D      		add r25,r0
1202
 1226 065e 529F      		mul r21,r18
1203
 1227 0660 900D      		add r25,r0
1204
 1228 0662 1124      		clr r1
1205
 1229 0664 00D0      		rcall Delay_ms
1206
 1230               	.LM185:
1207
 1231 0666 F0FC      		sbrc r15,0
1208
 1232 0668 00C0      		rjmp .L89
1209
 1233               	.LVL62:
1210
 1234 066a 81E4      		ldi r24,lo8(65)
1211
 1235 066c 8CB9      		out 44-32,r24
1212
 1236 066e 11E0      		ldi r17,lo8(1)
1213
 1237               	.LVL63:
1214
 1238 0670 00C0      		rjmp .L109
1215
 1239               	.LVL64:
1216
 1240               	.L89:
1217
 1241               	.LM186:
1218
 1242 0672 F1FC      		sbrc r15,1
1219
 1243 0674 00C0      		rjmp .L91
1220
 1244 0676 82E4      		ldi r24,lo8(66)
1221
 1245 0678 8CB9      		out 44-32,r24
1222
 1246 067a 12E0      		ldi r17,lo8(2)
1223
 1247               	.LVL65:
1224
 1248 067c 00C0      		rjmp .L109
1225
 1249               	.LVL66:
1226
 1250               	.L91:
1227
 1251               	.LM187:
1228
 1252 067e F2FC      		sbrc r15,2
1229
 1253 0680 00C0      		rjmp .L92
1230
 1254 0682 83E4      		ldi r24,lo8(67)
1231
 1255 0684 8CB9      		out 44-32,r24
1232
 1256 0686 13E0      		ldi r17,lo8(3)
1233
 1257               	.LVL67:
1234
 1258 0688 00C0      		rjmp .L109
1235
 1259               	.LVL68:
1236
 1260               	.L92:
1237
 1261               	.LM188:
1238
 1262 068a F3FC      		sbrc r15,3
1239
 1263 068c 00C0      		rjmp .L93
1240
 1264 068e 81E6      		ldi r24,lo8(97)
1241
 1265 0690 8CB9      		out 44-32,r24
1242
 1266 0692 14E0      		ldi r17,lo8(4)
1243
 1267               	.LVL69:
1244
 1268 0694 00C0      		rjmp .L109
1245
 1269               	.LVL70:
1246
 1270               	.L93:
1247
 1271               	.LM189:
1248
 1272 0696 F4FC      		sbrc r15,4
1249
 1273 0698 00C0      		rjmp .L94
1250
 1274 069a 82E6      		ldi r24,lo8(98)
1251
 1275 069c 8CB9      		out 44-32,r24
1252
 1276 069e 15E0      		ldi r17,lo8(5)
1253
 1277               	.LVL71:
1254
 1278 06a0 00C0      		rjmp .L109
1255
 1279               	.LVL72:
1256
 1280               	.L94:
1257
 1281               	.LM190:
1258
 1282 06a2 F5FC      		sbrc r15,5
1259
 1283 06a4 00C0      		rjmp .L95
1260
 1284 06a6 83E6      		ldi r24,lo8(99)
1261
 1285 06a8 8CB9      		out 44-32,r24
1262
 1286 06aa 16E0      		ldi r17,lo8(6)
1263
 1287               	.LVL73:
1264
 1288               	.L109:
1265
 1289               	.LM191:
1266
 1290 06ac 812F      		mov r24,r17
1267
 1291 06ae 00D0      		rcall RotBlink
1268
 1292 06b0 00C0      		rjmp .L109
1269
 1293               	.LVL74:
1270
 1294               	.L95:
1271
 1295               	.LM192:
1272
 1296 06b2 80E0      		ldi r24,lo8(0)
1273
 1297 06b4 00D0      		rcall RotBlink
1274
 1298               	.LM193:
1275
 1299 06b6 8EE2      		ldi r24,lo8(46)
1276
 1300 06b8 00D0      		rcall uart_putchar
1277
 1301               	/* epilogue start */
1278
 1302               	.LM194:
1279
 1303 06ba 2796      		adiw r28,7
1280
 1304 06bc 0FB6      		in __tmp_reg__,__SREG__
1281
 1305 06be F894      		cli
1282
 1306 06c0 DEBF      		out __SP_H__,r29
1283
 1307 06c2 0FBE      		out __SREG__,__tmp_reg__
1284
 1308 06c4 CDBF      		out __SP_L__,r28
1285
 1309 06c6 CF91      		pop r28
1286
 1310 06c8 DF91      		pop r29
1287
 1311 06ca 1F91      		pop r17
1288
 1312 06cc 0F91      		pop r16
1289
 1313               	.LVL75:
1290
 1314 06ce FF90      		pop r15
1291
 1315 06d0 EF90      		pop r14
1292
 1316               	.LVL76:
1293
 1317 06d2 DF90      		pop r13
1294
 1318               	.LVL77:
1295
 1319 06d4 BF90      		pop r11
1296
 1320 06d6 AF90      		pop r10
1297
 1321 06d8 0895      		ret
1298
 1322               	.LFE11:
1299
 1324               	.global	Anwerfen
1300
 1326               	Anwerfen:
1301
 1327               	.LFB8:
1302
 1328               	.LM195:
1303
 1329               	.LVL78:
1304
 1330 06da 6F92      		push r6
1305
 1331 06dc 7F92      		push r7
1306
 1332 06de 9F92      		push r9
1307
 1333 06e0 AF92      		push r10
1308
 1334 06e2 BF92      		push r11
1309
 1335 06e4 CF92      		push r12
1310
 1336 06e6 DF92      		push r13
1311
 1337 06e8 EF92      		push r14
1312
 1338 06ea FF92      		push r15
1313
 1339 06ec 0F93      		push r16
1314
 1340 06ee 1F93      		push r17
1315
 1341 06f0 CF93      		push r28
1316
 1342 06f2 DF93      		push r29
1317
 1343               	/* prologue: function */
1318
 1344               	/* frame size = 0 */
1319
 1345 06f4 982E      		mov r9,r24
1320
 1346               	.LM196:
1321
 1347 06f6 1092 0000 		sts CompInterruptFreigabe,__zero_reg__
1322
 1348 06fa 4398      		cbi 40-32,3
1323
 1349               	.LM197:
1324
 1350 06fc 85E0      		ldi r24,lo8(5)
1325
 1351 06fe 90E0      		ldi r25,hi8(5)
1326
 1352               	.LVL79:
1327
 1353 0700 9093 0000 		sts (PWM)+1,r25
1328
 1354 0704 8093 0000 		sts PWM,r24
1329
 1355               	.LM198:
1330
 1356 0708 00D0      		rcall SetPWM
1331
 1357               	.LM199:
1332
 1358 070a 00D0      		rcall Manuell
1333
 1359               	.LM200:
1334
 1360 070c 8CE2      		ldi r24,lo8(300)
1335
 1361 070e 91E0      		ldi r25,hi8(300)
1336
 1362 0710 00D0      		rcall SetDelay
1337
 1363 0712 9093 0000 		sts (MinUpmPulse)+1,r25
1338
 1364 0716 8093 0000 		sts MinUpmPulse,r24
1339
 1365 071a 00C0      		rjmp .L112
1340
 1366               	.L114:
1341
 1367               	.LM201:
1342
 1368 071c 00D0      		rcall FastADConvert
1343
 1369               	.LM202:
1344
 1370 071e 8091 0000 		lds r24,Strom
1345
 1371 0722 9091 0000 		lds r25,(Strom)+1
1346
 1372 0726 8937      		cpi r24,121
1347
 1373 0728 9105      		cpc r25,__zero_reg__
1348
 1374 072a 00F0      		brlo .+2
1349
 1375 072c 00C0      		rjmp .L129
1350
 1376               	.L112:
1351
 1377               	.LM203:
1352
 1378 072e 8091 0000 		lds r24,MinUpmPulse
1353
 1379 0732 9091 0000 		lds r25,(MinUpmPulse)+1
1354
 1380 0736 00D0      		rcall CheckDelay
1355
 1381 0738 8823      		tst r24
1356
 1382 073a 01F0      		breq .L114
1357
 1383               	.LM204:
1358
 1384 073c 9092 0000 		sts PWM,r9
1359
 1385 0740 1092 0000 		sts PWM+1,__zero_reg__
1360
 1386 0744 5CE2      		ldi r21,lo8(300)
1361
 1387 0746 A52E      		mov r10,r21
1362
 1388 0748 51E0      		ldi r21,hi8(300)
1363
 1389 074a B52E      		mov r11,r21
1364
 1390 074c C12C      		mov r12,__zero_reg__
1365
 1391 074e D12C      		mov r13,__zero_reg__
1366
 1392               	.LVL80:
1367
 1393               	.LBB86:
1368
 1394               	.LBB87:
1369
 1395               	.LM205:
1370
 1396 0750 C0E0      		ldi r28,lo8(DebugOut+4)
1371
 1397 0752 D0E0      		ldi r29,hi8(DebugOut+4)
1372
 1398               	.LM206:
1373
 1399 0754 46E0      		ldi r20,lo8(6)
1374
 1400 0756 642E      		mov r6,r20
1375
 1401 0758 712C      		mov r7,__zero_reg__
1376
 1402 075a 6C0E      		add r6,r28
1377
 1403 075c 7D1E      		adc r7,r29
1378
 1404               	.LVL81:
1379
 1405               	.L128:
1380
 1406               	.LBE87:
1381
 1407               	.LBE86:
1382
 1408               	.LM207:
1383
 1409 075e EE24      		clr r14
1384
 1410 0760 FF24      		clr r15
1385
 1411 0762 8701      		movw r16,r14
1386
 1412               	.LVL82:
1387
 1413               	.L118:
1388
 1414               	.LM208:
1389
 1415 0764 8091 0000 		lds r24,UebertragungAbgeschlossen
1390
 1416 0768 8823      		tst r24
1391
 1417 076a 01F4      		brne .L115
1392
 1418 076c 00D0      		rcall SendUart
1393
 1419               	.LVL83:
1394
 1420 076e 00C0      		rjmp .L116
1395
 1421               	.LVL84:
1396
 1422               	.L115:
1397
 1423               	.LM209:
1398
 1424 0770 00D0      		rcall DatenUebertragung
1399
 1425               	.LVL85:
1400
 1426               	.L116:
1401
 1427               	.LBB89:
1402
 1428               	.LBB90:
1403
 1429               	.LM210:
1404
 1430 0772 82B7      		in r24,82-32
1405
 1431 0774 8C59      		subi r24,lo8(-(100))
1406
 1432               	.LM211:
1407
 1433 0776 982F      		mov r25,r24
1408
 1434               	.LVL86:
1409
 1435               	.L117:
1410
 1436 0778 82B7      		in r24,82-32
1411
 1437 077a 891B      		sub r24,r25
1412
 1438 077c 87FD      		sbrc r24,7
1413
 1439 077e 00C0      		rjmp .L117
1414
 1440               	.LBE90:
1415
 1441               	.LBE89:
1416
 1442               	.LM212:
1417
 1443 0780 0894      		sec
1418
 1444 0782 E11C      		adc r14,__zero_reg__
1419
 1445 0784 F11C      		adc r15,__zero_reg__
1420
 1446 0786 011D      		adc r16,__zero_reg__
1421
 1447 0788 111D      		adc r17,__zero_reg__
1422
 1448 078a EA14      		cp r14,r10
1423
 1449 078c FB04      		cpc r15,r11
1424
 1450 078e 0C05      		cpc r16,r12
1425
 1451 0790 1D05      		cpc r17,r13
1426
 1452 0792 00F0      		brlo .L118
1427
 1453               	.LBB91:
1428
 1454               	.LBB88:
1429
 1455               	.LM213:
1430
 1456 0794 8091 0000 		lds r24,Strom
1431
 1457 0798 9091 0000 		lds r25,(Strom)+1
1432
 1458 079c 9093 0000 		sts (DebugOut+2)+1,r25
1433
 1459 07a0 8093 0000 		sts DebugOut+2,r24
1434
 1460               	.LM214:
1435
 1461 07a4 8091 0000 		lds r24,Mittelstrom
1436
 1462 07a8 8093 0000 		sts DebugOut+4,r24
1437
 1463 07ac 1982      		std Y+1,__zero_reg__
1438
 1464               	.LM215:
1439
 1465 07ae 8091 0000 		lds r24,SIO_Drehzahl
1440
 1466 07b2 9091 0000 		lds r25,(SIO_Drehzahl)+1
1441
 1467 07b6 9093 0000 		sts (DebugOut+6)+1,r25
1442
 1468 07ba 8093 0000 		sts DebugOut+6,r24
1443
 1469               	.LM216:
1444
 1470 07be 8091 0000 		lds r24,PPM_Signal
1445
 1471 07c2 9091 0000 		lds r25,(PPM_Signal)+1
1446
 1472 07c6 9093 0000 		sts (DebugOut+8)+1,r25
1447
 1473 07ca 8093 0000 		sts DebugOut+8,r24
1448
 1474               	.LM217:
1449
 1475 07ce 83B5      		in r24,67-32
1450
 1476 07d0 8093 0000 		sts DebugOut+10,r24
1451
 1477 07d4 F301      		movw r30,r6
1452
 1478 07d6 1182      		std Z+1,__zero_reg__
1453
 1479               	.LBE88:
1454
 1480               	.LBE91:
1455
 1481               	.LM218:
1456
 1482 07d8 00D0      		rcall FastADConvert
1457
 1483               	.LVL87:
1458
 1484               	.LM219:
1459
 1485 07da 8091 0000 		lds r24,Strom
1460
 1486 07de 9091 0000 		lds r25,(Strom)+1
1461
 1487 07e2 CD97      		sbiw r24,61
1462
 1488 07e4 00F0      		brlo .L119
1463
 1489               	.L129:
1464
 1490               	.LM220:
1465
 1491 07e6 82B3      		in r24,50-32
1466
 1492 07e8 877C      		andi r24,lo8(-57)
1467
 1493 07ea 82BB      		out 50-32,r24
1468
 1494 07ec 1BBC      		out (74)+1-32,__zero_reg__
1469
 1495 07ee 1ABC      		out 74-32,__zero_reg__
1470
 1496 07f0 19BC      		out (72)+1-32,__zero_reg__
1471
 1497 07f2 18BC      		out 72-32,__zero_reg__
1472
 1498 07f4 13BC      		out 67-32,__zero_reg__
1473
 1499 07f6 81E0      		ldi r24,lo8(1)
1474
 1500 07f8 8FBD      		out 79-32,r24
1475
 1501 07fa 81E4      		ldi r24,lo8(65)
1476
 1502 07fc 85BD      		out 69-32,r24
1477
 1503 07fe 8EE0      		ldi r24,lo8(14)
1478
 1504 0800 87BB      		out 55-32,r24
1479
 1505 0802 88B3      		in r24,56-32
1480
 1506 0804 817F      		andi r24,lo8(-15)
1481
 1507 0806 88BB      		out 56-32,r24
1482
 1508               	.LM221:
1483
 1509 0808 8AE0      		ldi r24,lo8(10)
1484
 1510 080a 00D0      		rcall RotBlink
1485
 1511 080c 80E0      		ldi r24,lo8(0)
1486
 1512 080e 00C0      		rjmp .L113
1487
 1513               	.L119:
1488
 1514               	.LM222:
1489
 1515 0810 C601      		movw r24,r12
1490
 1516 0812 B501      		movw r22,r10
1491
 1517 0814 2FE0      		ldi r18,lo8(15)
1492
 1518 0816 30E0      		ldi r19,hi8(15)
1493
 1519 0818 40E0      		ldi r20,hlo8(15)
1494
 1520 081a 50E0      		ldi r21,hhi8(15)
1495
 1521 081c 00D0      		rcall __udivmodsi4
1496
 1522 081e 2095      		com r18
1497
 1523 0820 3095      		com r19
1498
 1524 0822 4095      		com r20
1499
 1525 0824 5095      		com r21
1500
 1526 0826 A20E      		add r10,r18
1501
 1527 0828 B31E      		adc r11,r19
1502
 1528 082a C41E      		adc r12,r20
1503
 1529 082c D51E      		adc r13,r21
1504
 1530               	.LM223:
1505
 1531 082e F9E1      		ldi r31,lo8(25)
1506
 1532 0830 AF16      		cp r10,r31
1507
 1533 0832 B104      		cpc r11,__zero_reg__
1508
 1534 0834 C104      		cpc r12,__zero_reg__
1509
 1535 0836 D104      		cpc r13,__zero_reg__
1510
 1536 0838 00F0      		brlo .L120
1511
 1537               	.LM224:
1512
 1538 083a 00D0      		rcall Manuell
1513
 1539               	.LM225:
1514
 1540 083c 8091 0000 		lds r24,Phase
1515
 1541 0840 8F5F      		subi r24,lo8(-(1))
1516
 1542 0842 8093 0000 		sts Phase,r24
1517
 1543               	.LM226:
1518
 1544 0846 8091 0000 		lds r24,Phase
1519
 1545 084a 66E0      		ldi r22,lo8(6)
1520
 1546 084c 00D0      		rcall __udivmodqi4
1521
 1547 084e 9093 0000 		sts Phase,r25
1522
 1548               	.LM227:
1523
 1549 0852 00D0      		rcall AdConvert
1524
 1550               	.LM228:
1525
 1551 0854 9092 0000 		sts PWM,r9
1526
 1552 0858 1092 0000 		sts PWM+1,__zero_reg__
1527
 1553               	.LM229:
1528
 1554 085c 00D0      		rcall SetPWM
1529
 1555               	.LM230:
1530
 1556 085e 449B      		sbis 40-32,4
1531
 1557 0860 00C0      		rjmp .L128
1532
 1558               	.LM231:
1533
 1559 0862 82B3      		in r24,50-32
1534
 1560 0864 8058      		subi r24,lo8(-(-128))
1535
 1561 0866 82BB      		out 50-32,r24
1536
 1562 0868 00C0      		rjmp .L128
1537
 1563               	.L120:
1538
 1564 086a 81E0      		ldi r24,lo8(1)
1539
 1565               	.L113:
1540
 1566               	/* epilogue start */
1541
 1567               	.LM232:
1542
 1568 086c DF91      		pop r29
1543
 1569 086e CF91      		pop r28
1544
 1570 0870 1F91      		pop r17
1545
 1571 0872 0F91      		pop r16
1546
 1572 0874 FF90      		pop r15
1547
 1573 0876 EF90      		pop r14
1548
 1574               	.LVL88:
1549
 1575 0878 DF90      		pop r13
1550
 1576 087a CF90      		pop r12
1551
 1577 087c BF90      		pop r11
1552
 1578 087e AF90      		pop r10
1553
 1579               	.LVL89:
1554
 1580 0880 9F90      		pop r9
1555
 1581               	.LVL90:
1556
 1582 0882 7F90      		pop r7
1557
 1583 0884 6F90      		pop r6
1558
 1584 0886 0895      		ret
1559
 1585               	.LFE8:
1560
 1587               	.global	main
1561
 1589               	main:
1562
 1590               	.LFB13:
1563
 1591               	.LM233:
1564
 1592 0888 5F92      		push r5
1565
 1593 088a 6F92      		push r6
1566
 1594 088c 7F92      		push r7
1567
 1595 088e 8F92      		push r8
1568
 1596 0890 9F92      		push r9
1569
 1597 0892 AF92      		push r10
1570
 1598 0894 BF92      		push r11
1571
 1599 0896 CF92      		push r12
1572
 1600 0898 DF92      		push r13
1573
 1601 089a EF92      		push r14
1574
 1602 089c FF92      		push r15
1575
 1603 089e 0F93      		push r16
1576
 1604 08a0 1F93      		push r17
1577
 1605 08a2 CF93      		push r28
1578
 1606 08a4 DF93      		push r29
1579
 1607               	/* prologue: function */
1580
 1608               	/* frame size = 0 */
1581
 1609               	.LM234:
1582
 1610 08a6 88E0      		ldi r24,lo8(8)
1583
 1611 08a8 84BB      		out 52-32,r24
1584
 1612               	.LM235:
1585
 1613 08aa 85BB      		out 53-32,r24
1586
 1614               	.LM236:
1587
 1615 08ac 8AE3      		ldi r24,lo8(58)
1588
 1616 08ae 81BB      		out 49-32,r24
1589
 1617               	.LM237:
1590
 1618 08b0 12BA      		out 50-32,__zero_reg__
1591
 1619               	.LM238:
1592
 1620 08b2 8EE0      		ldi r24,lo8(14)
1593
 1621 08b4 87BB      		out 55-32,r24
1594
 1622               	.LM239:
1595
 1623 08b6 81E3      		ldi r24,lo8(49)
1596
 1624 08b8 88BB      		out 56-32,r24
1597
 1625               	.LM240:
1598
 1626 08ba 88B3      		in r24,56-32
1599
 1627 08bc 806C      		ori r24,lo8(-64)
1600
 1628 08be 88BB      		out 56-32,r24
1601
 1629               	.LM241:
1602
 1630 08c0 B69B      		sbis 54-32,6
1603
 1631 08c2 00C0      		rjmp .L131
1604
 1632               	.LM242:
1605
 1633 08c4 B79B      		sbis 54-32,7
1606
 1634 08c6 00C0      		rjmp .L132
1607
 1635 08c8 81E0      		ldi r24,lo8(1)
1608
 1636 08ca 00C0      		rjmp .L172
1609
 1637               	.L132:
1610
 1638               	.LM243:
1611
 1639 08cc 82E0      		ldi r24,lo8(2)
1612
 1640 08ce 00C0      		rjmp .L172
1613
 1641               	.L131:
1614
 1642               	.LM244:
1615
 1643 08d0 B79B      		sbis 54-32,7
1616
 1644 08d2 00C0      		rjmp .L134
1617
 1645 08d4 83E0      		ldi r24,lo8(3)
1618
 1646 08d6 00C0      		rjmp .L172
1619
 1647               	.L134:
1620
 1648               	.LM245:
1621
 1649 08d8 84E0      		ldi r24,lo8(4)
1622
 1650               	.L172:
1623
 1651 08da 8093 0000 		sts MotorAdresse,r24
1624
 1652               	.LM246:
1625
 1653 08de 8BE0      		ldi r24,lo8(11)
1626
 1654 08e0 8093 0000 		sts HwVersion,r24
1627
 1655               	.LM247:
1628
 1656 08e4 879B      		sbis 48-32,7
1629
 1657 08e6 00C0      		rjmp .L135
1630
 1658 08e8 8CE0      		ldi r24,lo8(12)
1631
 1659 08ea 8093 0000 		sts HwVersion,r24
1632
 1660 08ee 80EC      		ldi r24,lo8(-64)
1633
 1661 08f0 8093 0000 		sts IntRef,r24
1634
 1662               	.L135:
1635
 1663               	.LM248:
1636
 1664 08f4 8AEB      		ldi r24,lo8(-70)
1637
 1665 08f6 81BB      		out 49-32,r24
1638
 1666               	.LM249:
1639
 1667 08f8 00D0      		rcall UART_Init
1640
 1668               	.LM250:
1641
 1669 08fa 00D0      		rcall Timer0_Init
1642
 1670               	.LM251:
1643
 1671               	/* #APP */
1644
 1672               	 ;  583 "main.c" 1
1645
 1673 08fc 7894      		sei
1646
 1674               	 ;  0 "" 2
1647
 1675               	.LM252:
1648
 1676               	/* #NOAPP */
1649
 1677 08fe 00D0      		rcall PWM_Init
1650
 1678               	.LM253:
1651
 1679 0900 80E5      		ldi r24,lo8(80)
1652
 1680 0902 00D0      		rcall InitIC2_Slave
1653
 1681               	.LM254:
1654
 1682 0904 00D0      		rcall InitPPM
1655
 1683               	.LM255:
1656
 1684 0906 85E6      		ldi r24,lo8(101)
1657
 1685 0908 90E0      		ldi r25,hi8(101)
1658
 1686 090a 00D0      		rcall SetDelay
1659
 1687               	.LM256:
1660
 1688 090c 86E6      		ldi r24,lo8(102)
1661
 1689 090e 90E0      		ldi r25,hi8(102)
1662
 1690 0910 00D0      		rcall SetDelay
1663
 1691               	.LM257:
1664
 1692 0912 87E6      		ldi r24,lo8(103)
1665
 1693 0914 90E0      		ldi r25,hi8(103)
1666
 1694 0916 00D0      		rcall SetDelay
1667
 1695 0918 9093 0000 		sts (MinUpmPulse)+1,r25
1668
 1696 091c 8093 0000 		sts MinUpmPulse,r24
1669
 1697               	.LM258:
1670
 1698 0920 8EEF      		ldi r24,lo8(254)
1671
 1699 0922 90E0      		ldi r25,hi8(254)
1672
 1700 0924 00D0      		rcall SetDelay
1673
 1701 0926 6C01      		movw r12,r24
1674
 1702               	.LVL91:
1675
 1703               	.LM259:
1676
 1704 0928 8DEE      		ldi r24,lo8(1005)
1677
 1705 092a 93E0      		ldi r25,hi8(1005)
1678
 1706 092c 00D0      		rcall SetDelay
1679
 1707 092e EC01      		movw r28,r24
1680
 1708               	.LVL92:
1681
 1709               	.LM260:
1682
 1710 0930 8EEE      		ldi r24,lo8(1006)
1683
 1711 0932 93E0      		ldi r25,hi8(1006)
1684
 1712 0934 00D0      		rcall SetDelay
1685
 1713 0936 00C0      		rjmp .L136
1686
 1714               	.L138:
1687
 1715               	.LM261:
1688
 1716 0938 00D0      		rcall SollwertErmittlung
1689
 1717 093a 8823      		tst r24
1690
 1718 093c 01F4      		brne .L137
1691
 1719               	.L136:
1692
 1720               	.LM262:
1693
 1721 093e 8091 0000 		lds r24,MinUpmPulse
1694
 1722 0942 9091 0000 		lds r25,(MinUpmPulse)+1
1695
 1723 0946 00D0      		rcall CheckDelay
1696
 1724 0948 8823      		tst r24
1697
 1725 094a 01F0      		breq .L138
1698
 1726               	.L137:
1699
 1727               	.LM263:
1700
 1728 094c 8091 0000 		lds r24,HwVersion
1701
 1729 0950 8C30      		cpi r24,lo8(12)
1702
 1730 0952 00F4      		brsh .L139
1703
 1731 0954 979A      		sbi 50-32,7
1704
 1732 0956 00C0      		rjmp .L140
1705
 1733               	.L139:
1706
 1734 0958 9798      		cbi 50-32,7
1707
 1735               	.L140:
1708
 1736               	.LM264:
1709
 1737 095a 1092 0000 		sts (PWM)+1,__zero_reg__
1710
 1738 095e 1092 0000 		sts PWM,__zero_reg__
1711
 1739               	.LM265:
1712
 1740 0962 00D0      		rcall SetPWM
1713
 1741               	.LM266:
1714
 1742 0964 88E0      		ldi r24,lo8(8)
1715
 1743 0966 80BF      		out 80-32,r24
1716
 1744               	.LM267:
1717
 1745 0968 81E0      		ldi r24,lo8(1)
1718
 1746 096a 87B9      		out 39-32,r24
1719
 1747               	.LM268:
1720
 1748 096c 8AE0      		ldi r24,lo8(10)
1721
 1749 096e 90E0      		ldi r25,hi8(10)
1722
 1750 0970 00D0      		rcall SetDelay
1723
 1751 0972 9093 0000 		sts (MinUpmPulse)+1,r25
1724
 1752 0976 8093 0000 		sts MinUpmPulse,r24
1725
 1753               	.LM269:
1726
 1754 097a 81E0      		ldi r24,lo8(1)
1727
 1755 097c 90E0      		ldi r25,hi8(1)
1728
 1756 097e 9093 0000 		sts (DebugOut+4)+1,r25
1729
 1757 0982 8093 0000 		sts DebugOut+4,r24
1730
 1758               	.LM270:
1731
 1759 0986 1092 0000 		sts (PPM_Signal)+1,__zero_reg__
1732
 1760 098a 1092 0000 		sts PPM_Signal,__zero_reg__
1733
 1761               	.LM271:
1734
 1762 098e 00D0      		rcall SollwertErmittlung
1735
 1763 0990 8823      		tst r24
1736
 1764 0992 01F4      		brne .L141
1737
 1765 0994 00D0      		rcall MotorTon
1738
 1766               	.L141:
1739
 1767               	.LM272:
1740
 1768 0996 81E3      		ldi r24,lo8(49)
1741
 1769 0998 88BB      		out 56-32,r24
1742
 1770 099a 10E0      		ldi r17,lo8(0)
1743
 1771               	.LVL93:
1744
 1772               	.LM273:
1745
 1773 099c FF24      		clr r15
1746
 1774 099e F394      		inc r15
1747
 1775               	.LM274:
1748
 1776 09a0 F1E4      		ldi r31,lo8(65)
1749
 1777 09a2 EF2E      		mov r14,r31
1750
 1778 09a4 EEE0      		ldi r30,lo8(14)
1751
 1779 09a6 5E2E      		mov r5,r30
1752
 1780               	.LM275:
1753
 1781 09a8 71E0      		ldi r23,lo8(1)
1754
 1782 09aa 672E      		mov r6,r23
1755
 1783 09ac 712C      		mov r7,__zero_reg__
1756
 1784               	.LM276:
1757
 1785 09ae 6FE0      		ldi r22,lo8(15)
1758
 1786 09b0 862E      		mov r8,r22
1759
 1787 09b2 912C      		mov r9,__zero_reg__
1760
 1788 09b4 00C0      		rjmp .L142
1761
 1789               	.LVL94:
1762
 1790               	.L148:
1763
 1791               	.LM277:
1764
 1792 09b6 102F      		mov r17,r16
1765
 1793               	.LVL95:
1766
 1794               	.L142:
1767
 1795               	.LM278:
1768
 1796 09b8 00D0      		rcall SollwertErmittlung
1769
 1797 09ba 8093 0000 		sts PWM,r24
1770
 1798 09be 1092 0000 		sts PWM+1,__zero_reg__
1771
 1799               	.LM279:
1772
 1800 09c2 0091 0000 		lds r16,Phase
1773
 1801               	.LVL96:
1774
 1802 09c6 0117      		cp r16,r17
1775
 1803 09c8 01F0      		breq .L143
1776
 1804               	.LVL97:
1777
 1805               	.LM280:
1778
 1806 09ca 1092 0000 		sts MotorGestoppt,__zero_reg__
1779
 1807               	.LM281:
1780
 1808 09ce 1092 0000 		sts ZeitFuerBerechnungen,__zero_reg__
1781
 1809               	.LM282:
1782
 1810 09d2 8AEF      		ldi r24,lo8(250)
1783
 1811 09d4 90E0      		ldi r25,hi8(250)
1784
 1812 09d6 00D0      		rcall SetDelay
1785
 1813 09d8 9093 0000 		sts (MinUpmPulse)+1,r25
1786
 1814 09dc 8093 0000 		sts MinUpmPulse,r24
1787
 1815               	.LM283:
1788
 1816 09e0 0091 0000 		lds r16,Phase
1789
 1817               	.LVL98:
1790
 1818               	.L143:
1791
 1819               	.LM284:
1792
 1820 09e4 8091 0000 		lds r24,PWM
1793
 1821 09e8 9091 0000 		lds r25,(PWM)+1
1794
 1822 09ec 892B      		or r24,r25
1795
 1823 09ee 01F4      		brne .L144
1796
 1824               	.LM285:
1797
 1825 09f0 1092 0000 		sts MotorAnwerfen,__zero_reg__
1798
 1826               	.LM286:
1799
 1827 09f4 1092 0000 		sts ZeitFuerBerechnungen,__zero_reg__
1800
 1828               	.LM287:
1801
 1829 09f8 C501      		movw r24,r10
1802
 1830 09fa 00D0      		rcall CheckDelay
1803
 1831 09fc 8823      		tst r24
1804
 1832 09fe 01F0      		breq .L145
1805
 1833               	.LM288:
1806
 1834 0a00 1092 0000 		sts CompInterruptFreigabe,__zero_reg__
1807
 1835 0a04 4398      		cbi 40-32,3
1808
 1836               	.LM289:
1809
 1837 0a06 F092 0000 		sts MotorGestoppt,r15
1810
 1838               	.LM290:
1811
 1839 0a0a 82B3      		in r24,50-32
1812
 1840 0a0c 877C      		andi r24,lo8(-57)
1813
 1841 0a0e 82BB      		out 50-32,r24
1814
 1842 0a10 1BBC      		out (74)+1-32,__zero_reg__
1815
 1843 0a12 1ABC      		out 74-32,__zero_reg__
1816
 1844 0a14 19BC      		out (72)+1-32,__zero_reg__
1817
 1845 0a16 18BC      		out 72-32,__zero_reg__
1818
 1846 0a18 13BC      		out 67-32,__zero_reg__
1819
 1847 0a1a FFBC      		out 79-32,r15
1820
 1848 0a1c E5BC      		out 69-32,r14
1821
 1849 0a1e 57BA      		out 55-32,r5
1822
 1850 0a20 88B3      		in r24,56-32
1823
 1851 0a22 817F      		andi r24,lo8(-15)
1824
 1852 0a24 88BB      		out 56-32,r24
1825
 1853 0a26 00C0      		rjmp .L145
1826
 1854               	.L144:
1827
 1855               	.LM291:
1828
 1856 0a28 8091 0000 		lds r24,MotorGestoppt
1829
 1857 0a2c 8823      		tst r24
1830
 1858 0a2e 01F0      		breq .L146
1831
 1859 0a30 F092 0000 		sts MotorAnwerfen,r15
1832
 1860               	.L146:
1833
 1861               	.LM292:
1834
 1862 0a34 8CED      		ldi r24,lo8(1500)
1835
 1863 0a36 95E0      		ldi r25,hi8(1500)
1836
 1864 0a38 00D0      		rcall SetDelay
1837
 1865 0a3a 5C01      		movw r10,r24
1838
 1866               	.L145:
1839
 1867               	.LM293:
1840
 1868 0a3c 8091 0000 		lds r24,MotorGestoppt
1841
 1869 0a40 8823      		tst r24
1842
 1870 0a42 01F0      		breq .L147
1843
 1871 0a44 1092 0000 		sts (PWM)+1,__zero_reg__
1844
 1872 0a48 1092 0000 		sts PWM,__zero_reg__
1845
 1873               	.L147:
1846
 1874               	.LM294:
1847
 1875 0a4c 00D0      		rcall SetPWM
1848
 1876               	.LM295:
1849
 1877 0a4e 8091 0000 		lds r24,ZeitFuerBerechnungen
1850
 1878 0a52 8F5F      		subi r24,lo8(-(1))
1851
 1879 0a54 8093 0000 		sts ZeitFuerBerechnungen,r24
1852
 1880 0a58 8150      		subi r24,lo8(-(-1))
1853
 1881 0a5a 01F0      		breq .+2
1854
 1882 0a5c 00C0      		rjmp .L148
1855
 1883               	.LM296:
1856
 1884 0a5e 8091 0000 		lds r24,MotorGestoppt
1857
 1885 0a62 8823      		tst r24
1858
 1886 0a64 01F0      		breq .L149
1859
 1887               	.LM297:
1860
 1888 0a66 8091 0000 		lds r24,HwVersion
1861
 1889 0a6a 8C30      		cpi r24,lo8(12)
1862
 1890 0a6c 00F4      		brsh .L150
1863
 1891 0a6e 979A      		sbi 50-32,7
1864
 1892 0a70 00C0      		rjmp .L151
1865
 1893               	.L150:
1866
 1894 0a72 9798      		cbi 50-32,7
1867
 1895               	.L151:
1868
 1896               	.LM298:
1869
 1897 0a74 00D0      		rcall FastADConvert
1870
 1898               	.L149:
1871
 1899               	.LM299:
1872
 1900 0a76 C601      		movw r24,r12
1873
 1901 0a78 00D0      		rcall CheckDelay
1874
 1902 0a7a 8823      		tst r24
1875
 1903 0a7c 01F0      		breq .L152
1876
 1904               	.LM300:
1877
 1905 0a7e 82E3      		ldi r24,lo8(50)
1878
 1906 0a80 90E0      		ldi r25,hi8(50)
1879
 1907 0a82 00D0      		rcall SetDelay
1880
 1908 0a84 6C01      		movw r12,r24
1881
 1909               	.LM301:
1882
 1910 0a86 8091 0000 		lds r24,Mittelstrom
1883
 1911 0a8a 482F      		mov r20,r24
1884
 1912 0a8c 50E0      		ldi r21,lo8(0)
1885
 1913 0a8e 2091 0000 		lds r18,Strom
1886
 1914 0a92 3091 0000 		lds r19,(Strom)+1
1887
 1915 0a96 4217      		cp r20,r18
1888
 1916 0a98 5307      		cpc r21,r19
1889
 1917 0a9a 00F4      		brsh .L153
1890
 1918 0a9c 8F5F      		subi r24,lo8(-(1))
1891
 1919 0a9e 00C0      		rjmp .L173
1892
 1920               	.L153:
1893
 1921               	.LM302:
1894
 1922 0aa0 2417      		cp r18,r20
1895
 1923 0aa2 3507      		cpc r19,r21
1896
 1924 0aa4 00F4      		brsh .L154
1897
 1925 0aa6 8150      		subi r24,lo8(-(-1))
1898
 1926               	.L173:
1899
 1927 0aa8 8093 0000 		sts Mittelstrom,r24
1900
 1928               	.L154:
1901
 1929               	.LM303:
1902
 1930 0aac 293C      		cpi r18,201
1903
 1931 0aae 3105      		cpc r19,__zero_reg__
1904
 1932 0ab0 00F0      		brlo .L155
1905
 1933 0ab2 8091 0000 		lds r24,MaxPWM
1906
 1934 0ab6 982F      		mov r25,r24
1907
 1935 0ab8 9295      		swap r25
1908
 1936 0aba 9695      		lsr r25
1909
 1937 0abc 9770      		andi r25,lo8(7)
1910
 1938 0abe 891B      		sub r24,r25
1911
 1939 0ac0 8093 0000 		sts MaxPWM,r24
1912
 1940               	.L155:
1913
 1941               	.LM304:
1914
 1942 0ac4 8091 0000 		lds r24,Mittelstrom
1915
 1943 0ac8 9091 0000 		lds r25,MaxPWM
1916
 1944 0acc 8937      		cpi r24,lo8(121)
1917
 1945 0ace 00F0      		brlo .L156
1918
 1946               	.LM305:
1919
 1947 0ad0 9923      		tst r25
1920
 1948 0ad2 01F0      		breq .L157
1921
 1949 0ad4 9150      		subi r25,lo8(-(-1))
1922
 1950 0ad6 9093 0000 		sts MaxPWM,r25
1923
 1951               	.L157:
1924
 1952               	.LM306:
1925
 1953 0ada AB9A      		sbi 53-32,3
1926
 1954 0adc 00C0      		rjmp .L152
1927
 1955               	.L156:
1928
 1956               	.LM307:
1929
 1957 0ade 9F3F      		cpi r25,lo8(-1)
1930
 1958 0ae0 01F0      		breq .L152
1931
 1959 0ae2 9F5F      		subi r25,lo8(-(1))
1932
 1960 0ae4 9093 0000 		sts MaxPWM,r25
1933
 1961               	.L152:
1934
 1962               	.LM308:
1935
 1963 0ae8 CE01      		movw r24,r28
1936
 1964 0aea 00D0      		rcall CheckDelay
1937
 1965 0aec 8823      		tst r24
1938
 1966 0aee 01F0      		breq .L158
1939
 1967               	.LM309:
1940
 1968 0af0 8AE0      		ldi r24,lo8(10)
1941
 1969 0af2 90E0      		ldi r25,hi8(10)
1942
 1970 0af4 00D0      		rcall SetDelay
1943
 1971 0af6 EC01      		movw r28,r24
1944
 1972               	.LM310:
1945
 1973 0af8 8091 0000 		lds r24,CntKommutierungen
1946
 1974 0afc 9091 0000 		lds r25,(CntKommutierungen)+1
1947
 1975 0b00 9093 0000 		sts (SIO_Drehzahl)+1,r25
1948
 1976 0b04 8093 0000 		sts SIO_Drehzahl,r24
1949
 1977               	.LM311:
1950
 1978 0b08 1092 0000 		sts (CntKommutierungen)+1,__zero_reg__
1951
 1979 0b0c 1092 0000 		sts CntKommutierungen,__zero_reg__
1952
 1980               	.LM312:
1953
 1981 0b10 F092 0000 		sts ZeitZumAdWandeln,r15
1954
 1982               	.L158:
1955
 1983               	.LM313:
1956
 1984 0b14 8091 0000 		lds r24,MinUpmPulse
1957
 1985 0b18 9091 0000 		lds r25,(MinUpmPulse)+1
1958
 1986 0b1c 00D0      		rcall CheckDelay
1959
 1987 0b1e 8823      		tst r24
1960
 1988 0b20 01F0      		breq .L159
1961
 1989 0b22 8091 0000 		lds r24,SIO_Drehzahl
1962
 1990 0b26 9091 0000 		lds r25,(SIO_Drehzahl)+1
1963
 1991 0b2a 892B      		or r24,r25
1964
 1992 0b2c 01F0      		breq .L160
1965
 1993               	.L159:
1966
 1994 0b2e 8091 0000 		lds r24,MotorAnwerfen
1967
 1995 0b32 8823      		tst r24
1968
 1996 0b34 01F4      		brne .+2
1969
 1997 0b36 00C0      		rjmp .L148
1970
 1998               	.L160:
1971
 1999               	.LM314:
1972
 2000 0b38 F092 0000 		sts MotorGestoppt,r15
1973
 2001               	.LM315:
1974
 2002 0b3c 1092 0000 		sts CompInterruptFreigabe,__zero_reg__
1975
 2003 0b40 4398      		cbi 40-32,3
1976
 2004               	.LM316:
1977
 2005 0b42 84E6      		ldi r24,lo8(100)
1978
 2006 0b44 90E0      		ldi r25,hi8(100)
1979
 2007 0b46 00D0      		rcall SetDelay
1980
 2008 0b48 9093 0000 		sts (MinUpmPulse)+1,r25
1981
 2009 0b4c 8093 0000 		sts MinUpmPulse,r24
1982
 2010               	.LM317:
1983
 2011 0b50 8091 0000 		lds r24,MotorAnwerfen
1984
 2012 0b54 8823      		tst r24
1985
 2013 0b56 01F4      		brne .+2
1986
 2014 0b58 00C0      		rjmp .L148
1987
 2015               	.LM318:
1988
 2016 0b5a AB98      		cbi 53-32,3
1989
 2017               	.LM319:
1990
 2018 0b5c 1092 0000 		sts Strom_max,__zero_reg__
1991
 2019               	.LM320:
1992
 2020 0b60 1092 0000 		sts MotorAnwerfen,__zero_reg__
1993
 2021               	.LM321:
1994
 2022 0b64 8AE0      		ldi r24,lo8(10)
1995
 2023 0b66 00D0      		rcall Anwerfen
1996
 2024 0b68 8823      		tst r24
1997
 2025 0b6a 01F4      		brne .+2
1998
 2026 0b6c 00C0      		rjmp .L161
1999
 2027               	.LM322:
2000
 2028 0b6e 8091 0000 		lds r24,HwVersion
2001
 2029 0b72 8C30      		cpi r24,lo8(12)
2002
 2030 0b74 00F4      		brsh .L162
2003
 2031 0b76 979A      		sbi 50-32,7
2004
 2032 0b78 00C0      		rjmp .L163
2005
 2033               	.L162:
2006
 2034 0b7a 9798      		cbi 50-32,7
2007
 2035               	.L163:
2008
 2036               	.LM323:
2009
 2037 0b7c 1092 0000 		sts MotorGestoppt,__zero_reg__
2010
 2038               	.LM324:
2011
 2039 0b80 8091 0000 		lds r24,Phase
2012
 2040 0b84 8150      		subi r24,lo8(-(-1))
2013
 2041 0b86 8093 0000 		sts Phase,r24
2014
 2042               	.LM325:
2015
 2043 0b8a 7092 0000 		sts (PWM)+1,r7
2016
 2044 0b8e 6092 0000 		sts PWM,r6
2017
 2045               	.LM326:
2018
 2046 0b92 00D0      		rcall SetPWM
2019
 2047               	.LM327:
2020
 2048 0b94 88B1      		in r24,40-32
2021
 2049 0b96 8C7F      		andi r24,lo8(-4)
2022
 2050 0b98 88B9      		out 40-32,r24
2023
 2051               	.LM328:
2024
 2052 0b9a F092 0000 		sts CompInterruptFreigabe,r15
2025
 2053 0b9e 88B1      		in r24,40-32
2026
 2054 0ba0 8A60      		ori r24,lo8(10)
2027
 2055 0ba2 88B9      		out 40-32,r24
2028
 2056               	.LM329:
2029
 2057 0ba4 84E1      		ldi r24,lo8(20)
2030
 2058 0ba6 90E0      		ldi r25,hi8(20)
2031
 2059 0ba8 00D0      		rcall SetDelay
2032
 2060 0baa 9093 0000 		sts (MinUpmPulse)+1,r25
2033
 2061 0bae 8093 0000 		sts MinUpmPulse,r24
2034
 2062               	.L164:
2035
 2063               	.LM330:
2036
 2064 0bb2 8091 0000 		lds r24,MinUpmPulse
2037
 2065 0bb6 9091 0000 		lds r25,(MinUpmPulse)+1
2038
 2066 0bba 00D0      		rcall CheckDelay
2039
 2067 0bbc 8823      		tst r24
2040
 2068 0bbe 01F0      		breq .L164
2041
 2069               	.LM331:
2042
 2070 0bc0 9092 0000 		sts (PWM)+1,r9
2043
 2071 0bc4 8092 0000 		sts PWM,r8
2044
 2072               	.LM332:
2045
 2073 0bc8 00D0      		rcall SetPWM
2046
 2074               	.LM333:
2047
 2075 0bca 8CE2      		ldi r24,lo8(300)
2048
 2076 0bcc 91E0      		ldi r25,hi8(300)
2049
 2077 0bce 00D0      		rcall SetDelay
2050
 2078 0bd0 9093 0000 		sts (MinUpmPulse)+1,r25
2051
 2079 0bd4 8093 0000 		sts MinUpmPulse,r24
2052
 2080 0bd8 00C0      		rjmp .L171
2053
 2081               	.L166:
2054
 2082               	.LM334:
2055
 2083 0bda 8091 0000 		lds r24,Strom
2056
 2084 0bde 9091 0000 		lds r25,(Strom)+1
2057
 2085 0be2 CD97      		sbiw r24,61
2058
 2086 0be4 00F0      		brlo .L171
2059
 2087               	.LM335:
2060
 2088 0be6 82B3      		in r24,50-32
2061
 2089 0be8 877C      		andi r24,lo8(-57)
2062
 2090 0bea 82BB      		out 50-32,r24
2063
 2091 0bec 1BBC      		out (74)+1-32,__zero_reg__
2064
 2092 0bee 1ABC      		out 74-32,__zero_reg__
2065
 2093 0bf0 19BC      		out (72)+1-32,__zero_reg__
2066
 2094 0bf2 18BC      		out 72-32,__zero_reg__
2067
 2095 0bf4 13BC      		out 67-32,__zero_reg__
2068
 2096 0bf6 FFBC      		out 79-32,r15
2069
 2097 0bf8 E5BC      		out 69-32,r14
2070
 2098 0bfa 57BA      		out 55-32,r5
2071
 2099 0bfc 88B3      		in r24,56-32
2072
 2100 0bfe 817F      		andi r24,lo8(-15)
2073
 2101 0c00 88BB      		out 56-32,r24
2074
 2102               	.LM336:
2075
 2103 0c02 8AE0      		ldi r24,lo8(10)
2076
 2104 0c04 00D0      		rcall RotBlink
2077
 2105               	.LM337:
2078
 2106 0c06 F092 0000 		sts MotorAnwerfen,r15
2079
 2107               	.L171:
2080
 2108               	.LM338:
2081
 2109 0c0a 8091 0000 		lds r24,MinUpmPulse
2082
 2110 0c0e 9091 0000 		lds r25,(MinUpmPulse)+1
2083
 2111 0c12 00D0      		rcall CheckDelay
2084
 2112 0c14 8823      		tst r24
2085
 2113 0c16 01F0      		breq .L166
2086
 2114               	.LM339:
2087
 2115 0c18 82E3      		ldi r24,lo8(50)
2088
 2116 0c1a 90E0      		ldi r25,hi8(50)
2089
 2117 0c1c 00D0      		rcall SetDelay
2090
 2118 0c1e EC01      		movw r28,r24
2091
 2119 0c20 07E0      		ldi r16,lo8(7)
2092
 2120 0c22 00C0      		rjmp .L148
2093
 2121               	.LVL99:
2094
 2122               	.L161:
2095
 2123               	.LM340:
2096
 2124 0c24 00D0      		rcall SollwertErmittlung
2097
 2125 0c26 8823      		tst r24
2098
 2126 0c28 01F4      		brne .+2
2099
 2127 0c2a 00C0      		rjmp .L148
2100
 2128 0c2c F092 0000 		sts MotorAnwerfen,r15
2101
 2129 0c30 00C0      		rjmp .L148
2102
 2130               	.LFE13:
2103
 2132               	.global	PWM
2104
 2133               	.global	PWM
2105
 2134               		.section .bss
2106
 2137               	PWM:
2107
 2138 0000 0000      		.skip 2,0
2108
 2139               	.global	Strom
2109
 2140               	.global	Strom
2110
 2143               	Strom:
2111
 2144 0002 0000      		.skip 2,0
2112
 2145               	.global	Strom_max
2113
 2146               	.global	Strom_max
2114
 2149               	Strom_max:
2115
 2150 0004 00        		.skip 1,0
2116
 2151               	.global	Mittelstrom
2117
 2152               	.global	Mittelstrom
2118
 2155               	Mittelstrom:
2119
 2156 0005 00        		.skip 1,0
2120
 2157               	.global	Drehzahl
2121
 2158               	.global	Drehzahl
2122
 2161               	Drehzahl:
2123
 2162 0006 0000      		.skip 2,0
2124
 2163               	.global	KommutierDelay
2125
 2164               		.data
2126
 2167               	KommutierDelay:
2127
 2168 0000 0A00      		.word	10
2128
 2169               	.global	I2C_Timeout
2129
 2170               	.global	I2C_Timeout
2130
 2171               		.section .bss
2131
 2174               	I2C_Timeout:
2132
 2175 0008 0000      		.skip 2,0
2133
 2176               	.global	SIO_Timeout
2134
 2177               	.global	SIO_Timeout
2135
 2180               	SIO_Timeout:
2136
 2181 000a 0000      		.skip 2,0
2137
 2182               	.global	SollDrehzahl
2138
 2183               	.global	SollDrehzahl
2139
 2186               	SollDrehzahl:
2140
 2187 000c 0000      		.skip 2,0
2141
 2188               	.global	IstDrehzahl
2142
 2189               	.global	IstDrehzahl
2143
 2192               	IstDrehzahl:
2144
 2193 000e 0000      		.skip 2,0
2145
 2194               	.global	ZeitFuerBerechnungen
2146
 2195               		.data
2147
 2198               	ZeitFuerBerechnungen:
2148
 2199 0002 01        		.byte	1
2149
 2200               	.global	MotorAnwerfen
2150
 2201               	.global	MotorAnwerfen
2151
 2202               		.section .bss
2152
 2205               	MotorAnwerfen:
2153
 2206 0010 00        		.skip 1,0
2154
 2207               	.global	MotorGestoppt
2155
 2208               		.data
2156
 2211               	MotorGestoppt:
2157
 2212 0003 01        		.byte	1
2158
 2213               	.global	MaxPWM
2159
 2216               	MaxPWM:
2160
 2217 0004 FF        		.byte	-1
2161
 2218               	.global	CntKommutierungen
2162
 2219               	.global	CntKommutierungen
2163
 2220               		.section .bss
2164
 2223               	CntKommutierungen:
2165
 2224 0011 0000      		.skip 2,0
2166
 2225               	.global	SIO_Drehzahl
2167
 2226               	.global	SIO_Drehzahl
2168
 2229               	SIO_Drehzahl:
2169
 2230 0013 0000      		.skip 2,0
2170
 2231               	.global	ZeitZumAdWandeln
2171
 2232               		.data
2172
 2235               	ZeitZumAdWandeln:
2173
 2236 0005 01        		.byte	1
2174
 2237               	.global	MotorAdresse
2175
 2240               	MotorAdresse:
2176
 2241 0006 01        		.byte	1
2177
 2242               	.global	PPM_Betrieb
2178
 2245               	PPM_Betrieb:
2179
 2246 0007 01        		.byte	1
2180
 2247               	.global	IntRef
2181
 2248               	.global	IntRef
2182
 2249               		.section .bss
2183
 2252               	IntRef:
2184
 2253 0015 00        		.skip 1,0
2185
 2254               		.lcomm sollwert.2195,2
2186
 2255               		.data
2187
 2258               	C.19.2035:
2188
 2259 0008 00        		.byte	0
2189
 2260 0009 00        		.byte	0
2190
 2261 000a 00        		.byte	0
2191
 2262 000b 01        		.byte	1
2192
 2263 000c 01        		.byte	1
2193
 2264 000d 02        		.byte	2
2194
 2265 000e 02        		.byte	2
2195
 2266               		.comm HwVersion,1,1
2196
 2267               		.comm RuheStrom,2,1
2197
 2268               		.comm DrehZahlTabelle,512,1
2198
 2269               		.comm MinUpmPulse,2,1
2199
 2374               	.Letext0:
2200
DEFINED SYMBOLS
2201
                            *ABS*:00000000 main.c
2202
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccInFYjF.s:2      *ABS*:0000003f __SREG__
2203
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccInFYjF.s:3      *ABS*:0000003e __SP_H__
2204
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccInFYjF.s:4      *ABS*:0000003d __SP_L__
2205
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccInFYjF.s:5      *ABS*:00000034 __CCP__
2206
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccInFYjF.s:6      *ABS*:00000000 __tmp_reg__
2207
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccInFYjF.s:7      *ABS*:00000001 __zero_reg__
2208
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccInFYjF.s:18     .text:00000000 SetPWM
2209
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccInFYjF.s:2137   .bss:00000000 PWM
2210
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccInFYjF.s:2216   .data:00000004 MaxPWM
2211
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccInFYjF.s:2143   .bss:00000002 Strom
2212
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccInFYjF.s:82     .text:00000060 DebugAusgaben
2213
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccInFYjF.s:2155   .bss:00000005 Mittelstrom
2214
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccInFYjF.s:2229   .bss:00000013 SIO_Drehzahl
2215
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccInFYjF.s:119    .text:000000a8 PWM_Init
2216
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccInFYjF.s:148    .text:000000c8 Wait
2217
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccInFYjF.s:172    .text:000000d6 Delay
2218
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccInFYjF.s:196    .text:000000e2 SollwertErmittlung
2219
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccInFYjF.s:2174   .bss:00000008 I2C_Timeout
2220
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccInFYjF.s:2180   .bss:0000000a SIO_Timeout
2221
                             .bss:00000016 sollwert.2195
2222
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccInFYjF.s:2245   .data:00000007 PPM_Betrieb
2223
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccInFYjF.s:336    .text:000001dc DelayM
2224
                            *COM*:00000002 RuheStrom
2225
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccInFYjF.s:387    .text:0000021e RotBlink
2226
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccInFYjF.s:435    .text:00000246 MotorTon
2227
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccInFYjF.s:2258   .data:00000008 C.19.2035
2228
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccInFYjF.s:2240   .data:00000006 MotorAdresse
2229
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccInFYjF.s:2149   .bss:00000004 Strom_max
2230
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccInFYjF.s:2252   .bss:00000015 IntRef
2231
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccInFYjF.s:1326   .text:000006da Anwerfen
2232
                            *COM*:00000002 MinUpmPulse
2233
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccInFYjF.s:1589   .text:00000888 main
2234
                            *COM*:00000001 HwVersion
2235
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccInFYjF.s:2211   .data:00000003 MotorGestoppt
2236
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccInFYjF.s:2198   .data:00000002 ZeitFuerBerechnungen
2237
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccInFYjF.s:2205   .bss:00000010 MotorAnwerfen
2238
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccInFYjF.s:2223   .bss:00000011 CntKommutierungen
2239
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccInFYjF.s:2235   .data:00000005 ZeitZumAdWandeln
2240
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccInFYjF.s:2161   .bss:00000006 Drehzahl
2241
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccInFYjF.s:2167   .data:00000000 KommutierDelay
2242
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccInFYjF.s:2186   .bss:0000000c SollDrehzahl
2243
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccInFYjF.s:2192   .bss:0000000e IstDrehzahl
2244
                            *COM*:00000200 DrehZahlTabelle
2245
 
2246
UNDEFINED SYMBOLS
2247
DebugOut
2248
PPM_Signal
2249
SIO_Sollwert
2250
__udivmodhi4
2251
anz_ppm_werte
2252
I2C_RXBuffer
2253
FastADConvert
2254
Delay_ms
2255
CompInterruptFreigabe
2256
uart_putchar
2257
MessAD
2258
Manuell
2259
SetDelay
2260
CheckDelay
2261
UebertragungAbgeschlossen
2262
SendUart
2263
DatenUebertragung
2264
__udivmodsi4
2265
Phase
2266
__udivmodqi4
2267
AdConvert
2268
UART_Init
2269
Timer0_Init
2270
InitIC2_Slave
2271
InitPPM
2272
__do_copy_data
2273
__do_clear_bss