Blame | Last modification | View Log | RSS feed
1 .file "uart.c"
2 __SREG__ = 0x3f
3 __SP_H__ = 0x3e
4 __SP_L__ = 0x3d
5 __tmp_reg__ = 0
6 __zero_reg__ = 1
7 .global __do_copy_data
8 .global __do_clear_bss
9 .text
10 .global __vector_22
12 __vector_22:
13 /* prologue: frame size=0 */
14 0000 1F92 push __zero_reg__
15 0002 0F92 push __tmp_reg__
16 0004 0FB6 in __tmp_reg__,__SREG__
17 0006 0F92 push __tmp_reg__
18 0008 1124 clr __zero_reg__
19 000a 8F93 push r24
20 000c 9F93 push r25
21 000e EF93 push r30
22 0010 FF93 push r31
23 /* prologue end (size=9) */
24 0012 8091 0000 lds r24,UebertragungAbgeschlossen
25 0016 8823 tst r24
26 0018 01F4 brne .L2
27 001a 8091 0000 lds r24,ptr.2536
28 001e 9091 0000 lds r25,(ptr.2536)+1
29 0022 0196 adiw r24,1
30 0024 9093 0000 sts (ptr.2536)+1,r25
31 0028 8093 0000 sts ptr.2536,r24
32 002c FC01 movw r30,r24
33 002e E050 subi r30,lo8(-(TxdBuffer))
34 0030 F040 sbci r31,hi8(-(TxdBuffer))
35 0032 E081 ld r30,Z
36 0034 ED30 cpi r30,lo8(13)
37 0036 01F0 breq .L4
38 0038 8A3A cpi r24,170
39 003a 9105 cpc r25,__zero_reg__
40 003c 01F4 brne .L6
41 .L4:
42 003e 1092 0000 sts (ptr.2536)+1,__zero_reg__
43 0042 1092 0000 sts ptr.2536,__zero_reg__
44 0046 81E0 ldi r24,lo8(1)
45 0048 8093 0000 sts UebertragungAbgeschlossen,r24
46 .L6:
47 004c E093 C600 sts 198,r30
48 0050 00C0 rjmp .L8
49 .L2:
50 0052 1092 0000 sts (ptr.2536)+1,__zero_reg__
51 0056 1092 0000 sts ptr.2536,__zero_reg__
52 .L8:
53 /* epilogue: frame size=0 */
54 005a FF91 pop r31
55 005c EF91 pop r30
56 005e 9F91 pop r25
57 0060 8F91 pop r24
58 0062 0F90 pop __tmp_reg__
59 0064 0FBE out __SREG__,__tmp_reg__
60 0066 0F90 pop __tmp_reg__
61 0068 1F90 pop __zero_reg__
62 006a 1895 reti
63 /* epilogue end (size=9) */
64 /* function __vector_22 size 54 (36) */
66 .global AddCRC
68 AddCRC:
69 /* prologue: frame size=0 */
70 /* prologue end (size=0) */
71 006c DC01 movw r26,r24
72 006e 20E0 ldi r18,lo8(0)
73 0070 30E0 ldi r19,hi8(0)
74 0072 40E0 ldi r20,lo8(0)
75 0074 50E0 ldi r21,hi8(0)
76 0076 00C0 rjmp .L10
77 .L11:
78 0078 FA01 movw r30,r20
79 007a E050 subi r30,lo8(-(TxdBuffer))
80 007c F040 sbci r31,hi8(-(TxdBuffer))
81 007e 8081 ld r24,Z
82 0080 280F add r18,r24
83 0082 311D adc r19,__zero_reg__
84 0084 4F5F subi r20,lo8(-(1))
85 0086 5F4F sbci r21,hi8(-(1))
86 .L10:
87 0088 4A17 cp r20,r26
88 008a 5B07 cpc r21,r27
89 008c 01F4 brne .L11
90 008e 3F70 andi r19,hi8(4095)
91 0090 C901 movw r24,r18
92 0092 36E0 ldi r19,6
93 0094 9695 1: lsr r25
94 0096 8795 ror r24
95 0098 3A95 dec r19
96 009a 01F4 brne 1b
97 009c 835C subi r24,lo8(-(61))
98 009e FD01 movw r30,r26
99 00a0 E050 subi r30,lo8(-(TxdBuffer))
100 00a2 F040 sbci r31,hi8(-(TxdBuffer))
101 00a4 8083 st Z,r24
102 00a6 1196 adiw r26,1
103 00a8 2F73 andi r18,lo8(63)
104 00aa 235C subi r18,lo8(-(61))
105 00ac FD01 movw r30,r26
106 00ae E050 subi r30,lo8(-(TxdBuffer))
107 00b0 F040 sbci r31,hi8(-(TxdBuffer))
108 00b2 2083 st Z,r18
109 00b4 A050 subi r26,lo8(-(TxdBuffer+1))
110 00b6 B040 sbci r27,hi8(-(TxdBuffer+1))
111 00b8 8DE0 ldi r24,lo8(13)
112 00ba 8C93 st X,r24
113 00bc 1092 0000 sts UebertragungAbgeschlossen,__zero_reg__
114 00c0 8091 0000 lds r24,TxdBuffer
115 00c4 8093 C600 sts 198,r24
116 /* epilogue: frame size=0 */
117 00c8 0895 ret
118 /* epilogue end (size=1) */
119 /* function AddCRC size 48 (47) */
121 .global Decode64
123 Decode64:
124 /* prologue: frame size=0 */
125 /* prologue end (size=0) */
126 00ca 3091 0000 lds r19,AnzahlEmpfangsBytes
127 00ce 3650 subi r19,lo8(-(-6))
128 00d0 43E0 ldi r20,lo8(3)
129 00d2 63E0 ldi r22,lo8(3)
130 00d4 00C0 rjmp .L15
131 .L16:
132 00d6 E42F mov r30,r20
133 00d8 F0E0 ldi r31,lo8(0)
134 00da E050 subi r30,lo8(-(RxdBuffer))
135 00dc F040 sbci r31,hi8(-(RxdBuffer))
136 00de 8081 ld r24,Z
137 00e0 4F5F subi r20,lo8(-(1))
138 00e2 E42F mov r30,r20
139 00e4 F0E0 ldi r31,lo8(0)
140 00e6 E050 subi r30,lo8(-(RxdBuffer))
141 00e8 F040 sbci r31,hi8(-(RxdBuffer))
142 00ea 2081 ld r18,Z
143 00ec 4F5F subi r20,lo8(-(1))
144 00ee E42F mov r30,r20
145 00f0 F0E0 ldi r31,lo8(0)
146 00f2 E050 subi r30,lo8(-(RxdBuffer))
147 00f4 F040 sbci r31,hi8(-(RxdBuffer))
148 00f6 7081 ld r23,Z
149 00f8 4F5F subi r20,lo8(-(1))
150 00fa E42F mov r30,r20
151 00fc F0E0 ldi r31,lo8(0)
152 00fe 4350 subi r20,lo8(-(-3))
153 0100 E050 subi r30,lo8(-(RxdBuffer))
154 0102 F040 sbci r31,hi8(-(RxdBuffer))
155 0104 5081 ld r21,Z
156 0106 2D53 subi r18,lo8(-(-61))
157 0108 E62F mov r30,r22
158 010a F0E0 ldi r31,lo8(0)
159 010c 922F mov r25,r18
160 010e 9295 swap r25
161 0110 9F70 andi r25,lo8(15)
162 0112 8D53 subi r24,lo8(-(-61))
163 0114 880F lsl r24
164 0116 880F lsl r24
165 0118 892B or r24,r25
166 011a E050 subi r30,lo8(-(RxdBuffer))
167 011c F040 sbci r31,hi8(-(RxdBuffer))
168 011e 8083 st Z,r24
169 0120 E62F mov r30,r22
170 0122 EF5F subi r30,lo8(-(1))
171 0124 3130 cpi r19,lo8(1)
172 0126 01F0 breq .L17
173 0128 972F mov r25,r23
174 012a 9D53 subi r25,lo8(-(-61))
175 012c F0E0 ldi r31,lo8(0)
176 012e 2295 swap r18
177 0130 207F andi r18,lo8(-16)
178 0132 892F mov r24,r25
179 0134 8695 lsr r24
180 0136 8695 lsr r24
181 0138 282B or r18,r24
182 013a E050 subi r30,lo8(-(RxdBuffer))
183 013c F040 sbci r31,hi8(-(RxdBuffer))
184 013e 2083 st Z,r18
185 0140 E62F mov r30,r22
186 0142 EE5F subi r30,lo8(-(2))
187 0144 3350 subi r19,lo8(-(-3))
188 0146 3F3F cpi r19,lo8(-1)
189 0148 01F0 breq .L17
190 014a 4C5F subi r20,lo8(-(4))
191 014c F0E0 ldi r31,lo8(0)
192 014e 9295 swap r25
193 0150 990F lsl r25
194 0152 990F lsl r25
195 0154 907C andi r25,lo8(-64)
196 0156 5D53 subi r21,lo8(-(-61))
197 0158 952B or r25,r21
198 015a E050 subi r30,lo8(-(RxdBuffer))
199 015c F040 sbci r31,hi8(-(RxdBuffer))
200 015e 9083 st Z,r25
201 0160 6D5F subi r22,lo8(-(3))
202 .L15:
203 0162 3323 tst r19
204 0164 01F0 breq .+2
205 0166 00C0 rjmp .L16
206 0168 E62F mov r30,r22
207 .L17:
208 016a 80E0 ldi r24,lo8(RxdBuffer+3)
209 016c 90E0 ldi r25,hi8(RxdBuffer+3)
210 016e 9093 0000 sts (pRxData)+1,r25
211 0172 8093 0000 sts pRxData,r24
212 0176 E350 subi r30,lo8(-(-3))
213 0178 E093 0000 sts RxDataLen,r30
214 /* epilogue: frame size=0 */
215 017c 0895 ret
216 /* epilogue end (size=1) */
217 /* function Decode64 size 90 (89) */
219 .global uart_putchar
221 uart_putchar:
222 /* prologue: frame size=0 */
223 /* prologue end (size=0) */
224 017e 982F mov r25,r24
225 .L24:
226 0180 8091 C000 lds r24,192
227 0184 85FF sbrs r24,5
228 0186 00C0 rjmp .L24
229 0188 9093 C600 sts 198,r25
230 /* epilogue: frame size=0 */
231 018c 0895 ret
232 /* epilogue end (size=1) */
233 /* function uart_putchar size 8 (7) */
235 .global UART_Init
237 UART_Init:
238 /* prologue: frame size=0 */
239 /* prologue end (size=0) */
240 018e E1EC ldi r30,lo8(193)
241 0190 F0E0 ldi r31,hi8(193)
242 0192 88E1 ldi r24,lo8(24)
243 0194 8083 st Z,r24
244 0196 A0EC ldi r26,lo8(192)
245 0198 B0E0 ldi r27,hi8(192)
246 019a 8C91 ld r24,X
247 019c 8260 ori r24,lo8(2)
248 019e 8C93 st X,r24
249 01a0 8081 ld r24,Z
250 01a2 8068 ori r24,lo8(-128)
251 01a4 8083 st Z,r24
252 01a6 8081 ld r24,Z
253 01a8 8064 ori r24,lo8(64)
254 01aa 8083 st Z,r24
255 01ac 1092 C500 sts 197,__zero_reg__
256 01b0 8AE2 ldi r24,lo8(42)
257 01b2 8093 C400 sts 196,r24
258 01b6 8091 0000 lds r24,DebugDataIntervall
259 01ba 9091 0000 lds r25,(DebugDataIntervall)+1
260 01be 0E94 0000 call SetDelay
261 01c2 9093 0000 sts (Debug_Timer)+1,r25
262 01c6 8093 0000 sts Debug_Timer,r24
263 01ca 8CED ldi r24,lo8(220)
264 01cc 90E0 ldi r25,hi8(220)
265 01ce 0E94 0000 call SetDelay
266 01d2 9093 0000 sts (Kompass_Timer)+1,r25
267 01d6 8093 0000 sts Kompass_Timer,r24
268 01da 1092 0000 sts VersionInfo,__zero_reg__
269 01de 82E5 ldi r24,lo8(82)
270 01e0 8093 0000 sts VersionInfo+1,r24
271 01e4 1092 0000 sts VersionInfo+4,__zero_reg__
272 01e8 8BE0 ldi r24,lo8(11)
273 01ea 8093 0000 sts VersionInfo+2,r24
274 01ee 1092 0000 sts VersionInfo+3,__zero_reg__
275 01f2 1092 0000 sts (pRxData)+1,__zero_reg__
276 01f6 1092 0000 sts pRxData,__zero_reg__
277 01fa 1092 0000 sts RxDataLen,__zero_reg__
278 /* epilogue: frame size=0 */
279 01fe 0895 ret
280 /* epilogue end (size=1) */
281 /* function UART_Init size 57 (56) */
283 .global SendOutData
285 SendOutData:
286 /* prologue: frame size=2 */
287 0200 A2E0 ldi r26,lo8(2)
288 0202 B0E0 ldi r27,hi8(2)
289 0204 E0E0 ldi r30,pm_lo8(1f)
290 0206 F0E0 ldi r31,pm_hi8(1f)
291 0208 0C94 0000 jmp __prologue_saves__+22
292 1:
293 /* prologue end (size=6) */
294 020c 9D85 ldd r25,Y+13
295 020e AE85 ldd r26,Y+14
296 0210 83E2 ldi r24,lo8(35)
297 0212 8093 0000 sts TxdBuffer,r24
298 0216 9F59 subi r25,lo8(-(97))
299 0218 9093 0000 sts TxdBuffer+1,r25
300 021c 8C85 ldd r24,Y+12
301 021e 8093 0000 sts TxdBuffer+2,r24
302 0222 CE01 movw r24,r28
303 0224 0F96 adiw r24,15
304 0226 9A83 std Y+2,r25
305 0228 8983 std Y+1,r24
306 022a AA23 tst r26
307 022c 01F4 brne .L32
308 022e EE24 clr r14
309 0230 FF24 clr r15
310 0232 60E0 ldi r22,lo8(0)
311 0234 70E0 ldi r23,hi8(0)
312 .L34:
313 0236 03E0 ldi r16,lo8(3)
314 0238 10E0 ldi r17,hi8(3)
315 023a B0E0 ldi r27,lo8(0)
316 023c 00C0 rjmp .L35
317 .L32:
318 023e EF84 ldd r14,Y+15
319 0240 F888 ldd r15,Y+16
320 0242 CE01 movw r24,r28
321 0244 4396 adiw r24,19
322 0246 9A83 std Y+2,r25
323 0248 8983 std Y+1,r24
324 024a 6989 ldd r22,Y+17
325 024c 7A89 ldd r23,Y+18
326 024e A150 subi r26,lo8(-(-1))
327 0250 00C0 rjmp .L34
328 .L36:
329 0252 F701 movw r30,r14
330 0254 EB0F add r30,r27
331 0256 F11D adc r31,__zero_reg__
332 0258 9081 ld r25,Z
333 025a BF5F subi r27,lo8(-(1))
334 025c 6150 subi r22,lo8(-(-1))
335 025e 7040 sbci r23,hi8(-(-1))
336 0260 01F0 breq .L37
337 0262 9B01 movw r18,r22
338 0264 00C0 rjmp .L39
339 .L37:
340 0266 AA23 tst r26
341 0268 01F4 brne .+2
342 026a 00C0 rjmp .L40
343 026c E981 ldd r30,Y+1
344 026e FA81 ldd r31,Y+2
345 0270 E080 ld r14,Z
346 0272 F180 ldd r15,Z+1
347 0274 3496 adiw r30,4
348 0276 FA83 std Y+2,r31
349 0278 E983 std Y+1,r30
350 027a 3497 sbiw r30,4
351 027c 2281 ldd r18,Z+2
352 027e 3381 ldd r19,Z+3
353 0280 A150 subi r26,lo8(-(-1))
354 0282 2115 cp r18,__zero_reg__
355 0284 3105 cpc r19,__zero_reg__
356 0286 01F4 brne .+2
357 0288 00C0 rjmp .L42
358 028a B0E0 ldi r27,lo8(0)
359 .L39:
360 028c F701 movw r30,r14
361 028e EB0F add r30,r27
362 0290 F11D adc r31,__zero_reg__
363 0292 4081 ld r20,Z
364 0294 BF5F subi r27,lo8(-(1))
365 0296 B901 movw r22,r18
366 0298 6150 subi r22,lo8(-(-1))
367 029a 7040 sbci r23,hi8(-(-1))
368 029c 01F4 brne .L44
369 029e AA23 tst r26
370 02a0 01F4 brne .L46
371 02a2 DD24 clr r13
372 02a4 00C0 rjmp .L48
373 .L46:
374 02a6 E981 ldd r30,Y+1
375 02a8 FA81 ldd r31,Y+2
376 02aa E080 ld r14,Z
377 02ac F180 ldd r15,Z+1
378 02ae 3496 adiw r30,4
379 02b0 FA83 std Y+2,r31
380 02b2 E983 std Y+1,r30
381 02b4 3497 sbiw r30,4
382 02b6 6281 ldd r22,Z+2
383 02b8 7381 ldd r23,Z+3
384 02ba A150 subi r26,lo8(-(-1))
385 02bc 6115 cp r22,__zero_reg__
386 02be 7105 cpc r23,__zero_reg__
387 02c0 01F4 brne .L49
388 02c2 DD24 clr r13
389 02c4 00C0 rjmp .L56
390 .L49:
391 02c6 B0E0 ldi r27,lo8(0)
392 .L44:
393 02c8 F701 movw r30,r14
394 02ca EB0F add r30,r27
395 02cc F11D adc r31,__zero_reg__
396 02ce D080 ld r13,Z
397 02d0 BF5F subi r27,lo8(-(1))
398 02d2 6150 subi r22,lo8(-(-1))
399 02d4 7040 sbci r23,hi8(-(-1))
400 02d6 01F4 brne .L48
401 02d8 AA23 tst r26
402 02da 01F0 breq .L48
403 02dc E981 ldd r30,Y+1
404 02de FA81 ldd r31,Y+2
405 02e0 E080 ld r14,Z
406 02e2 F180 ldd r15,Z+1
407 02e4 3496 adiw r30,4
408 02e6 FA83 std Y+2,r31
409 02e8 E983 std Y+1,r30
410 02ea 3497 sbiw r30,4
411 02ec 6281 ldd r22,Z+2
412 02ee 7381 ldd r23,Z+3
413 02f0 A150 subi r26,lo8(-(-1))
414 .L56:
415 02f2 B0E0 ldi r27,lo8(0)
416 .L48:
417 02f4 892F mov r24,r25
418 02f6 8695 lsr r24
419 02f8 8695 lsr r24
420 02fa 835C subi r24,lo8(-(61))
421 02fc F801 movw r30,r16
422 02fe E050 subi r30,lo8(-(TxdBuffer))
423 0300 F040 sbci r31,hi8(-(TxdBuffer))
424 0302 8083 st Z,r24
425 0304 50E0 ldi r21,lo8(0)
426 0306 9A01 movw r18,r20
427 0308 84E0 ldi r24,4
428 030a 3695 1: lsr r19
429 030c 2795 ror r18
430 030e 8A95 dec r24
431 0310 01F4 brne 1b
432 0312 892F mov r24,r25
433 0314 90E0 ldi r25,lo8(0)
434 0316 8370 andi r24,lo8(3)
435 0318 9070 andi r25,hi8(3)
436 031a F4E0 ldi r31,4
437 031c 880F 1: lsl r24
438 031e 991F rol r25
439 0320 FA95 dec r31
440 0322 01F4 brne 1b
441 0324 282B or r18,r24
442 0326 235C subi r18,lo8(-(61))
443 0328 F801 movw r30,r16
444 032a E050 subi r30,lo8(-(TxdBuffer+1))
445 032c F040 sbci r31,hi8(-(TxdBuffer+1))
446 032e 2083 st Z,r18
447 0330 8D2D mov r24,r13
448 0332 8295 swap r24
449 0334 8695 lsr r24
450 0336 8695 lsr r24
451 0338 8370 andi r24,lo8(3)
452 033a 4F70 andi r20,lo8(15)
453 033c 5070 andi r21,hi8(15)
454 033e 440F lsl r20
455 0340 551F rol r21
456 0342 440F lsl r20
457 0344 551F rol r21
458 0346 842B or r24,r20
459 0348 835C subi r24,lo8(-(61))
460 034a F801 movw r30,r16
461 034c E050 subi r30,lo8(-(TxdBuffer+2))
462 034e F040 sbci r31,hi8(-(TxdBuffer+2))
463 0350 8083 st Z,r24
464 0352 8FE3 ldi r24,lo8(63)
465 0354 D822 and r13,r24
466 0356 8DE3 ldi r24,lo8(61)
467 0358 D80E add r13,r24
468 035a F801 movw r30,r16
469 035c E050 subi r30,lo8(-(TxdBuffer+3))
470 035e F040 sbci r31,hi8(-(TxdBuffer+3))
471 0360 D082 st Z,r13
472 0362 0C5F subi r16,lo8(-(4))
473 0364 1F4F sbci r17,hi8(-(4))
474 .L35:
475 0366 6115 cp r22,__zero_reg__
476 0368 7105 cpc r23,__zero_reg__
477 036a 01F0 breq .+2
478 036c 00C0 rjmp .L36
479 036e 00C0 rjmp .L55
480 .L42:
481 0370 B0E0 ldi r27,lo8(0)
482 .L40:
483 0372 DD24 clr r13
484 0374 40E0 ldi r20,lo8(0)
485 0376 00C0 rjmp .L48
486 .L55:
487 0378 C801 movw r24,r16
488 037a 0E94 0000 call AddCRC
489 /* epilogue: frame size=2 */
490 037e E7E0 ldi r30,7
491 0380 CE5F subi r28,-2
492 0382 0C94 0000 jmp __epilogue_restores__+22
493 /* epilogue end (size=4) */
494 /* function SendOutData size 201 (191) */
496 .global DatenUebertragung
498 DatenUebertragung:
499 /* prologue: frame size=16 */
500 0386 A0E1 ldi r26,lo8(16)
501 0388 B0E0 ldi r27,hi8(16)
502 038a E0E0 ldi r30,pm_lo8(1f)
503 038c F0E0 ldi r31,pm_hi8(1f)
504 038e 0C94 0000 jmp __prologue_saves__+24
505 1:
506 /* prologue end (size=6) */
507 0392 8091 0000 lds r24,UebertragungAbgeschlossen
508 0396 8823 tst r24
509 0398 01F4 brne .+2
510 039a 00C0 rjmp .L102
511 039c 8091 0000 lds r24,AboTimeOut
512 03a0 9091 0000 lds r25,(AboTimeOut)+1
513 03a4 0E94 0000 call CheckDelay
514 03a8 8823 tst r24
515 03aa 01F0 breq .L60
516 03ac 1092 0000 sts (Display_Interval)+1,__zero_reg__
517 03b0 1092 0000 sts Display_Interval,__zero_reg__
518 03b4 1092 0000 sts (DebugDataIntervall)+1,__zero_reg__
519 03b8 1092 0000 sts DebugDataIntervall,__zero_reg__
520 03bc 1092 0000 sts (Intervall3D)+1,__zero_reg__
521 03c0 1092 0000 sts Intervall3D,__zero_reg__
522 .L60:
523 03c4 8091 0000 lds r24,Display_Interval
524 03c8 9091 0000 lds r25,(Display_Interval)+1
525 03cc 892B or r24,r25
526 03ce 01F0 breq .L62
527 03d0 8091 0000 lds r24,Display_Timer
528 03d4 9091 0000 lds r25,(Display_Timer)+1
529 03d8 0E94 0000 call CheckDelay
530 03dc 8823 tst r24
531 03de 01F4 brne .L64
532 .L62:
533 03e0 8091 0000 lds r24,DebugDisplayAnforderung
534 03e4 8823 tst r24
535 03e6 01F4 brne .+2
536 03e8 00C0 rjmp .L65
537 .L64:
538 03ea 8091 0000 lds r24,UebertragungAbgeschlossen
539 03ee 8823 tst r24
540 03f0 01F4 brne .+2
541 03f2 00C0 rjmp .L65
542 03f4 8091 0000 lds r24,DisplayLine
543 03f8 00E0 ldi r16,lo8(DisplayBuff)
544 03fa 10E0 ldi r17,hi8(DisplayBuff)
545 03fc 8430 cpi r24,lo8(4)
546 03fe 00F0 brlo .L67
547 0400 0E94 0000 call Menu
548 0404 80E5 ldi r24,lo8(80)
549 0406 90E0 ldi r25,hi8(80)
550 0408 9F93 push r25
551 040a 8F93 push r24
552 040c 1F93 push r17
553 040e 0F93 push r16
554 0410 81E0 ldi r24,lo8(1)
555 0412 8F93 push r24
556 0414 8F93 push r24
557 0416 88E4 ldi r24,lo8(72)
558 0418 8F93 push r24
559 041a 0E94 0000 call SendOutData
560 041e 2DB7 in r18,__SP_L__
561 0420 3EB7 in r19,__SP_H__
562 0422 295F subi r18,lo8(-(7))
563 0424 3F4F sbci r19,hi8(-(7))
564 0426 2DBF out __SP_L__,r18
565 0428 00C0 rjmp .L69
566 .L67:
567 042a 1092 0000 sts DispPtr,__zero_reg__
568 042e E091 0000 lds r30,_printf_P
569 0432 F091 0000 lds r31,(_printf_P)+1
570 0436 80E0 ldi r24,lo8(__c.3030)
571 0438 90E0 ldi r25,hi8(__c.3030)
572 043a 9F93 push r25
573 043c 8F93 push r24
574 043e 80E0 ldi r24,lo8(gs(Menu_Putchar))
575 0440 90E0 ldi r25,hi8(gs(Menu_Putchar))
576 0442 9F93 push r25
577 0444 8F93 push r24
578 0446 0995 icall
579 0448 84E1 ldi r24,lo8(20)
580 044a 90E0 ldi r25,hi8(20)
581 044c 9F93 push r25
582 044e 8F93 push r24
583 0450 1F93 push r17
584 0452 0F93 push r16
585 0454 81E0 ldi r24,lo8(1)
586 0456 90E0 ldi r25,hi8(1)
587 0458 9F93 push r25
588 045a 8F93 push r24
589 045c 80E0 ldi r24,lo8(DisplayLine)
590 045e 90E0 ldi r25,hi8(DisplayLine)
591 0460 9F93 push r25
592 0462 8F93 push r24
593 0464 82E0 ldi r24,lo8(2)
594 0466 8F93 push r24
595 0468 81E0 ldi r24,lo8(1)
596 046a 8F93 push r24
597 046c 88E4 ldi r24,lo8(72)
598 046e 8F93 push r24
599 0470 0E94 0000 call SendOutData
600 0474 8091 0000 lds r24,DisplayLine
601 0478 8F5F subi r24,lo8(-(1))
602 047a 8093 0000 sts DisplayLine,r24
603 047e 8150 subi r24,lo8(-(-1))
604 0480 2DB7 in r18,__SP_L__
605 0482 3EB7 in r19,__SP_H__
606 0484 215F subi r18,lo8(-(15))
607 0486 3F4F sbci r19,hi8(-(15))
608 0488 2DBF out __SP_L__,r18
609 048a 8430 cpi r24,lo8(4)
610 048c 00F0 brlo .L69
611 048e 1092 0000 sts DisplayLine,__zero_reg__
612 .L69:
613 0492 8091 0000 lds r24,Display_Interval
614 0496 9091 0000 lds r25,(Display_Interval)+1
615 049a 0E94 0000 call SetDelay
616 049e 9093 0000 sts (Display_Timer)+1,r25
617 04a2 8093 0000 sts Display_Timer,r24
618 04a6 1092 0000 sts DebugDisplayAnforderung,__zero_reg__
619 .L65:
620 04aa 8091 0000 lds r24,DebugDisplayAnforderung1
621 04ae 8823 tst r24
622 04b0 01F0 breq .L71
623 04b2 8091 0000 lds r24,UebertragungAbgeschlossen
624 04b6 8823 tst r24
625 04b8 01F0 breq .L71
626 04ba 0E94 0000 call Menu
627 04be 80E5 ldi r24,lo8(80)
628 04c0 90E0 ldi r25,hi8(80)
629 04c2 9F93 push r25
630 04c4 8F93 push r24
631 04c6 80E0 ldi r24,lo8(DisplayBuff)
632 04c8 90E0 ldi r25,hi8(DisplayBuff)
633 04ca 9F93 push r25
634 04cc 8F93 push r24
635 04ce 21E0 ldi r18,lo8(1)
636 04d0 30E0 ldi r19,hi8(1)
637 04d2 3F93 push r19
638 04d4 2F93 push r18
639 04d6 80E0 ldi r24,lo8(MaxMenue)
640 04d8 90E0 ldi r25,hi8(MaxMenue)
641 04da 9F93 push r25
642 04dc 8F93 push r24
643 04de 3F93 push r19
644 04e0 2F93 push r18
645 04e2 80E0 ldi r24,lo8(MenuePunkt)
646 04e4 90E0 ldi r25,hi8(MenuePunkt)
647 04e6 9F93 push r25
648 04e8 8F93 push r24
649 04ea 83E0 ldi r24,lo8(3)
650 04ec 8F93 push r24
651 04ee 81E0 ldi r24,lo8(1)
652 04f0 8F93 push r24
653 04f2 8CE4 ldi r24,lo8(76)
654 04f4 8F93 push r24
655 04f6 0E94 0000 call SendOutData
656 04fa 1092 0000 sts DebugDisplayAnforderung1,__zero_reg__
657 04fe 8DB7 in r24,__SP_L__
658 0500 9EB7 in r25,__SP_H__
659 0502 0F96 adiw r24,15
660 0504 8DBF out __SP_L__,r24
661 .L71:
662 0506 8091 0000 lds r24,GetVersionAnforderung
663 050a 8823 tst r24
664 050c 01F0 breq .L74
665 050e 8091 0000 lds r24,UebertragungAbgeschlossen
666 0512 8823 tst r24
667 0514 01F0 breq .L74
668 0516 8AE0 ldi r24,lo8(10)
669 0518 90E0 ldi r25,hi8(10)
670 051a 9F93 push r25
671 051c 8F93 push r24
672 051e 80E0 ldi r24,lo8(VersionInfo)
673 0520 90E0 ldi r25,hi8(VersionInfo)
674 0522 9F93 push r25
675 0524 8F93 push r24
676 0526 81E0 ldi r24,lo8(1)
677 0528 8F93 push r24
678 052a 8F93 push r24
679 052c 86E5 ldi r24,lo8(86)
680 052e 8F93 push r24
681 0530 0E94 0000 call SendOutData
682 0534 1092 0000 sts GetVersionAnforderung,__zero_reg__
683 0538 2DB7 in r18,__SP_L__
684 053a 3EB7 in r19,__SP_H__
685 053c 295F subi r18,lo8(-(7))
686 053e 3F4F sbci r19,hi8(-(7))
687 0540 2DBF out __SP_L__,r18
688 .L74:
689 0542 8091 0000 lds r24,GetExternalControl
690 0546 8823 tst r24
691 0548 01F0 breq .L77
692 054a 8091 0000 lds r24,UebertragungAbgeschlossen
693 054e 8823 tst r24
694 0550 01F0 breq .L77
695 0552 2091 0000 lds r18,MeineSlaveAdresse
696 0556 8BE0 ldi r24,lo8(11)
697 0558 90E0 ldi r25,hi8(11)
698 055a 9F93 push r25
699 055c 8F93 push r24
700 055e 80E0 ldi r24,lo8(ExternControl)
701 0560 90E0 ldi r25,hi8(ExternControl)
702 0562 9F93 push r25
703 0564 8F93 push r24
704 0566 81E0 ldi r24,lo8(1)
705 0568 8F93 push r24
706 056a 2F93 push r18
707 056c 87E4 ldi r24,lo8(71)
708 056e 8F93 push r24
709 0570 0E94 0000 call SendOutData
710 0574 1092 0000 sts GetExternalControl,__zero_reg__
711 0578 8DB7 in r24,__SP_L__
712 057a 9EB7 in r25,__SP_H__
713 057c 0796 adiw r24,7
714 057e 8DBF out __SP_L__,r24
715 .L77:
716 0580 8091 0000 lds r24,Kompass_Timer
717 0584 9091 0000 lds r25,(Kompass_Timer)+1
718 0588 0E94 0000 call CheckDelay
719 058c 8823 tst r24
720 058e 01F4 brne .+2
721 0590 00C0 rjmp .L80
722 0592 8091 0000 lds r24,UebertragungAbgeschlossen
723 0596 8823 tst r24
724 0598 01F4 brne .+2
725 059a 00C0 rjmp .L80
726 059c E090 0000 lds r14,EE_Parameter+28
727 05a0 FF24 clr r15
728 05a2 EE0C lsl r14
729 05a4 FF1C rol r15
730 05a6 EE0C lsl r14
731 05a8 FF1C rol r15
732 05aa 0027 clr r16
733 05ac F7FC sbrc r15,7
734 05ae 0095 com r16
735 05b0 102F mov r17,r16
736 05b2 6091 0000 lds r22,IntegralNick
737 05b6 7091 0000 lds r23,(IntegralNick)+1
738 05ba 8091 0000 lds r24,(IntegralNick)+2
739 05be 9091 0000 lds r25,(IntegralNick)+3
740 05c2 A801 movw r20,r16
741 05c4 9701 movw r18,r14
742 05c6 0E94 0000 call __divmodsi4
743 05ca 3093 0000 sts (WinkelOut)+1,r19
744 05ce 2093 0000 sts WinkelOut,r18
745 05d2 6091 0000 lds r22,IntegralRoll
746 05d6 7091 0000 lds r23,(IntegralRoll)+1
747 05da 8091 0000 lds r24,(IntegralRoll)+2
748 05de 9091 0000 lds r25,(IntegralRoll)+3
749 05e2 A801 movw r20,r16
750 05e4 9701 movw r18,r14
751 05e6 0E94 0000 call __divmodsi4
752 05ea 3093 0000 sts (WinkelOut+2)+1,r19
753 05ee 2093 0000 sts WinkelOut+2,r18
754 05f2 8091 0000 lds r24,Parameter_UserParam1
755 05f6 8093 0000 sts WinkelOut+4,r24
756 05fa 8091 0000 lds r24,Parameter_UserParam2
757 05fe 8093 0000 sts WinkelOut+5,r24
758 0602 88E0 ldi r24,lo8(8)
759 0604 90E0 ldi r25,hi8(8)
760 0606 9F93 push r25
761 0608 8F93 push r24
762 060a 80E0 ldi r24,lo8(WinkelOut)
763 060c 90E0 ldi r25,hi8(WinkelOut)
764 060e 9F93 push r25
765 0610 8F93 push r24
766 0612 81E0 ldi r24,lo8(1)
767 0614 8F93 push r24
768 0616 83E0 ldi r24,lo8(3)
769 0618 8F93 push r24
770 061a 8BE6 ldi r24,lo8(107)
771 061c 8F93 push r24
772 061e 0E94 0000 call SendOutData
773 0622 2DB7 in r18,__SP_L__
774 0624 3EB7 in r19,__SP_H__
775 0626 295F subi r18,lo8(-(7))
776 0628 3F4F sbci r19,hi8(-(7))
777 062a 2DBF out __SP_L__,r18
778 062c 8091 0000 lds r24,WinkelOut+6
779 0630 8530 cpi r24,lo8(5)
780 0632 00F0 brlo .L83
781 0634 86E0 ldi r24,lo8(6)
782 0636 8093 0000 sts WinkelOut+6,r24
783 .L83:
784 063a 83E6 ldi r24,lo8(99)
785 063c 90E0 ldi r25,hi8(99)
786 063e 0E94 0000 call SetDelay
787 0642 9093 0000 sts (Kompass_Timer)+1,r25
788 0646 8093 0000 sts Kompass_Timer,r24
789 .L80:
790 064a 8091 0000 lds r24,DebugDataIntervall
791 064e 9091 0000 lds r25,(DebugDataIntervall)+1
792 0652 892B or r24,r25
793 0654 01F0 breq .L85
794 0656 8091 0000 lds r24,Debug_Timer
795 065a 9091 0000 lds r25,(Debug_Timer)+1
796 065e 0E94 0000 call CheckDelay
797 0662 8823 tst r24
798 0664 01F4 brne .L87
799 .L85:
800 0666 8091 0000 lds r24,DebugDataAnforderung
801 066a 8823 tst r24
802 066c 01F0 breq .L88
803 .L87:
804 066e 8091 0000 lds r24,UebertragungAbgeschlossen
805 0672 8823 tst r24
806 0674 01F0 breq .L88
807 0676 0E94 0000 call CopyDebugValues
808 067a 82E4 ldi r24,lo8(66)
809 067c 90E0 ldi r25,hi8(66)
810 067e 9F93 push r25
811 0680 8F93 push r24
812 0682 80E0 ldi r24,lo8(DebugOut)
813 0684 90E0 ldi r25,hi8(DebugOut)
814 0686 9F93 push r25
815 0688 8F93 push r24
816 068a 81E0 ldi r24,lo8(1)
817 068c 8F93 push r24
818 068e 8F93 push r24
819 0690 84E4 ldi r24,lo8(68)
820 0692 8F93 push r24
821 0694 0E94 0000 call SendOutData
822 0698 1092 0000 sts DebugDataAnforderung,__zero_reg__
823 069c 8091 0000 lds r24,DebugDataIntervall
824 06a0 9091 0000 lds r25,(DebugDataIntervall)+1
825 06a4 2DB7 in r18,__SP_L__
826 06a6 3EB7 in r19,__SP_H__
827 06a8 295F subi r18,lo8(-(7))
828 06aa 3F4F sbci r19,hi8(-(7))
829 06ac 2DBF out __SP_L__,r18
830 06ae 0097 sbiw r24,0
831 06b0 01F0 breq .L88
832 06b2 0E94 0000 call SetDelay
833 06b6 9093 0000 sts (Debug_Timer)+1,r25
834 06ba 8093 0000 sts Debug_Timer,r24
835 .L88:
836 06be 8091 0000 lds r24,Intervall3D
837 06c2 9091 0000 lds r25,(Intervall3D)+1
838 06c6 892B or r24,r25
839 06c8 01F4 brne .+2
840 06ca 00C0 rjmp .L91
841 06cc 8091 0000 lds r24,Timer3D
842 06d0 9091 0000 lds r25,(Timer3D)+1
843 06d4 0E94 0000 call CheckDelay
844 06d8 8823 tst r24
845 06da 01F4 brne .+2
846 06dc 00C0 rjmp .L91
847 06de 8091 0000 lds r24,UebertragungAbgeschlossen
848 06e2 8823 tst r24
849 06e4 01F4 brne .+2
850 06e6 00C0 rjmp .L91
851 06e8 E090 0000 lds r14,EE_Parameter+28
852 06ec FF24 clr r15
853 06ee EE0C lsl r14
854 06f0 FF1C rol r15
855 06f2 EE0C lsl r14
856 06f4 FF1C rol r15
857 06f6 0027 clr r16
858 06f8 F7FC sbrc r15,7
859 06fa 0095 com r16
860 06fc 102F mov r17,r16
861 06fe 6091 0000 lds r22,IntegralNick
862 0702 7091 0000 lds r23,(IntegralNick)+1
863 0706 8091 0000 lds r24,(IntegralNick)+2
864 070a 9091 0000 lds r25,(IntegralNick)+3
865 070e A801 movw r20,r16
866 0710 9701 movw r18,r14
867 0712 0E94 0000 call __divmodsi4
868 0716 3093 0000 sts (Data3D)+1,r19
869 071a 2093 0000 sts Data3D,r18
870 071e 6091 0000 lds r22,IntegralRoll
871 0722 7091 0000 lds r23,(IntegralRoll)+1
872 0726 8091 0000 lds r24,(IntegralRoll)+2
873 072a 9091 0000 lds r25,(IntegralRoll)+3
874 072e A801 movw r20,r16
875 0730 9701 movw r18,r14
876 0732 0E94 0000 call __divmodsi4
877 0736 3093 0000 sts (Data3D+2)+1,r19
878 073a 2093 0000 sts Data3D+2,r18
879 073e 6091 0000 lds r22,ErsatzKompass
880 0742 7091 0000 lds r23,(ErsatzKompass)+1
881 0746 8091 0000 lds r24,(ErsatzKompass)+2
882 074a 9091 0000 lds r25,(ErsatzKompass)+3
883 074e 2AE0 ldi r18,lo8(10)
884 0750 30E0 ldi r19,hi8(10)
885 0752 40E0 ldi r20,hlo8(10)
886 0754 50E0 ldi r21,hhi8(10)
887 0756 0E94 0000 call __mulsi3
888 075a 2091 0000 lds r18,GIER_GRAD_FAKTOR
889 075e 3091 0000 lds r19,(GIER_GRAD_FAKTOR)+1
890 0762 4091 0000 lds r20,(GIER_GRAD_FAKTOR)+2
891 0766 5091 0000 lds r21,(GIER_GRAD_FAKTOR)+3
892 076a 0E94 0000 call __divmodsi4
893 076e 3093 0000 sts (Data3D+4)+1,r19
894 0772 2093 0000 sts Data3D+4,r18
895 0776 8091 0000 lds r24,SummeNick
896 077a 9091 0000 lds r25,(SummeNick)+1
897 077e A091 0000 lds r26,(SummeNick)+2
898 0782 B091 0000 lds r27,(SummeNick)+3
899 0786 49E0 ldi r20,9
900 0788 B595 1: asr r27
901 078a A795 ror r26
902 078c 9795 ror r25
903 078e 8795 ror r24
904 0790 4A95 dec r20
905 0792 01F4 brne 1b
906 0794 8093 0000 sts Data3D+6,r24
907 0798 8091 0000 lds r24,SummeRoll
908 079c 9091 0000 lds r25,(SummeRoll)+1
909 07a0 A091 0000 lds r26,(SummeRoll)+2
910 07a4 B091 0000 lds r27,(SummeRoll)+3
911 07a8 39E0 ldi r19,9
912 07aa B595 1: asr r27
913 07ac A795 ror r26
914 07ae 9795 ror r25
915 07b0 8795 ror r24
916 07b2 3A95 dec r19
917 07b4 01F4 brne 1b
918 07b6 8093 0000 sts Data3D+7,r24
919 07ba 8091 0000 lds r24,Mess_Integral_Gier
920 07be 9091 0000 lds r25,(Mess_Integral_Gier)+1
921 07c2 A091 0000 lds r26,(Mess_Integral_Gier)+2
922 07c6 B091 0000 lds r27,(Mess_Integral_Gier)+3
923 07ca 29E0 ldi r18,9
924 07cc B595 1: asr r27
925 07ce A795 ror r26
926 07d0 9795 ror r25
927 07d2 8795 ror r24
928 07d4 2A95 dec r18
929 07d6 01F4 brne 1b
930 07d8 8093 0000 sts Data3D+8,r24
931 07dc 8EE0 ldi r24,lo8(14)
932 07de 90E0 ldi r25,hi8(14)
933 07e0 9F93 push r25
934 07e2 8F93 push r24
935 07e4 80E0 ldi r24,lo8(Data3D)
936 07e6 90E0 ldi r25,hi8(Data3D)
937 07e8 9F93 push r25
938 07ea 8F93 push r24
939 07ec 81E0 ldi r24,lo8(1)
940 07ee 8F93 push r24
941 07f0 8F93 push r24
942 07f2 83E4 ldi r24,lo8(67)
943 07f4 8F93 push r24
944 07f6 0E94 0000 call SendOutData
945 07fa 8091 0000 lds r24,Intervall3D
946 07fe 9091 0000 lds r25,(Intervall3D)+1
947 0802 0E94 0000 call SetDelay
948 0806 9093 0000 sts (Timer3D)+1,r25
949 080a 8093 0000 sts Timer3D,r24
950 080e 8DB7 in r24,__SP_L__
951 0810 9EB7 in r25,__SP_H__
952 0812 0796 adiw r24,7
953 0814 8DBF out __SP_L__,r24
954 .L91:
955 0816 6091 0000 lds r22,DebugTextAnforderung
956 081a 6F3F cpi r22,lo8(-1)
957 081c 01F0 breq .L95
958 081e 70E0 ldi r23,lo8(0)
959 0820 94E0 ldi r25,4
960 0822 660F 1: lsl r22
961 0824 771F rol r23
962 0826 9A95 dec r25
963 0828 01F4 brne 1b
964 082a 6050 subi r22,lo8(-(ANALOG_TEXT))
965 082c 7040 sbci r23,hi8(-(ANALOG_TEXT))
966 082e 40E1 ldi r20,lo8(16)
967 0830 50E0 ldi r21,hi8(16)
968 0832 8E01 movw r16,r28
969 0834 0F5F subi r16,lo8(-(1))
970 0836 1F4F sbci r17,hi8(-(1))
971 0838 C801 movw r24,r16
972 083a 0E94 0000 call memcpy_P
973 083e 80E1 ldi r24,lo8(16)
974 0840 90E0 ldi r25,hi8(16)
975 0842 9F93 push r25
976 0844 8F93 push r24
977 0846 1F93 push r17
978 0848 0F93 push r16
979 084a 81E0 ldi r24,lo8(1)
980 084c 90E0 ldi r25,hi8(1)
981 084e 9F93 push r25
982 0850 8F93 push r24
983 0852 80E0 ldi r24,lo8(DebugTextAnforderung)
984 0854 90E0 ldi r25,hi8(DebugTextAnforderung)
985 0856 9F93 push r25
986 0858 8F93 push r24
987 085a 82E0 ldi r24,lo8(2)
988 085c 8F93 push r24
989 085e 81E0 ldi r24,lo8(1)
990 0860 8F93 push r24
991 0862 81E4 ldi r24,lo8(65)
992 0864 8F93 push r24
993 0866 0E94 0000 call SendOutData
994 086a 8FEF ldi r24,lo8(-1)
995 086c 8093 0000 sts DebugTextAnforderung,r24
996 0870 2DB7 in r18,__SP_L__
997 0872 3EB7 in r19,__SP_H__
998 0874 255F subi r18,lo8(-(11))
999 0876 3F4F sbci r19,hi8(-(11))
1000 0878 2DBF out __SP_L__,r18
1001 .L95:
1002 087a 8091 0000 lds r24,ConfirmFrame
1003 087e 8823 tst r24
1004 0880 01F0 breq .L97
1005 0882 8091 0000 lds r24,UebertragungAbgeschlossen
1006 0886 8823 tst r24
1007 0888 01F0 breq .L97
1008 088a 81E0 ldi r24,lo8(1)
1009 088c 90E0 ldi r25,hi8(1)
1010 088e 9F93 push r25
1011 0890 8F93 push r24
1012 0892 80E0 ldi r24,lo8(ConfirmFrame)
1013 0894 90E0 ldi r25,hi8(ConfirmFrame)
1014 0896 9F93 push r25
1015 0898 8F93 push r24
1016 089a 81E0 ldi r24,lo8(1)
1017 089c 8F93 push r24
1018 089e 8F93 push r24
1019 08a0 82E4 ldi r24,lo8(66)
1020 08a2 8F93 push r24
1021 08a4 0E94 0000 call SendOutData
1022 08a8 1092 0000 sts ConfirmFrame,__zero_reg__
1023 08ac 8DB7 in r24,__SP_L__
1024 08ae 9EB7 in r25,__SP_H__
1025 08b0 0796 adiw r24,7
1026 08b2 8DBF out __SP_L__,r24
1027 .L97:
1028 08b4 8091 0000 lds r24,GetPPMChannelAnforderung
1029 08b8 8823 tst r24
1030 08ba 01F0 breq .L102
1031 08bc 8091 0000 lds r24,UebertragungAbgeschlossen
1032 08c0 8823 tst r24
1033 08c2 01F0 breq .L102
1034 08c4 84E3 ldi r24,lo8(52)
1035 08c6 90E0 ldi r25,hi8(52)
1036 08c8 9F93 push r25
1037 08ca 8F93 push r24
1038 08cc 80E0 ldi r24,lo8(PPM_in)
1039 08ce 90E0 ldi r25,hi8(PPM_in)
1040 08d0 9F93 push r25
1041 08d2 8F93 push r24
1042 08d4 81E0 ldi r24,lo8(1)
1043 08d6 8F93 push r24
1044 08d8 8F93 push r24
1045 08da 80E5 ldi r24,lo8(80)
1046 08dc 8F93 push r24
1047 08de 0E94 0000 call SendOutData
1048 08e2 1092 0000 sts GetPPMChannelAnforderung,__zero_reg__
1049 08e6 2DB7 in r18,__SP_L__
1050 08e8 3EB7 in r19,__SP_H__
1051 08ea 295F subi r18,lo8(-(7))
1052 08ec 3F4F sbci r19,hi8(-(7))
1053 08ee 2DBF out __SP_L__,r18
1054 .L102:
1055 /* epilogue: frame size=16 */
1056 08f0 E6E0 ldi r30,6
1057 08f2 C05F subi r28,-16
1058 08f4 0C94 0000 jmp __epilogue_restores__+24
1059 /* epilogue end (size=4) */
1060 /* function DatenUebertragung size 697 (687) */
1062 .global BearbeiteRxDaten
1064 BearbeiteRxDaten:
1065 /* prologue: frame size=2 */
1066 08f8 A2E0 ldi r26,lo8(2)
1067 08fa B0E0 ldi r27,hi8(2)
1068 08fc E0E0 ldi r30,pm_lo8(1f)
1069 08fe F0E0 ldi r31,pm_hi8(1f)
1070 0900 0C94 0000 jmp __prologue_saves__+32
1071 1:
1072 /* prologue end (size=6) */
1073 0904 8091 0000 lds r24,NeuerDatensatzEmpfangen
1074 0908 8823 tst r24
1075 090a 01F4 brne .+2
1076 090c 00C0 rjmp .L217
1077 090e 0E94 0000 call Decode64
1078 0912 8091 0000 lds r24,RxdBuffer+1
1079 0916 8236 cpi r24,lo8(98)
1080 0918 01F0 breq .+2
1081 091a 00C0 rjmp .L106
1082 091c 8091 0000 lds r24,RxdBuffer+2
1083 0920 8037 cpi r24,lo8(112)
1084 0922 01F4 brne .+2
1085 0924 00C0 rjmp .L113
1086 0926 8137 cpi r24,lo8(113)
1087 0928 00F4 brsh .L120
1088 092a 8A36 cpi r24,lo8(106)
1089 092c 01F4 brne .+2
1090 092e 00C0 rjmp .L110
1091 0930 8B36 cpi r24,lo8(107)
1092 0932 00F4 brsh .L121
1093 0934 8B34 cpi r24,lo8(75)
1094 0936 01F0 breq .L108
1095 0938 8636 cpi r24,lo8(102)
1096 093a 01F0 breq .+2
1097 093c 00C0 rjmp .L106
1098 093e 00C0 rjmp .L109
1099 .L121:
1100 0940 8D36 cpi r24,lo8(109)
1101 0942 01F4 brne .+2
1102 0944 00C0 rjmp .L111
1103 0946 8E36 cpi r24,lo8(110)
1104 0948 01F0 breq .+2
1105 094a 00C0 rjmp .L106
1106 094c 00C0 rjmp .L218
1107 .L120:
1108 094e 8437 cpi r24,lo8(116)
1109 0950 01F0 breq .L116
1110 0952 8537 cpi r24,lo8(117)
1111 0954 00F4 brsh .L122
1112 0956 8137 cpi r24,lo8(113)
1113 0958 01F4 brne .+2
1114 095a 00C0 rjmp .L114
1115 095c 8337 cpi r24,lo8(115)
1116 095e 01F0 breq .+2
1117 0960 00C0 rjmp .L106
1118 0962 00C0 rjmp .L115
1119 .L122:
1120 0964 8737 cpi r24,lo8(119)
1121 0966 01F4 brne .+2
1122 0968 00C0 rjmp .L118
1123 096a 8937 cpi r24,lo8(121)
1124 096c 01F4 brne .+2
1125 096e 00C0 rjmp .L119
1126 0970 8537 cpi r24,lo8(117)
1127 0972 01F0 breq .+2
1128 0974 00C0 rjmp .L106
1129 0976 00C0 rjmp .L117
1130 .L108:
1131 0978 E091 0000 lds r30,pRxData
1132 097c F091 0000 lds r31,(pRxData)+1
1133 0980 8081 ld r24,Z
1134 0982 9181 ldd r25,Z+1
1135 0984 9093 0000 sts (KompassValue)+1,r25
1136 0988 8093 0000 sts KompassValue,r24
1137 098c 845E subi r24,lo8(-(540))
1138 098e 9D4F sbci r25,hi8(-(540))
1139 0990 2091 0000 lds r18,KompassStartwert
1140 0994 3091 0000 lds r19,(KompassStartwert)+1
1141 0998 821B sub r24,r18
1142 099a 930B sbc r25,r19
1143 099c 68E6 ldi r22,lo8(360)
1144 099e 71E0 ldi r23,hi8(360)
1145 09a0 0E94 0000 call __divmodhi4
1146 09a4 845B subi r24,lo8(-(-180))
1147 09a6 9040 sbci r25,hi8(-(-180))
1148 09a8 9093 0000 sts (KompassRichtung)+1,r25
1149 09ac 8093 0000 sts KompassRichtung,r24
1150 09b0 00C0 rjmp .L106
1151 .L116:
1152 09b2 8091 0000 lds r24,AnzahlEmpfangsBytes
1153 09b6 E091 0000 lds r30,pRxData
1154 09ba F091 0000 lds r31,(pRxData)+1
1155 09be 8531 cpi r24,lo8(21)
1156 09c0 00F0 brlo .L123
1157 09c2 A0E0 ldi r26,lo8(MotorTest)
1158 09c4 B0E0 ldi r27,hi8(MotorTest)
1159 09c6 80E1 ldi r24,lo8(16)
1160 .L125:
1161 09c8 0190 ld r0,Z+
1162 09ca 0D92 st X+,r0
1163 09cc 8150 subi r24,lo8(-(-1))
1164 09ce 01F0 breq .L126
1165 09d0 00C0 rjmp .L125
1166 .L123:
1167 09d2 8081 ld r24,Z
1168 09d4 9181 ldd r25,Z+1
1169 09d6 A281 ldd r26,Z+2
1170 09d8 B381 ldd r27,Z+3
1171 09da 8093 0000 sts MotorTest,r24
1172 09de 9093 0000 sts (MotorTest)+1,r25
1173 09e2 A093 0000 sts (MotorTest)+2,r26
1174 09e6 B093 0000 sts (MotorTest)+3,r27
1175 .L126:
1176 09ea 80EF ldi r24,lo8(-16)
1177 09ec 8093 0000 sts PC_MotortestActive,r24
1178 09f0 00C0 rjmp .L256
1179 .L218:
1180 09f2 8091 0000 lds r24,UebertragungAbgeschlossen
1181 09f6 8823 tst r24
1182 09f8 01F0 breq .L218
1183 09fa 8DE4 ldi r24,lo8(77)
1184 09fc 90E0 ldi r25,hi8(77)
1185 09fe 9F93 push r25
1186 0a00 8F93 push r24
1187 0a02 80E0 ldi r24,lo8(Mixer)
1188 0a04 90E0 ldi r25,hi8(Mixer)
1189 0a06 9F93 push r25
1190 0a08 8F93 push r24
1191 0a0a 81E0 ldi r24,lo8(1)
1192 0a0c 8F93 push r24
1193 0a0e 8F93 push r24
1194 0a10 8EE4 ldi r24,lo8(78)
1195 0a12 00C0 rjmp .L260
1196 .L111:
1197 0a14 E091 0000 lds r30,pRxData
1198 0a18 F091 0000 lds r31,(pRxData)+1
1199 0a1c 8081 ld r24,Z
1200 0a1e 8130 cpi r24,lo8(1)
1201 0a20 01F4 brne .L128
1202 0a22 A0E0 ldi r26,lo8(Mixer)
1203 0a24 B0E0 ldi r27,hi8(Mixer)
1204 0a26 8DE4 ldi r24,lo8(77)
1205 .L130:
1206 0a28 0190 ld r0,Z+
1207 0a2a 0D92 st X+,r0
1208 0a2c 8150 subi r24,lo8(-(-1))
1209 0a2e 01F4 brne .L130
1210 0a30 0E94 0000 call MixerTable_WriteToEEProm
1211 0a34 81E0 ldi r24,lo8(1)
1212 0a36 8983 std Y+1,r24
1213 0a38 8091 0000 lds r24,VersionInfo+6
1214 0a3c 8F7E andi r24,lo8(-17)
1215 0a3e 8093 0000 sts VersionInfo+6,r24
1216 0a42 00C0 rjmp .L219
1217 .L128:
1218 0a44 1982 std Y+1,__zero_reg__
1219 .L219:
1220 0a46 8091 0000 lds r24,UebertragungAbgeschlossen
1221 0a4a 8823 tst r24
1222 0a4c 01F0 breq .L219
1223 0a4e 81E0 ldi r24,lo8(1)
1224 0a50 90E0 ldi r25,hi8(1)
1225 0a52 9F93 push r25
1226 0a54 8F93 push r24
1227 0a56 CE01 movw r24,r28
1228 0a58 0196 adiw r24,1
1229 0a5a 9F93 push r25
1230 0a5c 8F93 push r24
1231 0a5e 81E0 ldi r24,lo8(1)
1232 0a60 8F93 push r24
1233 0a62 8F93 push r24
1234 0a64 8DE4 ldi r24,lo8(77)
1235 .L260:
1236 0a66 8F93 push r24
1237 0a68 0E94 0000 call SendOutData
1238 0a6c 8DB7 in r24,__SP_L__
1239 0a6e 9EB7 in r25,__SP_H__
1240 0a70 0796 adiw r24,7
1241 0a72 00C0 rjmp .L257
1242 .L113:
1243 0a74 81E0 ldi r24,lo8(1)
1244 0a76 8093 0000 sts GetPPMChannelAnforderung,r24
1245 .L256:
1246 0a7a 8FEF ldi r24,lo8(-1)
1247 0a7c 8093 0000 sts PcZugriff,r24
1248 0a80 00C0 rjmp .L106
1249 .L114:
1250 0a82 E091 0000 lds r30,pRxData
1251 0a86 F091 0000 lds r31,(pRxData)+1
1252 0a8a E081 ld r30,Z
1253 0a8c 8E2F mov r24,r30
1254 0a8e 8A50 subi r24,lo8(-(-10))
1255 0a90 8A30 cpi r24,lo8(10)
1256 0a92 00F4 brsh .L133
1257 0a94 8983 std Y+1,r24
1258 0a96 8823 tst r24
1259 0a98 01F4 brne .L135
1260 0a9a 81E0 ldi r24,lo8(1)
1261 0a9c 00C0 rjmp .L252
1262 .L135:
1263 0a9e 8630 cpi r24,lo8(6)
1264 0aa0 00F0 brlo .L137
1265 0aa2 85E0 ldi r24,lo8(5)
1266 .L252:
1267 0aa4 8983 std Y+1,r24
1268 .L137:
1269 0aa6 61E0 ldi r22,lo8(1)
1270 0aa8 00C0 rjmp .L255
1271 .L133:
1272 0aaa 8E2F mov r24,r30
1273 0aac 8451 subi r24,lo8(-(-20))
1274 0aae 8A30 cpi r24,lo8(10)
1275 0ab0 00F4 brsh .L140
1276 0ab2 8983 std Y+1,r24
1277 0ab4 8823 tst r24
1278 0ab6 01F4 brne .L142
1279 0ab8 81E0 ldi r24,lo8(1)
1280 0aba 00C0 rjmp .L253
1281 .L142:
1282 0abc 8630 cpi r24,lo8(6)
1283 0abe 00F0 brlo .L144
1284 0ac0 85E0 ldi r24,lo8(5)
1285 .L253:
1286 0ac2 8983 std Y+1,r24
1287 .L144:
1288 0ac4 60E0 ldi r22,lo8(0)
1289 .L255:
1290 0ac6 8981 ldd r24,Y+1
1291 0ac8 0E94 0000 call SetDefaultParameter
1292 0acc 00C0 rjmp .L221
1293 .L140:
1294 0ace E983 std Y+1,r30
1295 0ad0 EF3F cpi r30,lo8(-1)
1296 0ad2 01F4 brne .L146
1297 0ad4 0E94 0000 call GetActiveParamSet
1298 0ad8 8983 std Y+1,r24
1299 .L146:
1300 0ada 8981 ldd r24,Y+1
1301 0adc 8823 tst r24
1302 0ade 01F4 brne .L148
1303 0ae0 81E0 ldi r24,lo8(1)
1304 0ae2 00C0 rjmp .L254
1305 .L148:
1306 0ae4 8630 cpi r24,lo8(6)
1307 0ae6 00F0 brlo .L150
1308 0ae8 85E0 ldi r24,lo8(5)
1309 .L254:
1310 0aea 8983 std Y+1,r24
1311 .L150:
1312 0aec 8981 ldd r24,Y+1
1313 0aee 0E94 0000 call ParamSet_ReadFromEEProm
1314 .L221:
1315 0af2 8091 0000 lds r24,UebertragungAbgeschlossen
1316 0af6 8823 tst r24
1317 0af8 01F0 breq .L221
1318 0afa 83E7 ldi r24,lo8(115)
1319 0afc 90E0 ldi r25,hi8(115)
1320 0afe 9F93 push r25
1321 0b00 8F93 push r24
1322 0b02 80E0 ldi r24,lo8(EE_Parameter)
1323 0b04 90E0 ldi r25,hi8(EE_Parameter)
1324 0b06 9F93 push r25
1325 0b08 8F93 push r24
1326 0b0a 81E0 ldi r24,lo8(1)
1327 0b0c 90E0 ldi r25,hi8(1)
1328 0b0e 9F93 push r25
1329 0b10 8F93 push r24
1330 0b12 CE01 movw r24,r28
1331 0b14 0196 adiw r24,1
1332 0b16 9F93 push r25
1333 0b18 8F93 push r24
1334 0b1a 82E0 ldi r24,lo8(2)
1335 0b1c 8F93 push r24
1336 0b1e 81E0 ldi r24,lo8(1)
1337 0b20 8F93 push r24
1338 0b22 81E5 ldi r24,lo8(81)
1339 0b24 00C0 rjmp .L261
1340 .L115:
1341 0b26 E091 0000 lds r30,pRxData
1342 0b2a F091 0000 lds r31,(pRxData)+1
1343 0b2e 8081 ld r24,Z
1344 0b30 8150 subi r24,lo8(-(-1))
1345 0b32 8530 cpi r24,lo8(5)
1346 0b34 00F4 brsh .L153
1347 0b36 9F01 movw r18,r30
1348 0b38 2F5F subi r18,lo8(-(1))
1349 0b3a 3F4F sbci r19,hi8(-(1))
1350 0b3c 8181 ldd r24,Z+1
1351 0b3e 8535 cpi r24,lo8(85)
1352 0b40 01F4 brne .L153
1353 0b42 A0E0 ldi r26,lo8(EE_Parameter)
1354 0b44 B0E0 ldi r27,hi8(EE_Parameter)
1355 0b46 F901 movw r30,r18
1356 0b48 83E7 ldi r24,lo8(115)
1357 .L156:
1358 0b4a 0190 ld r0,Z+
1359 0b4c 0D92 st X+,r0
1360 0b4e 8150 subi r24,lo8(-(-1))
1361 0b50 01F4 brne .L156
1362 0b52 E091 0000 lds r30,pRxData
1363 0b56 F091 0000 lds r31,(pRxData)+1
1364 0b5a 8081 ld r24,Z
1365 0b5c 0E94 0000 call ParamSet_WriteToEEProm
1366 0b60 6091 0000 lds r22,EE_Parameter+65
1367 0b64 70E0 ldi r23,lo8(0)
1368 0b66 80E0 ldi r24,lo8(0)
1369 0b68 90E0 ldi r25,hi8(0)
1370 0b6a 24EC ldi r18,lo8(2500)
1371 0b6c 39E0 ldi r19,hi8(2500)
1372 0b6e 40E0 ldi r20,hlo8(2500)
1373 0b70 50E0 ldi r21,hhi8(2500)
1374 0b72 0E94 0000 call __mulsi3
1375 0b76 6093 0000 sts Umschlag180Nick,r22
1376 0b7a 7093 0000 sts (Umschlag180Nick)+1,r23
1377 0b7e 8093 0000 sts (Umschlag180Nick)+2,r24
1378 0b82 9093 0000 sts (Umschlag180Nick)+3,r25
1379 0b86 6091 0000 lds r22,EE_Parameter+66
1380 0b8a 70E0 ldi r23,lo8(0)
1381 0b8c 80E0 ldi r24,lo8(0)
1382 0b8e 90E0 ldi r25,hi8(0)
1383 0b90 0E94 0000 call __mulsi3
1384 0b94 6093 0000 sts Umschlag180Roll,r22
1385 0b98 7093 0000 sts (Umschlag180Roll)+1,r23
1386 0b9c 8093 0000 sts (Umschlag180Roll)+2,r24
1387 0ba0 9093 0000 sts (Umschlag180Roll)+3,r25
1388 0ba4 0E94 0000 call GetActiveParamSet
1389 0ba8 8983 std Y+1,r24
1390 0baa 00C0 rjmp .L220
1391 .L153:
1392 0bac 1982 std Y+1,__zero_reg__
1393 .L220:
1394 0bae 8091 0000 lds r24,UebertragungAbgeschlossen
1395 0bb2 8823 tst r24
1396 0bb4 01F0 breq .L220
1397 0bb6 81E0 ldi r24,lo8(1)
1398 0bb8 90E0 ldi r25,hi8(1)
1399 0bba 9F93 push r25
1400 0bbc 8F93 push r24
1401 0bbe CE01 movw r24,r28
1402 0bc0 0196 adiw r24,1
1403 0bc2 9F93 push r25
1404 0bc4 8F93 push r24
1405 0bc6 81E0 ldi r24,lo8(1)
1406 0bc8 8F93 push r24
1407 0bca 8F93 push r24
1408 0bcc 83E5 ldi r24,lo8(83)
1409 0bce 00C0 rjmp .L263
1410 .L109:
1411 0bd0 E091 0000 lds r30,pRxData
1412 0bd4 F091 0000 lds r31,(pRxData)+1
1413 0bd8 E081 ld r30,Z
1414 0bda 8E2F mov r24,r30
1415 0bdc 8150 subi r24,lo8(-(-1))
1416 0bde 8530 cpi r24,lo8(5)
1417 0be0 00F4 brsh .L161
1418 0be2 8E2F mov r24,r30
1419 0be4 0E94 0000 call ParamSet_ReadFromEEProm
1420 .L161:
1421 0be8 0E94 0000 call GetActiveParamSet
1422 0bec 8983 std Y+1,r24
1423 .L163:
1424 0bee 8091 0000 lds r24,UebertragungAbgeschlossen
1425 0bf2 8823 tst r24
1426 0bf4 01F0 breq .L163
1427 0bf6 81E0 ldi r24,lo8(1)
1428 0bf8 90E0 ldi r25,hi8(1)
1429 0bfa 9F93 push r25
1430 0bfc 8F93 push r24
1431 0bfe CE01 movw r24,r28
1432 0c00 0196 adiw r24,1
1433 0c02 9F93 push r25
1434 0c04 8F93 push r24
1435 0c06 81E0 ldi r24,lo8(1)
1436 0c08 8F93 push r24
1437 0c0a 8F93 push r24
1438 0c0c 86E4 ldi r24,lo8(70)
1439 .L263:
1440 0c0e 8F93 push r24
1441 0c10 0E94 0000 call SendOutData
1442 0c14 8DB7 in r24,__SP_L__
1443 0c16 9EB7 in r25,__SP_H__
1444 0c18 0796 adiw r24,7
1445 0c1a 8DBF out __SP_L__,r24
1446 0c1c 8091 0000 lds r24,MotorenEin
1447 0c20 8823 tst r24
1448 0c22 01F4 brne .L165
1449 0c24 6EE6 ldi r22,lo8(110)
1450 0c26 70E0 ldi r23,hi8(110)
1451 0c28 8981 ldd r24,Y+1
1452 0c2a 0E94 0000 call Piep
1453 .L165:
1454 0c2e 80E0 ldi r24,lo8(0)
1455 0c30 0E94 0000 call LipoDetection
1456 0c34 8091 0000 lds r24,EE_Parameter+39
1457 0c38 0E94 0000 call LIBFC_ReceiverInit
1458 0c3c 00C0 rjmp .L106
1459 .L119:
1460 0c3e E091 0000 lds r30,pRxData
1461 0c42 F091 0000 lds r31,(pRxData)+1
1462 0c46 8081 ld r24,Z
1463 0c48 9927 clr r25
1464 0c4a 87FD sbrc r24,7
1465 0c4c 9095 com r25
1466 0c4e 9093 0000 sts (PPM_in+26)+1,r25
1467 0c52 8093 0000 sts PPM_in+26,r24
1468 0c56 8181 ldd r24,Z+1
1469 0c58 9927 clr r25
1470 0c5a 87FD sbrc r24,7
1471 0c5c 9095 com r25
1472 0c5e 9093 0000 sts (PPM_in+28)+1,r25
1473 0c62 8093 0000 sts PPM_in+28,r24
1474 0c66 8281 ldd r24,Z+2
1475 0c68 9927 clr r25
1476 0c6a 87FD sbrc r24,7
1477 0c6c 9095 com r25
1478 0c6e 9093 0000 sts (PPM_in+30)+1,r25
1479 0c72 8093 0000 sts PPM_in+30,r24
1480 0c76 8381 ldd r24,Z+3
1481 0c78 9927 clr r25
1482 0c7a 87FD sbrc r24,7
1483 0c7c 9095 com r25
1484 0c7e 9093 0000 sts (PPM_in+32)+1,r25
1485 0c82 8093 0000 sts PPM_in+32,r24
1486 0c86 8481 ldd r24,Z+4
1487 0c88 9927 clr r25
1488 0c8a 87FD sbrc r24,7
1489 0c8c 9095 com r25
1490 0c8e 9093 0000 sts (PPM_in+34)+1,r25
1491 0c92 8093 0000 sts PPM_in+34,r24
1492 0c96 8581 ldd r24,Z+5
1493 0c98 9927 clr r25
1494 0c9a 87FD sbrc r24,7
1495 0c9c 9095 com r25
1496 0c9e 9093 0000 sts (PPM_in+36)+1,r25
1497 0ca2 8093 0000 sts PPM_in+36,r24
1498 0ca6 8681 ldd r24,Z+6
1499 0ca8 9927 clr r25
1500 0caa 87FD sbrc r24,7
1501 0cac 9095 com r25
1502 0cae 9093 0000 sts (PPM_in+38)+1,r25
1503 0cb2 8093 0000 sts PPM_in+38,r24
1504 0cb6 8781 ldd r24,Z+7
1505 0cb8 9927 clr r25
1506 0cba 87FD sbrc r24,7
1507 0cbc 9095 com r25
1508 0cbe 9093 0000 sts (PPM_in+40)+1,r25
1509 0cc2 8093 0000 sts PPM_in+40,r24
1510 0cc6 8085 ldd r24,Z+8
1511 0cc8 9927 clr r25
1512 0cca 87FD sbrc r24,7
1513 0ccc 9095 com r25
1514 0cce 9093 0000 sts (PPM_in+42)+1,r25
1515 0cd2 8093 0000 sts PPM_in+42,r24
1516 0cd6 8185 ldd r24,Z+9
1517 0cd8 9927 clr r25
1518 0cda 87FD sbrc r24,7
1519 0cdc 9095 com r25
1520 0cde 9093 0000 sts (PPM_in+44)+1,r25
1521 0ce2 8093 0000 sts PPM_in+44,r24
1522 0ce6 8285 ldd r24,Z+10
1523 0ce8 9927 clr r25
1524 0cea 87FD sbrc r24,7
1525 0cec 9095 com r25
1526 0cee 9093 0000 sts (PPM_in+46)+1,r25
1527 0cf2 8093 0000 sts PPM_in+46,r24
1528 0cf6 8385 ldd r24,Z+11
1529 0cf8 9927 clr r25
1530 0cfa 87FD sbrc r24,7
1531 0cfc 9095 com r25
1532 0cfe 9093 0000 sts (PPM_in+48)+1,r25
1533 0d02 8093 0000 sts PPM_in+48,r24
1534 0d06 00C0 rjmp .L106
1535 .L117:
1536 0d08 E091 0000 lds r30,pRxData
1537 0d0c F091 0000 lds r31,(pRxData)+1
1538 0d10 8081 ld r24,Z
1539 0d12 0E94 0000 call I2C_ReadBLConfig
1540 0d16 8A83 std Y+2,r24
1541 0d18 8823 tst r24
1542 0d1a 01F4 brne .L167
1543 0d1c 81E0 ldi r24,lo8(1)
1544 0d1e 8983 std Y+1,r24
1545 0d20 00C0 rjmp .L222
1546 .L167:
1547 0d22 1982 std Y+1,__zero_reg__
1548 .L222:
1549 0d24 8091 0000 lds r24,UebertragungAbgeschlossen
1550 0d28 8823 tst r24
1551 0d2a 01F0 breq .L222
1552 0d2c 4091 0000 lds r20,pRxData
1553 0d30 5091 0000 lds r21,(pRxData)+1
1554 0d34 88E0 ldi r24,lo8(8)
1555 0d36 90E0 ldi r25,hi8(8)
1556 0d38 9F93 push r25
1557 0d3a 8F93 push r24
1558 0d3c 80E0 ldi r24,lo8(BLConfig)
1559 0d3e 90E0 ldi r25,hi8(BLConfig)
1560 0d40 9F93 push r25
1561 0d42 8F93 push r24
1562 0d44 21E0 ldi r18,lo8(1)
1563 0d46 30E0 ldi r19,hi8(1)
1564 0d48 3F93 push r19
1565 0d4a 2F93 push r18
1566 0d4c 5F93 push r21
1567 0d4e 4F93 push r20
1568 0d50 3F93 push r19
1569 0d52 2F93 push r18
1570 0d54 CE01 movw r24,r28
1571 0d56 0296 adiw r24,2
1572 0d58 9F93 push r25
1573 0d5a 8F93 push r24
1574 0d5c 3F93 push r19
1575 0d5e 2F93 push r18
1576 0d60 CE01 movw r24,r28
1577 0d62 0196 adiw r24,1
1578 0d64 9F93 push r25
1579 0d66 8F93 push r24
1580 0d68 84E0 ldi r24,lo8(4)
1581 0d6a 8F93 push r24
1582 0d6c 81E0 ldi r24,lo8(1)
1583 0d6e 8F93 push r24
1584 0d70 85E5 ldi r24,lo8(85)
1585 0d72 8F93 push r24
1586 0d74 0E94 0000 call SendOutData
1587 0d78 8DB7 in r24,__SP_L__
1588 0d7a 9EB7 in r25,__SP_H__
1589 0d7c 4396 adiw r24,19
1590 0d7e 00C0 rjmp .L257
1591 .L118:
1592 0d80 8091 0000 lds r24,RxDataLen
1593 0d84 8930 cpi r24,lo8(9)
1594 0d86 00F4 brsh .+2
1595 0d88 00C0 rjmp .L106
1596 0d8a E091 0000 lds r30,pRxData
1597 0d8e F091 0000 lds r31,(pRxData)+1
1598 0d92 A0E0 ldi r26,lo8(BLConfig)
1599 0d94 B0E0 ldi r27,hi8(BLConfig)
1600 0d96 3196 adiw r30,1
1601 0d98 88E0 ldi r24,lo8(8)
1602 .L172:
1603 0d9a 0190 ld r0,Z+
1604 0d9c 0D92 st X+,r0
1605 0d9e 8150 subi r24,lo8(-(-1))
1606 0da0 01F4 brne .L172
1607 0da2 E091 0000 lds r30,pRxData
1608 0da6 F091 0000 lds r31,(pRxData)+1
1609 0daa 8081 ld r24,Z
1610 0dac 0E94 0000 call I2C_WriteBLConfig
1611 0db0 8A83 std Y+2,r24
1612 0db2 8823 tst r24
1613 0db4 01F4 brne .L173
1614 0db6 81E0 ldi r24,lo8(1)
1615 0db8 8983 std Y+1,r24
1616 0dba 00C0 rjmp .L223
1617 .L173:
1618 0dbc 1982 std Y+1,__zero_reg__
1619 .L223:
1620 0dbe 8091 0000 lds r24,UebertragungAbgeschlossen
1621 0dc2 8823 tst r24
1622 0dc4 01F0 breq .L223
1623 0dc6 21E0 ldi r18,lo8(1)
1624 0dc8 30E0 ldi r19,hi8(1)
1625 0dca 3F93 push r19
1626 0dcc 2F93 push r18
1627 0dce CE01 movw r24,r28
1628 0dd0 0296 adiw r24,2
1629 0dd2 9F93 push r25
1630 0dd4 8F93 push r24
1631 0dd6 3F93 push r19
1632 0dd8 2F93 push r18
1633 0dda CE01 movw r24,r28
1634 0ddc 0196 adiw r24,1
1635 0dde 9F93 push r25
1636 0de0 8F93 push r24
1637 0de2 82E0 ldi r24,lo8(2)
1638 0de4 8F93 push r24
1639 0de6 81E0 ldi r24,lo8(1)
1640 0de8 8F93 push r24
1641 0dea 87E5 ldi r24,lo8(87)
1642 .L261:
1643 0dec 8F93 push r24
1644 0dee 0E94 0000 call SendOutData
1645 0df2 8DB7 in r24,__SP_L__
1646 0df4 9EB7 in r25,__SP_H__
1647 0df6 0B96 adiw r24,11
1648 .L257:
1649 0df8 8DBF out __SP_L__,r24
1650 0dfa 00C0 rjmp .L106
1651 .L110:
1652 0dfc 0E94 0000 call LIBFC_GetCPUType
1653 0e00 8983 std Y+1,r24
1654 0e02 8230 cpi r24,lo8(2)
1655 0e04 01F0 breq .L177
1656 0e06 8430 cpi r24,lo8(4)
1657 0e08 01F0 breq .+2
1658 0e0a 00C0 rjmp .L106
1659 .L177:
1660 /* #APP */
1661 0e0c F894 cli
1662 /* #NOAPP */
1663 0e0e 8091 C100 lds r24,193
1664 0e12 8F73 andi r24,lo8(63)
1665 0e14 8093 C100 sts 193,r24
1666 0e18 8091 C900 lds r24,201
1667 0e1c 8F73 andi r24,lo8(63)
1668 0e1e 8093 C900 sts 201,r24
1669 0e22 8091 C100 lds r24,193
1670 0e26 877E andi r24,lo8(-25)
1671 0e28 8093 C100 sts 193,r24
1672 0e2c 8091 C900 lds r24,201
1673 0e30 877E andi r24,lo8(-25)
1674 0e32 8093 C900 sts 201,r24
1675 0e36 00C0 rjmp .L179
1676 .L180:
1677 0e38 8091 CE00 lds r24,206
1678 .L179:
1679 0e3c 8091 C800 lds r24,200
1680 0e40 87FD sbrc r24,7
1681 0e42 00C0 rjmp .L180
1682 0e44 00C0 rjmp .L249
1683 .L182:
1684 0e46 8091 C600 lds r24,198
1685 .L249:
1686 0e4a 8091 C000 lds r24,192
1687 0e4e 87FD sbrc r24,7
1688 0e50 00C0 rjmp .L182
1689 0e52 E091 0000 lds r30,pRxData
1690 0e56 F091 0000 lds r31,(pRxData)+1
1691 0e5a 8081 ld r24,Z
1692 0e5c 8823 tst r24
1693 0e5e 01F4 brne .L184
1694 0e60 81E0 ldi r24,lo8(1)
1695 0e62 8093 0000 sts JetiUpdateModeActive,r24
1696 0e66 1092 CD00 sts 205,__zero_reg__
1697 0e6a 80E4 ldi r24,lo8(64)
1698 0e6c 8093 CC00 sts 204,r24
1699 0e70 8091 CD00 lds r24,205
1700 0e74 8093 C500 sts 197,r24
1701 0e78 8091 CC00 lds r24,204
1702 0e7c 8093 C400 sts 196,r24
1703 0e80 8091 CA00 lds r24,202
1704 0e84 8F7D andi r24,lo8(-33)
1705 0e86 8093 CA00 sts 202,r24
1706 0e8a 8091 CA00 lds r24,202
1707 0e8e 8F7E andi r24,lo8(-17)
1708 0e90 8093 CA00 sts 202,r24
1709 0e94 8091 C900 lds r24,201
1710 0e98 8B7F andi r24,lo8(-5)
1711 0e9a 8093 C900 sts 201,r24
1712 0e9e 8091 CA00 lds r24,202
1713 0ea2 8460 ori r24,lo8(4)
1714 0ea4 8093 CA00 sts 202,r24
1715 0ea8 8091 CA00 lds r24,202
1716 0eac 8260 ori r24,lo8(2)
1717 0eae 8093 CA00 sts 202,r24
1718 0eb2 00C0 rjmp .L186
1719 .L184:
1720 0eb4 82E0 ldi r24,lo8(2)
1721 0eb6 8093 0000 sts JetiUpdateModeActive,r24
1722 .L186:
1723 0eba 8091 CA00 lds r24,202
1724 0ebe 877F andi r24,lo8(-9)
1725 0ec0 8093 CA00 sts 202,r24
1726 0ec4 8091 C200 lds r24,194
1727 0ec8 877F andi r24,lo8(-9)
1728 0eca 8093 C200 sts 194,r24
1729 0ece 8091 C900 lds r24,201
1730 0ed2 8E7F andi r24,lo8(-2)
1731 0ed4 8093 C900 sts 201,r24
1732 0ed8 8091 C100 lds r24,193
1733 0edc 8861 ori r24,lo8(24)
1734 0ede 8093 C100 sts 193,r24
1735 0ee2 8091 C900 lds r24,201
1736 0ee6 8861 ori r24,lo8(24)
1737 0ee8 8093 C900 sts 201,r24
1738 0eec 8091 C100 lds r24,193
1739 0ef0 8068 ori r24,lo8(-128)
1740 0ef2 8093 C100 sts 193,r24
1741 0ef6 8091 C900 lds r24,201
1742 0efa 8068 ori r24,lo8(-128)
1743 0efc 8093 C900 sts 201,r24
1744 0f00 1092 6E00 sts 110,__zero_reg__
1745 0f04 1092 6F00 sts 111,__zero_reg__
1746 0f08 1092 7000 sts 112,__zero_reg__
1747 /* #APP */
1748 0f0c 7894 sei
1749 /* #NOAPP */
1750 .L106:
1751 0f0e 8091 0000 lds r24,RxdBuffer+2
1752 0f12 8436 cpi r24,lo8(100)
1753 0f14 01F4 brne .+2
1754 0f16 00C0 rjmp .L192
1755 0f18 8536 cpi r24,lo8(101)
1756 0f1a 00F4 brsh .L198
1757 0f1c 8136 cpi r24,lo8(97)
1758 0f1e 01F4 brne .+2
1759 0f20 00C0 rjmp .L189
1760 0f22 8236 cpi r24,lo8(98)
1761 0f24 00F4 brsh .L199
1762 0f26 8B34 cpi r24,lo8(75)
1763 0f28 01F0 breq .+2
1764 0f2a 00C0 rjmp .L187
1765 0f2c 00C0 rjmp .L188
1766 .L199:
1767 0f2e 8236 cpi r24,lo8(98)
1768 0f30 01F4 brne .+2
1769 0f32 00C0 rjmp .L190
1770 0f34 8336 cpi r24,lo8(99)
1771 0f36 01F0 breq .+2
1772 0f38 00C0 rjmp .L187
1773 0f3a 00C0 rjmp .L191
1774 .L198:
1775 0f3c 8C36 cpi r24,lo8(108)
1776 0f3e 01F4 brne .+2
1777 0f40 00C0 rjmp .L195
1778 0f42 8D36 cpi r24,lo8(109)
1779 0f44 00F4 brsh .L200
1780 0f46 8736 cpi r24,lo8(103)
1781 0f48 01F4 brne .+2
1782 0f4a 00C0 rjmp .L193
1783 0f4c 8836 cpi r24,lo8(104)
1784 0f4e 01F0 breq .+2
1785 0f50 00C0 rjmp .L187
1786 0f52 00C0 rjmp .L194
1787 .L200:
1788 0f54 8437 cpi r24,lo8(116)
1789 0f56 01F0 breq .L196
1790 0f58 8637 cpi r24,lo8(118)
1791 0f5a 01F0 breq .+2
1792 0f5c 00C0 rjmp .L187
1793 0f5e 00C0 rjmp .L197
1794 .L196:
1795 0f60 8091 0000 lds r24,AnzahlEmpfangsBytes
1796 0f64 E091 0000 lds r30,pRxData
1797 0f68 F091 0000 lds r31,(pRxData)+1
1798 0f6c 8031 cpi r24,lo8(16)
1799 0f6e 00F0 brlo .L201
1800 0f70 A0E0 ldi r26,lo8(MotorTest)
1801 0f72 B0E0 ldi r27,hi8(MotorTest)
1802 0f74 80E1 ldi r24,lo8(16)
1803 .L203:
1804 0f76 0190 ld r0,Z+
1805 0f78 0D92 st X+,r0
1806 0f7a 8150 subi r24,lo8(-(-1))
1807 0f7c 01F0 breq .L224
1808 0f7e 00C0 rjmp .L203
1809 .L201:
1810 0f80 8081 ld r24,Z
1811 0f82 9181 ldd r25,Z+1
1812 0f84 A281 ldd r26,Z+2
1813 0f86 B381 ldd r27,Z+3
1814 0f88 8093 0000 sts MotorTest,r24
1815 0f8c 9093 0000 sts (MotorTest)+1,r25
1816 0f90 A093 0000 sts (MotorTest)+2,r26
1817 0f94 B093 0000 sts (MotorTest)+3,r27
1818 .L224:
1819 0f98 8091 0000 lds r24,UebertragungAbgeschlossen
1820 0f9c 8823 tst r24
1821 0f9e 01F0 breq .L224
1822 0fa0 8091 0000 lds r24,MeineSlaveAdresse
1823 0fa4 1F92 push __zero_reg__
1824 0fa6 8F93 push r24
1825 0fa8 84E5 ldi r24,lo8(84)
1826 0faa 8F93 push r24
1827 0fac 0E94 0000 call SendOutData
1828 0fb0 8AEF ldi r24,lo8(-6)
1829 0fb2 8093 0000 sts PC_MotortestActive,r24
1830 0fb6 8FEF ldi r24,lo8(-1)
1831 0fb8 8093 0000 sts PcZugriff,r24
1832 0fbc 80EA ldi r24,lo8(4000)
1833 0fbe 9FE0 ldi r25,hi8(4000)
1834 0fc0 0E94 0000 call SetDelay
1835 0fc4 9093 0000 sts (AboTimeOut)+1,r25
1836 0fc8 8093 0000 sts AboTimeOut,r24
1837 0fcc 0F90 pop __tmp_reg__
1838 0fce 0F90 pop __tmp_reg__
1839 0fd0 0F90 pop __tmp_reg__
1840 0fd2 00C0 rjmp .L187
1841 .L188:
1842 0fd4 E091 0000 lds r30,pRxData
1843 0fd8 F091 0000 lds r31,(pRxData)+1
1844 0fdc 8081 ld r24,Z
1845 0fde 9181 ldd r25,Z+1
1846 0fe0 9093 0000 sts (KompassValue)+1,r25
1847 0fe4 8093 0000 sts KompassValue,r24
1848 0fe8 845E subi r24,lo8(-(540))
1849 0fea 9D4F sbci r25,hi8(-(540))
1850 0fec 2091 0000 lds r18,KompassStartwert
1851 0ff0 3091 0000 lds r19,(KompassStartwert)+1
1852 0ff4 821B sub r24,r18
1853 0ff6 930B sbc r25,r19
1854 0ff8 68E6 ldi r22,lo8(360)
1855 0ffa 71E0 ldi r23,hi8(360)
1856 0ffc 0E94 0000 call __divmodhi4
1857 1000 845B subi r24,lo8(-(-180))
1858 1002 9040 sbci r25,hi8(-(-180))
1859 1004 9093 0000 sts (KompassRichtung)+1,r25
1860 1008 8093 0000 sts KompassRichtung,r24
1861 100c 00C0 rjmp .L187
1862 .L189:
1863 100e E091 0000 lds r30,pRxData
1864 1012 F091 0000 lds r31,(pRxData)+1
1865 1016 8081 ld r24,Z
1866 1018 8093 0000 sts DebugTextAnforderung,r24
1867 101c 8032 cpi r24,lo8(32)
1868 101e 00F0 brlo .L258
1869 1020 8FE1 ldi r24,lo8(31)
1870 1022 8093 0000 sts DebugTextAnforderung,r24
1871 1026 00C0 rjmp .L258
1872 .L190:
1873 1028 A0E0 ldi r26,lo8(ExternControl)
1874 102a B0E0 ldi r27,hi8(ExternControl)
1875 102c E091 0000 lds r30,pRxData
1876 1030 F091 0000 lds r31,(pRxData)+1
1877 1034 8BE0 ldi r24,lo8(11)
1878 .L208:
1879 1036 0190 ld r0,Z+
1880 1038 0D92 st X+,r0
1881 103a 8150 subi r24,lo8(-(-1))
1882 103c 01F4 brne .L208
1883 103e 8091 0000 lds r24,ExternControl+9
1884 1042 8093 0000 sts ConfirmFrame,r24
1885 .L258:
1886 1046 8FEF ldi r24,lo8(-1)
1887 1048 8093 0000 sts PcZugriff,r24
1888 104c 00C0 rjmp .L187
1889 .L191:
1890 104e 8091 0000 lds r24,Intervall3D
1891 1052 9091 0000 lds r25,(Intervall3D)+1
1892 1056 892B or r24,r25
1893 1058 01F4 brne .L209
1894 105a E091 0000 lds r30,pRxData
1895 105e F091 0000 lds r31,(pRxData)+1
1896 1062 E081 ld r30,Z
1897 1064 EE23 tst r30
1898 1066 01F0 breq .L209
1899 1068 8AE0 ldi r24,lo8(10)
1900 106a E89F mul r30,r24
1901 106c C001 movw r24,r0
1902 106e 1124 clr r1
1903 1070 0E94 0000 call SetDelay
1904 1074 9093 0000 sts (Timer3D)+1,r25
1905 1078 8093 0000 sts Timer3D,r24
1906 .L209:
1907 107c E091 0000 lds r30,pRxData
1908 1080 F091 0000 lds r31,(pRxData)+1
1909 1084 8081 ld r24,Z
1910 1086 2AE0 ldi r18,lo8(10)
1911 1088 829F mul r24,r18
1912 108a C001 movw r24,r0
1913 108c 1124 clr r1
1914 108e 9093 0000 sts (Intervall3D)+1,r25
1915 1092 8093 0000 sts Intervall3D,r24
1916 1096 00C0 rjmp .L212
1917 .L192:
1918 1098 8FEF ldi r24,lo8(-1)
1919 109a 8093 0000 sts PcZugriff,r24
1920 109e E091 0000 lds r30,pRxData
1921 10a2 F091 0000 lds r31,(pRxData)+1
1922 10a6 8081 ld r24,Z
1923 10a8 2AE0 ldi r18,lo8(10)
1924 10aa 829F mul r24,r18
1925 10ac C001 movw r24,r0
1926 10ae 1124 clr r1
1927 10b0 9093 0000 sts (DebugDataIntervall)+1,r25
1928 10b4 8093 0000 sts DebugDataIntervall,r24
1929 10b8 892B or r24,r25
1930 10ba 01F0 breq .L212
1931 10bc 81E0 ldi r24,lo8(1)
1932 10be 8093 0000 sts DebugDataAnforderung,r24
1933 .L212:
1934 10c2 80EA ldi r24,lo8(4000)
1935 10c4 9FE0 ldi r25,hi8(4000)
1936 10c6 0E94 0000 call SetDelay
1937 10ca 9093 0000 sts (AboTimeOut)+1,r25
1938 10ce 8093 0000 sts AboTimeOut,r24
1939 10d2 00C0 rjmp .L187
1940 .L194:
1941 10d4 8FEF ldi r24,lo8(-1)
1942 10d6 8093 0000 sts PcZugriff,r24
1943 10da E091 0000 lds r30,pRxData
1944 10de F091 0000 lds r31,(pRxData)+1
1945 10e2 9081 ld r25,Z
1946 10e4 97FD sbrc r25,7
1947 10e6 00C0 rjmp .L214
1948 10e8 82E0 ldi r24,lo8(2)
1949 10ea 8093 0000 sts DisplayLine,r24
1950 10ee 1092 0000 sts (Display_Interval)+1,__zero_reg__
1951 10f2 1092 0000 sts Display_Interval,__zero_reg__
1952 10f6 00C0 rjmp .L216
1953 .L214:
1954 10f8 9095 com r25
1955 10fa 8091 0000 lds r24,RemoteKeys
1956 10fe 892B or r24,r25
1957 1100 8093 0000 sts RemoteKeys,r24
1958 1104 8181 ldd r24,Z+1
1959 1106 2AE0 ldi r18,lo8(10)
1960 1108 829F mul r24,r18
1961 110a C001 movw r24,r0
1962 110c 1124 clr r1
1963 110e 9093 0000 sts (Display_Interval)+1,r25
1964 1112 8093 0000 sts Display_Interval,r24
1965 1116 84E0 ldi r24,lo8(4)
1966 1118 8093 0000 sts DisplayLine,r24
1967 111c 80EA ldi r24,lo8(4000)
1968 111e 9FE0 ldi r25,hi8(4000)
1969 1120 0E94 0000 call SetDelay
1970 1124 9093 0000 sts (AboTimeOut)+1,r25
1971 1128 8093 0000 sts AboTimeOut,r24
1972 .L216:
1973 112c 81E0 ldi r24,lo8(1)
1974 112e 8093 0000 sts DebugDisplayAnforderung,r24
1975 1132 00C0 rjmp .L187
1976 .L195:
1977 1134 8FEF ldi r24,lo8(-1)
1978 1136 8093 0000 sts PcZugriff,r24
1979 113a E091 0000 lds r30,pRxData
1980 113e F091 0000 lds r31,(pRxData)+1
1981 1142 8081 ld r24,Z
1982 1144 8093 0000 sts MenuePunkt,r24
1983 1148 81E0 ldi r24,lo8(1)
1984 114a 8093 0000 sts DebugDisplayAnforderung1,r24
1985 114e 00C0 rjmp .L187
1986 .L197:
1987 1150 81E0 ldi r24,lo8(1)
1988 1152 8093 0000 sts GetVersionAnforderung,r24
1989 1156 00C0 rjmp .L187
1990 .L193:
1991 1158 81E0 ldi r24,lo8(1)
1992 115a 8093 0000 sts GetExternalControl,r24
1993 .L187:
1994 115e 1092 0000 sts NeuerDatensatzEmpfangen,__zero_reg__
1995 1162 1092 0000 sts (pRxData)+1,__zero_reg__
1996 1166 1092 0000 sts pRxData,__zero_reg__
1997 116a 1092 0000 sts RxDataLen,__zero_reg__
1998 .L217:
1999 /* epilogue: frame size=2 */
2000 116e E2E0 ldi r30,2
2001 1170 CE5F subi r28,-2
2002 1172 0C94 0000 jmp __epilogue_restores__+32
2003 /* epilogue end (size=4) */
2004 /* function BearbeiteRxDaten size 1095 (1085) */
2006 .global __vector_20
2008 __vector_20:
2009 /* prologue: frame size=0 */
2010 1176 1F92 push __zero_reg__
2011 1178 0F92 push __tmp_reg__
2012 117a 0FB6 in __tmp_reg__,__SREG__
2013 117c 0F92 push __tmp_reg__
2014 117e 1124 clr __zero_reg__
2015 1180 2F93 push r18
2016 1182 3F93 push r19
2017 1184 4F93 push r20
2018 1186 5F93 push r21
2019 1188 6F93 push r22
2020 118a 7F93 push r23
2021 118c 8F93 push r24
2022 118e 9F93 push r25
2023 1190 AF93 push r26
2024 1192 BF93 push r27
2025 1194 CF93 push r28
2026 1196 DF93 push r29
2027 1198 EF93 push r30
2028 119a FF93 push r31
2029 /* prologue end (size=19) */
2030 119c 8091 0000 lds r24,JetiUpdateModeActive
2031 11a0 8130 cpi r24,lo8(1)
2032 11a2 01F4 brne .L265
2033 11a4 8091 C600 lds r24,198
2034 11a8 8093 CE00 sts 206,r24
2035 11ac 00C0 rjmp .L292
2036 .L265:
2037 11ae 8091 0000 lds r24,JetiUpdateModeActive
2038 11b2 8230 cpi r24,lo8(2)
2039 11b4 01F4 brne .L268
2040 11b6 8091 C600 lds r24,198
2041 11ba 8093 0000 sts RxdBuffer,r24
2042 11be 00C0 rjmp .L292
2043 .L268:
2044 11c0 8091 C600 lds r24,198
2045 11c4 8093 0000 sts SioTmp,r24
2046 11c8 4091 0000 lds r20,buf_ptr.2552
2047 11cc 4A3A cpi r20,lo8(-86)
2048 11ce 00F0 brlo .L270
2049 11d0 1092 0000 sts UartState.2553,__zero_reg__
2050 .L270:
2051 11d4 8091 0000 lds r24,SioTmp
2052 11d8 8D30 cpi r24,lo8(13)
2053 11da 01F0 breq .+2
2054 11dc 00C0 rjmp .L272
2055 11de 8091 0000 lds r24,UartState.2553
2056 11e2 8230 cpi r24,lo8(2)
2057 11e4 01F0 breq .+2
2058 11e6 00C0 rjmp .L272
2059 11e8 1092 0000 sts UartState.2553,__zero_reg__
2060 11ec A42F mov r26,r20
2061 11ee B0E0 ldi r27,lo8(0)
2062 11f0 FD01 movw r30,r26
2063 11f2 E050 subi r30,lo8(-(RxdBuffer-2))
2064 11f4 F040 sbci r31,hi8(-(RxdBuffer-2))
2065 11f6 3081 ld r19,Z
2066 11f8 ED01 movw r28,r26
2067 11fa C050 subi r28,lo8(-(RxdBuffer-1))
2068 11fc D040 sbci r29,hi8(-(RxdBuffer-1))
2069 11fe 2881 ld r18,Y
2070 1200 8091 0000 lds r24,crc.2549
2071 1204 9091 0000 lds r25,(crc.2549)+1
2072 1208 831B sub r24,r19
2073 120a 9109 sbc r25,__zero_reg__
2074 120c 821B sub r24,r18
2075 120e 9109 sbc r25,__zero_reg__
2076 1210 9F70 andi r25,hi8(4095)
2077 1212 9093 0000 sts (crc.2549)+1,r25
2078 1216 8093 0000 sts crc.2549,r24
2079 121a 9C01 movw r18,r24
2080 121c 6894 set
2081 121e 15F8 bld __zero_reg__,6-1
2082 1220 3695 1: lsr r19
2083 1222 2795 ror r18
2084 1224 1694 lsr __zero_reg__
2085 1226 01F4 brne 1b
2086 1228 235C subi r18,lo8(-(61))
2087 122a 2093 0000 sts crc1.2550,r18
2088 122e 982F mov r25,r24
2089 1230 9F73 andi r25,lo8(63)
2090 1232 935C subi r25,lo8(-(61))
2091 1234 9093 0000 sts crc2.2551,r25
2092 1238 8081 ld r24,Z
2093 123a 2817 cp r18,r24
2094 123c 01F4 brne .L275
2095 123e 8881 ld r24,Y
2096 1240 9817 cp r25,r24
2097 1242 01F4 brne .L275
2098 1244 91E0 ldi r25,lo8(1)
2099 1246 00C0 rjmp .L278
2100 .L275:
2101 1248 8091 0000 lds r24,CntCrcError
2102 124c 8F5F subi r24,lo8(-(1))
2103 124e 8093 0000 sts CntCrcError,r24
2104 1252 90E0 ldi r25,lo8(0)
2105 .L278:
2106 1254 8091 0000 lds r24,NeuerDatensatzEmpfangen
2107 1258 8823 tst r24
2108 125a 01F0 breq .+2
2109 125c 00C0 rjmp .L292
2110 125e 9923 tst r25
2111 1260 01F4 brne .+2
2112 1262 00C0 rjmp .L292
2113 1264 81E0 ldi r24,lo8(1)
2114 1266 8093 0000 sts NeuerDatensatzEmpfangen,r24
2115 126a 4F5F subi r20,lo8(-(1))
2116 126c 4093 0000 sts AnzahlEmpfangsBytes,r20
2117 1270 A050 subi r26,lo8(-(RxdBuffer))
2118 1272 B040 sbci r27,hi8(-(RxdBuffer))
2119 1274 8DE0 ldi r24,lo8(13)
2120 1276 8C93 st X,r24
2121 1278 8091 0000 lds r24,RxdBuffer+2
2122 127c 8235 cpi r24,lo8(82)
2123 127e 01F0 breq .+2
2124 1280 00C0 rjmp .L292
2125 1282 0E94 0000 call LcdClear
2126 1286 88E1 ldi r24,lo8(24)
2127 1288 90E0 ldi r25,hi8(24)
2128 128a 2CE0 ldi r18,lo8(12)
2129 /* #APP */
2130 128c 0FB6 in __tmp_reg__,__SREG__
2131 128e F894 cli
2132 1290 A895 wdr
2133 1292 8093 6000 sts 96,r24
2134 1296 0FBE out __SREG__,__tmp_reg__
2135 1298 2093 6000 sts 96,r18
2136 /* #NOAPP */
2137 129c 1092 0000 sts ServoActive,__zero_reg__
2138 12a0 00C0 rjmp .L292
2139 .L272:
2140 12a2 8091 0000 lds r24,UartState.2553
2141 12a6 8130 cpi r24,lo8(1)
2142 12a8 01F0 breq .L284
2143 12aa 8130 cpi r24,lo8(1)
2144 12ac 00F0 brlo .L283
2145 12ae 8230 cpi r24,lo8(2)
2146 12b0 01F4 brne .L293
2147 12b2 00C0 rjmp .L285
2148 .L283:
2149 12b4 8091 0000 lds r24,SioTmp
2150 12b8 8332 cpi r24,lo8(35)
2151 12ba 01F4 brne .L286
2152 12bc 8091 0000 lds r24,NeuerDatensatzEmpfangen
2153 12c0 8823 tst r24
2154 12c2 01F4 brne .L286
2155 12c4 81E0 ldi r24,lo8(1)
2156 12c6 8093 0000 sts UartState.2553,r24
2157 .L286:
2158 12ca 8091 0000 lds r24,SioTmp
2159 12ce 8093 0000 sts RxdBuffer,r24
2160 12d2 81E0 ldi r24,lo8(1)
2161 12d4 8093 0000 sts buf_ptr.2552,r24
2162 12d8 8091 0000 lds r24,SioTmp
2163 12dc 90E0 ldi r25,lo8(0)
2164 12de 00C0 rjmp .L294
2165 .L284:
2166 12e0 82E0 ldi r24,lo8(2)
2167 12e2 8093 0000 sts UartState.2553,r24
2168 12e6 E42F mov r30,r20
2169 12e8 F0E0 ldi r31,lo8(0)
2170 12ea 8091 0000 lds r24,SioTmp
2171 12ee E050 subi r30,lo8(-(RxdBuffer))
2172 12f0 F040 sbci r31,hi8(-(RxdBuffer))
2173 12f2 8083 st Z,r24
2174 12f4 00C0 rjmp .L295
2175 .L285:
2176 12f6 E42F mov r30,r20
2177 12f8 F0E0 ldi r31,lo8(0)
2178 12fa 8091 0000 lds r24,SioTmp
2179 12fe E050 subi r30,lo8(-(RxdBuffer))
2180 1300 F040 sbci r31,hi8(-(RxdBuffer))
2181 1302 8083 st Z,r24
2182 1304 4A3A cpi r20,lo8(-86)
2183 1306 00F4 brsh .L289
2184 .L295:
2185 1308 4F5F subi r20,lo8(-(1))
2186 130a 4093 0000 sts buf_ptr.2552,r20
2187 130e 00C0 rjmp .L291
2188 .L289:
2189 1310 1092 0000 sts UartState.2553,__zero_reg__
2190 .L291:
2191 1314 2091 0000 lds r18,SioTmp
2192 1318 8091 0000 lds r24,crc.2549
2193 131c 9091 0000 lds r25,(crc.2549)+1
2194 1320 820F add r24,r18
2195 1322 911D adc r25,__zero_reg__
2196 .L294:
2197 1324 9093 0000 sts (crc.2549)+1,r25
2198 1328 8093 0000 sts crc.2549,r24
2199 132c 00C0 rjmp .L292
2200 .L293:
2201 132e 1092 0000 sts UartState.2553,__zero_reg__
2202 .L292:
2203 /* epilogue: frame size=0 */
2204 1332 FF91 pop r31
2205 1334 EF91 pop r30
2206 1336 DF91 pop r29
2207 1338 CF91 pop r28
2208 133a BF91 pop r27
2209 133c AF91 pop r26
2210 133e 9F91 pop r25
2211 1340 8F91 pop r24
2212 1342 7F91 pop r23
2213 1344 6F91 pop r22
2214 1346 5F91 pop r21
2215 1348 4F91 pop r20
2216 134a 3F91 pop r19
2217 134c 2F91 pop r18
2218 134e 0F90 pop __tmp_reg__
2219 1350 0FBE out __SREG__,__tmp_reg__
2220 1352 0F90 pop __tmp_reg__
2221 1354 1F90 pop __zero_reg__
2222 1356 1895 reti
2223 /* epilogue end (size=19) */
2224 /* function __vector_20 size 246 (208) */
2226 .global GetExternalControl
2227 .global GetExternalControl
2228 .section .bss
2231 GetExternalControl:
2232 0000 00 .skip 1,0
2233 .global DebugDisplayAnforderung1
2234 .global DebugDisplayAnforderung1
2237 DebugDisplayAnforderung1:
2238 0001 00 .skip 1,0
2239 .global DebugDisplayAnforderung
2240 .global DebugDisplayAnforderung
2243 DebugDisplayAnforderung:
2244 0002 00 .skip 1,0
2245 .global DebugDataAnforderung
2246 .global DebugDataAnforderung
2249 DebugDataAnforderung:
2250 0003 00 .skip 1,0
2251 .global GetVersionAnforderung
2252 .global GetVersionAnforderung
2255 GetVersionAnforderung:
2256 0004 00 .skip 1,0
2257 .global GetPPMChannelAnforderung
2258 .global GetPPMChannelAnforderung
2261 GetPPMChannelAnforderung:
2262 0005 00 .skip 1,0
2263 .global DisplayLine
2264 .global DisplayLine
2267 DisplayLine:
2268 0006 00 .skip 1,0
2269 .global SioTmp
2270 .global SioTmp
2273 SioTmp:
2274 0007 00 .skip 1,0
2275 .global NeuerDatensatzEmpfangen
2276 .global NeuerDatensatzEmpfangen
2279 NeuerDatensatzEmpfangen:
2280 0008 00 .skip 1,0
2281 .global NeueKoordinateEmpfangen
2282 .global NeueKoordinateEmpfangen
2285 NeueKoordinateEmpfangen:
2286 0009 00 .skip 1,0
2287 .global UebertragungAbgeschlossen
2288 .data
2291 UebertragungAbgeschlossen:
2292 0000 01 .byte 1
2293 .global CntCrcError
2294 .global CntCrcError
2295 .section .bss
2298 CntCrcError:
2299 000a 00 .skip 1,0
2300 .global AnzahlEmpfangsBytes
2301 .global AnzahlEmpfangsBytes
2304 AnzahlEmpfangsBytes:
2305 000b 00 .skip 1,0
2306 .global pRxData
2307 .global pRxData
2310 pRxData:
2311 000c 0000 .skip 2,0
2312 .global RxDataLen
2313 .global RxDataLen
2316 RxDataLen:
2317 000e 00 .skip 1,0
2318 .global PC_DebugTimeout
2319 .global PC_DebugTimeout
2322 PC_DebugTimeout:
2323 000f 00 .skip 1,0
2324 .global PC_MotortestActive
2325 .global PC_MotortestActive
2328 PC_MotortestActive:
2329 0010 00 .skip 1,0
2330 .global DebugTextAnforderung
2331 .data
2334 DebugTextAnforderung:
2335 0001 FF .byte -1
2336 .global PcZugriff
2339 PcZugriff:
2340 0002 64 .byte 100
2341 .global MeineSlaveAdresse
2344 MeineSlaveAdresse:
2345 0003 01 .byte 1
2346 .global DebugDataIntervall
2347 .global DebugDataIntervall
2348 .section .bss
2351 DebugDataIntervall:
2352 0011 0000 .skip 2,0
2353 .global Intervall3D
2354 .global Intervall3D
2357 Intervall3D:
2358 0013 0000 .skip 2,0
2359 .global Display_Interval
2360 .global Display_Interval
2363 Display_Interval:
2364 0015 0000 .skip 2,0
2365 .global AboTimeOut
2366 .global AboTimeOut
2369 AboTimeOut:
2370 0017 0000 .skip 2,0
2371 .global JetiUpdateModeActive
2372 .global JetiUpdateModeActive
2375 JetiUpdateModeActive:
2376 0019 00 .skip 1,0
2377 .global ANALOG_TEXT
2378 .section .progmem.data,"a",@progbits
2381 ANALOG_TEXT:
2382 0000 416E 676C .ascii "AngleNick "
2382 654E 6963
2382 6B20 2020
2382 2020 2020
2383 0010 416E 676C .ascii "AngleRoll "
2383 6552 6F6C
2383 6C20 2020
2383 2020 2020
2384 0020 4163 634E .ascii "AccNick "
2384 6963 6B20
2384 2020 2020
2384 2020 2020
2385 0030 4163 6352 .ascii "AccRoll "
2385 6F6C 6C20
2385 2020 2020
2385 2020 2020
2386 0040 5961 7747 .ascii "YawGyro "
2386 7972 6F20
2386 2020 2020
2386 2020 2020
2387 0050 4865 6967 .ascii "Height Value "
2387 6874 2056
2387 616C 7565
2387 2020 2020
2388 0060 4163 635A .ascii "AccZ "
2388 2020 2020
2388 2020 2020
2388 2020 2020
2389 0070 4761 7320 .ascii "Gas "
2389 2020 2020
2389 2020 2020
2389 2020 2020
2390 0080 436F 6D70 .ascii "Compass Value "
2390 6173 7320
2390 5661 6C75
2390 6520 2020
2391 0090 566F 6C74 .ascii "Voltage [0.1V] "
2391 6167 6520
2391 5B30 2E31
2391 565D 2020
2392 00a0 5265 6365 .ascii "Receiver Level "
2392 6976 6572
2392 204C 6576
2392 656C 2020
2393 00b0 4779 726F .ascii "Gyro Compass "
2393 2043 6F6D
2393 7061 7373
2393 2020 2020
2394 00c0 4D6F 746F .ascii "Motor 1 "
2394 7220 3120
2394 2020 2020
2394 2020 2020
2395 00d0 4D6F 746F .ascii "Motor 2 "
2395 7220 3220
2395 2020 2020
2395 2020 2020
2396 00e0 4D6F 746F .ascii "Motor 3 "
2396 7220 3320
2396 2020 2020
2396 2020 2020
2397 00f0 4D6F 746F .ascii "Motor 4 "
2397 7220 3420
2397 2020 2020
2397 2020 2020
2398 0100 3136 2020 .ascii "16 "
2398 2020 2020
2398 2020 2020
2398 2020 2020
2399 0110 3137 2020 .ascii "17 "
2399 2020 2020
2399 2020 2020
2399 2020 2020
2400 0120 3138 2020 .ascii "18 "
2400 2020 2020
2400 2020 2020
2400 2020 2020
2401 0130 3139 2020 .ascii "19 "
2401 2020 2020
2401 2020 2020
2401 2020 2020
2402 0140 5365 7276 .ascii "Servo "
2402 6F20 2020
2402 2020 2020
2402 2020 2020
2403 0150 486F 7665 .ascii "Hovergas "
2403 7267 6173
2403 2020 2020
2403 2020 2020
2404 0160 4375 7272 .ascii "Current [0.1A] "
2404 656E 7420
2404 5B30 2E31
2404 415D 2020
2405 0170 4361 7061 .ascii "Capacity [mAh] "
2405 6369 7479
2405 205B 6D41
2405 685D 2020
2406 0180 3234 2020 .ascii "24 "
2406 2020 2020
2406 2020 2020
2406 2020 2020
2407 0190 3235 2020 .ascii "25 "
2407 2020 2020
2407 2020 2020
2407 2020 2020
2408 01a0 3236 2020 .ascii "26 "
2408 2020 2020
2408 2020 2020
2408 2020 2020
2409 01b0 3237 2020 .ascii "27 "
2409 2020 2020
2409 2020 2020
2409 2020 2020
2410 01c0 4932 432D .ascii "I2C-Error "
2410 4572 726F
2410 7220 2020
2410 2020 2020
2411 01d0 424C 204C .ascii "BL Limit "
2411 696D 6974
2411 2020 2020
2411 2020 2020
2412 01e0 4750 535F .ascii "GPS_Nick "
2412 4E69 636B
2412 2020 2020
2412 2020 2020
2413 01f0 4750 535F .ascii "GPS_Roll "
2413 526F 6C6C
2413 2020 2020
2413 2020 2020
2416 __c.3030:
2417 0200 2121 2120 .string "!!! INCOMPATIBLE !!!"
2417 494E 434F
2417 4D50 4154
2417 4942 4C45
2417 2021 2121
2418 .lcomm UartState.2553,1
2419 .lcomm buf_ptr.2552,1
2420 .lcomm crc2.2551,1
2421 .lcomm crc1.2550,1
2422 .lcomm crc.2549,2
2423 .lcomm ptr.2536,2
2424 .comm RxdBuffer,170,1
2425 .comm Debug_Timer,2,1
2426 .comm Kompass_Timer,2,1
2427 .comm MotorTest,16,1
2428 .comm DebugOut,66,1
2429 .comm WinkelOut,8,1
2430 .comm Data3D,14,1
2431 .comm ExternControl,11,1
2432 .comm VersionInfo,10,1
2433 .comm TxdBuffer,170,1
2434 .comm ConfirmFrame,1,1
2435 .comm Display_Timer,2,1
2436 .comm Timer3D,2,1
2437 /* File "uart.c": code 2496 = 0x09c0 (2406), prologues 46, epilogues 44 */
DEFINED SYMBOLS
*ABS*:00000000 uart.c
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:2 *ABS*:0000003f __SREG__
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:3 *ABS*:0000003e __SP_H__
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:4 *ABS*:0000003d __SP_L__
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:5 *ABS*:00000000 __tmp_reg__
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:6 *ABS*:00000001 __zero_reg__
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:12 .text:00000000 __vector_22
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:2291 .data:00000000 UebertragungAbgeschlossen
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:2422 .bss:00000020 ptr.2536
*COM*:000000aa TxdBuffer
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:68 .text:0000006c AddCRC
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:123 .text:000000ca Decode64
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:2304 .bss:0000000b AnzahlEmpfangsBytes
*COM*:000000aa RxdBuffer
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:2310 .bss:0000000c pRxData
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:2316 .bss:0000000e RxDataLen
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:221 .text:0000017e uart_putchar
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:237 .text:0000018e UART_Init
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:2351 .bss:00000011 DebugDataIntervall
*COM*:00000002 Debug_Timer
*COM*:00000002 Kompass_Timer
*COM*:0000000a VersionInfo
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:285 .text:00000200 SendOutData
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:498 .text:00000386 DatenUebertragung
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:2369 .bss:00000017 AboTimeOut
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:2363 .bss:00000015 Display_Interval
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:2357 .bss:00000013 Intervall3D
*COM*:00000002 Display_Timer
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:2243 .bss:00000002 DebugDisplayAnforderung
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:2267 .bss:00000006 DisplayLine
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:2416 .progmem.data:00000200 __c.3030
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:2237 .bss:00000001 DebugDisplayAnforderung1
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:2255 .bss:00000004 GetVersionAnforderung
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:2231 .bss:00000000 GetExternalControl
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:2344 .data:00000003 MeineSlaveAdresse
*COM*:0000000b ExternControl
*COM*:00000008 WinkelOut
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:2249 .bss:00000003 DebugDataAnforderung
*COM*:00000042 DebugOut
*COM*:00000002 Timer3D
*COM*:0000000e Data3D
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:2334 .data:00000001 DebugTextAnforderung
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:2381 .progmem.data:00000000 ANALOG_TEXT
*COM*:00000001 ConfirmFrame
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:2261 .bss:00000005 GetPPMChannelAnforderung
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:1064 .text:000008f8 BearbeiteRxDaten
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:2279 .bss:00000008 NeuerDatensatzEmpfangen
*COM*:00000010 MotorTest
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:2328 .bss:00000010 PC_MotortestActive
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:2339 .data:00000002 PcZugriff
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:2375 .bss:00000019 JetiUpdateModeActive
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:2008 .text:00001176 __vector_20
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:2273 .bss:00000007 SioTmp
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:2418 .bss:0000001b buf_ptr.2552
.bss:0000001a UartState.2553
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:2421 .bss:0000001e crc.2549
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:2420 .bss:0000001d crc1.2550
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:2419 .bss:0000001c crc2.2551
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:2298 .bss:0000000a CntCrcError
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:2285 .bss:00000009 NeueKoordinateEmpfangen
C:\DOCUME~1\Owner\LOCALS~1\Temp/ccShp894.s:2322 .bss:0000000f PC_DebugTimeout
UNDEFINED SYMBOLS
__do_copy_data
__do_clear_bss
SetDelay
__prologue_saves__
__epilogue_restores__
CheckDelay
DisplayBuff
Menu
DispPtr
_printf_P
Menu_Putchar
MaxMenue
MenuePunkt
EE_Parameter
IntegralNick
__divmodsi4
IntegralRoll
Parameter_UserParam1
Parameter_UserParam2
CopyDebugValues
ErsatzKompass
__mulsi3
GIER_GRAD_FAKTOR
SummeNick
SummeRoll
Mess_Integral_Gier
memcpy_P
PPM_in
KompassValue
KompassStartwert
__divmodhi4
KompassRichtung
Mixer
MixerTable_WriteToEEProm
SetDefaultParameter
GetActiveParamSet
ParamSet_ReadFromEEProm
ParamSet_WriteToEEProm
Umschlag180Nick
Umschlag180Roll
MotorenEin
Piep
LipoDetection
LIBFC_ReceiverInit
I2C_ReadBLConfig
BLConfig
I2C_WriteBLConfig
LIBFC_GetCPUType
RemoteKeys
LcdClear
ServoActive