Blame | Last modification | View Log | RSS feed
1 .file "fc.c"
2 .arch atmega644
3 __SREG__ = 0x3f
4 __SP_H__ = 0x3e
5 __SP_L__ = 0x3d
6 __tmp_reg__ = 0
7 __zero_reg__ = 1
8 .global __do_copy_data
9 .global __do_clear_bss
10 .text
11 .global Mittelwert
13 Mittelwert:
14 /* prologue: frame size=0 */
15 0000 AF92 push r10
16 0002 BF92 push r11
17 0004 CF92 push r12
18 0006 DF92 push r13
19 0008 EF92 push r14
20 000a FF92 push r15
21 000c 0F93 push r16
22 000e 1F93 push r17
23 /* prologue end (size=8) */
24 0010 1092 7A00 sts 122,__zero_reg__
25 0014 8091 0000 lds r24,MessanzahlNick
26 0018 8823 tst r24
27 001a 01F0 breq .L2
28 001c 8091 0000 lds r24,AccumulateNick
29 0020 9091 0000 lds r25,(AccumulateNick)+1
30 0024 6091 0000 lds r22,MessanzahlNick
31 0028 7727 clr r23
32 002a 0E94 0000 call __divmodhi4
33 002e 7093 0000 sts (MesswertNick)+1,r23
34 0032 6093 0000 sts MesswertNick,r22
35 .L2:
36 0036 8091 0000 lds r24,MessanzahlRoll
37 003a 8823 tst r24
38 003c 01F0 breq .L4
39 003e 8091 0000 lds r24,AccumulateRoll
40 0042 9091 0000 lds r25,(AccumulateRoll)+1
41 0046 6091 0000 lds r22,MessanzahlRoll
42 004a 7727 clr r23
43 004c 0E94 0000 call __divmodhi4
44 0050 7093 0000 sts (MesswertRoll)+1,r23
45 0054 6093 0000 sts MesswertRoll,r22
46 .L4:
47 0058 8091 0000 lds r24,MessanzahlGier
48 005c 8823 tst r24
49 005e 01F0 breq .L6
50 0060 8091 0000 lds r24,AccumulateGier
51 0064 9091 0000 lds r25,(AccumulateGier)+1
52 0068 6091 0000 lds r22,MessanzahlGier
53 006c 7727 clr r23
54 006e 0E94 0000 call __divmodhi4
55 0072 7093 0000 sts (MesswertGier)+1,r23
56 0076 6093 0000 sts MesswertGier,r22
57 .L6:
58 007a 8091 0000 lds r24,messanzahl_AccNick
59 007e 8823 tst r24
60 0080 01F0 breq .L8
61 0082 E090 0000 lds r14,Mittelwert_AccNick
62 0086 F090 0000 lds r15,(Mittelwert_AccNick)+1
63 008a 6091 0000 lds r22,accumulate_AccNick
64 008e 7091 0000 lds r23,(accumulate_AccNick)+1
65 0092 2091 0000 lds r18,messanzahl_AccNick
66 0096 0027 clr r16
67 0098 F7FC sbrc r15,7
68 009a 0095 com r16
69 009c 102F mov r17,r16
70 009e 5701 movw r10,r14
71 00a0 6801 movw r12,r16
72 00a2 43E0 ldi r20,3
73 00a4 AA0C 1: lsl r10
74 00a6 BB1C rol r11
75 00a8 CC1C rol r12
76 00aa DD1C rol r13
77 00ac 4A95 dec r20
78 00ae 01F4 brne 1b
79 00b0 AE18 sub r10,r14
80 00b2 BF08 sbc r11,r15
81 00b4 C00A sbc r12,r16
82 00b6 D10A sbc r13,r17
83 00b8 8827 clr r24
84 00ba 77FD sbrc r23,7
85 00bc 8095 com r24
86 00be 982F mov r25,r24
87 00c0 34E0 ldi r19,4
88 00c2 660F 1: lsl r22
89 00c4 771F rol r23
90 00c6 881F rol r24
91 00c8 991F rol r25
92 00ca 3A95 dec r19
93 00cc 01F4 brne 1b
94 00ce 3327 clr r19
95 00d0 4427 clr r20
96 00d2 5527 clr r21
97 00d4 0E94 0000 call __divmodsi4
98 00d8 A20E add r10,r18
99 00da B31E adc r11,r19
100 00dc C41E adc r12,r20
101 00de D51E adc r13,r21
102 00e0 C601 movw r24,r12
103 00e2 B501 movw r22,r10
104 00e4 28E0 ldi r18,lo8(8)
105 00e6 30E0 ldi r19,hi8(8)
106 00e8 40E0 ldi r20,hlo8(8)
107 00ea 50E0 ldi r21,hhi8(8)
108 00ec 0E94 0000 call __divmodsi4
109 00f0 3093 0000 sts (Mittelwert_AccNick)+1,r19
110 00f4 2093 0000 sts Mittelwert_AccNick,r18
111 .L8:
112 00f8 8091 0000 lds r24,messanzahl_AccRoll
113 00fc 8823 tst r24
114 00fe 01F0 breq .L10
115 0100 E090 0000 lds r14,Mittelwert_AccRoll
116 0104 F090 0000 lds r15,(Mittelwert_AccRoll)+1
117 0108 6091 0000 lds r22,accumulate_AccRoll
118 010c 7091 0000 lds r23,(accumulate_AccRoll)+1
119 0110 2091 0000 lds r18,messanzahl_AccRoll
120 0114 0027 clr r16
121 0116 F7FC sbrc r15,7
122 0118 0095 com r16
123 011a 102F mov r17,r16
124 011c 5701 movw r10,r14
125 011e 6801 movw r12,r16
126 0120 83E0 ldi r24,3
127 0122 AA0C 1: lsl r10
128 0124 BB1C rol r11
129 0126 CC1C rol r12
130 0128 DD1C rol r13
131 012a 8A95 dec r24
132 012c 01F4 brne 1b
133 012e AE18 sub r10,r14
134 0130 BF08 sbc r11,r15
135 0132 C00A sbc r12,r16
136 0134 D10A sbc r13,r17
137 0136 8827 clr r24
138 0138 77FD sbrc r23,7
139 013a 8095 com r24
140 013c 982F mov r25,r24
141 013e B4E0 ldi r27,4
142 0140 660F 1: lsl r22
143 0142 771F rol r23
144 0144 881F rol r24
145 0146 991F rol r25
146 0148 BA95 dec r27
147 014a 01F4 brne 1b
148 014c 3327 clr r19
149 014e 4427 clr r20
150 0150 5527 clr r21
151 0152 0E94 0000 call __divmodsi4
152 0156 A20E add r10,r18
153 0158 B31E adc r11,r19
154 015a C41E adc r12,r20
155 015c D51E adc r13,r21
156 015e C601 movw r24,r12
157 0160 B501 movw r22,r10
158 0162 28E0 ldi r18,lo8(8)
159 0164 30E0 ldi r19,hi8(8)
160 0166 40E0 ldi r20,hlo8(8)
161 0168 50E0 ldi r21,hhi8(8)
162 016a 0E94 0000 call __divmodsi4
163 016e 3093 0000 sts (Mittelwert_AccRoll)+1,r19
164 0172 2093 0000 sts Mittelwert_AccRoll,r18
165 .L10:
166 0176 8091 0000 lds r24,messanzahl_AccHoch
167 017a 8823 tst r24
168 017c 01F0 breq .L12
169 017e E090 0000 lds r14,Mittelwert_AccHoch
170 0182 F090 0000 lds r15,(Mittelwert_AccHoch)+1
171 0186 6091 0000 lds r22,accumulate_AccHoch
172 018a 7091 0000 lds r23,(accumulate_AccHoch)+1
173 018e 2091 0000 lds r18,messanzahl_AccHoch
174 0192 0027 clr r16
175 0194 F7FC sbrc r15,7
176 0196 0095 com r16
177 0198 102F mov r17,r16
178 019a 5701 movw r10,r14
179 019c 6801 movw r12,r16
180 019e A3E0 ldi r26,3
181 01a0 AA0C 1: lsl r10
182 01a2 BB1C rol r11
183 01a4 CC1C rol r12
184 01a6 DD1C rol r13
185 01a8 AA95 dec r26
186 01aa 01F4 brne 1b
187 01ac AE18 sub r10,r14
188 01ae BF08 sbc r11,r15
189 01b0 C00A sbc r12,r16
190 01b2 D10A sbc r13,r17
191 01b4 8827 clr r24
192 01b6 77FD sbrc r23,7
193 01b8 8095 com r24
194 01ba 982F mov r25,r24
195 01bc 3327 clr r19
196 01be 4427 clr r20
197 01c0 5527 clr r21
198 01c2 0E94 0000 call __divmodsi4
199 01c6 A20E add r10,r18
200 01c8 B31E adc r11,r19
201 01ca C41E adc r12,r20
202 01cc D51E adc r13,r21
203 01ce C601 movw r24,r12
204 01d0 B501 movw r22,r10
205 01d2 28E0 ldi r18,lo8(8)
206 01d4 30E0 ldi r19,hi8(8)
207 01d6 40E0 ldi r20,hlo8(8)
208 01d8 50E0 ldi r21,hhi8(8)
209 01da 0E94 0000 call __divmodsi4
210 01de 3093 0000 sts (Mittelwert_AccHoch)+1,r19
211 01e2 2093 0000 sts Mittelwert_AccHoch,r18
212 .L12:
213 01e6 1092 0000 sts (AccumulateNick)+1,__zero_reg__
214 01ea 1092 0000 sts AccumulateNick,__zero_reg__
215 01ee 1092 0000 sts MessanzahlNick,__zero_reg__
216 01f2 1092 0000 sts (AccumulateRoll)+1,__zero_reg__
217 01f6 1092 0000 sts AccumulateRoll,__zero_reg__
218 01fa 1092 0000 sts MessanzahlRoll,__zero_reg__
219 01fe 1092 0000 sts (AccumulateGier)+1,__zero_reg__
220 0202 1092 0000 sts AccumulateGier,__zero_reg__
221 0206 1092 0000 sts MessanzahlGier,__zero_reg__
222 020a 1092 0000 sts (accumulate_AccRoll)+1,__zero_reg__
223 020e 1092 0000 sts accumulate_AccRoll,__zero_reg__
224 0212 1092 0000 sts messanzahl_AccRoll,__zero_reg__
225 0216 1092 0000 sts (accumulate_AccNick)+1,__zero_reg__
226 021a 1092 0000 sts accumulate_AccNick,__zero_reg__
227 021e 1092 0000 sts messanzahl_AccNick,__zero_reg__
228 0222 1092 0000 sts (accumulate_AccHoch)+1,__zero_reg__
229 0226 1092 0000 sts accumulate_AccHoch,__zero_reg__
230 022a 1092 0000 sts messanzahl_AccHoch,__zero_reg__
231 022e 8091 0000 lds r24,Mess_Integral_Gier
232 0232 9091 0000 lds r25,(Mess_Integral_Gier)+1
233 0236 A091 0000 lds r26,(Mess_Integral_Gier)+2
234 023a B091 0000 lds r27,(Mess_Integral_Gier)+3
235 023e 8093 0000 sts Integral_Gier,r24
236 0242 9093 0000 sts (Integral_Gier)+1,r25
237 0246 A093 0000 sts (Integral_Gier)+2,r26
238 024a B093 0000 sts (Integral_Gier)+3,r27
239 024e 8091 0000 lds r24,Mess_IntegralNick
240 0252 9091 0000 lds r25,(Mess_IntegralNick)+1
241 0256 A091 0000 lds r26,(Mess_IntegralNick)+2
242 025a B091 0000 lds r27,(Mess_IntegralNick)+3
243 025e 8093 0000 sts IntegralNick,r24
244 0262 9093 0000 sts (IntegralNick)+1,r25
245 0266 A093 0000 sts (IntegralNick)+2,r26
246 026a B093 0000 sts (IntegralNick)+3,r27
247 026e 8091 0000 lds r24,Mess_IntegralRoll
248 0272 9091 0000 lds r25,(Mess_IntegralRoll)+1
249 0276 A091 0000 lds r26,(Mess_IntegralRoll)+2
250 027a B091 0000 lds r27,(Mess_IntegralRoll)+3
251 027e 8093 0000 sts IntegralRoll,r24
252 0282 9093 0000 sts (IntegralRoll)+1,r25
253 0286 A093 0000 sts (IntegralRoll)+2,r26
254 028a B093 0000 sts (IntegralRoll)+3,r27
255 028e 8091 0000 lds r24,Mess_IntegralNick2
256 0292 9091 0000 lds r25,(Mess_IntegralNick2)+1
257 0296 A091 0000 lds r26,(Mess_IntegralNick2)+2
258 029a B091 0000 lds r27,(Mess_IntegralNick2)+3
259 029e 8093 0000 sts IntegralNick2,r24
260 02a2 9093 0000 sts (IntegralNick2)+1,r25
261 02a6 A093 0000 sts (IntegralNick2)+2,r26
262 02aa B093 0000 sts (IntegralNick2)+3,r27
263 02ae 8091 0000 lds r24,Mess_IntegralRoll2
264 02b2 9091 0000 lds r25,(Mess_IntegralRoll2)+1
265 02b6 A091 0000 lds r26,(Mess_IntegralRoll2)+2
266 02ba B091 0000 lds r27,(Mess_IntegralRoll2)+3
267 02be 8093 0000 sts IntegralRoll2,r24
268 02c2 9093 0000 sts (IntegralRoll2)+1,r25
269 02c6 A093 0000 sts (IntegralRoll2)+2,r26
270 02ca B093 0000 sts (IntegralRoll2)+3,r27
271 02ce 8FEE ldi r24,lo8(-17)
272 02d0 8093 7A00 sts 122,r24
273 02d4 8091 0000 lds r24,MesswertNick
274 02d8 9091 0000 lds r25,(MesswertNick)+1
275 02dc 893C cpi r24,201
276 02de 9105 cpc r25,__zero_reg__
277 02e0 04F0 brlt .L14
278 02e2 2091 0000 lds r18,MesswertNick
279 02e6 3091 0000 lds r19,(MesswertNick)+1
280 02ea 8091 0000 lds r24,MesswertNick
281 02ee 9091 0000 lds r25,(MesswertNick)+1
282 02f2 880F lsl r24
283 02f4 991F rol r25
284 02f6 880F lsl r24
285 02f8 991F rol r25
286 02fa 2052 subi r18,lo8(-(-800))
287 02fc 3340 sbci r19,hi8(-(-800))
288 02fe 00C0 rjmp .L59
289 .L14:
290 0300 8091 0000 lds r24,MesswertNick
291 0304 9091 0000 lds r25,(MesswertNick)+1
292 0308 8853 subi r24,lo8(-200)
293 030a 9F4F sbci r25,hi8(-200)
294 030c 04F4 brge .L16
295 030e 2091 0000 lds r18,MesswertNick
296 0312 3091 0000 lds r19,(MesswertNick)+1
297 0316 8091 0000 lds r24,MesswertNick
298 031a 9091 0000 lds r25,(MesswertNick)+1
299 031e 880F lsl r24
300 0320 991F rol r25
301 0322 880F lsl r24
302 0324 991F rol r25
303 0326 205E subi r18,lo8(-(800))
304 0328 3C4F sbci r19,hi8(-(800))
305 .L59:
306 032a 820F add r24,r18
307 032c 931F adc r25,r19
308 032e 9093 0000 sts (MesswertNick)+1,r25
309 0332 8093 0000 sts MesswertNick,r24
310 .L16:
311 0336 8091 0000 lds r24,MesswertRoll
312 033a 9091 0000 lds r25,(MesswertRoll)+1
313 033e 893C cpi r24,201
314 0340 9105 cpc r25,__zero_reg__
315 0342 04F0 brlt .L18
316 0344 2091 0000 lds r18,MesswertRoll
317 0348 3091 0000 lds r19,(MesswertRoll)+1
318 034c 8091 0000 lds r24,MesswertRoll
319 0350 9091 0000 lds r25,(MesswertRoll)+1
320 0354 880F lsl r24
321 0356 991F rol r25
322 0358 880F lsl r24
323 035a 991F rol r25
324 035c 2052 subi r18,lo8(-(-800))
325 035e 3340 sbci r19,hi8(-(-800))
326 0360 00C0 rjmp .L60
327 .L18:
328 0362 8091 0000 lds r24,MesswertRoll
329 0366 9091 0000 lds r25,(MesswertRoll)+1
330 036a 8853 subi r24,lo8(-200)
331 036c 9F4F sbci r25,hi8(-200)
332 036e 04F4 brge .L20
333 0370 2091 0000 lds r18,MesswertRoll
334 0374 3091 0000 lds r19,(MesswertRoll)+1
335 0378 8091 0000 lds r24,MesswertRoll
336 037c 9091 0000 lds r25,(MesswertRoll)+1
337 0380 880F lsl r24
338 0382 991F rol r25
339 0384 880F lsl r24
340 0386 991F rol r25
341 0388 205E subi r18,lo8(-(800))
342 038a 3C4F sbci r19,hi8(-(800))
343 .L60:
344 038c 820F add r24,r18
345 038e 931F adc r25,r19
346 0390 9093 0000 sts (MesswertRoll)+1,r25
347 0394 8093 0000 sts MesswertRoll,r24
348 .L20:
349 0398 2091 0000 lds r18,Poti1
350 039c 3091 0000 lds r19,(Poti1)+1
351 03a0 8091 0000 lds r24,EE_Parameter+4
352 03a4 E82F mov r30,r24
353 03a6 FF27 clr r31
354 03a8 EE0F lsl r30
355 03aa FF1F rol r31
356 03ac E050 subi r30,lo8(-(PPM_in))
357 03ae F040 sbci r31,hi8(-(PPM_in))
358 03b0 8081 ld r24,Z
359 03b2 9181 ldd r25,Z+1
360 03b4 8259 subi r24,lo8(-(110))
361 03b6 9F4F sbci r25,hi8(-(110))
362 03b8 2817 cp r18,r24
363 03ba 3907 cpc r19,r25
364 03bc 04F4 brge .L22
365 03be 2F5F subi r18,lo8(-(1))
366 03c0 3F4F sbci r19,hi8(-(1))
367 03c2 00C0 rjmp .L61
368 .L22:
369 03c4 8081 ld r24,Z
370 03c6 9181 ldd r25,Z+1
371 03c8 8259 subi r24,lo8(-(110))
372 03ca 9F4F sbci r25,hi8(-(110))
373 03cc 8217 cp r24,r18
374 03ce 9307 cpc r25,r19
375 03d0 04F4 brge .L24
376 03d2 2115 cp r18,__zero_reg__
377 03d4 3105 cpc r19,__zero_reg__
378 03d6 01F0 breq .L24
379 03d8 2150 subi r18,lo8(-(-1))
380 03da 3040 sbci r19,hi8(-(-1))
381 .L61:
382 03dc 3093 0000 sts (Poti1)+1,r19
383 03e0 2093 0000 sts Poti1,r18
384 .L24:
385 03e4 2091 0000 lds r18,Poti2
386 03e8 3091 0000 lds r19,(Poti2)+1
387 03ec 8091 0000 lds r24,EE_Parameter+5
388 03f0 E82F mov r30,r24
389 03f2 FF27 clr r31
390 03f4 EE0F lsl r30
391 03f6 FF1F rol r31
392 03f8 E050 subi r30,lo8(-(PPM_in))
393 03fa F040 sbci r31,hi8(-(PPM_in))
394 03fc 8081 ld r24,Z
395 03fe 9181 ldd r25,Z+1
396 0400 8259 subi r24,lo8(-(110))
397 0402 9F4F sbci r25,hi8(-(110))
398 0404 2817 cp r18,r24
399 0406 3907 cpc r19,r25
400 0408 04F4 brge .L27
401 040a 2F5F subi r18,lo8(-(1))
402 040c 3F4F sbci r19,hi8(-(1))
403 040e 00C0 rjmp .L62
404 .L27:
405 0410 8081 ld r24,Z
406 0412 9181 ldd r25,Z+1
407 0414 8259 subi r24,lo8(-(110))
408 0416 9F4F sbci r25,hi8(-(110))
409 0418 8217 cp r24,r18
410 041a 9307 cpc r25,r19
411 041c 04F4 brge .L29
412 041e 2115 cp r18,__zero_reg__
413 0420 3105 cpc r19,__zero_reg__
414 0422 01F0 breq .L29
415 0424 2150 subi r18,lo8(-(-1))
416 0426 3040 sbci r19,hi8(-(-1))
417 .L62:
418 0428 3093 0000 sts (Poti2)+1,r19
419 042c 2093 0000 sts Poti2,r18
420 .L29:
421 0430 2091 0000 lds r18,Poti3
422 0434 3091 0000 lds r19,(Poti3)+1
423 0438 8091 0000 lds r24,EE_Parameter+6
424 043c E82F mov r30,r24
425 043e FF27 clr r31
426 0440 EE0F lsl r30
427 0442 FF1F rol r31
428 0444 E050 subi r30,lo8(-(PPM_in))
429 0446 F040 sbci r31,hi8(-(PPM_in))
430 0448 8081 ld r24,Z
431 044a 9181 ldd r25,Z+1
432 044c 8259 subi r24,lo8(-(110))
433 044e 9F4F sbci r25,hi8(-(110))
434 0450 2817 cp r18,r24
435 0452 3907 cpc r19,r25
436 0454 04F4 brge .L32
437 0456 2F5F subi r18,lo8(-(1))
438 0458 3F4F sbci r19,hi8(-(1))
439 045a 00C0 rjmp .L63
440 .L32:
441 045c 8081 ld r24,Z
442 045e 9181 ldd r25,Z+1
443 0460 8259 subi r24,lo8(-(110))
444 0462 9F4F sbci r25,hi8(-(110))
445 0464 8217 cp r24,r18
446 0466 9307 cpc r25,r19
447 0468 04F4 brge .L34
448 046a 2115 cp r18,__zero_reg__
449 046c 3105 cpc r19,__zero_reg__
450 046e 01F0 breq .L34
451 0470 2150 subi r18,lo8(-(-1))
452 0472 3040 sbci r19,hi8(-(-1))
453 .L63:
454 0474 3093 0000 sts (Poti3)+1,r19
455 0478 2093 0000 sts Poti3,r18
456 .L34:
457 047c 2091 0000 lds r18,Poti4
458 0480 3091 0000 lds r19,(Poti4)+1
459 0484 8091 0000 lds r24,EE_Parameter+7
460 0488 E82F mov r30,r24
461 048a FF27 clr r31
462 048c EE0F lsl r30
463 048e FF1F rol r31
464 0490 E050 subi r30,lo8(-(PPM_in))
465 0492 F040 sbci r31,hi8(-(PPM_in))
466 0494 8081 ld r24,Z
467 0496 9181 ldd r25,Z+1
468 0498 8259 subi r24,lo8(-(110))
469 049a 9F4F sbci r25,hi8(-(110))
470 049c 2817 cp r18,r24
471 049e 3907 cpc r19,r25
472 04a0 04F4 brge .L37
473 04a2 2F5F subi r18,lo8(-(1))
474 04a4 3F4F sbci r19,hi8(-(1))
475 04a6 00C0 rjmp .L64
476 .L37:
477 04a8 8081 ld r24,Z
478 04aa 9181 ldd r25,Z+1
479 04ac 8259 subi r24,lo8(-(110))
480 04ae 9F4F sbci r25,hi8(-(110))
481 04b0 8217 cp r24,r18
482 04b2 9307 cpc r25,r19
483 04b4 04F4 brge .L39
484 04b6 2115 cp r18,__zero_reg__
485 04b8 3105 cpc r19,__zero_reg__
486 04ba 01F0 breq .L39
487 04bc 2150 subi r18,lo8(-(-1))
488 04be 3040 sbci r19,hi8(-(-1))
489 .L64:
490 04c0 3093 0000 sts (Poti4)+1,r19
491 04c4 2093 0000 sts Poti4,r18
492 .L39:
493 04c8 8091 0000 lds r24,Poti1
494 04cc 9091 0000 lds r25,(Poti1)+1
495 04d0 97FF sbrs r25,7
496 04d2 00C0 rjmp .L42
497 04d4 1092 0000 sts (Poti1)+1,__zero_reg__
498 04d8 1092 0000 sts Poti1,__zero_reg__
499 04dc 00C0 rjmp .L44
500 .L42:
501 04de 8F3F cpi r24,255
502 04e0 9105 cpc r25,__zero_reg__
503 04e2 01F0 breq .L44
504 04e4 04F0 brlt .L44
505 04e6 8FEF ldi r24,lo8(255)
506 04e8 90E0 ldi r25,hi8(255)
507 04ea 9093 0000 sts (Poti1)+1,r25
508 04ee 8093 0000 sts Poti1,r24
509 .L44:
510 04f2 8091 0000 lds r24,Poti2
511 04f6 9091 0000 lds r25,(Poti2)+1
512 04fa 97FF sbrs r25,7
513 04fc 00C0 rjmp .L46
514 04fe 1092 0000 sts (Poti2)+1,__zero_reg__
515 0502 1092 0000 sts Poti2,__zero_reg__
516 0506 00C0 rjmp .L48
517 .L46:
518 0508 8F3F cpi r24,255
519 050a 9105 cpc r25,__zero_reg__
520 050c 01F0 breq .L48
521 050e 04F0 brlt .L48
522 0510 8FEF ldi r24,lo8(255)
523 0512 90E0 ldi r25,hi8(255)
524 0514 9093 0000 sts (Poti2)+1,r25
525 0518 8093 0000 sts Poti2,r24
526 .L48:
527 051c 8091 0000 lds r24,Poti3
528 0520 9091 0000 lds r25,(Poti3)+1
529 0524 97FF sbrs r25,7
530 0526 00C0 rjmp .L50
531 0528 1092 0000 sts (Poti3)+1,__zero_reg__
532 052c 1092 0000 sts Poti3,__zero_reg__
533 0530 00C0 rjmp .L52
534 .L50:
535 0532 8F3F cpi r24,255
536 0534 9105 cpc r25,__zero_reg__
537 0536 01F0 breq .L52
538 0538 04F0 brlt .L52
539 053a 8FEF ldi r24,lo8(255)
540 053c 90E0 ldi r25,hi8(255)
541 053e 9093 0000 sts (Poti3)+1,r25
542 0542 8093 0000 sts Poti3,r24
543 .L52:
544 0546 8091 0000 lds r24,Poti4
545 054a 9091 0000 lds r25,(Poti4)+1
546 054e 97FF sbrs r25,7
547 0550 00C0 rjmp .L54
548 0552 1092 0000 sts (Poti4)+1,__zero_reg__
549 0556 1092 0000 sts Poti4,__zero_reg__
550 055a 00C0 rjmp .L58
551 .L54:
552 055c 8F3F cpi r24,255
553 055e 9105 cpc r25,__zero_reg__
554 0560 01F0 breq .L58
555 0562 04F0 brlt .L58
556 0564 8FEF ldi r24,lo8(255)
557 0566 90E0 ldi r25,hi8(255)
558 0568 9093 0000 sts (Poti4)+1,r25
559 056c 8093 0000 sts Poti4,r24
560 .L58:
561 /* epilogue: frame size=0 */
562 0570 1F91 pop r17
563 0572 0F91 pop r16
564 0574 FF90 pop r15
565 0576 EF90 pop r14
566 0578 DF90 pop r13
567 057a CF90 pop r12
568 057c BF90 pop r11
569 057e AF90 pop r10
570 0580 0895 ret
571 /* epilogue end (size=9) */
572 /* function Mittelwert size 707 (690) */
574 .global CalibrierMittelwert
576 CalibrierMittelwert:
577 /* prologue: frame size=0 */
578 /* prologue end (size=0) */
579 0582 1092 7A00 sts 122,__zero_reg__
580 0586 8091 0000 lds r24,MessanzahlNick
581 058a 8823 tst r24
582 058c 01F0 breq .L66
583 058e 8091 0000 lds r24,AccumulateNick
584 0592 9091 0000 lds r25,(AccumulateNick)+1
585 0596 6091 0000 lds r22,MessanzahlNick
586 059a 7727 clr r23
587 059c 0E94 0000 call __divmodhi4
588 05a0 7093 0000 sts (MesswertNick)+1,r23
589 05a4 6093 0000 sts MesswertNick,r22
590 .L66:
591 05a8 8091 0000 lds r24,MessanzahlRoll
592 05ac 8823 tst r24
593 05ae 01F0 breq .L68
594 05b0 8091 0000 lds r24,AccumulateRoll
595 05b4 9091 0000 lds r25,(AccumulateRoll)+1
596 05b8 6091 0000 lds r22,MessanzahlRoll
597 05bc 7727 clr r23
598 05be 0E94 0000 call __divmodhi4
599 05c2 7093 0000 sts (MesswertRoll)+1,r23
600 05c6 6093 0000 sts MesswertRoll,r22
601 .L68:
602 05ca 8091 0000 lds r24,MessanzahlGier
603 05ce 8823 tst r24
604 05d0 01F0 breq .L70
605 05d2 8091 0000 lds r24,AccumulateGier
606 05d6 9091 0000 lds r25,(AccumulateGier)+1
607 05da 6091 0000 lds r22,MessanzahlGier
608 05de 7727 clr r23
609 05e0 0E94 0000 call __divmodhi4
610 05e4 7093 0000 sts (MesswertGier)+1,r23
611 05e8 6093 0000 sts MesswertGier,r22
612 .L70:
613 05ec 8091 0000 lds r24,messanzahl_AccNick
614 05f0 8823 tst r24
615 05f2 01F0 breq .L72
616 05f4 6091 0000 lds r22,accumulate_AccNick
617 05f8 7091 0000 lds r23,(accumulate_AccNick)+1
618 05fc 2091 0000 lds r18,messanzahl_AccNick
619 0600 8827 clr r24
620 0602 77FD sbrc r23,7
621 0604 8095 com r24
622 0606 982F mov r25,r24
623 0608 34E0 ldi r19,4
624 060a 660F 1: lsl r22
625 060c 771F rol r23
626 060e 881F rol r24
627 0610 991F rol r25
628 0612 3A95 dec r19
629 0614 01F4 brne 1b
630 0616 3327 clr r19
631 0618 4427 clr r20
632 061a 5527 clr r21
633 061c 0E94 0000 call __divmodsi4
634 0620 3093 0000 sts (Mittelwert_AccNick)+1,r19
635 0624 2093 0000 sts Mittelwert_AccNick,r18
636 .L72:
637 0628 8091 0000 lds r24,messanzahl_AccRoll
638 062c 8823 tst r24
639 062e 01F0 breq .L74
640 0630 6091 0000 lds r22,accumulate_AccRoll
641 0634 7091 0000 lds r23,(accumulate_AccRoll)+1
642 0638 2091 0000 lds r18,messanzahl_AccRoll
643 063c 8827 clr r24
644 063e 77FD sbrc r23,7
645 0640 8095 com r24
646 0642 982F mov r25,r24
647 0644 B4E0 ldi r27,4
648 0646 660F 1: lsl r22
649 0648 771F rol r23
650 064a 881F rol r24
651 064c 991F rol r25
652 064e BA95 dec r27
653 0650 01F4 brne 1b
654 0652 3327 clr r19
655 0654 4427 clr r20
656 0656 5527 clr r21
657 0658 0E94 0000 call __divmodsi4
658 065c 3093 0000 sts (Mittelwert_AccRoll)+1,r19
659 0660 2093 0000 sts Mittelwert_AccRoll,r18
660 .L74:
661 0664 8091 0000 lds r24,messanzahl_AccHoch
662 0668 8823 tst r24
663 066a 01F0 breq .L76
664 066c 6091 0000 lds r22,accumulate_AccHoch
665 0670 7091 0000 lds r23,(accumulate_AccHoch)+1
666 0674 2091 0000 lds r18,messanzahl_AccHoch
667 0678 8827 clr r24
668 067a 77FD sbrc r23,7
669 067c 8095 com r24
670 067e 982F mov r25,r24
671 0680 3327 clr r19
672 0682 4427 clr r20
673 0684 5527 clr r21
674 0686 0E94 0000 call __divmodsi4
675 068a 3093 0000 sts (Mittelwert_AccHoch)+1,r19
676 068e 2093 0000 sts Mittelwert_AccHoch,r18
677 .L76:
678 0692 1092 0000 sts (AccumulateNick)+1,__zero_reg__
679 0696 1092 0000 sts AccumulateNick,__zero_reg__
680 069a 1092 0000 sts MessanzahlNick,__zero_reg__
681 069e 1092 0000 sts (AccumulateRoll)+1,__zero_reg__
682 06a2 1092 0000 sts AccumulateRoll,__zero_reg__
683 06a6 1092 0000 sts MessanzahlRoll,__zero_reg__
684 06aa 1092 0000 sts (AccumulateGier)+1,__zero_reg__
685 06ae 1092 0000 sts AccumulateGier,__zero_reg__
686 06b2 1092 0000 sts MessanzahlGier,__zero_reg__
687 06b6 1092 0000 sts (accumulate_AccRoll)+1,__zero_reg__
688 06ba 1092 0000 sts accumulate_AccRoll,__zero_reg__
689 06be 1092 0000 sts messanzahl_AccRoll,__zero_reg__
690 06c2 1092 0000 sts (accumulate_AccNick)+1,__zero_reg__
691 06c6 1092 0000 sts accumulate_AccNick,__zero_reg__
692 06ca 1092 0000 sts messanzahl_AccNick,__zero_reg__
693 06ce 1092 0000 sts (accumulate_AccHoch)+1,__zero_reg__
694 06d2 1092 0000 sts accumulate_AccHoch,__zero_reg__
695 06d6 1092 0000 sts messanzahl_AccHoch,__zero_reg__
696 06da 8FEE ldi r24,lo8(-17)
697 06dc 8093 7A00 sts 122,r24
698 06e0 2091 0000 lds r18,Poti1
699 06e4 3091 0000 lds r19,(Poti1)+1
700 06e8 8091 0000 lds r24,EE_Parameter+4
701 06ec E82F mov r30,r24
702 06ee FF27 clr r31
703 06f0 EE0F lsl r30
704 06f2 FF1F rol r31
705 06f4 E050 subi r30,lo8(-(PPM_in))
706 06f6 F040 sbci r31,hi8(-(PPM_in))
707 06f8 8081 ld r24,Z
708 06fa 9181 ldd r25,Z+1
709 06fc 8259 subi r24,lo8(-(110))
710 06fe 9F4F sbci r25,hi8(-(110))
711 0700 2817 cp r18,r24
712 0702 3907 cpc r19,r25
713 0704 04F4 brge .L78
714 0706 2F5F subi r18,lo8(-(1))
715 0708 3F4F sbci r19,hi8(-(1))
716 070a 00C0 rjmp .L115
717 .L78:
718 070c 8081 ld r24,Z
719 070e 9181 ldd r25,Z+1
720 0710 8259 subi r24,lo8(-(110))
721 0712 9F4F sbci r25,hi8(-(110))
722 0714 8217 cp r24,r18
723 0716 9307 cpc r25,r19
724 0718 04F4 brge .L80
725 071a 2115 cp r18,__zero_reg__
726 071c 3105 cpc r19,__zero_reg__
727 071e 01F0 breq .L80
728 0720 2150 subi r18,lo8(-(-1))
729 0722 3040 sbci r19,hi8(-(-1))
730 .L115:
731 0724 3093 0000 sts (Poti1)+1,r19
732 0728 2093 0000 sts Poti1,r18
733 .L80:
734 072c 2091 0000 lds r18,Poti2
735 0730 3091 0000 lds r19,(Poti2)+1
736 0734 8091 0000 lds r24,EE_Parameter+5
737 0738 E82F mov r30,r24
738 073a FF27 clr r31
739 073c EE0F lsl r30
740 073e FF1F rol r31
741 0740 E050 subi r30,lo8(-(PPM_in))
742 0742 F040 sbci r31,hi8(-(PPM_in))
743 0744 8081 ld r24,Z
744 0746 9181 ldd r25,Z+1
745 0748 8259 subi r24,lo8(-(110))
746 074a 9F4F sbci r25,hi8(-(110))
747 074c 2817 cp r18,r24
748 074e 3907 cpc r19,r25
749 0750 04F4 brge .L83
750 0752 2F5F subi r18,lo8(-(1))
751 0754 3F4F sbci r19,hi8(-(1))
752 0756 00C0 rjmp .L116
753 .L83:
754 0758 8081 ld r24,Z
755 075a 9181 ldd r25,Z+1
756 075c 8259 subi r24,lo8(-(110))
757 075e 9F4F sbci r25,hi8(-(110))
758 0760 8217 cp r24,r18
759 0762 9307 cpc r25,r19
760 0764 04F4 brge .L85
761 0766 2115 cp r18,__zero_reg__
762 0768 3105 cpc r19,__zero_reg__
763 076a 01F0 breq .L85
764 076c 2150 subi r18,lo8(-(-1))
765 076e 3040 sbci r19,hi8(-(-1))
766 .L116:
767 0770 3093 0000 sts (Poti2)+1,r19
768 0774 2093 0000 sts Poti2,r18
769 .L85:
770 0778 2091 0000 lds r18,Poti3
771 077c 3091 0000 lds r19,(Poti3)+1
772 0780 8091 0000 lds r24,EE_Parameter+6
773 0784 E82F mov r30,r24
774 0786 FF27 clr r31
775 0788 EE0F lsl r30
776 078a FF1F rol r31
777 078c E050 subi r30,lo8(-(PPM_in))
778 078e F040 sbci r31,hi8(-(PPM_in))
779 0790 8081 ld r24,Z
780 0792 9181 ldd r25,Z+1
781 0794 8259 subi r24,lo8(-(110))
782 0796 9F4F sbci r25,hi8(-(110))
783 0798 2817 cp r18,r24
784 079a 3907 cpc r19,r25
785 079c 04F4 brge .L88
786 079e 2F5F subi r18,lo8(-(1))
787 07a0 3F4F sbci r19,hi8(-(1))
788 07a2 00C0 rjmp .L117
789 .L88:
790 07a4 8081 ld r24,Z
791 07a6 9181 ldd r25,Z+1
792 07a8 8259 subi r24,lo8(-(110))
793 07aa 9F4F sbci r25,hi8(-(110))
794 07ac 8217 cp r24,r18
795 07ae 9307 cpc r25,r19
796 07b0 04F4 brge .L90
797 07b2 2115 cp r18,__zero_reg__
798 07b4 3105 cpc r19,__zero_reg__
799 07b6 01F0 breq .L90
800 07b8 2150 subi r18,lo8(-(-1))
801 07ba 3040 sbci r19,hi8(-(-1))
802 .L117:
803 07bc 3093 0000 sts (Poti3)+1,r19
804 07c0 2093 0000 sts Poti3,r18
805 .L90:
806 07c4 2091 0000 lds r18,Poti4
807 07c8 3091 0000 lds r19,(Poti4)+1
808 07cc 8091 0000 lds r24,EE_Parameter+7
809 07d0 E82F mov r30,r24
810 07d2 FF27 clr r31
811 07d4 EE0F lsl r30
812 07d6 FF1F rol r31
813 07d8 E050 subi r30,lo8(-(PPM_in))
814 07da F040 sbci r31,hi8(-(PPM_in))
815 07dc 8081 ld r24,Z
816 07de 9181 ldd r25,Z+1
817 07e0 8259 subi r24,lo8(-(110))
818 07e2 9F4F sbci r25,hi8(-(110))
819 07e4 2817 cp r18,r24
820 07e6 3907 cpc r19,r25
821 07e8 04F4 brge .L93
822 07ea 2F5F subi r18,lo8(-(1))
823 07ec 3F4F sbci r19,hi8(-(1))
824 07ee 00C0 rjmp .L118
825 .L93:
826 07f0 8081 ld r24,Z
827 07f2 9181 ldd r25,Z+1
828 07f4 8259 subi r24,lo8(-(110))
829 07f6 9F4F sbci r25,hi8(-(110))
830 07f8 8217 cp r24,r18
831 07fa 9307 cpc r25,r19
832 07fc 04F4 brge .L95
833 07fe 2115 cp r18,__zero_reg__
834 0800 3105 cpc r19,__zero_reg__
835 0802 01F0 breq .L95
836 0804 2150 subi r18,lo8(-(-1))
837 0806 3040 sbci r19,hi8(-(-1))
838 .L118:
839 0808 3093 0000 sts (Poti4)+1,r19
840 080c 2093 0000 sts Poti4,r18
841 .L95:
842 0810 8091 0000 lds r24,Poti1
843 0814 9091 0000 lds r25,(Poti1)+1
844 0818 97FF sbrs r25,7
845 081a 00C0 rjmp .L98
846 081c 1092 0000 sts (Poti1)+1,__zero_reg__
847 0820 1092 0000 sts Poti1,__zero_reg__
848 0824 00C0 rjmp .L100
849 .L98:
850 0826 8F3F cpi r24,255
851 0828 9105 cpc r25,__zero_reg__
852 082a 01F0 breq .L100
853 082c 04F0 brlt .L100
854 082e 8FEF ldi r24,lo8(255)
855 0830 90E0 ldi r25,hi8(255)
856 0832 9093 0000 sts (Poti1)+1,r25
857 0836 8093 0000 sts Poti1,r24
858 .L100:
859 083a 8091 0000 lds r24,Poti2
860 083e 9091 0000 lds r25,(Poti2)+1
861 0842 97FF sbrs r25,7
862 0844 00C0 rjmp .L102
863 0846 1092 0000 sts (Poti2)+1,__zero_reg__
864 084a 1092 0000 sts Poti2,__zero_reg__
865 084e 00C0 rjmp .L104
866 .L102:
867 0850 8F3F cpi r24,255
868 0852 9105 cpc r25,__zero_reg__
869 0854 01F0 breq .L104
870 0856 04F0 brlt .L104
871 0858 8FEF ldi r24,lo8(255)
872 085a 90E0 ldi r25,hi8(255)
873 085c 9093 0000 sts (Poti2)+1,r25
874 0860 8093 0000 sts Poti2,r24
875 .L104:
876 0864 8091 0000 lds r24,Poti3
877 0868 9091 0000 lds r25,(Poti3)+1
878 086c 97FF sbrs r25,7
879 086e 00C0 rjmp .L106
880 0870 1092 0000 sts (Poti3)+1,__zero_reg__
881 0874 1092 0000 sts Poti3,__zero_reg__
882 0878 00C0 rjmp .L108
883 .L106:
884 087a 8F3F cpi r24,255
885 087c 9105 cpc r25,__zero_reg__
886 087e 01F0 breq .L108
887 0880 04F0 brlt .L108
888 0882 8FEF ldi r24,lo8(255)
889 0884 90E0 ldi r25,hi8(255)
890 0886 9093 0000 sts (Poti3)+1,r25
891 088a 8093 0000 sts Poti3,r24
892 .L108:
893 088e 8091 0000 lds r24,Poti4
894 0892 9091 0000 lds r25,(Poti4)+1
895 0896 97FF sbrs r25,7
896 0898 00C0 rjmp .L110
897 089a 1092 0000 sts (Poti4)+1,__zero_reg__
898 089e 1092 0000 sts Poti4,__zero_reg__
899 08a2 0895 ret
900 .L110:
901 08a4 8F3F cpi r24,255
902 08a6 9105 cpc r25,__zero_reg__
903 08a8 01F0 breq .L114
904 08aa 04F0 brlt .L114
905 08ac 8FEF ldi r24,lo8(255)
906 08ae 90E0 ldi r25,hi8(255)
907 08b0 9093 0000 sts (Poti4)+1,r25
908 08b4 8093 0000 sts Poti4,r24
909 .L114:
910 08b8 0895 ret
911 /* epilogue: frame size=0 */
912 /* epilogue: noreturn */
913 /* epilogue end (size=0) */
914 /* function CalibrierMittelwert size 412 (412) */
916 .global ParameterZuordnung
918 ParameterZuordnung:
919 /* prologue: frame size=0 */
920 08ba 1F93 push r17
921 /* prologue end (size=1) */
922 08bc 8091 0000 lds r24,EE_Parameter+11
923 08c0 8B3F cpi r24,lo8(-5)
924 08c2 00F0 brlo .L120
925 08c4 8B3F cpi r24,lo8(-5)
926 08c6 01F4 brne .L122
927 08c8 8091 0000 lds r24,Poti1
928 08cc 00C0 rjmp .L120
929 .L122:
930 08ce 8C3F cpi r24,lo8(-4)
931 08d0 01F4 brne .L125
932 08d2 8091 0000 lds r24,Poti2
933 08d6 00C0 rjmp .L120
934 .L125:
935 08d8 8D3F cpi r24,lo8(-3)
936 08da 01F4 brne .L127
937 08dc 8091 0000 lds r24,Poti3
938 08e0 00C0 rjmp .L120
939 .L127:
940 08e2 8E3F cpi r24,lo8(-2)
941 08e4 01F4 brne .L124
942 08e6 8091 0000 lds r24,Poti4
943 .L120:
944 08ea 8093 0000 sts Parameter_MaxHoehe,r24
945 .L124:
946 08ee 8091 0000 lds r24,Parameter_MaxHoehe
947 08f2 8823 tst r24
948 08f4 01F4 brne .L130
949 08f6 1092 0000 sts Parameter_MaxHoehe,__zero_reg__
950 08fa 00C0 rjmp .L132
951 .L130:
952 08fc 8F3F cpi r24,lo8(-1)
953 08fe 01F4 brne .L132
954 0900 8093 0000 sts Parameter_MaxHoehe,r24
955 .L132:
956 0904 8091 0000 lds r24,EE_Parameter+10
957 0908 8B3F cpi r24,lo8(-5)
958 090a 00F0 brlo .L134
959 090c 8B3F cpi r24,lo8(-5)
960 090e 01F4 brne .L136
961 0910 8091 0000 lds r24,Poti1
962 0914 00C0 rjmp .L134
963 .L136:
964 0916 8C3F cpi r24,lo8(-4)
965 0918 01F4 brne .L139
966 091a 8091 0000 lds r24,Poti2
967 091e 00C0 rjmp .L134
968 .L139:
969 0920 8D3F cpi r24,lo8(-3)
970 0922 01F4 brne .L141
971 0924 8091 0000 lds r24,Poti3
972 0928 00C0 rjmp .L134
973 .L141:
974 092a 8E3F cpi r24,lo8(-2)
975 092c 01F4 brne .L138
976 092e 8091 0000 lds r24,Poti4
977 .L134:
978 0932 8093 0000 sts Parameter_Luftdruck_D,r24
979 .L138:
980 0936 8091 0000 lds r24,Parameter_Luftdruck_D
981 093a 8823 tst r24
982 093c 01F4 brne .L144
983 093e 1092 0000 sts Parameter_Luftdruck_D,__zero_reg__
984 0942 00C0 rjmp .L146
985 .L144:
986 0944 8436 cpi r24,lo8(100)
987 0946 00F0 brlo .L146
988 0948 84E6 ldi r24,lo8(100)
989 094a 8093 0000 sts Parameter_Luftdruck_D,r24
990 .L146:
991 094e 8091 0000 lds r24,EE_Parameter+12
992 0952 8B3F cpi r24,lo8(-5)
993 0954 00F0 brlo .L148
994 0956 8B3F cpi r24,lo8(-5)
995 0958 01F4 brne .L150
996 095a 8091 0000 lds r24,Poti1
997 095e 00C0 rjmp .L148
998 .L150:
999 0960 8C3F cpi r24,lo8(-4)
1000 0962 01F4 brne .L153
1001 0964 8091 0000 lds r24,Poti2
1002 0968 00C0 rjmp .L148
1003 .L153:
1004 096a 8D3F cpi r24,lo8(-3)
1005 096c 01F4 brne .L155
1006 096e 8091 0000 lds r24,Poti3
1007 0972 00C0 rjmp .L148
1008 .L155:
1009 0974 8E3F cpi r24,lo8(-2)
1010 0976 01F4 brne .L152
1011 0978 8091 0000 lds r24,Poti4
1012 .L148:
1013 097c 8093 0000 sts Parameter_Hoehe_P,r24
1014 .L152:
1015 0980 8091 0000 lds r24,Parameter_Hoehe_P
1016 0984 8823 tst r24
1017 0986 01F4 brne .L158
1018 0988 1092 0000 sts Parameter_Hoehe_P,__zero_reg__
1019 098c 00C0 rjmp .L160
1020 .L158:
1021 098e 8436 cpi r24,lo8(100)
1022 0990 00F0 brlo .L160
1023 0992 84E6 ldi r24,lo8(100)
1024 0994 8093 0000 sts Parameter_Hoehe_P,r24
1025 .L160:
1026 0998 8091 0000 lds r24,EE_Parameter+14
1027 099c 8B3F cpi r24,lo8(-5)
1028 099e 00F0 brlo .L162
1029 09a0 8B3F cpi r24,lo8(-5)
1030 09a2 01F4 brne .L164
1031 09a4 8091 0000 lds r24,Poti1
1032 09a8 00C0 rjmp .L162
1033 .L164:
1034 09aa 8C3F cpi r24,lo8(-4)
1035 09ac 01F4 brne .L167
1036 09ae 8091 0000 lds r24,Poti2
1037 09b2 00C0 rjmp .L162
1038 .L167:
1039 09b4 8D3F cpi r24,lo8(-3)
1040 09b6 01F4 brne .L169
1041 09b8 8091 0000 lds r24,Poti3
1042 09bc 00C0 rjmp .L162
1043 .L169:
1044 09be 8E3F cpi r24,lo8(-2)
1045 09c0 01F4 brne .L166
1046 09c2 8091 0000 lds r24,Poti4
1047 .L162:
1048 09c6 8093 0000 sts Parameter_Hoehe_ACC_Wirkung,r24
1049 .L166:
1050 09ca 8091 0000 lds r24,Parameter_Hoehe_ACC_Wirkung
1051 09ce 8823 tst r24
1052 09d0 01F4 brne .L172
1053 09d2 1092 0000 sts Parameter_Hoehe_ACC_Wirkung,__zero_reg__
1054 09d6 00C0 rjmp .L174
1055 .L172:
1056 09d8 8F3F cpi r24,lo8(-1)
1057 09da 01F4 brne .L174
1058 09dc 8093 0000 sts Parameter_Hoehe_ACC_Wirkung,r24
1059 .L174:
1060 09e0 8091 0000 lds r24,EE_Parameter+21
1061 09e4 8B3F cpi r24,lo8(-5)
1062 09e6 00F0 brlo .L176
1063 09e8 8B3F cpi r24,lo8(-5)
1064 09ea 01F4 brne .L178
1065 09ec 8091 0000 lds r24,Poti1
1066 09f0 00C0 rjmp .L176
1067 .L178:
1068 09f2 8C3F cpi r24,lo8(-4)
1069 09f4 01F4 brne .L181
1070 09f6 8091 0000 lds r24,Poti2
1071 09fa 00C0 rjmp .L176
1072 .L181:
1073 09fc 8D3F cpi r24,lo8(-3)
1074 09fe 01F4 brne .L183
1075 0a00 8091 0000 lds r24,Poti3
1076 0a04 00C0 rjmp .L176
1077 .L183:
1078 0a06 8E3F cpi r24,lo8(-2)
1079 0a08 01F4 brne .L180
1080 0a0a 8091 0000 lds r24,Poti4
1081 .L176:
1082 0a0e 8093 0000 sts Parameter_KompassWirkung,r24
1083 .L180:
1084 0a12 8091 0000 lds r24,Parameter_KompassWirkung
1085 0a16 8823 tst r24
1086 0a18 01F4 brne .L186
1087 0a1a 1092 0000 sts Parameter_KompassWirkung,__zero_reg__
1088 0a1e 00C0 rjmp .L188
1089 .L186:
1090 0a20 8F3F cpi r24,lo8(-1)
1091 0a22 01F4 brne .L188
1092 0a24 8093 0000 sts Parameter_KompassWirkung,r24
1093 .L188:
1094 0a28 8091 0000 lds r24,EE_Parameter+22
1095 0a2c 8B3F cpi r24,lo8(-5)
1096 0a2e 00F0 brlo .L190
1097 0a30 8B3F cpi r24,lo8(-5)
1098 0a32 01F4 brne .L192
1099 0a34 8091 0000 lds r24,Poti1
1100 0a38 00C0 rjmp .L190
1101 .L192:
1102 0a3a 8C3F cpi r24,lo8(-4)
1103 0a3c 01F4 brne .L195
1104 0a3e 8091 0000 lds r24,Poti2
1105 0a42 00C0 rjmp .L190
1106 .L195:
1107 0a44 8D3F cpi r24,lo8(-3)
1108 0a46 01F4 brne .L197
1109 0a48 8091 0000 lds r24,Poti3
1110 0a4c 00C0 rjmp .L190
1111 .L197:
1112 0a4e 8E3F cpi r24,lo8(-2)
1113 0a50 01F4 brne .L194
1114 0a52 8091 0000 lds r24,Poti4
1115 .L190:
1116 0a56 8093 0000 sts Parameter_Gyro_P,r24
1117 .L194:
1118 0a5a 8091 0000 lds r24,Parameter_Gyro_P
1119 0a5e 8B30 cpi r24,lo8(11)
1120 0a60 00F4 brsh .L200
1121 0a62 8AE0 ldi r24,lo8(10)
1122 0a64 00C0 rjmp .L332
1123 .L200:
1124 0a66 8F3F cpi r24,lo8(-1)
1125 0a68 01F4 brne .L202
1126 .L332:
1127 0a6a 8093 0000 sts Parameter_Gyro_P,r24
1128 .L202:
1129 0a6e 8091 0000 lds r24,EE_Parameter+23
1130 0a72 8B3F cpi r24,lo8(-5)
1131 0a74 00F0 brlo .L204
1132 0a76 8B3F cpi r24,lo8(-5)
1133 0a78 01F4 brne .L206
1134 0a7a 8091 0000 lds r24,Poti1
1135 0a7e 00C0 rjmp .L204
1136 .L206:
1137 0a80 8C3F cpi r24,lo8(-4)
1138 0a82 01F4 brne .L209
1139 0a84 8091 0000 lds r24,Poti2
1140 0a88 00C0 rjmp .L204
1141 .L209:
1142 0a8a 8D3F cpi r24,lo8(-3)
1143 0a8c 01F4 brne .L211
1144 0a8e 8091 0000 lds r24,Poti3
1145 0a92 00C0 rjmp .L204
1146 .L211:
1147 0a94 8E3F cpi r24,lo8(-2)
1148 0a96 01F4 brne .L208
1149 0a98 8091 0000 lds r24,Poti4
1150 .L204:
1151 0a9c 8093 0000 sts Parameter_Gyro_I,r24
1152 .L208:
1153 0aa0 8091 0000 lds r24,Parameter_Gyro_I
1154 0aa4 8823 tst r24
1155 0aa6 01F4 brne .L214
1156 0aa8 1092 0000 sts Parameter_Gyro_I,__zero_reg__
1157 0aac 00C0 rjmp .L216
1158 .L214:
1159 0aae 8F3F cpi r24,lo8(-1)
1160 0ab0 01F4 brne .L216
1161 0ab2 8093 0000 sts Parameter_Gyro_I,r24
1162 .L216:
1163 0ab6 8091 0000 lds r24,EE_Parameter+28
1164 0aba 8B3F cpi r24,lo8(-5)
1165 0abc 00F0 brlo .L218
1166 0abe 8B3F cpi r24,lo8(-5)
1167 0ac0 01F4 brne .L220
1168 0ac2 8091 0000 lds r24,Poti1
1169 0ac6 00C0 rjmp .L218
1170 .L220:
1171 0ac8 8C3F cpi r24,lo8(-4)
1172 0aca 01F4 brne .L223
1173 0acc 8091 0000 lds r24,Poti2
1174 0ad0 00C0 rjmp .L218
1175 .L223:
1176 0ad2 8D3F cpi r24,lo8(-3)
1177 0ad4 01F4 brne .L225
1178 0ad6 8091 0000 lds r24,Poti3
1179 0ada 00C0 rjmp .L218
1180 .L225:
1181 0adc 8E3F cpi r24,lo8(-2)
1182 0ade 01F4 brne .L222
1183 0ae0 8091 0000 lds r24,Poti4
1184 .L218:
1185 0ae4 8093 0000 sts Parameter_I_Faktor,r24
1186 .L222:
1187 0ae8 8091 0000 lds r24,Parameter_I_Faktor
1188 0aec 8823 tst r24
1189 0aee 01F4 brne .L228
1190 0af0 1092 0000 sts Parameter_I_Faktor,__zero_reg__
1191 0af4 00C0 rjmp .L230
1192 .L228:
1193 0af6 8F3F cpi r24,lo8(-1)
1194 0af8 01F4 brne .L230
1195 0afa 8093 0000 sts Parameter_I_Faktor,r24
1196 .L230:
1197 0afe 8091 0000 lds r24,EE_Parameter+29
1198 0b02 8B3F cpi r24,lo8(-5)
1199 0b04 00F0 brlo .L232
1200 0b06 8B3F cpi r24,lo8(-5)
1201 0b08 01F4 brne .L234
1202 0b0a 8091 0000 lds r24,Poti1
1203 0b0e 00C0 rjmp .L232
1204 .L234:
1205 0b10 8C3F cpi r24,lo8(-4)
1206 0b12 01F4 brne .L237
1207 0b14 8091 0000 lds r24,Poti2
1208 0b18 00C0 rjmp .L232
1209 .L237:
1210 0b1a 8D3F cpi r24,lo8(-3)
1211 0b1c 01F4 brne .L239
1212 0b1e 8091 0000 lds r24,Poti3
1213 0b22 00C0 rjmp .L232
1214 .L239:
1215 0b24 8E3F cpi r24,lo8(-2)
1216 0b26 01F4 brne .L236
1217 0b28 8091 0000 lds r24,Poti4
1218 .L232:
1219 0b2c 8093 0000 sts Parameter_UserParam1,r24
1220 .L236:
1221 0b30 8091 0000 lds r24,Parameter_UserParam1
1222 0b34 8823 tst r24
1223 0b36 01F4 brne .L242
1224 0b38 1092 0000 sts Parameter_UserParam1,__zero_reg__
1225 0b3c 00C0 rjmp .L244
1226 .L242:
1227 0b3e 8F3F cpi r24,lo8(-1)
1228 0b40 01F4 brne .L244
1229 0b42 8093 0000 sts Parameter_UserParam1,r24
1230 .L244:
1231 0b46 8091 0000 lds r24,EE_Parameter+30
1232 0b4a 8B3F cpi r24,lo8(-5)
1233 0b4c 00F0 brlo .L246
1234 0b4e 8B3F cpi r24,lo8(-5)
1235 0b50 01F4 brne .L248
1236 0b52 8091 0000 lds r24,Poti1
1237 0b56 00C0 rjmp .L246
1238 .L248:
1239 0b58 8C3F cpi r24,lo8(-4)
1240 0b5a 01F4 brne .L251
1241 0b5c 8091 0000 lds r24,Poti2
1242 0b60 00C0 rjmp .L246
1243 .L251:
1244 0b62 8D3F cpi r24,lo8(-3)
1245 0b64 01F4 brne .L253
1246 0b66 8091 0000 lds r24,Poti3
1247 0b6a 00C0 rjmp .L246
1248 .L253:
1249 0b6c 8E3F cpi r24,lo8(-2)
1250 0b6e 01F4 brne .L250
1251 0b70 8091 0000 lds r24,Poti4
1252 .L246:
1253 0b74 8093 0000 sts Parameter_UserParam2,r24
1254 .L250:
1255 0b78 8091 0000 lds r24,Parameter_UserParam2
1256 0b7c 8823 tst r24
1257 0b7e 01F4 brne .L256
1258 0b80 1092 0000 sts Parameter_UserParam2,__zero_reg__
1259 0b84 00C0 rjmp .L258
1260 .L256:
1261 0b86 8F3F cpi r24,lo8(-1)
1262 0b88 01F4 brne .L258
1263 0b8a 8093 0000 sts Parameter_UserParam2,r24
1264 .L258:
1265 0b8e 8091 0000 lds r24,EE_Parameter+31
1266 0b92 8B3F cpi r24,lo8(-5)
1267 0b94 00F0 brlo .L260
1268 0b96 8B3F cpi r24,lo8(-5)
1269 0b98 01F4 brne .L262
1270 0b9a 8091 0000 lds r24,Poti1
1271 0b9e 00C0 rjmp .L260
1272 .L262:
1273 0ba0 8C3F cpi r24,lo8(-4)
1274 0ba2 01F4 brne .L265
1275 0ba4 8091 0000 lds r24,Poti2
1276 0ba8 00C0 rjmp .L260
1277 .L265:
1278 0baa 8D3F cpi r24,lo8(-3)
1279 0bac 01F4 brne .L267
1280 0bae 8091 0000 lds r24,Poti3
1281 0bb2 00C0 rjmp .L260
1282 .L267:
1283 0bb4 8E3F cpi r24,lo8(-2)
1284 0bb6 01F4 brne .L264
1285 0bb8 8091 0000 lds r24,Poti4
1286 .L260:
1287 0bbc 8093 0000 sts Parameter_UserParam3,r24
1288 .L264:
1289 0bc0 8091 0000 lds r24,Parameter_UserParam3
1290 0bc4 8823 tst r24
1291 0bc6 01F4 brne .L270
1292 0bc8 1092 0000 sts Parameter_UserParam3,__zero_reg__
1293 0bcc 00C0 rjmp .L272
1294 .L270:
1295 0bce 8F3F cpi r24,lo8(-1)
1296 0bd0 01F4 brne .L272
1297 0bd2 8093 0000 sts Parameter_UserParam3,r24
1298 .L272:
1299 0bd6 8091 0000 lds r24,EE_Parameter+32
1300 0bda 8B3F cpi r24,lo8(-5)
1301 0bdc 00F0 brlo .L274
1302 0bde 8B3F cpi r24,lo8(-5)
1303 0be0 01F4 brne .L276
1304 0be2 8091 0000 lds r24,Poti1
1305 0be6 00C0 rjmp .L274
1306 .L276:
1307 0be8 8C3F cpi r24,lo8(-4)
1308 0bea 01F4 brne .L279
1309 0bec 8091 0000 lds r24,Poti2
1310 0bf0 00C0 rjmp .L274
1311 .L279:
1312 0bf2 8D3F cpi r24,lo8(-3)
1313 0bf4 01F4 brne .L281
1314 0bf6 8091 0000 lds r24,Poti3
1315 0bfa 00C0 rjmp .L274
1316 .L281:
1317 0bfc 8E3F cpi r24,lo8(-2)
1318 0bfe 01F4 brne .L278
1319 0c00 8091 0000 lds r24,Poti4
1320 .L274:
1321 0c04 8093 0000 sts Parameter_UserParam4,r24
1322 .L278:
1323 0c08 8091 0000 lds r24,Parameter_UserParam4
1324 0c0c 8823 tst r24
1325 0c0e 01F4 brne .L284
1326 0c10 1092 0000 sts Parameter_UserParam4,__zero_reg__
1327 0c14 00C0 rjmp .L286
1328 .L284:
1329 0c16 8F3F cpi r24,lo8(-1)
1330 0c18 01F4 brne .L286
1331 0c1a 8093 0000 sts Parameter_UserParam4,r24
1332 .L286:
1333 0c1e 9091 0000 lds r25,EE_Parameter+33
1334 0c22 9B3F cpi r25,lo8(-5)
1335 0c24 00F0 brlo .L288
1336 0c26 9B3F cpi r25,lo8(-5)
1337 0c28 01F4 brne .L290
1338 0c2a 8091 0000 lds r24,Poti1
1339 0c2e 00C0 rjmp .L333
1340 .L290:
1341 0c30 9C3F cpi r25,lo8(-4)
1342 0c32 01F4 brne .L293
1343 0c34 8091 0000 lds r24,Poti2
1344 .L333:
1345 0c38 8093 0000 sts Parameter_ServoNickControl,r24
1346 0c3c 00C0 rjmp .L292
1347 .L293:
1348 0c3e 9D3F cpi r25,lo8(-3)
1349 0c40 01F4 brne .L295
1350 0c42 8091 0000 lds r24,Poti3
1351 0c46 00C0 rjmp .L333
1352 .L295:
1353 0c48 9E3F cpi r25,lo8(-2)
1354 0c4a 01F4 brne .L292
1355 0c4c 8091 0000 lds r24,Poti4
1356 0c50 00C0 rjmp .L333
1357 .L288:
1358 0c52 9093 0000 sts Parameter_ServoNickControl,r25
1359 .L292:
1360 0c56 8091 0000 lds r24,Parameter_ServoNickControl
1361 0c5a 8823 tst r24
1362 0c5c 01F4 brne .L298
1363 0c5e 1092 0000 sts Parameter_ServoNickControl,__zero_reg__
1364 0c62 00C0 rjmp .L300
1365 .L298:
1366 0c64 8F3F cpi r24,lo8(-1)
1367 0c66 01F4 brne .L300
1368 0c68 8093 0000 sts Parameter_ServoNickControl,r24
1369 .L300:
1370 0c6c 9B3F cpi r25,lo8(-5)
1371 0c6e 00F0 brlo .L302
1372 0c70 9B3F cpi r25,lo8(-5)
1373 0c72 01F4 brne .L304
1374 0c74 8091 0000 lds r24,Poti1
1375 0c78 00C0 rjmp .L334
1376 .L304:
1377 0c7a 9C3F cpi r25,lo8(-4)
1378 0c7c 01F4 brne .L307
1379 0c7e 8091 0000 lds r24,Poti2
1380 .L334:
1381 0c82 8093 0000 sts Parameter_ServoNickControl,r24
1382 0c86 00C0 rjmp .L306
1383 .L307:
1384 0c88 9D3F cpi r25,lo8(-3)
1385 0c8a 01F4 brne .L309
1386 0c8c 8091 0000 lds r24,Poti3
1387 0c90 00C0 rjmp .L334
1388 .L309:
1389 0c92 9E3F cpi r25,lo8(-2)
1390 0c94 01F4 brne .L306
1391 0c96 8091 0000 lds r24,Poti4
1392 0c9a 00C0 rjmp .L334
1393 .L302:
1394 0c9c 9093 0000 sts Parameter_ServoNickControl,r25
1395 .L306:
1396 0ca0 8091 0000 lds r24,Parameter_ServoNickControl
1397 0ca4 8823 tst r24
1398 0ca6 01F4 brne .L312
1399 0ca8 1092 0000 sts Parameter_ServoNickControl,__zero_reg__
1400 0cac 00C0 rjmp .L314
1401 .L312:
1402 0cae 8F3F cpi r24,lo8(-1)
1403 0cb0 01F4 brne .L314
1404 0cb2 8093 0000 sts Parameter_ServoNickControl,r24
1405 .L314:
1406 0cb6 9B3F cpi r25,lo8(-5)
1407 0cb8 00F0 brlo .L316
1408 0cba 9B3F cpi r25,lo8(-5)
1409 0cbc 01F4 brne .L318
1410 0cbe 8091 0000 lds r24,Poti1
1411 0cc2 00C0 rjmp .L335
1412 .L318:
1413 0cc4 9C3F cpi r25,lo8(-4)
1414 0cc6 01F4 brne .L321
1415 0cc8 8091 0000 lds r24,Poti2
1416 .L335:
1417 0ccc 8093 0000 sts Parameter_ServoNickControl,r24
1418 0cd0 00C0 rjmp .L320
1419 .L321:
1420 0cd2 9D3F cpi r25,lo8(-3)
1421 0cd4 01F4 brne .L323
1422 0cd6 8091 0000 lds r24,Poti3
1423 0cda 00C0 rjmp .L335
1424 .L323:
1425 0cdc 9E3F cpi r25,lo8(-2)
1426 0cde 01F4 brne .L320
1427 0ce0 8091 0000 lds r24,Poti4
1428 0ce4 00C0 rjmp .L335
1429 .L316:
1430 0ce6 9093 0000 sts Parameter_ServoNickControl,r25
1431 .L320:
1432 0cea 8091 0000 lds r24,Parameter_ServoNickControl
1433 0cee 8823 tst r24
1434 0cf0 01F4 brne .L326
1435 0cf2 1092 0000 sts Parameter_ServoNickControl,__zero_reg__
1436 0cf6 00C0 rjmp .L328
1437 .L326:
1438 0cf8 8F3F cpi r24,lo8(-1)
1439 0cfa 01F4 brne .L328
1440 0cfc 8093 0000 sts Parameter_ServoNickControl,r24
1441 .L328:
1442 0d00 1091 0000 lds r17,Parameter_I_Faktor
1443 0d04 612F mov r22,r17
1444 0d06 7727 clr r23
1445 0d08 67FD sbrc r22,7
1446 0d0a 7095 com r23
1447 0d0c 872F mov r24,r23
1448 0d0e 972F mov r25,r23
1449 0d10 0E94 0000 call __floatsisf
1450 0d14 17FF sbrs r17,7
1451 0d16 00C0 rjmp .L330
1452 0d18 20E0 ldi r18,lo8(0x43800000)
1453 0d1a 30E0 ldi r19,hi8(0x43800000)
1454 0d1c 40E8 ldi r20,hlo8(0x43800000)
1455 0d1e 53E4 ldi r21,hhi8(0x43800000)
1456 0d20 0E94 0000 call __addsf3
1457 .L330:
1458 0d24 27E1 ldi r18,lo8(0x38d1b717)
1459 0d26 37EB ldi r19,hi8(0x38d1b717)
1460 0d28 41ED ldi r20,hlo8(0x38d1b717)
1461 0d2a 58E3 ldi r21,hhi8(0x38d1b717)
1462 0d2c 0E94 0000 call __mulsf3
1463 0d30 6093 0000 sts Ki,r22
1464 0d34 7093 0000 sts (Ki)+1,r23
1465 0d38 8093 0000 sts (Ki)+2,r24
1466 0d3c 9093 0000 sts (Ki)+3,r25
1467 0d40 8091 0000 lds r24,EE_Parameter+19
1468 0d44 8093 0000 sts MAX_GAS,r24
1469 0d48 8091 0000 lds r24,EE_Parameter+18
1470 0d4c 8093 0000 sts MIN_GAS,r24
1471 /* epilogue: frame size=0 */
1472 0d50 1F91 pop r17
1473 0d52 0895 ret
1474 /* epilogue end (size=2) */
1475 /* function ParameterZuordnung size 589 (586) */
1477 .data
1478 .LC0:
1479 0000 4B61 6D65 .string "Kamera"
1479 7261 00
1480 0007 00 .string ""
1481 .text
1482 .global DefaultKonstanten2
1484 DefaultKonstanten2:
1485 /* prologue: frame size=0 */
1486 /* prologue end (size=0) */
1487 0d54 81E0 ldi r24,lo8(1)
1488 0d56 8093 0000 sts EE_Parameter,r24
1489 0d5a 42E0 ldi r20,lo8(2)
1490 0d5c 4093 0000 sts EE_Parameter+1,r20
1491 0d60 83E0 ldi r24,lo8(3)
1492 0d62 8093 0000 sts EE_Parameter+2,r24
1493 0d66 24E0 ldi r18,lo8(4)
1494 0d68 2093 0000 sts EE_Parameter+3,r18
1495 0d6c 35E0 ldi r19,lo8(5)
1496 0d6e 3093 0000 sts EE_Parameter+4,r19
1497 0d72 86E0 ldi r24,lo8(6)
1498 0d74 8093 0000 sts EE_Parameter+5,r24
1499 0d78 87E0 ldi r24,lo8(7)
1500 0d7a 8093 0000 sts EE_Parameter+6,r24
1501 0d7e 1092 0000 sts EE_Parameter+8,__zero_reg__
1502 0d82 8EE1 ldi r24,lo8(30)
1503 0d84 8093 0000 sts EE_Parameter+9,r24
1504 0d88 8BEF ldi r24,lo8(-5)
1505 0d8a 8093 0000 sts EE_Parameter+11,r24
1506 0d8e 8AE0 ldi r24,lo8(10)
1507 0d90 8093 0000 sts EE_Parameter+12,r24
1508 0d94 92E3 ldi r25,lo8(50)
1509 0d96 9093 0000 sts EE_Parameter+10,r25
1510 0d9a 9093 0000 sts EE_Parameter+14,r25
1511 0d9e 4093 0000 sts EE_Parameter+13,r20
1512 0da2 2093 0000 sts EE_Parameter+15,r18
1513 0da6 1092 0000 sts EE_Parameter+16,__zero_reg__
1514 0daa 80E1 ldi r24,lo8(16)
1515 0dac 8093 0000 sts EE_Parameter+17,r24
1516 0db0 8FE0 ldi r24,lo8(15)
1517 0db2 8093 0000 sts EE_Parameter+18,r24
1518 0db6 8AEF ldi r24,lo8(-6)
1519 0db8 8093 0000 sts EE_Parameter+19,r24
1520 0dbc 8AE1 ldi r24,lo8(26)
1521 0dbe 8093 0000 sts EE_Parameter+20,r24
1522 0dc2 80E8 ldi r24,lo8(-128)
1523 0dc4 8093 0000 sts EE_Parameter+21,r24
1524 0dc8 8FEA ldi r24,lo8(-81)
1525 0dca 8093 0000 sts EE_Parameter+22,r24
1526 0dce 8093 0000 sts EE_Parameter+23,r24
1527 0dd2 8AE5 ldi r24,lo8(90)
1528 0dd4 8093 0000 sts EE_Parameter+24,r24
1529 0dd8 83E2 ldi r24,lo8(35)
1530 0dda 8093 0000 sts EE_Parameter+25,r24
1531 0dde 84E1 ldi r24,lo8(20)
1532 0de0 8093 0000 sts EE_Parameter+26,r24
1533 0de4 1092 0000 sts EE_Parameter+27,__zero_reg__
1534 0de8 3093 0000 sts EE_Parameter+28,r19
1535 0dec 1092 0000 sts EE_Parameter+29,__zero_reg__
1536 0df0 1092 0000 sts EE_Parameter+30,__zero_reg__
1537 0df4 1092 0000 sts EE_Parameter+31,__zero_reg__
1538 0df8 1092 0000 sts EE_Parameter+32,__zero_reg__
1539 0dfc 84E6 ldi r24,lo8(100)
1540 0dfe 8093 0000 sts EE_Parameter+33,r24
1541 0e02 88E2 ldi r24,lo8(40)
1542 0e04 8093 0000 sts EE_Parameter+34,r24
1543 0e08 1092 0000 sts EE_Parameter+38,__zero_reg__
1544 0e0c 9093 0000 sts EE_Parameter+35,r25
1545 0e10 86E9 ldi r24,lo8(-106)
1546 0e12 8093 0000 sts EE_Parameter+36,r24
1547 0e16 3093 0000 sts EE_Parameter+37,r19
1548 0e1a A0E0 ldi r26,lo8(EE_Parameter+46)
1549 0e1c B0E0 ldi r27,hi8(EE_Parameter+46)
1550 0e1e E0E0 ldi r30,lo8(.LC0)
1551 0e20 F0E0 ldi r31,hi8(.LC0)
1552 0e22 8CE0 ldi r24,lo8(12)
1553 .L337:
1554 0e24 0190 ld r0,Z+
1555 0e26 0D92 st X+,r0
1556 0e28 8150 subi r24,lo8(-(-1))
1557 0e2a 01F4 brne .L337
1558 /* epilogue: frame size=0 */
1559 0e2c 0895 ret
1560 /* epilogue end (size=1) */
1561 /* function DefaultKonstanten2 size 110 (109) */
1563 .data
1564 .LC1:
1565 0008 4E6F 726D .string "Normal"
1565 616C 00
1566 000f 00 .string ""
1567 .text
1568 .global DefaultKonstanten1
1570 DefaultKonstanten1:
1571 /* prologue: frame size=0 */
1572 /* prologue end (size=0) */
1573 0e2e 81E0 ldi r24,lo8(1)
1574 0e30 8093 0000 sts EE_Parameter,r24
1575 0e34 52E0 ldi r21,lo8(2)
1576 0e36 5093 0000 sts EE_Parameter+1,r21
1577 0e3a 83E0 ldi r24,lo8(3)
1578 0e3c 8093 0000 sts EE_Parameter+2,r24
1579 0e40 44E0 ldi r20,lo8(4)
1580 0e42 4093 0000 sts EE_Parameter+3,r20
1581 0e46 35E0 ldi r19,lo8(5)
1582 0e48 3093 0000 sts EE_Parameter+4,r19
1583 0e4c 86E0 ldi r24,lo8(6)
1584 0e4e 8093 0000 sts EE_Parameter+5,r24
1585 0e52 87E0 ldi r24,lo8(7)
1586 0e54 8093 0000 sts EE_Parameter+6,r24
1587 0e58 28E0 ldi r18,lo8(8)
1588 0e5a 2093 0000 sts EE_Parameter+7,r18
1589 0e5e 1092 0000 sts EE_Parameter+8,__zero_reg__
1590 0e62 9EE1 ldi r25,lo8(30)
1591 0e64 9093 0000 sts EE_Parameter+9,r25
1592 0e68 8BEF ldi r24,lo8(-5)
1593 0e6a 8093 0000 sts EE_Parameter+11,r24
1594 0e6e 8AE0 ldi r24,lo8(10)
1595 0e70 8093 0000 sts EE_Parameter+12,r24
1596 0e74 86E4 ldi r24,lo8(70)
1597 0e76 8093 0000 sts EE_Parameter+10,r24
1598 0e7a 9093 0000 sts EE_Parameter+14,r25
1599 0e7e 5093 0000 sts EE_Parameter+13,r21
1600 0e82 4093 0000 sts EE_Parameter+15,r20
1601 0e86 2093 0000 sts EE_Parameter+16,r18
1602 0e8a 80E1 ldi r24,lo8(16)
1603 0e8c 8093 0000 sts EE_Parameter+17,r24
1604 0e90 8FE0 ldi r24,lo8(15)
1605 0e92 8093 0000 sts EE_Parameter+18,r24
1606 0e96 8AEF ldi r24,lo8(-6)
1607 0e98 8093 0000 sts EE_Parameter+19,r24
1608 0e9c 8AE1 ldi r24,lo8(26)
1609 0e9e 8093 0000 sts EE_Parameter+20,r24
1610 0ea2 80E8 ldi r24,lo8(-128)
1611 0ea4 8093 0000 sts EE_Parameter+21,r24
1612 0ea8 88E7 ldi r24,lo8(120)
1613 0eaa 8093 0000 sts EE_Parameter+22,r24
1614 0eae 96E9 ldi r25,lo8(-106)
1615 0eb0 9093 0000 sts EE_Parameter+23,r25
1616 0eb4 8AE5 ldi r24,lo8(90)
1617 0eb6 8093 0000 sts EE_Parameter+24,r24
1618 0eba 83E2 ldi r24,lo8(35)
1619 0ebc 8093 0000 sts EE_Parameter+25,r24
1620 0ec0 84E1 ldi r24,lo8(20)
1621 0ec2 8093 0000 sts EE_Parameter+26,r24
1622 0ec6 1092 0000 sts EE_Parameter+27,__zero_reg__
1623 0eca 3093 0000 sts EE_Parameter+28,r19
1624 0ece 1092 0000 sts EE_Parameter+29,__zero_reg__
1625 0ed2 1092 0000 sts EE_Parameter+30,__zero_reg__
1626 0ed6 1092 0000 sts EE_Parameter+31,__zero_reg__
1627 0eda 1092 0000 sts EE_Parameter+32,__zero_reg__
1628 0ede 84E6 ldi r24,lo8(100)
1629 0ee0 8093 0000 sts EE_Parameter+33,r24
1630 0ee4 88E2 ldi r24,lo8(40)
1631 0ee6 8093 0000 sts EE_Parameter+34,r24
1632 0eea 1092 0000 sts EE_Parameter+38,__zero_reg__
1633 0eee 82E3 ldi r24,lo8(50)
1634 0ef0 8093 0000 sts EE_Parameter+35,r24
1635 0ef4 9093 0000 sts EE_Parameter+36,r25
1636 0ef8 3093 0000 sts EE_Parameter+37,r19
1637 0efc A0E0 ldi r26,lo8(EE_Parameter+46)
1638 0efe B0E0 ldi r27,hi8(EE_Parameter+46)
1639 0f00 E0E0 ldi r30,lo8(.LC1)
1640 0f02 F0E0 ldi r31,hi8(.LC1)
1641 0f04 8CE0 ldi r24,lo8(12)
1642 .L342:
1643 0f06 0190 ld r0,Z+
1644 0f08 0D92 st X+,r0
1645 0f0a 8150 subi r24,lo8(-(-1))
1646 0f0c 01F4 brne .L342
1647 /* epilogue: frame size=0 */
1648 0f0e 0895 ret
1649 /* epilogue end (size=1) */
1650 /* function DefaultKonstanten1 size 114 (113) */
1652 .global SendMotorData
1654 SendMotorData:
1655 /* prologue: frame size=0 */
1656 /* prologue end (size=0) */
1657 0f10 8091 0000 lds r24,MotorenEin
1658 0f14 8823 tst r24
1659 0f16 01F4 brne .L347
1660 0f18 1092 0000 sts Motor_Hinten,__zero_reg__
1661 0f1c 1092 0000 sts Motor_Vorne,__zero_reg__
1662 0f20 1092 0000 sts Motor_Rechts,__zero_reg__
1663 0f24 1092 0000 sts Motor_Links,__zero_reg__
1664 0f28 8091 0000 lds r24,MotorTest
1665 0f2c 8823 tst r24
1666 0f2e 01F0 breq .L349
1667 0f30 8093 0000 sts Motor_Vorne,r24
1668 .L349:
1669 0f34 8091 0000 lds r24,MotorTest+1
1670 0f38 8823 tst r24
1671 0f3a 01F0 breq .L351
1672 0f3c 8093 0000 sts Motor_Hinten,r24
1673 .L351:
1674 0f40 8091 0000 lds r24,MotorTest+2
1675 0f44 8823 tst r24
1676 0f46 01F0 breq .L353
1677 0f48 8093 0000 sts Motor_Links,r24
1678 .L353:
1679 0f4c 8091 0000 lds r24,MotorTest+3
1680 0f50 8823 tst r24
1681 0f52 01F0 breq .L347
1682 0f54 8093 0000 sts Motor_Rechts,r24
1683 .L347:
1684 0f58 8091 0000 lds r24,Motor_Vorne
1685 0f5c 9927 clr r25
1686 0f5e 9093 0000 sts (DebugOut+42)+1,r25
1687 0f62 8093 0000 sts DebugOut+42,r24
1688 0f66 8091 0000 lds r24,Motor_Hinten
1689 0f6a 9927 clr r25
1690 0f6c 9093 0000 sts (DebugOut+44)+1,r25
1691 0f70 8093 0000 sts DebugOut+44,r24
1692 0f74 8091 0000 lds r24,Motor_Links
1693 0f78 9927 clr r25
1694 0f7a 9093 0000 sts (DebugOut+46)+1,r25
1695 0f7e 8093 0000 sts DebugOut+46,r24
1696 0f82 8091 0000 lds r24,Motor_Rechts
1697 0f86 9927 clr r25
1698 0f88 9093 0000 sts (DebugOut+48)+1,r25
1699 0f8c 8093 0000 sts DebugOut+48,r24
1700 0f90 1092 0000 sts twi_state,__zero_reg__
1701 0f94 1092 0000 sts motor,__zero_reg__
1702 0f98 0E94 0000 call i2c_start
1703 /* epilogue: frame size=0 */
1704 0f9c 0895 ret
1705 /* epilogue end (size=1) */
1706 /* function SendMotorData size 71 (70) */
1708 .global SetNeutral
1710 SetNeutral:
1711 /* prologue: frame size=0 */
1712 0f9e CF93 push r28
1713 0fa0 DF93 push r29
1714 /* prologue end (size=2) */
1715 0fa2 1092 0000 sts (NeutralAccX)+1,__zero_reg__
1716 0fa6 1092 0000 sts NeutralAccX,__zero_reg__
1717 0faa 1092 0000 sts (NeutralAccY)+1,__zero_reg__
1718 0fae 1092 0000 sts NeutralAccY,__zero_reg__
1719 0fb2 80E0 ldi r24,lo8(0x0)
1720 0fb4 90E0 ldi r25,hi8(0x0)
1721 0fb6 A0E0 ldi r26,hlo8(0x0)
1722 0fb8 B0E0 ldi r27,hhi8(0x0)
1723 0fba 8093 0000 sts NeutralAccZ,r24
1724 0fbe 9093 0000 sts (NeutralAccZ)+1,r25
1725 0fc2 A093 0000 sts (NeutralAccZ)+2,r26
1726 0fc6 B093 0000 sts (NeutralAccZ)+3,r27
1727 0fca 1092 0000 sts (AdNeutralNick)+1,__zero_reg__
1728 0fce 1092 0000 sts AdNeutralNick,__zero_reg__
1729 0fd2 1092 0000 sts (AdNeutralRoll)+1,__zero_reg__
1730 0fd6 1092 0000 sts AdNeutralRoll,__zero_reg__
1731 0fda 1092 0000 sts (AdNeutralGier)+1,__zero_reg__
1732 0fde 1092 0000 sts AdNeutralGier,__zero_reg__
1733 0fe2 0E94 0000 call CalibrierMittelwert
1734 0fe6 85E0 ldi r24,lo8(5)
1735 0fe8 90E0 ldi r25,hi8(5)
1736 0fea 0E94 0000 call SetDelay
1737 0fee EC01 movw r28,r24
1738 .L358:
1739 0ff0 CE01 movw r24,r28
1740 0ff2 0E94 0000 call CheckDelay
1741 0ff6 8823 tst r24
1742 0ff8 01F0 breq .L358
1743 0ffa 0E94 0000 call CalibrierMittelwert
1744 0ffe 8091 0000 lds r24,EE_Parameter+8
1745 1002 80FF sbrs r24,0
1746 1004 00C0 rjmp .L360
1747 1006 8091 0000 lds r24,MessLuftdruck
1748 100a 9091 0000 lds r25,(MessLuftdruck)+1
1749 100e 875B subi r24,lo8(951)
1750 1010 9340 sbci r25,hi8(951)
1751 1012 00F4 brsh .L362
1752 1014 8091 0000 lds r24,MessLuftdruck
1753 1018 9091 0000 lds r25,(MessLuftdruck)+1
1754 101c 8E5E subi r24,lo8(750)
1755 101e 9240 sbci r25,hi8(750)
1756 1020 00F4 brsh .L360
1757 .L362:
1758 1022 0E94 0000 call SucheLuftruckOffset
1759 .L360:
1760 1026 8091 0000 lds r24,MesswertNick
1761 102a 9091 0000 lds r25,(MesswertNick)+1
1762 102e 97FF sbrs r25,7
1763 1030 00C0 rjmp .L364
1764 1032 9095 com r25
1765 1034 8195 neg r24
1766 1036 9F4F sbci r25,lo8(-1)
1767 .L364:
1768 1038 9093 0000 sts (AdNeutralNick)+1,r25
1769 103c 8093 0000 sts AdNeutralNick,r24
1770 1040 8091 0000 lds r24,MesswertRoll
1771 1044 9091 0000 lds r25,(MesswertRoll)+1
1772 1048 97FF sbrs r25,7
1773 104a 00C0 rjmp .L365
1774 104c 9095 com r25
1775 104e 8195 neg r24
1776 1050 9F4F sbci r25,lo8(-1)
1777 .L365:
1778 1052 9093 0000 sts (AdNeutralRoll)+1,r25
1779 1056 8093 0000 sts AdNeutralRoll,r24
1780 105a 8091 0000 lds r24,MesswertGier
1781 105e 9091 0000 lds r25,(MesswertGier)+1
1782 1062 97FF sbrs r25,7
1783 1064 00C0 rjmp .L366
1784 1066 9095 com r25
1785 1068 8195 neg r24
1786 106a 9F4F sbci r25,lo8(-1)
1787 .L366:
1788 106c 9093 0000 sts (AdNeutralGier)+1,r25
1789 1070 8093 0000 sts AdNeutralGier,r24
1790 1074 8091 0000 lds r24,Mittelwert_AccRoll
1791 1078 9091 0000 lds r25,(Mittelwert_AccRoll)+1
1792 107c 97FF sbrs r25,7
1793 107e 00C0 rjmp .L367
1794 1080 9095 com r25
1795 1082 8195 neg r24
1796 1084 9F4F sbci r25,lo8(-1)
1797 .L367:
1798 1086 60E1 ldi r22,lo8(16)
1799 1088 70E0 ldi r23,hi8(16)
1800 108a 0E94 0000 call __divmodhi4
1801 108e 7093 0000 sts (NeutralAccY)+1,r23
1802 1092 6093 0000 sts NeutralAccY,r22
1803 1096 8091 0000 lds r24,Mittelwert_AccNick
1804 109a 9091 0000 lds r25,(Mittelwert_AccNick)+1
1805 109e 97FF sbrs r25,7
1806 10a0 00C0 rjmp .L368
1807 10a2 9095 com r25
1808 10a4 8195 neg r24
1809 10a6 9F4F sbci r25,lo8(-1)
1810 .L368:
1811 10a8 60E1 ldi r22,lo8(16)
1812 10aa 70E0 ldi r23,hi8(16)
1813 10ac 0E94 0000 call __divmodhi4
1814 10b0 7093 0000 sts (NeutralAccX)+1,r23
1815 10b4 6093 0000 sts NeutralAccX,r22
1816 10b8 6091 0000 lds r22,Aktuell_az
1817 10bc 7091 0000 lds r23,(Aktuell_az)+1
1818 10c0 8827 clr r24
1819 10c2 77FD sbrc r23,7
1820 10c4 8095 com r24
1821 10c6 982F mov r25,r24
1822 10c8 0E94 0000 call __floatsisf
1823 10cc 6093 0000 sts NeutralAccZ,r22
1824 10d0 7093 0000 sts (NeutralAccZ)+1,r23
1825 10d4 8093 0000 sts (NeutralAccZ)+2,r24
1826 10d8 9093 0000 sts (NeutralAccZ)+3,r25
1827 10dc 1092 0000 sts Mess_IntegralNick,__zero_reg__
1828 10e0 1092 0000 sts (Mess_IntegralNick)+1,__zero_reg__
1829 10e4 1092 0000 sts (Mess_IntegralNick)+2,__zero_reg__
1830 10e8 1092 0000 sts (Mess_IntegralNick)+3,__zero_reg__
1831 10ec 1092 0000 sts Mess_IntegralNick2,__zero_reg__
1832 10f0 1092 0000 sts (Mess_IntegralNick2)+1,__zero_reg__
1833 10f4 1092 0000 sts (Mess_IntegralNick2)+2,__zero_reg__
1834 10f8 1092 0000 sts (Mess_IntegralNick2)+3,__zero_reg__
1835 10fc 1092 0000 sts Mess_IntegralRoll,__zero_reg__
1836 1100 1092 0000 sts (Mess_IntegralRoll)+1,__zero_reg__
1837 1104 1092 0000 sts (Mess_IntegralRoll)+2,__zero_reg__
1838 1108 1092 0000 sts (Mess_IntegralRoll)+3,__zero_reg__
1839 110c 1092 0000 sts Mess_IntegralRoll2,__zero_reg__
1840 1110 1092 0000 sts (Mess_IntegralRoll2)+1,__zero_reg__
1841 1114 1092 0000 sts (Mess_IntegralRoll2)+2,__zero_reg__
1842 1118 1092 0000 sts (Mess_IntegralRoll2)+3,__zero_reg__
1843 111c 1092 0000 sts Mess_Integral_Gier,__zero_reg__
1844 1120 1092 0000 sts (Mess_Integral_Gier)+1,__zero_reg__
1845 1124 1092 0000 sts (Mess_Integral_Gier)+2,__zero_reg__
1846 1128 1092 0000 sts (Mess_Integral_Gier)+3,__zero_reg__
1847 112c 1092 0000 sts (MesswertNick)+1,__zero_reg__
1848 1130 1092 0000 sts MesswertNick,__zero_reg__
1849 1134 1092 0000 sts (MesswertRoll)+1,__zero_reg__
1850 1138 1092 0000 sts MesswertRoll,__zero_reg__
1851 113c 1092 0000 sts (MesswertGier)+1,__zero_reg__
1852 1140 1092 0000 sts MesswertGier,__zero_reg__
1853 1144 8091 0000 lds r24,Luftdruck
1854 1148 9091 0000 lds r25,(Luftdruck)+1
1855 114c A091 0000 lds r26,(Luftdruck)+2
1856 1150 B091 0000 lds r27,(Luftdruck)+3
1857 1154 9093 0000 sts (StartLuftdruck)+1,r25
1858 1158 8093 0000 sts StartLuftdruck,r24
1859 115c 1092 0000 sts (HoeheD)+1,__zero_reg__
1860 1160 1092 0000 sts HoeheD,__zero_reg__
1861 1164 1092 0000 sts Mess_Integral_Hoch,__zero_reg__
1862 1168 1092 0000 sts (Mess_Integral_Hoch)+1,__zero_reg__
1863 116c 1092 0000 sts (Mess_Integral_Hoch)+2,__zero_reg__
1864 1170 1092 0000 sts (Mess_Integral_Hoch)+3,__zero_reg__
1865 1174 8091 0000 lds r24,KompassValue
1866 1178 9091 0000 lds r25,(KompassValue)+1
1867 117c 9093 0000 sts (KompassStartwert)+1,r25
1868 1180 8093 0000 sts KompassStartwert,r24
1869 1184 0E94 0000 call GPS_Neutral
1870 1188 82E3 ldi r24,lo8(50)
1871 118a 90E0 ldi r25,hi8(50)
1872 118c 9093 0000 sts (beeptime)+1,r25
1873 1190 8093 0000 sts beeptime,r24
1874 /* epilogue: frame size=0 */
1875 1194 DF91 pop r29
1876 1196 CF91 pop r28
1877 1198 0895 ret
1878 /* epilogue end (size=3) */
1879 /* function SetNeutral size 256 (251) */
1881 .global Piep
1883 Piep:
1884 /* prologue: frame size=0 */
1885 119a 1F93 push r17
1886 /* prologue end (size=1) */
1887 119c 182F mov r17,r24
1888 119e 00C0 rjmp .L373
1889 .L374:
1890 11a0 8091 0000 lds r24,MotorenEin
1891 11a4 8823 tst r24
1892 11a6 01F4 brne .L377
1893 11a8 84E6 ldi r24,lo8(100)
1894 11aa 90E0 ldi r25,hi8(100)
1895 11ac 9093 0000 sts (beeptime)+1,r25
1896 11b0 8093 0000 sts beeptime,r24
1897 11b4 8AEF ldi r24,lo8(250)
1898 11b6 90E0 ldi r25,hi8(250)
1899 11b8 0E94 0000 call Delay_ms
1900 .L373:
1901 11bc 1150 subi r17,1
1902 11be 00F4 brcc .L374
1903 .L377:
1904 /* epilogue: frame size=0 */
1905 11c0 1F91 pop r17
1906 11c2 0895 ret
1907 /* epilogue end (size=2) */
1908 /* function Piep size 22 (19) */
1910 .global MotorRegler
1912 MotorRegler:
1913 /* prologue: frame size=8 */
1914 11c4 2F92 push r2
1915 11c6 3F92 push r3
1916 11c8 4F92 push r4
1917 11ca 5F92 push r5
1918 11cc 6F92 push r6
1919 11ce 7F92 push r7
1920 11d0 8F92 push r8
1921 11d2 9F92 push r9
1922 11d4 AF92 push r10
1923 11d6 BF92 push r11
1924 11d8 CF92 push r12
1925 11da DF92 push r13
1926 11dc EF92 push r14
1927 11de FF92 push r15
1928 11e0 0F93 push r16
1929 11e2 1F93 push r17
1930 11e4 CF93 push r28
1931 11e6 DF93 push r29
1932 11e8 CDB7 in r28,__SP_L__
1933 11ea DEB7 in r29,__SP_H__
1934 11ec 2897 sbiw r28,8
1935 11ee 0FB6 in __tmp_reg__,__SREG__
1936 11f0 F894 cli
1937 11f2 DEBF out __SP_H__,r29
1938 11f4 0FBE out __SREG__,__tmp_reg__
1939 11f6 CDBF out __SP_L__,r28
1940 /* prologue end (size=26) */
1941 11f8 0E94 0000 call Mittelwert
1942 11fc 299A sbi 37-0x20,1
1943 11fe E091 0000 lds r30,EE_Parameter+2
1944 1202 AE2F mov r26,r30
1945 1204 BB27 clr r27
1946 1206 AA0F lsl r26
1947 1208 BB1F rol r27
1948 120a A050 subi r26,lo8(-(PPM_in))
1949 120c B040 sbci r27,hi8(-(PPM_in))
1950 120e 0D90 ld __tmp_reg__,X+
1951 1210 BC91 ld r27,X
1952 1212 A02D mov r26,__tmp_reg__
1953 1214 9D01 movw r18,r26
1954 1216 2858 subi r18,lo8(-(120))
1955 1218 3F4F sbci r19,hi8(-(120))
1956 121a 3A83 std Y+2,r19
1957 121c 2983 std Y+1,r18
1958 121e 37FF sbrs r19,7
1959 1220 00C0 rjmp .L379
1960 1222 1A82 std Y+2,__zero_reg__
1961 1224 1982 std Y+1,__zero_reg__
1962 .L379:
1963 1226 8091 0000 lds r24,SenderOkay
1964 122a 8436 cpi r24,lo8(100)
1965 122c 00F0 brlo .+2
1966 122e 00C0 rjmp .L380
1967 1230 8091 0000 lds r24,PcZugriff
1968 1234 8823 tst r24
1969 1236 01F4 brne .L382
1970 1238 84EF ldi r24,lo8(500)
1971 123a 91E0 ldi r25,hi8(500)
1972 123c 9093 0000 sts (beeptime)+1,r25
1973 1240 8093 0000 sts beeptime,r24
1974 .L382:
1975 1244 8091 0000 lds r24,RcLostTimer.2331
1976 1248 9091 0000 lds r25,(RcLostTimer.2331)+1
1977 124c 0097 sbiw r24,0
1978 124e 01F0 breq .L384
1979 1250 0197 sbiw r24,1
1980 1252 9093 0000 sts (RcLostTimer.2331)+1,r25
1981 1256 8093 0000 sts RcLostTimer.2331,r24
1982 125a 00C0 rjmp .L386
1983 .L384:
1984 125c 1092 0000 sts MotorenEin,__zero_reg__
1985 1260 1092 0000 sts Notlandung,__zero_reg__
1986 .L386:
1987 1264 289A sbi 37-0x20,0
1988 1266 8091 0000 lds r24,modell_fliegt.2335
1989 126a 9091 0000 lds r25,(modell_fliegt.2335)+1
1990 126e 815D subi r24,lo8(2001)
1991 1270 9740 sbci r25,hi8(2001)
1992 1272 00F0 brlo .L387
1993 1274 8091 0000 lds r24,EE_Parameter+25
1994 1278 482F mov r20,r24
1995 127a 5527 clr r21
1996 127c 5A83 std Y+2,r21
1997 127e 4983 std Y+1,r20
1998 1280 81E0 ldi r24,lo8(1)
1999 1282 8093 0000 sts Notlandung,r24
2000 1286 E091 0000 lds r30,EE_Parameter
2001 128a FF27 clr r31
2002 128c EE0F lsl r30
2003 128e FF1F rol r31
2004 1290 E050 subi r30,lo8(-(PPM_in))
2005 1292 F040 sbci r31,hi8(-(PPM_in))
2006 1294 1182 std Z+1,__zero_reg__
2007 1296 1082 st Z,__zero_reg__
2008 1298 E091 0000 lds r30,EE_Parameter+1
2009 129c FF27 clr r31
2010 129e EE0F lsl r30
2011 12a0 FF1F rol r31
2012 12a2 E050 subi r30,lo8(-(PPM_in))
2013 12a4 F040 sbci r31,hi8(-(PPM_in))
2014 12a6 1182 std Z+1,__zero_reg__
2015 12a8 1082 st Z,__zero_reg__
2016 12aa E091 0000 lds r30,EE_Parameter+3
2017 12ae FF27 clr r31
2018 12b0 EE0F lsl r30
2019 12b2 FF1F rol r31
2020 12b4 E050 subi r30,lo8(-(PPM_in))
2021 12b6 F040 sbci r31,hi8(-(PPM_in))
2022 12b8 1182 std Z+1,__zero_reg__
2023 12ba 1082 st Z,__zero_reg__
2024 12bc 00C0 rjmp .L389
2025 .L387:
2026 12be 1092 0000 sts MotorenEin,__zero_reg__
2027 12c2 00C0 rjmp .L389
2028 .L380:
2029 12c4 8091 0000 lds r24,SenderOkay
2030 12c8 8D38 cpi r24,lo8(-115)
2031 12ca 00F4 brsh .+2
2032 12cc 00C0 rjmp .L389
2033 12ce 1092 0000 sts Notlandung,__zero_reg__
2034 12d2 8091 0000 lds r24,EE_Parameter+26
2035 12d6 22E3 ldi r18,lo8(50)
2036 12d8 829F mul r24,r18
2037 12da C001 movw r24,r0
2038 12dc 1124 clr r1
2039 12de 9093 0000 sts (RcLostTimer.2331)+1,r25
2040 12e2 8093 0000 sts RcLostTimer.2331,r24
2041 12e6 6981 ldd r22,Y+1
2042 12e8 7A81 ldd r23,Y+2
2043 12ea 6932 cpi r22,41
2044 12ec 7105 cpc r23,__zero_reg__
2045 12ee 04F0 brlt .L391
2046 12f0 8091 0000 lds r24,modell_fliegt.2335
2047 12f4 9091 0000 lds r25,(modell_fliegt.2335)+1
2048 12f8 7FEF ldi r23,hi8(-1)
2049 12fa 8F3F cpi r24,lo8(-1)
2050 12fc 9707 cpc r25,r23
2051 12fe 01F0 breq .L393
2052 1300 0196 adiw r24,1
2053 1302 9093 0000 sts (modell_fliegt.2335)+1,r25
2054 1306 8093 0000 sts modell_fliegt.2335,r24
2055 .L391:
2056 130a 8091 0000 lds r24,modell_fliegt.2335
2057 130e 9091 0000 lds r25,(modell_fliegt.2335)+1
2058 1312 883C cpi r24,200
2059 1314 9105 cpc r25,__zero_reg__
2060 1316 00F0 brlo .L395
2061 1318 8981 ldd r24,Y+1
2062 131a 9A81 ldd r25,Y+2
2063 131c 8897 sbiw r24,40
2064 131e 04F4 brge .L393
2065 .L395:
2066 1320 1092 0000 sts SummeNick.2324,__zero_reg__
2067 1324 1092 0000 sts (SummeNick.2324)+1,__zero_reg__
2068 1328 1092 0000 sts (SummeNick.2324)+2,__zero_reg__
2069 132c 1092 0000 sts (SummeNick.2324)+3,__zero_reg__
2070 1330 1092 0000 sts SummeRoll.2325,__zero_reg__
2071 1334 1092 0000 sts (SummeRoll.2325)+1,__zero_reg__
2072 1338 1092 0000 sts (SummeRoll.2325)+2,__zero_reg__
2073 133c 1092 0000 sts (SummeRoll.2325)+3,__zero_reg__
2074 1340 1092 0000 sts Mess_Integral_Gier,__zero_reg__
2075 1344 1092 0000 sts (Mess_Integral_Gier)+1,__zero_reg__
2076 1348 1092 0000 sts (Mess_Integral_Gier)+2,__zero_reg__
2077 134c 1092 0000 sts (Mess_Integral_Gier)+3,__zero_reg__
2078 1350 1092 0000 sts Mess_Integral_Gier2,__zero_reg__
2079 1354 1092 0000 sts (Mess_Integral_Gier2)+1,__zero_reg__
2080 1358 1092 0000 sts (Mess_Integral_Gier2)+2,__zero_reg__
2081 135c 1092 0000 sts (Mess_Integral_Gier2)+3,__zero_reg__
2082 .L393:
2083 1360 E981 ldd r30,Y+1
2084 1362 FA81 ldd r31,Y+2
2085 1364 E93C cpi r30,201
2086 1366 F105 cpc r31,__zero_reg__
2087 1368 04F4 brge .+2
2088 136a 00C0 rjmp .L397
2089 136c 8091 0000 lds r24,MotorenEin
2090 1370 8823 tst r24
2091 1372 01F0 breq .+2
2092 1374 00C0 rjmp .L389
2093 1376 E091 0000 lds r30,EE_Parameter+3
2094 137a FF27 clr r31
2095 137c EE0F lsl r30
2096 137e FF1F rol r31
2097 1380 E050 subi r30,lo8(-(PPM_in))
2098 1382 F040 sbci r31,hi8(-(PPM_in))
2099 1384 8081 ld r24,Z
2100 1386 9181 ldd r25,Z+1
2101 1388 8C34 cpi r24,76
2102 138a 9105 cpc r25,__zero_reg__
2103 138c 04F4 brge .+2
2104 138e 00C0 rjmp .L400
2105 1390 8091 0000 lds r24,delay_neutral.2332
2106 1394 8F5F subi r24,lo8(-(1))
2107 1396 8093 0000 sts delay_neutral.2332,r24
2108 139a 893C cpi r24,lo8(-55)
2109 139c 00F4 brsh .+2
2110 139e 00C0 rjmp .L389
2111 13a0 2998 cbi 37-0x20,1
2112 13a2 0E94 0000 call SetNeutral
2113 13a6 1092 0000 sts MotorenEin,__zero_reg__
2114 13aa 1092 0000 sts delay_neutral.2332,__zero_reg__
2115 13ae 1092 0000 sts (modell_fliegt.2335)+1,__zero_reg__
2116 13b2 1092 0000 sts modell_fliegt.2335,__zero_reg__
2117 13b6 8091 0000 lds r24,EE_Parameter
2118 13ba 282F mov r18,r24
2119 13bc 3327 clr r19
2120 13be F901 movw r30,r18
2121 13c0 EE0F lsl r30
2122 13c2 FF1F rol r31
2123 13c4 E050 subi r30,lo8(-(PPM_in))
2124 13c6 F040 sbci r31,hi8(-(PPM_in))
2125 13c8 8081 ld r24,Z
2126 13ca 9181 ldd r25,Z+1
2127 13cc 8734 cpi r24,71
2128 13ce 9105 cpc r25,__zero_reg__
2129 13d0 04F4 brge .L403
2130 13d2 E091 0000 lds r30,EE_Parameter+1
2131 13d6 FF27 clr r31
2132 13d8 EE0F lsl r30
2133 13da FF1F rol r31
2134 13dc E050 subi r30,lo8(-(PPM_in))
2135 13de F040 sbci r31,hi8(-(PPM_in))
2136 13e0 0190 ld __tmp_reg__,Z+
2137 13e2 F081 ld r31,Z
2138 13e4 E02D mov r30,__tmp_reg__
2139 13e6 F7FF sbrs r31,7
2140 13e8 00C0 rjmp .L406
2141 13ea F095 com r31
2142 13ec E195 neg r30
2143 13ee FF4F sbci r31,lo8(-1)
2144 .L406:
2145 13f0 E734 cpi r30,71
2146 13f2 F105 cpc r31,__zero_reg__
2147 13f4 04F4 brge .+2
2148 13f6 00C0 rjmp .L405
2149 .L403:
2150 13f8 8091 0000 lds r24,EE_Parameter+1
2151 13fc 682F mov r22,r24
2152 13fe 7727 clr r23
2153 1400 DB01 movw r26,r22
2154 1402 AA0F lsl r26
2155 1404 BB1F rol r27
2156 1406 A050 subi r26,lo8(-(PPM_in))
2157 1408 B040 sbci r27,hi8(-(PPM_in))
2158 140a 8D91 ld r24,X+
2159 140c 9C91 ld r25,X
2160 140e 1197 sbiw r26,1
2161 1410 8734 cpi r24,71
2162 1412 9105 cpc r25,__zero_reg__
2163 1414 04F0 brlt .L407
2164 1416 F901 movw r30,r18
2165 1418 EE0F lsl r30
2166 141a FF1F rol r31
2167 141c E050 subi r30,lo8(-(PPM_in))
2168 141e F040 sbci r31,hi8(-(PPM_in))
2169 1420 8081 ld r24,Z
2170 1422 9181 ldd r25,Z+1
2171 .L407:
2172 1424 8D91 ld r24,X+
2173 1426 9C91 ld r25,X
2174 1428 8734 cpi r24,71
2175 142a 9105 cpc r25,__zero_reg__
2176 142c 04F0 brlt .L409
2177 142e F901 movw r30,r18
2178 1430 EE0F lsl r30
2179 1432 FF1F rol r31
2180 1434 E050 subi r30,lo8(-(PPM_in))
2181 1436 F040 sbci r31,hi8(-(PPM_in))
2182 1438 8081 ld r24,Z
2183 143a 9181 ldd r25,Z+1
2184 143c 8734 cpi r24,71
2185 143e 9105 cpc r25,__zero_reg__
2186 1440 04F0 brlt .L409
2187 1442 42E0 ldi r20,lo8(2)
2188 1444 00C0 rjmp .L412
2189 .L409:
2190 1446 41E0 ldi r20,lo8(1)
2191 .L412:
2192 1448 FB01 movw r30,r22
2193 144a EE0F lsl r30
2194 144c FF1F rol r31
2195 144e E050 subi r30,lo8(-(PPM_in))
2196 1450 F040 sbci r31,hi8(-(PPM_in))
2197 1452 8081 ld r24,Z
2198 1454 9181 ldd r25,Z+1
2199 1456 8634 cpi r24,70
2200 1458 9105 cpc r25,__zero_reg__
2201 145a 04F4 brge .L413
2202 145c F901 movw r30,r18
2203 145e EE0F lsl r30
2204 1460 FF1F rol r31
2205 1462 E050 subi r30,lo8(-(PPM_in))
2206 1464 F040 sbci r31,hi8(-(PPM_in))
2207 1466 8081 ld r24,Z
2208 1468 9181 ldd r25,Z+1
2209 146a 8734 cpi r24,71
2210 146c 9105 cpc r25,__zero_reg__
2211 146e 04F0 brlt .L413
2212 1470 43E0 ldi r20,lo8(3)
2213 .L413:
2214 1472 FB01 movw r30,r22
2215 1474 EE0F lsl r30
2216 1476 FF1F rol r31
2217 1478 E050 subi r30,lo8(-(PPM_in))
2218 147a F040 sbci r31,hi8(-(PPM_in))
2219 147c 8081 ld r24,Z
2220 147e 9181 ldd r25,Z+1
2221 1480 8A5B subi r24,lo8(-70)
2222 1482 9F4F sbci r25,hi8(-70)
2223 1484 04F4 brge .L416
2224 1486 F901 movw r30,r18
2225 1488 EE0F lsl r30
2226 148a FF1F rol r31
2227 148c E050 subi r30,lo8(-(PPM_in))
2228 148e F040 sbci r31,hi8(-(PPM_in))
2229 1490 8081 ld r24,Z
2230 1492 9181 ldd r25,Z+1
2231 1494 8734 cpi r24,71
2232 1496 9105 cpc r25,__zero_reg__
2233 1498 04F0 brlt .L416
2234 149a 44E0 ldi r20,lo8(4)
2235 .L416:
2236 149c 660F lsl r22
2237 149e 771F rol r23
2238 14a0 6050 subi r22,lo8(-(PPM_in))
2239 14a2 7040 sbci r23,hi8(-(PPM_in))
2240 14a4 FB01 movw r30,r22
2241 14a6 8081 ld r24,Z
2242 14a8 9181 ldd r25,Z+1
2243 14aa 8A5B subi r24,lo8(-70)
2244 14ac 9F4F sbci r25,hi8(-70)
2245 14ae 04F4 brge .L419
2246 14b0 220F lsl r18
2247 14b2 331F rol r19
2248 14b4 2050 subi r18,lo8(-(PPM_in))
2249 14b6 3040 sbci r19,hi8(-(PPM_in))
2250 14b8 F901 movw r30,r18
2251 14ba 8081 ld r24,Z
2252 14bc 9181 ldd r25,Z+1
2253 14be 8634 cpi r24,70
2254 14c0 9105 cpc r25,__zero_reg__
2255 14c2 04F4 brge .L419
2256 14c4 45E0 ldi r20,lo8(5)
2257 .L419:
2258 14c6 A0E0 ldi r26,lo8(EEPromArray+2)
2259 14c8 B0E0 ldi r27,hi8(EEPromArray+2)
2260 /* #APP */
2261 14ca 042E mov __tmp_reg__,r20
2262 14cc 0E94 0000 call __eeprom_write_byte_1F2021
2263 /* #NOAPP */
2264 .L405:
2265 14d0 0E94 0000 call GetActiveParamSetNumber
2266 14d4 4AE3 ldi r20,lo8(58)
2267 14d6 60E0 ldi r22,lo8(EE_Parameter)
2268 14d8 70E0 ldi r23,hi8(EE_Parameter)
2269 14da 0E94 0000 call ReadParameterSet
2270 14de 0E94 0000 call GetActiveParamSetNumber
2271 14e2 0E94 0000 call Piep
2272 14e6 8091 0000 lds r24,EE_Parameter+8
2273 14ea 80FF sbrs r24,0
2274 14ec 00C0 rjmp .L389
2275 14ee 8091 0000 lds r24,MessLuftdruck
2276 14f2 9091 0000 lds r25,(MessLuftdruck)+1
2277 14f6 875B subi r24,lo8(951)
2278 14f8 9340 sbci r25,hi8(951)
2279 14fa 00F4 brsh .L423
2280 14fc 8091 0000 lds r24,MessLuftdruck
2281 1500 9091 0000 lds r25,(MessLuftdruck)+1
2282 1504 8E5E subi r24,lo8(750)
2283 1506 9240 sbci r25,hi8(750)
2284 1508 00F0 brlo .+2
2285 150a 00C0 rjmp .L389
2286 .L423:
2287 150c 0E94 0000 call SucheLuftruckOffset
2288 1510 00C0 rjmp .L389
2289 .L400:
2290 1512 1092 0000 sts delay_neutral.2332,__zero_reg__
2291 1516 00C0 rjmp .L389
2292 .L397:
2293 1518 4981 ldd r20,Y+1
2294 151a 5A81 ldd r21,Y+2
2295 151c 4332 cpi r20,35
2296 151e 5105 cpc r21,__zero_reg__
2297 1520 04F0 brlt .+2
2298 1522 00C0 rjmp .L389
2299 1524 8091 0000 lds r24,EE_Parameter+3
2300 1528 482F mov r20,r24
2301 152a 5527 clr r21
2302 152c FA01 movw r30,r20
2303 152e EE0F lsl r30
2304 1530 FF1F rol r31
2305 1532 E050 subi r30,lo8(-(PPM_in))
2306 1534 F040 sbci r31,hi8(-(PPM_in))
2307 1536 8081 ld r24,Z
2308 1538 9181 ldd r25,Z+1
2309 153a 855B subi r24,lo8(-75)
2310 153c 9F4F sbci r25,hi8(-75)
2311 153e 04F0 brlt .+2
2312 1540 00C0 rjmp .L426
2313 1542 8091 0000 lds r24,delay_einschalten.2333
2314 1546 8F5F subi r24,lo8(-(1))
2315 1548 8093 0000 sts delay_einschalten.2333,r24
2316 154c 893C cpi r24,lo8(-55)
2317 154e 00F4 brsh .+2
2318 1550 00C0 rjmp .L428
2319 1552 88EC ldi r24,lo8(-56)
2320 1554 8093 0000 sts delay_einschalten.2333,r24
2321 1558 81E0 ldi r24,lo8(1)
2322 155a 90E0 ldi r25,hi8(1)
2323 155c 9093 0000 sts (modell_fliegt.2335)+1,r25
2324 1560 8093 0000 sts modell_fliegt.2335,r24
2325 1564 81E0 ldi r24,lo8(1)
2326 1566 8093 0000 sts MotorenEin,r24
2327 156a 1092 0000 sts sollGier.2326,__zero_reg__
2328 156e 1092 0000 sts (sollGier.2326)+1,__zero_reg__
2329 1572 1092 0000 sts (sollGier.2326)+2,__zero_reg__
2330 1576 1092 0000 sts (sollGier.2326)+3,__zero_reg__
2331 157a 1092 0000 sts Mess_Integral_Gier,__zero_reg__
2332 157e 1092 0000 sts (Mess_Integral_Gier)+1,__zero_reg__
2333 1582 1092 0000 sts (Mess_Integral_Gier)+2,__zero_reg__
2334 1586 1092 0000 sts (Mess_Integral_Gier)+3,__zero_reg__
2335 158a 1092 0000 sts Mess_Integral_Gier2,__zero_reg__
2336 158e 1092 0000 sts (Mess_Integral_Gier2)+1,__zero_reg__
2337 1592 1092 0000 sts (Mess_Integral_Gier2)+2,__zero_reg__
2338 1596 1092 0000 sts (Mess_Integral_Gier2)+3,__zero_reg__
2339 159a 1092 0000 sts Mess_IntegralNick,__zero_reg__
2340 159e 1092 0000 sts (Mess_IntegralNick)+1,__zero_reg__
2341 15a2 1092 0000 sts (Mess_IntegralNick)+2,__zero_reg__
2342 15a6 1092 0000 sts (Mess_IntegralNick)+3,__zero_reg__
2343 15aa 1092 0000 sts Mess_IntegralRoll,__zero_reg__
2344 15ae 1092 0000 sts (Mess_IntegralRoll)+1,__zero_reg__
2345 15b2 1092 0000 sts (Mess_IntegralRoll)+2,__zero_reg__
2346 15b6 1092 0000 sts (Mess_IntegralRoll)+3,__zero_reg__
2347 15ba 8091 0000 lds r24,IntegralNick
2348 15be 9091 0000 lds r25,(IntegralNick)+1
2349 15c2 A091 0000 lds r26,(IntegralNick)+2
2350 15c6 B091 0000 lds r27,(IntegralNick)+3
2351 15ca 8093 0000 sts Mess_IntegralNick2,r24
2352 15ce 9093 0000 sts (Mess_IntegralNick2)+1,r25
2353 15d2 A093 0000 sts (Mess_IntegralNick2)+2,r26
2354 15d6 B093 0000 sts (Mess_IntegralNick2)+3,r27
2355 15da 8091 0000 lds r24,IntegralRoll
2356 15de 9091 0000 lds r25,(IntegralRoll)+1
2357 15e2 A091 0000 lds r26,(IntegralRoll)+2
2358 15e6 B091 0000 lds r27,(IntegralRoll)+3
2359 15ea 8093 0000 sts Mess_IntegralRoll2,r24
2360 15ee 9093 0000 sts (Mess_IntegralRoll2)+1,r25
2361 15f2 A093 0000 sts (Mess_IntegralRoll2)+2,r26
2362 15f6 B093 0000 sts (Mess_IntegralRoll2)+3,r27
2363 15fa 1092 0000 sts SummeNick.2324,__zero_reg__
2364 15fe 1092 0000 sts (SummeNick.2324)+1,__zero_reg__
2365 1602 1092 0000 sts (SummeNick.2324)+2,__zero_reg__
2366 1606 1092 0000 sts (SummeNick.2324)+3,__zero_reg__
2367 160a 1092 0000 sts SummeRoll.2325,__zero_reg__
2368 160e 1092 0000 sts (SummeRoll.2325)+1,__zero_reg__
2369 1612 1092 0000 sts (SummeRoll.2325)+2,__zero_reg__
2370 1616 1092 0000 sts (SummeRoll.2325)+3,__zero_reg__
2371 161a 00C0 rjmp .L428
2372 .L426:
2373 161c 1092 0000 sts delay_einschalten.2333,__zero_reg__
2374 .L428:
2375 1620 440F lsl r20
2376 1622 551F rol r21
2377 1624 4050 subi r20,lo8(-(PPM_in))
2378 1626 5040 sbci r21,hi8(-(PPM_in))
2379 1628 FA01 movw r30,r20
2380 162a 8081 ld r24,Z
2381 162c 9181 ldd r25,Z+1
2382 162e 8C34 cpi r24,76
2383 1630 9105 cpc r25,__zero_reg__
2384 1632 04F0 brlt .L430
2385 1634 8091 0000 lds r24,delay_ausschalten.2334
2386 1638 8F5F subi r24,lo8(-(1))
2387 163a 8093 0000 sts delay_ausschalten.2334,r24
2388 163e 893C cpi r24,lo8(-55)
2389 1640 00F0 brlo .L389
2390 1642 1092 0000 sts MotorenEin,__zero_reg__
2391 1646 88EC ldi r24,lo8(-56)
2392 1648 8093 0000 sts delay_ausschalten.2334,r24
2393 164c 1092 0000 sts (modell_fliegt.2335)+1,__zero_reg__
2394 1650 1092 0000 sts modell_fliegt.2335,__zero_reg__
2395 1654 00C0 rjmp .L389
2396 .L430:
2397 1656 1092 0000 sts delay_ausschalten.2334,__zero_reg__
2398 .L389:
2399 165a 8091 0000 lds r24,NewPpmData
2400 165e 8150 subi r24,lo8(-(-1))
2401 1660 8093 0000 sts NewPpmData,r24
2402 1664 8091 0000 lds r24,NewPpmData
2403 1668 8F3F cpi r24,lo8(-1)
2404 166a 01F0 breq .L433
2405 166c 8091 0000 lds r24,Notlandung
2406 1670 8823 tst r24
2407 1672 01F4 brne .+2
2408 1674 00C0 rjmp .L435
2409 .L433:
2410 1676 0E94 0000 call ParameterZuordnung
2411 167a E091 0000 lds r30,EE_Parameter
2412 167e FF27 clr r31
2413 1680 EE0F lsl r30
2414 1682 FF1F rol r31
2415 1684 DF01 movw r26,r30
2416 1686 A050 subi r26,lo8(-(PPM_in))
2417 1688 B040 sbci r27,hi8(-(PPM_in))
2418 168a 8D91 ld r24,X+
2419 168c 9C91 ld r25,X
2420 168e 6091 0000 lds r22,EE_Parameter+15
2421 1692 7727 clr r23
2422 1694 E050 subi r30,lo8(-(PPM_diff))
2423 1696 F040 sbci r31,hi8(-(PPM_diff))
2424 1698 2081 ld r18,Z
2425 169a 3181 ldd r19,Z+1
2426 169c 4091 0000 lds r20,EE_Parameter+16
2427 16a0 5527 clr r21
2428 16a2 FC01 movw r30,r24
2429 16a4 E69F mul r30,r22
2430 16a6 C001 movw r24,r0
2431 16a8 E79F mul r30,r23
2432 16aa 900D add r25,r0
2433 16ac F69F mul r31,r22
2434 16ae 900D add r25,r0
2435 16b0 1124 clr r1
2436 16b2 F901 movw r30,r18
2437 16b4 E49F mul r30,r20
2438 16b6 9001 movw r18,r0
2439 16b8 E59F mul r30,r21
2440 16ba 300D add r19,r0
2441 16bc F49F mul r31,r20
2442 16be 300D add r19,r0
2443 16c0 1124 clr r1
2444 16c2 820F add r24,r18
2445 16c4 931F adc r25,r19
2446 16c6 9093 0000 sts (StickNick)+1,r25
2447 16ca 8093 0000 sts StickNick,r24
2448 16ce E091 0000 lds r30,EE_Parameter+1
2449 16d2 FF27 clr r31
2450 16d4 EE0F lsl r30
2451 16d6 FF1F rol r31
2452 16d8 DF01 movw r26,r30
2453 16da A050 subi r26,lo8(-(PPM_in))
2454 16dc B040 sbci r27,hi8(-(PPM_in))
2455 16de 8D91 ld r24,X+
2456 16e0 9C91 ld r25,X
2457 16e2 E050 subi r30,lo8(-(PPM_diff))
2458 16e4 F040 sbci r31,hi8(-(PPM_diff))
2459 16e6 2081 ld r18,Z
2460 16e8 3181 ldd r19,Z+1
2461 16ea FC01 movw r30,r24
2462 16ec E69F mul r30,r22
2463 16ee C001 movw r24,r0
2464 16f0 E79F mul r30,r23
2465 16f2 900D add r25,r0
2466 16f4 F69F mul r31,r22
2467 16f6 900D add r25,r0
2468 16f8 1124 clr r1
2469 16fa B901 movw r22,r18
2470 16fc 649F mul r22,r20
2471 16fe 9001 movw r18,r0
2472 1700 659F mul r22,r21
2473 1702 300D add r19,r0
2474 1704 749F mul r23,r20
2475 1706 300D add r19,r0
2476 1708 1124 clr r1
2477 170a 820F add r24,r18
2478 170c 931F adc r25,r19
2479 170e 9093 0000 sts (StickRoll)+1,r25
2480 1712 8093 0000 sts StickRoll,r24
2481 1716 E091 0000 lds r30,EE_Parameter+3
2482 171a FF27 clr r31
2483 171c EE0F lsl r30
2484 171e FF1F rol r31
2485 1720 E050 subi r30,lo8(-(PPM_in))
2486 1722 F040 sbci r31,hi8(-(PPM_in))
2487 1724 8081 ld r24,Z
2488 1726 9181 ldd r25,Z+1
2489 1728 9095 com r25
2490 172a 8195 neg r24
2491 172c 9F4F sbci r25,lo8(-1)
2492 172e 9093 0000 sts (StickGier)+1,r25
2493 1732 8093 0000 sts StickGier,r24
2494 1736 1091 0000 lds r17,Parameter_Gyro_P
2495 173a 612F mov r22,r17
2496 173c 7727 clr r23
2497 173e 67FD sbrc r22,7
2498 1740 7095 com r23
2499 1742 872F mov r24,r23
2500 1744 972F mov r25,r23
2501 1746 0E94 0000 call __floatsisf
2502 174a 17FF sbrs r17,7
2503 174c 00C0 rjmp .L436
2504 174e 20E0 ldi r18,lo8(0x43800000)
2505 1750 30E0 ldi r19,hi8(0x43800000)
2506 1752 40E8 ldi r20,hlo8(0x43800000)
2507 1754 53E4 ldi r21,hhi8(0x43800000)
2508 1756 0E94 0000 call __addsf3
2509 .L436:
2510 175a 20E0 ldi r18,lo8(0x41200000)
2511 175c 30E0 ldi r19,hi8(0x41200000)
2512 175e 40E2 ldi r20,hlo8(0x41200000)
2513 1760 51E4 ldi r21,hhi8(0x41200000)
2514 1762 0E94 0000 call __addsf3
2515 1766 20E0 ldi r18,lo8(0x3b800000)
2516 1768 30E0 ldi r19,hi8(0x3b800000)
2517 176a 40E8 ldi r20,hlo8(0x3b800000)
2518 176c 5BE3 ldi r21,hhi8(0x3b800000)
2519 176e 0E94 0000 call __mulsf3
2520 1772 5B01 movw r10,r22
2521 1774 6C01 movw r12,r24
2522 1776 6093 0000 sts GyroFaktor,r22
2523 177a 7093 0000 sts (GyroFaktor)+1,r23
2524 177e 8093 0000 sts (GyroFaktor)+2,r24
2525 1782 9093 0000 sts (GyroFaktor)+3,r25
2526 1786 1091 0000 lds r17,Parameter_Gyro_I
2527 178a 612F mov r22,r17
2528 178c 7727 clr r23
2529 178e 67FD sbrc r22,7
2530 1790 7095 com r23
2531 1792 872F mov r24,r23
2532 1794 972F mov r25,r23
2533 1796 0E94 0000 call __floatsisf
2534 179a 17FF sbrs r17,7
2535 179c 00C0 rjmp .L437
2536 179e 20E0 ldi r18,lo8(0x43800000)
2537 17a0 30E0 ldi r19,hi8(0x43800000)
2538 17a2 40E8 ldi r20,hlo8(0x43800000)
2539 17a4 53E4 ldi r21,hhi8(0x43800000)
2540 17a6 0E94 0000 call __addsf3
2541 .L437:
2542 17aa 20E0 ldi r18,lo8(0x472be000)
2543 17ac 30EE ldi r19,hi8(0x472be000)
2544 17ae 4BE2 ldi r20,hlo8(0x472be000)
2545 17b0 57E4 ldi r21,hhi8(0x472be000)
2546 17b2 0E94 0000 call __divsf3
2547 17b6 6093 0000 sts IntegralFaktor,r22
2548 17ba 7093 0000 sts (IntegralFaktor)+1,r23
2549 17be 8093 0000 sts (IntegralFaktor)+2,r24
2550 17c2 9093 0000 sts (IntegralFaktor)+3,r25
2551 17c6 8091 0000 lds r24,EE_Parameter+8
2552 17ca 82FF sbrs r24,2
2553 17cc 00C0 rjmp .L438
2554 17ce 80E0 ldi r24,lo8(0x0)
2555 17d0 90E0 ldi r25,hi8(0x0)
2556 17d2 A0E0 ldi r26,hlo8(0x0)
2557 17d4 B0E0 ldi r27,hhi8(0x0)
2558 17d6 8093 0000 sts IntegralFaktor,r24
2559 17da 9093 0000 sts (IntegralFaktor)+1,r25
2560 17de A093 0000 sts (IntegralFaktor)+2,r26
2561 17e2 B093 0000 sts (IntegralFaktor)+3,r27
2562 .L438:
2563 17e6 20E0 ldi r18,lo8(0x0)
2564 17e8 30E0 ldi r19,hi8(0x0)
2565 17ea 40E0 ldi r20,hlo8(0x0)
2566 17ec 50E0 ldi r21,hhi8(0x0)
2567 17ee C601 movw r24,r12
2568 17f0 B501 movw r22,r10
2569 17f2 0E94 0000 call __ltsf2
2570 17f6 8823 tst r24
2571 17f8 04F4 brge .L440
2572 17fa 80E0 ldi r24,lo8(0x0)
2573 17fc 90E0 ldi r25,hi8(0x0)
2574 17fe A0E0 ldi r26,hlo8(0x0)
2575 1800 B0E0 ldi r27,hhi8(0x0)
2576 1802 8093 0000 sts GyroFaktor,r24
2577 1806 9093 0000 sts (GyroFaktor)+1,r25
2578 180a A093 0000 sts (GyroFaktor)+2,r26
2579 180e B093 0000 sts (GyroFaktor)+3,r27
2580 .L440:
2581 1812 20E0 ldi r18,lo8(0x0)
2582 1814 30E0 ldi r19,hi8(0x0)
2583 1816 40E0 ldi r20,hlo8(0x0)
2584 1818 50E0 ldi r21,hhi8(0x0)
2585 181a 6091 0000 lds r22,IntegralFaktor
2586 181e 7091 0000 lds r23,(IntegralFaktor)+1
2587 1822 8091 0000 lds r24,(IntegralFaktor)+2
2588 1826 9091 0000 lds r25,(IntegralFaktor)+3
2589 182a 0E94 0000 call __ltsf2
2590 182e 8823 tst r24
2591 1830 04F4 brge .L443
2592 1832 80E0 ldi r24,lo8(0x0)
2593 1834 90E0 ldi r25,hi8(0x0)
2594 1836 A0E0 ldi r26,hlo8(0x0)
2595 1838 B0E0 ldi r27,hhi8(0x0)
2596 183a 8093 0000 sts IntegralFaktor,r24
2597 183e 9093 0000 sts (IntegralFaktor)+1,r25
2598 1842 A093 0000 sts (IntegralFaktor)+2,r26
2599 1846 B093 0000 sts (IntegralFaktor)+3,r27
2600 .L443:
2601 184a 8091 0000 lds r24,Notlandung
2602 184e 8823 tst r24
2603 1850 01F0 breq .L435
2604 1852 1092 0000 sts (StickGier)+1,__zero_reg__
2605 1856 1092 0000 sts StickGier,__zero_reg__
2606 185a 1092 0000 sts (StickNick)+1,__zero_reg__
2607 185e 1092 0000 sts StickNick,__zero_reg__
2608 1862 1092 0000 sts (StickRoll)+1,__zero_reg__
2609 1866 1092 0000 sts StickRoll,__zero_reg__
2610 186a 8DEC ldi r24,lo8(0x3dcccccd)
2611 186c 9CEC ldi r25,hi8(0x3dcccccd)
2612 186e ACEC ldi r26,hlo8(0x3dcccccd)
2613 1870 BDE3 ldi r27,hhi8(0x3dcccccd)
2614 1872 8093 0000 sts GyroFaktor,r24
2615 1876 9093 0000 sts (GyroFaktor)+1,r25
2616 187a A093 0000 sts (GyroFaktor)+2,r26
2617 187e B093 0000 sts (GyroFaktor)+3,r27
2618 1882 8AE0 ldi r24,lo8(0x3ba3d70a)
2619 1884 97ED ldi r25,hi8(0x3ba3d70a)
2620 1886 A3EA ldi r26,hlo8(0x3ba3d70a)
2621 1888 BBE3 ldi r27,hhi8(0x3ba3d70a)
2622 188a 8093 0000 sts IntegralFaktor,r24
2623 188e 9093 0000 sts (IntegralFaktor)+1,r25
2624 1892 A093 0000 sts (IntegralFaktor)+2,r26
2625 1896 B093 0000 sts (IntegralFaktor)+3,r27
2626 .L435:
2627 189a 8091 0000 lds r24,ZaehlMessungen
2628 189e 9091 0000 lds r25,(ZaehlMessungen)+1
2629 18a2 8D54 subi r24,lo8(333)
2630 18a4 9140 sbci r25,hi8(333)
2631 18a6 00F4 brsh .+2
2632 18a8 00C0 rjmp .L447
2633 18aa 2091 0000 lds r18,IntegralNick2
2634 18ae 3091 0000 lds r19,(IntegralNick2)+1
2635 18b2 4091 0000 lds r20,(IntegralNick2)+2
2636 18b6 5091 0000 lds r21,(IntegralNick2)+3
2637 18ba 8091 0000 lds r24,IntegralNick
2638 18be 9091 0000 lds r25,(IntegralNick)+1
2639 18c2 A091 0000 lds r26,(IntegralNick)+2
2640 18c6 B091 0000 lds r27,(IntegralNick)+3
2641 18ca B901 movw r22,r18
2642 18cc 681B sub r22,r24
2643 18ce 790B sbc r23,r25
2644 18d0 7093 0000 sts (IntegralFehlerNick.2329)+1,r23
2645 18d4 6093 0000 sts IntegralFehlerNick.2329,r22
2646 18d8 2091 0000 lds r18,IntegralRoll2
2647 18dc 3091 0000 lds r19,(IntegralRoll2)+1
2648 18e0 4091 0000 lds r20,(IntegralRoll2)+2
2649 18e4 5091 0000 lds r21,(IntegralRoll2)+3
2650 18e8 8091 0000 lds r24,IntegralRoll
2651 18ec 9091 0000 lds r25,(IntegralRoll)+1
2652 18f0 A091 0000 lds r26,(IntegralRoll)+2
2653 18f4 B091 0000 lds r27,(IntegralRoll)+3
2654 18f8 281B sub r18,r24
2655 18fa 390B sbc r19,r25
2656 18fc 3093 0000 sts (IntegralFehlerRoll.2330)+1,r19
2657 1900 2093 0000 sts IntegralFehlerRoll.2330,r18
2658 1904 1092 0000 sts (ZaehlMessungen)+1,__zero_reg__
2659 1908 1092 0000 sts ZaehlMessungen,__zero_reg__
2660 190c 673A cpi r22,167
2661 190e 7105 cpc r23,__zero_reg__
2662 1910 04F0 brlt .L449
2663 1912 8091 0000 lds r24,AdNeutralNick
2664 1916 9091 0000 lds r25,(AdNeutralNick)+1
2665 191a 0196 adiw r24,1
2666 191c 00C0 rjmp .L577
2667 .L449:
2668 191e 6A55 subi r22,lo8(-166)
2669 1920 7F4F sbci r23,hi8(-166)
2670 1922 04F4 brge .L451
2671 1924 8091 0000 lds r24,AdNeutralNick
2672 1928 9091 0000 lds r25,(AdNeutralNick)+1
2673 192c 0197 sbiw r24,1
2674 .L577:
2675 192e 9093 0000 sts (AdNeutralNick)+1,r25
2676 1932 8093 0000 sts AdNeutralNick,r24
2677 .L451:
2678 1936 273A cpi r18,167
2679 1938 3105 cpc r19,__zero_reg__
2680 193a 04F0 brlt .L453
2681 193c 8091 0000 lds r24,AdNeutralRoll
2682 1940 9091 0000 lds r25,(AdNeutralRoll)+1
2683 1944 0196 adiw r24,1
2684 1946 00C0 rjmp .L578
2685 .L453:
2686 1948 2A55 subi r18,lo8(-166)
2687 194a 3F4F sbci r19,hi8(-166)
2688 194c 04F4 brge .L455
2689 194e 8091 0000 lds r24,AdNeutralRoll
2690 1952 9091 0000 lds r25,(AdNeutralRoll)+1
2691 1956 0197 sbiw r24,1
2692 .L578:
2693 1958 9093 0000 sts (AdNeutralRoll)+1,r25
2694 195c 8093 0000 sts AdNeutralRoll,r24
2695 .L455:
2696 1960 8091 0000 lds r24,Mess_Integral_Gier2
2697 1964 9091 0000 lds r25,(Mess_Integral_Gier2)+1
2698 1968 A091 0000 lds r26,(Mess_Integral_Gier2)+2
2699 196c B091 0000 lds r27,(Mess_Integral_Gier2)+3
2700 1970 873A cpi r24,lo8(167)
2701 1972 9105 cpc r25,__zero_reg__
2702 1974 A105 cpc r26,__zero_reg__
2703 1976 B105 cpc r27,__zero_reg__
2704 1978 04F0 brlt .L457
2705 197a 8091 0000 lds r24,AdNeutralGier
2706 197e 9091 0000 lds r25,(AdNeutralGier)+1
2707 1982 0197 sbiw r24,1
2708 1984 9093 0000 sts (AdNeutralGier)+1,r25
2709 1988 8093 0000 sts AdNeutralGier,r24
2710 .L457:
2711 198c 8091 0000 lds r24,Mess_Integral_Gier2
2712 1990 9091 0000 lds r25,(Mess_Integral_Gier2)+1
2713 1994 A091 0000 lds r26,(Mess_Integral_Gier2)+2
2714 1998 B091 0000 lds r27,(Mess_Integral_Gier2)+3
2715 199c 8A55 subi r24,lo8(-166)
2716 199e 9F4F sbci r25,hi8(-166)
2717 19a0 AF4F sbci r26,hlo8(-166)
2718 19a2 BF4F sbci r27,hhi8(-166)
2719 19a4 04F4 brge .L459
2720 19a6 8091 0000 lds r24,AdNeutralGier
2721 19aa 9091 0000 lds r25,(AdNeutralGier)+1
2722 19ae 0196 adiw r24,1
2723 19b0 9093 0000 sts (AdNeutralGier)+1,r25
2724 19b4 8093 0000 sts AdNeutralGier,r24
2725 .L459:
2726 19b8 1092 7A00 sts 122,__zero_reg__
2727 19bc 8091 0000 lds r24,IntegralNick
2728 19c0 9091 0000 lds r25,(IntegralNick)+1
2729 19c4 A091 0000 lds r26,(IntegralNick)+2
2730 19c8 B091 0000 lds r27,(IntegralNick)+3
2731 19cc 8093 0000 sts Mess_IntegralNick2,r24
2732 19d0 9093 0000 sts (Mess_IntegralNick2)+1,r25
2733 19d4 A093 0000 sts (Mess_IntegralNick2)+2,r26
2734 19d8 B093 0000 sts (Mess_IntegralNick2)+3,r27
2735 19dc 8091 0000 lds r24,IntegralRoll
2736 19e0 9091 0000 lds r25,(IntegralRoll)+1
2737 19e4 A091 0000 lds r26,(IntegralRoll)+2
2738 19e8 B091 0000 lds r27,(IntegralRoll)+3
2739 19ec 8093 0000 sts Mess_IntegralRoll2,r24
2740 19f0 9093 0000 sts (Mess_IntegralRoll2)+1,r25
2741 19f4 A093 0000 sts (Mess_IntegralRoll2)+2,r26
2742 19f8 B093 0000 sts (Mess_IntegralRoll2)+3,r27
2743 19fc 8091 0000 lds r24,Integral_Gier
2744 1a00 9091 0000 lds r25,(Integral_Gier)+1
2745 1a04 A091 0000 lds r26,(Integral_Gier)+2
2746 1a08 B091 0000 lds r27,(Integral_Gier)+3
2747 1a0c 8093 0000 sts Mess_Integral_Gier2,r24
2748 1a10 9093 0000 sts (Mess_Integral_Gier2)+1,r25
2749 1a14 A093 0000 sts (Mess_Integral_Gier2)+2,r26
2750 1a18 B093 0000 sts (Mess_Integral_Gier2)+3,r27
2751 1a1c 8FEE ldi r24,lo8(-17)
2752 1a1e 8093 7A00 sts 122,r24
2753 .L447:
2754 1a22 6091 0000 lds r22,IntegralNick
2755 1a26 7091 0000 lds r23,(IntegralNick)+1
2756 1a2a 8091 0000 lds r24,(IntegralNick)+2
2757 1a2e 9091 0000 lds r25,(IntegralNick)+3
2758 1a32 2091 0000 lds r18,EE_Parameter+20
2759 1a36 622E mov r6,r18
2760 1a38 7724 clr r7
2761 1a3a 8824 clr r8
2762 1a3c 9924 clr r9
2763 1a3e E090 0000 lds r14,Mittelwert_AccNick
2764 1a42 F090 0000 lds r15,(Mittelwert_AccNick)+1
2765 1a46 A401 movw r20,r8
2766 1a48 9301 movw r18,r6
2767 1a4a 0E94 0000 call __divmodsi4
2768 1a4e 0027 clr r16
2769 1a50 F7FC sbrc r15,7
2770 1a52 0095 com r16
2771 1a54 102F mov r17,r16
2772 1a56 2E19 sub r18,r14
2773 1a58 3F09 sbc r19,r15
2774 1a5a 400B sbc r20,r16
2775 1a5c 510B sbc r21,r17
2776 1a5e CA01 movw r24,r20
2777 1a60 B901 movw r22,r18
2778 1a62 20E1 ldi r18,lo8(16)
2779 1a64 30E0 ldi r19,hi8(16)
2780 1a66 40E0 ldi r20,hlo8(16)
2781 1a68 50E0 ldi r21,hhi8(16)
2782 1a6a 0E94 0000 call __divmodsi4
2783 1a6e 5901 movw r10,r18
2784 1a70 6A01 movw r12,r20
2785 1a72 2093 0000 sts tmp_long.2327,r18
2786 1a76 3093 0000 sts (tmp_long.2327)+1,r19
2787 1a7a 4093 0000 sts (tmp_long.2327)+2,r20
2788 1a7e 5093 0000 sts (tmp_long.2327)+3,r21
2789 1a82 6091 0000 lds r22,IntegralRoll
2790 1a86 7091 0000 lds r23,(IntegralRoll)+1
2791 1a8a 8091 0000 lds r24,(IntegralRoll)+2
2792 1a8e 9091 0000 lds r25,(IntegralRoll)+3
2793 1a92 E090 0000 lds r14,Mittelwert_AccRoll
2794 1a96 F090 0000 lds r15,(Mittelwert_AccRoll)+1
2795 1a9a A401 movw r20,r8
2796 1a9c 9301 movw r18,r6
2797 1a9e 0E94 0000 call __divmodsi4
2798 1aa2 0027 clr r16
2799 1aa4 F7FC sbrc r15,7
2800 1aa6 0095 com r16
2801 1aa8 102F mov r17,r16
2802 1aaa 2E19 sub r18,r14
2803 1aac 3F09 sbc r19,r15
2804 1aae 400B sbc r20,r16
2805 1ab0 510B sbc r21,r17
2806 1ab2 CA01 movw r24,r20
2807 1ab4 B901 movw r22,r18
2808 1ab6 20E1 ldi r18,lo8(16)
2809 1ab8 30E0 ldi r19,hi8(16)
2810 1aba 40E0 ldi r20,hlo8(16)
2811 1abc 50E0 ldi r21,hhi8(16)
2812 1abe 0E94 0000 call __divmodsi4
2813 1ac2 2093 0000 sts tmp_long2.2328,r18
2814 1ac6 3093 0000 sts (tmp_long2.2328)+1,r19
2815 1aca 4093 0000 sts (tmp_long2.2328)+2,r20
2816 1ace 5093 0000 sts (tmp_long2.2328)+3,r21
2817 1ad2 F5EF ldi r31,lo8(501)
2818 1ad4 AF16 cp r10,r31
2819 1ad6 F1E0 ldi r31,hi8(501)
2820 1ad8 BF06 cpc r11,r31
2821 1ada F0E0 ldi r31,hlo8(501)
2822 1adc CF06 cpc r12,r31
2823 1ade F0E0 ldi r31,hhi8(501)
2824 1ae0 DF06 cpc r13,r31
2825 1ae2 04F0 brlt .L461
2826 1ae4 84EF ldi r24,lo8(500)
2827 1ae6 91E0 ldi r25,hi8(500)
2828 1ae8 A0E0 ldi r26,hlo8(500)
2829 1aea B0E0 ldi r27,hhi8(500)
2830 1aec 00C0 rjmp .L579
2831 .L461:
2832 1aee 6CE0 ldi r22,lo8(-500)
2833 1af0 A616 cp r10,r22
2834 1af2 6EEF ldi r22,hi8(-500)
2835 1af4 B606 cpc r11,r22
2836 1af6 6FEF ldi r22,hlo8(-500)
2837 1af8 C606 cpc r12,r22
2838 1afa 6FEF ldi r22,hhi8(-500)
2839 1afc D606 cpc r13,r22
2840 1afe 04F4 brge .L463
2841 1b00 8CE0 ldi r24,lo8(-500)
2842 1b02 9EEF ldi r25,hi8(-500)
2843 1b04 AFEF ldi r26,hlo8(-500)
2844 1b06 BFEF ldi r27,hhi8(-500)
2845 .L579:
2846 1b08 8093 0000 sts tmp_long.2327,r24
2847 1b0c 9093 0000 sts (tmp_long.2327)+1,r25
2848 1b10 A093 0000 sts (tmp_long.2327)+2,r26
2849 1b14 B093 0000 sts (tmp_long.2327)+3,r27
2850 .L463:
2851 1b18 253F cpi r18,lo8(501)
2852 1b1a 71E0 ldi r23,hi8(501)
2853 1b1c 3707 cpc r19,r23
2854 1b1e 70E0 ldi r23,hlo8(501)
2855 1b20 4707 cpc r20,r23
2856 1b22 70E0 ldi r23,hhi8(501)
2857 1b24 5707 cpc r21,r23
2858 1b26 04F0 brlt .L465
2859 1b28 84EF ldi r24,lo8(500)
2860 1b2a 91E0 ldi r25,hi8(500)
2861 1b2c A0E0 ldi r26,hlo8(500)
2862 1b2e B0E0 ldi r27,hhi8(500)
2863 1b30 00C0 rjmp .L580
2864 .L465:
2865 1b32 2C50 subi r18,lo8(-500)
2866 1b34 3E4F sbci r19,hi8(-500)
2867 1b36 4F4F sbci r20,hlo8(-500)
2868 1b38 5F4F sbci r21,hhi8(-500)
2869 1b3a 04F4 brge .L467
2870 1b3c 8CE0 ldi r24,lo8(-500)
2871 1b3e 9EEF ldi r25,hi8(-500)
2872 1b40 AFEF ldi r26,hlo8(-500)
2873 1b42 BFEF ldi r27,hhi8(-500)
2874 .L580:
2875 1b44 8093 0000 sts tmp_long2.2328,r24
2876 1b48 9093 0000 sts (tmp_long2.2328)+1,r25
2877 1b4c A093 0000 sts (tmp_long2.2328)+2,r26
2878 1b50 B093 0000 sts (tmp_long2.2328)+3,r27
2879 .L467:
2880 1b54 1092 7A00 sts 122,__zero_reg__
2881 1b58 8091 0000 lds r24,Mess_IntegralNick
2882 1b5c 9091 0000 lds r25,(Mess_IntegralNick)+1
2883 1b60 A091 0000 lds r26,(Mess_IntegralNick)+2
2884 1b64 B091 0000 lds r27,(Mess_IntegralNick)+3
2885 1b68 2091 0000 lds r18,tmp_long.2327
2886 1b6c 3091 0000 lds r19,(tmp_long.2327)+1
2887 1b70 4091 0000 lds r20,(tmp_long.2327)+2
2888 1b74 5091 0000 lds r21,(tmp_long.2327)+3
2889 1b78 821B sub r24,r18
2890 1b7a 930B sbc r25,r19
2891 1b7c A40B sbc r26,r20
2892 1b7e B50B sbc r27,r21
2893 1b80 8093 0000 sts Mess_IntegralNick,r24
2894 1b84 9093 0000 sts (Mess_IntegralNick)+1,r25
2895 1b88 A093 0000 sts (Mess_IntegralNick)+2,r26
2896 1b8c B093 0000 sts (Mess_IntegralNick)+3,r27
2897 1b90 8091 0000 lds r24,Mess_IntegralRoll
2898 1b94 9091 0000 lds r25,(Mess_IntegralRoll)+1
2899 1b98 A091 0000 lds r26,(Mess_IntegralRoll)+2
2900 1b9c B091 0000 lds r27,(Mess_IntegralRoll)+3
2901 1ba0 2091 0000 lds r18,tmp_long2.2328
2902 1ba4 3091 0000 lds r19,(tmp_long2.2328)+1
2903 1ba8 4091 0000 lds r20,(tmp_long2.2328)+2
2904 1bac 5091 0000 lds r21,(tmp_long2.2328)+3
2905 1bb0 821B sub r24,r18
2906 1bb2 930B sbc r25,r19
2907 1bb4 A40B sbc r26,r20
2908 1bb6 B50B sbc r27,r21
2909 1bb8 8093 0000 sts Mess_IntegralRoll,r24
2910 1bbc 9093 0000 sts (Mess_IntegralRoll)+1,r25
2911 1bc0 A093 0000 sts (Mess_IntegralRoll)+2,r26
2912 1bc4 B093 0000 sts (Mess_IntegralRoll)+3,r27
2913 1bc8 8091 0000 lds r24,StickGier
2914 1bcc 9091 0000 lds r25,(StickGier)+1
2915 1bd0 9C01 movw r18,r24
2916 1bd2 4427 clr r20
2917 1bd4 37FD sbrc r19,7
2918 1bd6 4095 com r20
2919 1bd8 542F mov r21,r20
2920 1bda 2B83 std Y+3,r18
2921 1bdc 3C83 std Y+4,r19
2922 1bde 4D83 std Y+5,r20
2923 1be0 5E83 std Y+6,r21
2924 1be2 2093 0000 sts sollGier.2326,r18
2925 1be6 3093 0000 sts (sollGier.2326)+1,r19
2926 1bea 4093 0000 sts (sollGier.2326)+2,r20
2927 1bee 5093 0000 sts (sollGier.2326)+3,r21
2928 1bf2 97FF sbrs r25,7
2929 1bf4 00C0 rjmp .L470
2930 1bf6 9095 com r25
2931 1bf8 8195 neg r24
2932 1bfa 9F4F sbci r25,lo8(-1)
2933 .L470:
2934 1bfc 8497 sbiw r24,36
2935 1bfe 04F0 brlt .L469
2936 1c00 8091 0000 lds r24,EE_Parameter+8
2937 1c04 84FD sbrc r24,4
2938 1c06 00C0 rjmp .L469
2939 1c08 81E0 ldi r24,lo8(1)
2940 1c0a 8093 0000 sts NeueKompassRichtungMerken.2338,r24
2941 .L469:
2942 1c0e A090 0000 lds r10,Mess_Integral_Gier
2943 1c12 B090 0000 lds r11,(Mess_Integral_Gier)+1
2944 1c16 C090 0000 lds r12,(Mess_Integral_Gier)+2
2945 1c1a D090 0000 lds r13,(Mess_Integral_Gier)+3
2946 1c1e 8B81 ldd r24,Y+3
2947 1c20 9C81 ldd r25,Y+4
2948 1c22 97FF sbrs r25,7
2949 1c24 00C0 rjmp .L473
2950 1c26 9095 com r25
2951 1c28 8195 neg r24
2952 1c2a 9F4F sbci r25,lo8(-1)
2953 .L473:
2954 1c2c 7C01 movw r14,r24
2955 1c2e 0027 clr r16
2956 1c30 F7FC sbrc r15,7
2957 1c32 0095 com r16
2958 1c34 102F mov r17,r16
2959 1c36 2091 0000 lds r18,EE_Parameter+17
2960 1c3a 3327 clr r19
2961 1c3c 4427 clr r20
2962 1c3e 5527 clr r21
2963 1c40 6B81 ldd r22,Y+3
2964 1c42 7C81 ldd r23,Y+4
2965 1c44 8D81 ldd r24,Y+5
2966 1c46 9E81 ldd r25,Y+6
2967 1c48 0E94 0000 call __mulsi3
2968 1c4c 9B01 movw r18,r22
2969 1c4e AC01 movw r20,r24
2970 1c50 C801 movw r24,r16
2971 1c52 B701 movw r22,r14
2972 1c54 0E94 0000 call __mulsi3
2973 1c58 20E0 ldi r18,lo8(256)
2974 1c5a 31E0 ldi r19,hi8(256)
2975 1c5c 40E0 ldi r20,hlo8(256)
2976 1c5e 50E0 ldi r21,hhi8(256)
2977 1c60 0E94 0000 call __divmodsi4
2978 1c64 4427 clr r20
2979 1c66 37FD sbrc r19,7
2980 1c68 4095 com r20
2981 1c6a 542F mov r21,r20
2982 1c6c A21A sub r10,r18
2983 1c6e B30A sbc r11,r19
2984 1c70 C40A sbc r12,r20
2985 1c72 D50A sbc r13,r21
2986 1c74 A092 0000 sts Mess_Integral_Gier,r10
2987 1c78 B092 0000 sts (Mess_Integral_Gier)+1,r11
2988 1c7c C092 0000 sts (Mess_Integral_Gier)+2,r12
2989 1c80 D092 0000 sts (Mess_Integral_Gier)+3,r13
2990 1c84 8091 0000 lds r24,Mess_Integral_Gier2
2991 1c88 9091 0000 lds r25,(Mess_Integral_Gier2)+1
2992 1c8c A091 0000 lds r26,(Mess_Integral_Gier2)+2
2993 1c90 B091 0000 lds r27,(Mess_Integral_Gier2)+3
2994 1c94 821B sub r24,r18
2995 1c96 930B sbc r25,r19
2996 1c98 A40B sbc r26,r20
2997 1c9a B50B sbc r27,r21
2998 1c9c 8093 0000 sts Mess_Integral_Gier2,r24
2999 1ca0 9093 0000 sts (Mess_Integral_Gier2)+1,r25
3000 1ca4 A093 0000 sts (Mess_Integral_Gier2)+2,r26
3001 1ca8 B093 0000 sts (Mess_Integral_Gier2)+3,r27
3002 1cac 8091 0000 lds r24,Mess_Integral_Gier
3003 1cb0 9091 0000 lds r25,(Mess_Integral_Gier)+1
3004 1cb4 A091 0000 lds r26,(Mess_Integral_Gier)+2
3005 1cb8 B091 0000 lds r27,(Mess_Integral_Gier)+3
3006 1cbc 8153 subi r24,lo8(30001)
3007 1cbe 9547 sbci r25,hi8(30001)
3008 1cc0 A040 sbci r26,hlo8(30001)
3009 1cc2 B040 sbci r27,hhi8(30001)
3010 1cc4 04F0 brlt .L474
3011 1cc6 80E3 ldi r24,lo8(30000)
3012 1cc8 95E7 ldi r25,hi8(30000)
3013 1cca A0E0 ldi r26,hlo8(30000)
3014 1ccc B0E0 ldi r27,hhi8(30000)
3015 1cce 8093 0000 sts Mess_Integral_Gier,r24
3016 1cd2 9093 0000 sts (Mess_Integral_Gier)+1,r25
3017 1cd6 A093 0000 sts (Mess_Integral_Gier)+2,r26
3018 1cda B093 0000 sts (Mess_Integral_Gier)+3,r27
3019 .L474:
3020 1cde 8091 0000 lds r24,Mess_Integral_Gier
3021 1ce2 9091 0000 lds r25,(Mess_Integral_Gier)+1
3022 1ce6 A091 0000 lds r26,(Mess_Integral_Gier)+2
3023 1cea B091 0000 lds r27,(Mess_Integral_Gier)+3
3024 1cee 805D subi r24,lo8(-30000)
3025 1cf0 9A48 sbci r25,hi8(-30000)
3026 1cf2 AF4F sbci r26,hlo8(-30000)
3027 1cf4 BF4F sbci r27,hhi8(-30000)
3028 1cf6 04F4 brge .L476
3029 1cf8 80ED ldi r24,lo8(-30000)
3030 1cfa 9AE8 ldi r25,hi8(-30000)
3031 1cfc AFEF ldi r26,hlo8(-30000)
3032 1cfe BFEF ldi r27,hhi8(-30000)
3033 1d00 8093 0000 sts Mess_Integral_Gier,r24
3034 1d04 9093 0000 sts (Mess_Integral_Gier)+1,r25
3035 1d08 A093 0000 sts (Mess_Integral_Gier)+2,r26
3036 1d0c B093 0000 sts (Mess_Integral_Gier)+3,r27
3037 .L476:
3038 1d10 8FEE ldi r24,lo8(-17)
3039 1d12 8093 7A00 sts 122,r24
3040 1d16 8091 0000 lds r24,KompassValue
3041 1d1a 9091 0000 lds r25,(KompassValue)+1
3042 1d1e 892B or r24,r25
3043 1d20 01F4 brne .+2
3044 1d22 00C0 rjmp .L478
3045 1d24 8091 0000 lds r24,EE_Parameter+8
3046 1d28 83FF sbrs r24,3
3047 1d2a 00C0 rjmp .L478
3048 1d2c 6091 0000 lds r22,IntegralNick
3049 1d30 7091 0000 lds r23,(IntegralNick)+1
3050 1d34 8091 0000 lds r24,(IntegralNick)+2
3051 1d38 9091 0000 lds r25,(IntegralNick)+3
3052 1d3c 20E0 ldi r18,lo8(512)
3053 1d3e 32E0 ldi r19,hi8(512)
3054 1d40 40E0 ldi r20,hlo8(512)
3055 1d42 50E0 ldi r21,hhi8(512)
3056 1d44 0E94 0000 call __divmodsi4
3057 1d48 8901 movw r16,r18
3058 1d4a 37FF sbrs r19,7
3059 1d4c 00C0 rjmp .L481
3060 1d4e 1095 com r17
3061 1d50 0195 neg r16
3062 1d52 1F4F sbci r17,lo8(-1)
3063 .L481:
3064 1d54 6091 0000 lds r22,IntegralRoll
3065 1d58 7091 0000 lds r23,(IntegralRoll)+1
3066 1d5c 8091 0000 lds r24,(IntegralRoll)+2
3067 1d60 9091 0000 lds r25,(IntegralRoll)+3
3068 1d64 20E0 ldi r18,lo8(512)
3069 1d66 32E0 ldi r19,hi8(512)
3070 1d68 40E0 ldi r20,hlo8(512)
3071 1d6a 50E0 ldi r21,hhi8(512)
3072 1d6c 0E94 0000 call __divmodsi4
3073 1d70 B901 movw r22,r18
3074 1d72 37FF sbrs r19,7
3075 1d74 00C0 rjmp .L482
3076 1d76 7095 com r23
3077 1d78 6195 neg r22
3078 1d7a 7F4F sbci r23,lo8(-1)
3079 .L482:
3080 1d7c 6017 cp r22,r16
3081 1d7e 7107 cpc r23,r17
3082 1d80 04F4 brge .L483
3083 1d82 B801 movw r22,r16
3084 .L483:
3085 1d84 6931 cpi r22,25
3086 1d86 7105 cpc r23,__zero_reg__
3087 1d88 04F4 brge .L484
3088 1d8a 8091 0000 lds r24,NeueKompassRichtungMerken.2338
3089 1d8e 8823 tst r24
3090 1d90 01F0 breq .L484
3091 1d92 8091 0000 lds r24,SignalSchlecht.2342
3092 1d96 9091 0000 lds r25,(SignalSchlecht.2342)+1
3093 1d9a 892B or r24,r25
3094 1d9c 01F4 brne .L484
3095 1d9e 8091 0000 lds r24,KompassValue
3096 1da2 9091 0000 lds r25,(KompassValue)+1
3097 1da6 9093 0000 sts (KompassStartwert)+1,r25
3098 1daa 8093 0000 sts KompassStartwert,r24
3099 1dae 1092 0000 sts NeueKompassRichtungMerken.2338,__zero_reg__
3100 .L484:
3101 1db2 2091 0000 lds r18,Parameter_KompassWirkung
3102 1db6 3327 clr r19
3103 1db8 629F mul r22,r18
3104 1dba C001 movw r24,r0
3105 1dbc 639F mul r22,r19
3106 1dbe 900D add r25,r0
3107 1dc0 729F mul r23,r18
3108 1dc2 900D add r25,r0
3109 1dc4 1124 clr r1
3110 1dc6 60E4 ldi r22,lo8(64)
3111 1dc8 70E0 ldi r23,hi8(64)
3112 1dca 0E94 0000 call __divmodhi4
3113 1dce A901 movw r20,r18
3114 1dd0 461B sub r20,r22
3115 1dd2 570B sbc r21,r23
3116 1dd4 1416 cp __zero_reg__,r20
3117 1dd6 1506 cpc __zero_reg__,r21
3118 1dd8 04F0 brlt .+2
3119 1dda 00C0 rjmp .L488
3120 1ddc 1092 7A00 sts 122,__zero_reg__
3121 1de0 8091 0000 lds r24,KompassRichtung
3122 1de4 9091 0000 lds r25,(KompassRichtung)+1
3123 1de8 97FF sbrs r25,7
3124 1dea 00C0 rjmp .L491
3125 1dec 9095 com r25
3126 1dee 8195 neg r24
3127 1df0 9F4F sbci r25,lo8(-1)
3128 .L491:
3129 1df2 2091 0000 lds r18,SignalSchlecht.2342
3130 1df6 3091 0000 lds r19,(SignalSchlecht.2342)+1
3131 1dfa 8738 cpi r24,135
3132 1dfc 9105 cpc r25,__zero_reg__
3133 1dfe 04F4 brge .L490
3134 1e00 2115 cp r18,__zero_reg__
3135 1e02 3105 cpc r19,__zero_reg__
3136 1e04 01F0 breq .+2
3137 1e06 00C0 rjmp .L493
3138 1e08 0091 0000 lds r16,Mess_Integral_Gier
3139 1e0c 1091 0000 lds r17,(Mess_Integral_Gier)+1
3140 1e10 2091 0000 lds r18,(Mess_Integral_Gier)+2
3141 1e14 3091 0000 lds r19,(Mess_Integral_Gier)+3
3142 1e18 8091 0000 lds r24,KompassRichtung
3143 1e1c 9091 0000 lds r25,(KompassRichtung)+1
3144 1e20 FC01 movw r30,r24
3145 1e22 E49F mul r30,r20
3146 1e24 C001 movw r24,r0
3147 1e26 E59F mul r30,r21
3148 1e28 900D add r25,r0
3149 1e2a F49F mul r31,r20
3150 1e2c 900D add r25,r0
3151 1e2e 1124 clr r1
3152 1e30 60E2 ldi r22,lo8(32)
3153 1e32 70E0 ldi r23,hi8(32)
3154 1e34 0E94 0000 call __divmodhi4
3155 1e38 8827 clr r24
3156 1e3a 77FD sbrc r23,7
3157 1e3c 8095 com r24
3158 1e3e 982F mov r25,r24
3159 1e40 060F add r16,r22
3160 1e42 171F adc r17,r23
3161 1e44 281F adc r18,r24
3162 1e46 391F adc r19,r25
3163 1e48 0093 0000 sts Mess_Integral_Gier,r16
3164 1e4c 1093 0000 sts (Mess_Integral_Gier)+1,r17
3165 1e50 2093 0000 sts (Mess_Integral_Gier)+2,r18
3166 1e54 3093 0000 sts (Mess_Integral_Gier)+3,r19
3167 1e58 8FEE ldi r24,lo8(-17)
3168 1e5a 8093 7A00 sts 122,r24
3169 1e5e 00C0 rjmp .L478
3170 .L490:
3171 1e60 8FEE ldi r24,lo8(-17)
3172 1e62 8093 7A00 sts 122,r24
3173 1e66 2115 cp r18,__zero_reg__
3174 1e68 3105 cpc r19,__zero_reg__
3175 1e6a 01F0 breq .L478
3176 .L495:
3177 1e6c 2150 subi r18,lo8(-(-1))
3178 1e6e 3040 sbci r19,hi8(-(-1))
3179 1e70 3093 0000 sts (SignalSchlecht.2342)+1,r19
3180 1e74 2093 0000 sts SignalSchlecht.2342,r18
3181 1e78 00C0 rjmp .L478
3182 .L488:
3183 1e7a 84EF ldi r24,lo8(500)
3184 1e7c 91E0 ldi r25,hi8(500)
3185 1e7e 9093 0000 sts (SignalSchlecht.2342)+1,r25
3186 1e82 8093 0000 sts SignalSchlecht.2342,r24
3187 .L478:
3188 1e86 8091 0000 lds r24,DebugOut+17
3189 1e8a 8F5F subi r24,lo8(-(1))
3190 1e8c 8093 0000 sts DebugOut+17,r24
3191 1e90 8091 0000 lds r24,TimerWerteausgabe.2337
3192 1e94 8150 subi r24,lo8(-(-1))
3193 1e96 8093 0000 sts TimerWerteausgabe.2337,r24
3194 1e9a 8F3F cpi r24,lo8(-1)
3195 1e9c 01F0 breq .+2
3196 1e9e 00C0 rjmp .L496
3197 1ea0 81E3 ldi r24,lo8(49)
3198 1ea2 8093 0000 sts TimerWerteausgabe.2337,r24
3199 1ea6 6091 0000 lds r22,IntegralNick
3200 1eaa 7091 0000 lds r23,(IntegralNick)+1
3201 1eae 8091 0000 lds r24,(IntegralNick)+2
3202 1eb2 9091 0000 lds r25,(IntegralNick)+3
3203 1eb6 A401 movw r20,r8
3204 1eb8 9301 movw r18,r6
3205 1eba 0E94 0000 call __divmodsi4
3206 1ebe 3093 0000 sts (DebugOut+18)+1,r19
3207 1ec2 2093 0000 sts DebugOut+18,r18
3208 1ec6 6091 0000 lds r22,IntegralRoll
3209 1eca 7091 0000 lds r23,(IntegralRoll)+1
3210 1ece 8091 0000 lds r24,(IntegralRoll)+2
3211 1ed2 9091 0000 lds r25,(IntegralRoll)+3
3212 1ed6 A401 movw r20,r8
3213 1ed8 9301 movw r18,r6
3214 1eda 0E94 0000 call __divmodsi4
3215 1ede 3093 0000 sts (DebugOut+20)+1,r19
3216 1ee2 2093 0000 sts DebugOut+20,r18
3217 1ee6 8091 0000 lds r24,Mittelwert_AccNick
3218 1eea 9091 0000 lds r25,(Mittelwert_AccNick)+1
3219 1eee 9093 0000 sts (DebugOut+22)+1,r25
3220 1ef2 8093 0000 sts DebugOut+22,r24
3221 1ef6 8091 0000 lds r24,Mittelwert_AccRoll
3222 1efa 9091 0000 lds r25,(Mittelwert_AccRoll)+1
3223 1efe 9093 0000 sts (DebugOut+24)+1,r25
3224 1f02 8093 0000 sts DebugOut+24,r24
3225 1f06 8091 0000 lds r24,MesswertGier
3226 1f0a 9091 0000 lds r25,(MesswertGier)+1
3227 1f0e 9093 0000 sts (DebugOut+26)+1,r25
3228 1f12 8093 0000 sts DebugOut+26,r24
3229 1f16 8091 0000 lds r24,HoehenWert
3230 1f1a 9091 0000 lds r25,(HoehenWert)+1
3231 1f1e 9093 0000 sts (DebugOut+28)+1,r25
3232 1f22 8093 0000 sts DebugOut+28,r24
3233 1f26 6091 0000 lds r22,Mess_Integral_Hoch
3234 1f2a 7091 0000 lds r23,(Mess_Integral_Hoch)+1
3235 1f2e 8091 0000 lds r24,(Mess_Integral_Hoch)+2
3236 1f32 9091 0000 lds r25,(Mess_Integral_Hoch)+3
3237 1f36 20E0 ldi r18,lo8(512)
3238 1f38 32E0 ldi r19,hi8(512)
3239 1f3a 40E0 ldi r20,hlo8(512)
3240 1f3c 50E0 ldi r21,hhi8(512)
3241 1f3e 0E94 0000 call __divmodsi4
3242 1f42 3093 0000 sts (DebugOut+30)+1,r19
3243 1f46 2093 0000 sts DebugOut+30,r18
3244 1f4a 2981 ldd r18,Y+1
3245 1f4c 3A81 ldd r19,Y+2
3246 1f4e 3093 0000 sts (DebugOut+32)+1,r19
3247 1f52 2093 0000 sts DebugOut+32,r18
3248 1f56 8091 0000 lds r24,KompassValue
3249 1f5a 9091 0000 lds r25,(KompassValue)+1
3250 1f5e 9093 0000 sts (DebugOut+34)+1,r25
3251 1f62 8093 0000 sts DebugOut+34,r24
3252 1f66 8091 0000 lds r24,Mess_Integral_Gier2
3253 1f6a 9091 0000 lds r25,(Mess_Integral_Gier2)+1
3254 1f6e A091 0000 lds r26,(Mess_Integral_Gier2)+2
3255 1f72 B091 0000 lds r27,(Mess_Integral_Gier2)+3
3256 1f76 9093 0000 sts (DebugOut+36)+1,r25
3257 1f7a 8093 0000 sts DebugOut+36,r24
3258 .L496:
3259 1f7e 6091 0000 lds r22,IntegralNick
3260 1f82 7091 0000 lds r23,(IntegralNick)+1
3261 1f86 8091 0000 lds r24,(IntegralNick)+2
3262 1f8a 9091 0000 lds r25,(IntegralNick)+3
3263 1f8e 2090 0000 lds r2,IntegralFaktor
3264 1f92 3090 0000 lds r3,(IntegralFaktor)+1
3265 1f96 4090 0000 lds r4,(IntegralFaktor)+2
3266 1f9a 5090 0000 lds r5,(IntegralFaktor)+3
3267 1f9e E090 0000 lds r14,MesswertNick
3268 1fa2 F090 0000 lds r15,(MesswertNick)+1
3269 1fa6 6090 0000 lds r6,GyroFaktor
3270 1faa 7090 0000 lds r7,(GyroFaktor)+1
3271 1fae 8090 0000 lds r8,(GyroFaktor)+2
3272 1fb2 9090 0000 lds r9,(GyroFaktor)+3
3273 1fb6 0E94 0000 call __floatsisf
3274 1fba A201 movw r20,r4
3275 1fbc 9101 movw r18,r2
3276 1fbe 0E94 0000 call __mulsf3
3277 1fc2 5B01 movw r10,r22
3278 1fc4 6C01 movw r12,r24
3279 1fc6 0027 clr r16
3280 1fc8 F7FC sbrc r15,7
3281 1fca 0095 com r16
3282 1fcc 102F mov r17,r16
3283 1fce C801 movw r24,r16
3284 1fd0 B701 movw r22,r14
3285 1fd2 0E94 0000 call __floatsisf
3286 1fd6 A401 movw r20,r8
3287 1fd8 9301 movw r18,r6
3288 1fda 0E94 0000 call __mulsf3
3289 1fde 9B01 movw r18,r22
3290 1fe0 AC01 movw r20,r24
3291 1fe2 C601 movw r24,r12
3292 1fe4 B501 movw r22,r10
3293 1fe6 0E94 0000 call __addsf3
3294 1fea 0E94 0000 call __fixsfsi
3295 1fee 7093 0000 sts (MesswertNick)+1,r23
3296 1ff2 6093 0000 sts MesswertNick,r22
3297 1ff6 6091 0000 lds r22,IntegralRoll
3298 1ffa 7091 0000 lds r23,(IntegralRoll)+1
3299 1ffe 8091 0000 lds r24,(IntegralRoll)+2
3300 2002 9091 0000 lds r25,(IntegralRoll)+3
3301 2006 E090 0000 lds r14,MesswertRoll
3302 200a F090 0000 lds r15,(MesswertRoll)+1
3303 200e 0E94 0000 call __floatsisf
3304 2012 A201 movw r20,r4
3305 2014 9101 movw r18,r2
3306 2016 0E94 0000 call __mulsf3
3307 201a 5B01 movw r10,r22
3308 201c 6C01 movw r12,r24
3309 201e 0027 clr r16
3310 2020 F7FC sbrc r15,7
3311 2022 0095 com r16
3312 2024 102F mov r17,r16
3313 2026 C801 movw r24,r16
3314 2028 B701 movw r22,r14
3315 202a 0E94 0000 call __floatsisf
3316 202e A401 movw r20,r8
3317 2030 9301 movw r18,r6
3318 2032 0E94 0000 call __mulsf3
3319 2036 9B01 movw r18,r22
3320 2038 AC01 movw r20,r24
3321 203a C601 movw r24,r12
3322 203c B501 movw r22,r10
3323 203e 0E94 0000 call __addsf3
3324 2042 0E94 0000 call __fixsfsi
3325 2046 7093 0000 sts (MesswertRoll)+1,r23
3326 204a 6093 0000 sts MesswertRoll,r22
3327 204e 6091 0000 lds r22,MesswertGier
3328 2052 7091 0000 lds r23,(MesswertGier)+1
3329 2056 A090 0000 lds r10,Integral_Gier
3330 205a B090 0000 lds r11,(Integral_Gier)+1
3331 205e C090 0000 lds r12,(Integral_Gier)+2
3332 2062 D090 0000 lds r13,(Integral_Gier)+3
3333 2066 8827 clr r24
3334 2068 77FD sbrc r23,7
3335 206a 8095 com r24
3336 206c 982F mov r25,r24
3337 206e 0E94 0000 call __floatsisf
3338 2072 7B01 movw r14,r22
3339 2074 8C01 movw r16,r24
3340 2076 20E0 ldi r18,lo8(0x3f000000)
3341 2078 30E0 ldi r19,hi8(0x3f000000)
3342 207a 40E0 ldi r20,hlo8(0x3f000000)
3343 207c 5FE3 ldi r21,hhi8(0x3f000000)
3344 207e C401 movw r24,r8
3345 2080 B301 movw r22,r6
3346 2082 0E94 0000 call __mulsf3
3347 2086 9B01 movw r18,r22
3348 2088 AC01 movw r20,r24
3349 208a C801 movw r24,r16
3350 208c B701 movw r22,r14
3351 208e 0E94 0000 call __mulsf3
3352 2092 7B01 movw r14,r22
3353 2094 8C01 movw r16,r24
3354 2096 C601 movw r24,r12
3355 2098 B501 movw r22,r10
3356 209a 0E94 0000 call __floatsisf
3357 209e A201 movw r20,r4
3358 20a0 9101 movw r18,r2
3359 20a2 0E94 0000 call __mulsf3
3360 20a6 9B01 movw r18,r22
3361 20a8 AC01 movw r20,r24
3362 20aa C801 movw r24,r16
3363 20ac B701 movw r22,r14
3364 20ae 0E94 0000 call __addsf3
3365 20b2 0E94 0000 call __fixsfsi
3366 20b6 7093 0000 sts (MesswertGier)+1,r23
3367 20ba 6093 0000 sts MesswertGier,r22
3368 20be 8091 0000 lds r24,MesswertNick
3369 20c2 9091 0000 lds r25,(MesswertNick)+1
3370 20c6 8150 subi r24,lo8(2049)
3371 20c8 9840 sbci r25,hi8(2049)
3372 20ca 04F0 brlt .L498
3373 20cc 80E0 ldi r24,lo8(2048)
3374 20ce 98E0 ldi r25,hi8(2048)
3375 20d0 9093 0000 sts (MesswertNick)+1,r25
3376 20d4 8093 0000 sts MesswertNick,r24
3377 .L498:
3378 20d8 8091 0000 lds r24,MesswertNick
3379 20dc 9091 0000 lds r25,(MesswertNick)+1
3380 20e0 8050 subi r24,lo8(-2048)
3381 20e2 984F sbci r25,hi8(-2048)
3382 20e4 04F4 brge .L500
3383 20e6 80E0 ldi r24,lo8(-2048)
3384 20e8 98EF ldi r25,hi8(-2048)
3385 20ea 9093 0000 sts (MesswertNick)+1,r25
3386 20ee 8093 0000 sts MesswertNick,r24
3387 .L500:
3388 20f2 8091 0000 lds r24,MesswertRoll
3389 20f6 9091 0000 lds r25,(MesswertRoll)+1
3390 20fa 8150 subi r24,lo8(2049)
3391 20fc 9840 sbci r25,hi8(2049)
3392 20fe 04F0 brlt .L502
3393 2100 80E0 ldi r24,lo8(2048)
3394 2102 98E0 ldi r25,hi8(2048)
3395 2104 9093 0000 sts (MesswertRoll)+1,r25
3396 2108 8093 0000 sts MesswertRoll,r24
3397 .L502:
3398 210c 8091 0000 lds r24,MesswertRoll
3399 2110 9091 0000 lds r25,(MesswertRoll)+1
3400 2114 8050 subi r24,lo8(-2048)
3401 2116 984F sbci r25,hi8(-2048)
3402 2118 04F4 brge .L504
3403 211a 80E0 ldi r24,lo8(-2048)
3404 211c 98EF ldi r25,hi8(-2048)
3405 211e 9093 0000 sts (MesswertRoll)+1,r25
3406 2122 8093 0000 sts MesswertRoll,r24
3407 .L504:
3408 2126 8091 0000 lds r24,MesswertGier
3409 212a 9091 0000 lds r25,(MesswertGier)+1
3410 212e 8150 subi r24,lo8(2049)
3411 2130 9840 sbci r25,hi8(2049)
3412 2132 04F0 brlt .L506
3413 2134 80E0 ldi r24,lo8(2048)
3414 2136 98E0 ldi r25,hi8(2048)
3415 2138 9093 0000 sts (MesswertGier)+1,r25
3416 213c 8093 0000 sts MesswertGier,r24
3417 .L506:
3418 2140 8091 0000 lds r24,MesswertGier
3419 2144 9091 0000 lds r25,(MesswertGier)+1
3420 2148 8050 subi r24,lo8(-2048)
3421 214a 984F sbci r25,hi8(-2048)
3422 214c 04F4 brge .L508
3423 214e 80E0 ldi r24,lo8(-2048)
3424 2150 98EF ldi r25,hi8(-2048)
3425 2152 9093 0000 sts (MesswertGier)+1,r25
3426 2156 8093 0000 sts MesswertGier,r24
3427 .L508:
3428 215a 8091 0000 lds r24,EE_Parameter+8
3429 215e 9927 clr r25
3430 2160 80FF sbrs r24,0
3431 2162 00C0 rjmp .L510
3432 2164 2091 0000 lds r18,Parameter_MaxHoehe
3433 2168 81FF sbrs r24,1
3434 216a 00C0 rjmp .L512
3435 216c 2233 cpi r18,lo8(50)
3436 216e 00F4 brsh .L581
3437 2170 8091 0000 lds r24,HoehenWert
3438 2174 9091 0000 lds r25,(HoehenWert)+1
3439 2178 4497 sbiw r24,20
3440 217a 9093 0000 sts (SollHoehe)+1,r25
3441 217e 8093 0000 sts SollHoehe,r24
3442 2182 1092 0000 sts HoehenReglerAktiv,__zero_reg__
3443 2186 00C0 rjmp .L516
3444 .L512:
3445 2188 8091 0000 lds r24,EE_Parameter+13
3446 218c 289F mul r18,r24
3447 218e C001 movw r24,r0
3448 2190 1124 clr r1
3449 2192 4497 sbiw r24,20
3450 2194 9093 0000 sts (SollHoehe)+1,r25
3451 2198 8093 0000 sts SollHoehe,r24
3452 .L581:
3453 219c 81E0 ldi r24,lo8(1)
3454 219e 8093 0000 sts HoehenReglerAktiv,r24
3455 .L516:
3456 21a2 8091 0000 lds r24,Notlandung
3457 21a6 8823 tst r24
3458 21a8 01F0 breq .L517
3459 21aa 1092 0000 sts (SollHoehe)+1,__zero_reg__
3460 21ae 1092 0000 sts SollHoehe,__zero_reg__
3461 .L517:
3462 21b2 2091 0000 lds r18,HoehenWert
3463 21b6 3091 0000 lds r19,(HoehenWert)+1
3464 21ba 4091 0000 lds r20,SollHoehe
3465 21be 5091 0000 lds r21,(SollHoehe)+1
3466 21c2 4217 cp r20,r18
3467 21c4 5307 cpc r21,r19
3468 21c6 04F0 brlt .+2
3469 21c8 00C0 rjmp .L510
3470 21ca 8091 0000 lds r24,HoehenReglerAktiv
3471 21ce 8823 tst r24
3472 21d0 01F4 brne .+2
3473 21d2 00C0 rjmp .L510
3474 21d4 241B sub r18,r20
3475 21d6 350B sbc r19,r21
3476 21d8 8091 0000 lds r24,Parameter_Hoehe_P
3477 21dc 9927 clr r25
3478 21de AC01 movw r20,r24
3479 21e0 249F mul r18,r20
3480 21e2 C001 movw r24,r0
3481 21e4 259F mul r18,r21
3482 21e6 900D add r25,r0
3483 21e8 349F mul r19,r20
3484 21ea 900D add r25,r0
3485 21ec 1124 clr r1
3486 21ee 60E1 ldi r22,lo8(16)
3487 21f0 70E0 ldi r23,hi8(16)
3488 21f2 0E94 0000 call __divmodhi4
3489 21f6 0981 ldd r16,Y+1
3490 21f8 1A81 ldd r17,Y+2
3491 21fa 061B sub r16,r22
3492 21fc 170B sbc r17,r23
3493 21fe 2091 0000 lds r18,HoeheD
3494 2202 3091 0000 lds r19,(HoeheD)+1
3495 2206 8091 0000 lds r24,Parameter_Luftdruck_D
3496 220a 9927 clr r25
3497 220c BC01 movw r22,r24
3498 220e 269F mul r18,r22
3499 2210 C001 movw r24,r0
3500 2212 279F mul r18,r23
3501 2214 900D add r25,r0
3502 2216 369F mul r19,r22
3503 2218 900D add r25,r0
3504 221a 1124 clr r1
3505 221c 68E0 ldi r22,lo8(8)
3506 221e 70E0 ldi r23,hi8(8)
3507 2220 0E94 0000 call __divmodhi4
3508 2224 061B sub r16,r22
3509 2226 170B sbc r17,r23
3510 2228 6091 0000 lds r22,Mess_Integral_Hoch
3511 222c 7091 0000 lds r23,(Mess_Integral_Hoch)+1
3512 2230 8091 0000 lds r24,(Mess_Integral_Hoch)+2
3513 2234 9091 0000 lds r25,(Mess_Integral_Hoch)+3
3514 2238 20E0 ldi r18,lo8(512)
3515 223a 32E0 ldi r19,hi8(512)
3516 223c 40E0 ldi r20,hlo8(512)
3517 223e 50E0 ldi r21,hhi8(512)
3518 2240 0E94 0000 call __divmodsi4
3519 2244 CA01 movw r24,r20
3520 2246 B901 movw r22,r18
3521 2248 2091 0000 lds r18,Parameter_Hoehe_ACC_Wirkung
3522 224c 3327 clr r19
3523 224e 4427 clr r20
3524 2250 5527 clr r21
3525 2252 0E94 0000 call __mulsi3
3526 2256 20E2 ldi r18,lo8(32)
3527 2258 30E0 ldi r19,hi8(32)
3528 225a 40E0 ldi r20,hlo8(32)
3529 225c 50E0 ldi r21,hhi8(32)
3530 225e 0E94 0000 call __divmodsi4
3531 2262 7FEF ldi r23,hi8(-50)
3532 2264 2E3C cpi r18,lo8(-50)
3533 2266 3707 cpc r19,r23
3534 2268 04F4 brge .L521
3535 226a 2EEC ldi r18,lo8(-50)
3536 226c 3FEF ldi r19,hi8(-50)
3537 .L521:
3538 226e 8091 0000 lds r24,hoehenregler.2336
3539 2272 9091 0000 lds r25,(hoehenregler.2336)+1
3540 2276 AC01 movw r20,r24
3541 2278 74E0 ldi r23,4
3542 227a 440F 1: lsl r20
3543 227c 551F rol r21
3544 227e 7A95 dec r23
3545 2280 01F4 brne 1b
3546 2282 481B sub r20,r24
3547 2284 590B sbc r21,r25
3548 2286 2333 cpi r18,51
3549 2288 3105 cpc r19,__zero_reg__
3550 228a 04F0 brlt .L522
3551 228c 22E3 ldi r18,lo8(50)
3552 228e 30E0 ldi r19,hi8(50)
3553 .L522:
3554 2290 021B sub r16,r18
3555 2292 130B sbc r17,r19
3556 2294 CA01 movw r24,r20
3557 2296 800F add r24,r16
3558 2298 911F adc r25,r17
3559 229a 60E1 ldi r22,lo8(16)
3560 229c 70E0 ldi r23,hi8(16)
3561 229e 0E94 0000 call __divmodhi4
3562 22a2 7093 0000 sts (hoehenregler.2336)+1,r23
3563 22a6 6093 0000 sts hoehenregler.2336,r22
3564 22aa 8091 0000 lds r24,EE_Parameter+9
3565 22ae 9927 clr r25
3566 22b0 6817 cp r22,r24
3567 22b2 7907 cpc r23,r25
3568 22b4 04F4 brge .L523
3569 22b6 E981 ldd r30,Y+1
3570 22b8 FA81 ldd r31,Y+2
3571 22ba E817 cp r30,r24
3572 22bc F907 cpc r31,r25
3573 22be 04F0 brlt .L525
3574 22c0 9093 0000 sts (hoehenregler.2336)+1,r25
3575 22c4 8093 0000 sts hoehenregler.2336,r24
3576 22c8 00C0 rjmp .L523
3577 .L525:
3578 22ca 2981 ldd r18,Y+1
3579 22cc 3A81 ldd r19,Y+2
3580 22ce 3093 0000 sts (hoehenregler.2336)+1,r19
3581 22d2 2093 0000 sts hoehenregler.2336,r18
3582 22d6 00C0 rjmp .L527
3583 .L523:
3584 22d8 8091 0000 lds r24,hoehenregler.2336
3585 22dc 9091 0000 lds r25,(hoehenregler.2336)+1
3586 22e0 4981 ldd r20,Y+1
3587 22e2 5A81 ldd r21,Y+2
3588 22e4 4817 cp r20,r24
3589 22e6 5907 cpc r21,r25
3590 22e8 04F4 brge .L527
3591 22ea 5093 0000 sts (hoehenregler.2336)+1,r21
3592 22ee 4093 0000 sts hoehenregler.2336,r20
3593 .L527:
3594 22f2 6091 0000 lds r22,hoehenregler.2336
3595 22f6 7091 0000 lds r23,(hoehenregler.2336)+1
3596 22fa 7A83 std Y+2,r23
3597 22fc 6983 std Y+1,r22
3598 .L510:
3599 22fe C090 0000 lds r12,MesswertGier
3600 2302 D090 0000 lds r13,(MesswertGier)+1
3601 2306 8B81 ldd r24,Y+3
3602 2308 9C81 ldd r25,Y+4
3603 230a C81A sub r12,r24
3604 230c D90A sbc r13,r25
3605 230e 95E6 ldi r25,lo8(101)
3606 2310 C916 cp r12,r25
3607 2312 D104 cpc r13,__zero_reg__
3608 2314 04F0 brlt .L529
3609 2316 64E6 ldi r22,lo8(100)
3610 2318 C62E mov r12,r22
3611 231a D12C mov r13,__zero_reg__
3612 231c 00C0 rjmp .L531
3613 .L529:
3614 231e ECE9 ldi r30,lo8(-100)
3615 2320 CE16 cp r12,r30
3616 2322 EFEF ldi r30,hi8(-100)
3617 2324 DE06 cpc r13,r30
3618 2326 04F4 brge .L531
3619 2328 5CE9 ldi r21,lo8(-100)
3620 232a C52E mov r12,r21
3621 232c 5FEF ldi r21,hi8(-100)
3622 232e D52E mov r13,r21
3623 .L531:
3624 2330 4090 0000 lds r4,Kp
3625 2334 5090 0000 lds r5,(Kp)+1
3626 2338 6090 0000 lds r6,(Kp)+2
3627 233c 7090 0000 lds r7,(Kp)+3
3628 2340 6091 0000 lds r22,MesswertNick
3629 2344 7091 0000 lds r23,(MesswertNick)+1
3630 2348 2091 0000 lds r18,StickNick
3631 234c 3091 0000 lds r19,(StickNick)+1
3632 2350 4091 0000 lds r20,GPS_Nick
3633 2354 5091 0000 lds r21,(GPS_Nick)+1
3634 2358 241B sub r18,r20
3635 235a 350B sbc r19,r21
3636 235c 621B sub r22,r18
3637 235e 730B sbc r23,r19
3638 2360 8827 clr r24
3639 2362 77FD sbrc r23,7
3640 2364 8095 com r24
3641 2366 982F mov r25,r24
3642 2368 0E94 0000 call __floatsisf
3643 236c 9B01 movw r18,r22
3644 236e AC01 movw r20,r24
3645 2370 C301 movw r24,r6
3646 2372 B201 movw r22,r4
3647 2374 0E94 0000 call __mulsf3
3648 2378 0E94 0000 call __fixsfsi
3649 237c 7093 0000 sts (DiffNick)+1,r23
3650 2380 6093 0000 sts DiffNick,r22
3651 2384 8091 0000 lds r24,DiffNick
3652 2388 9091 0000 lds r25,(DiffNick)+1
3653 238c 8C01 movw r16,r24
3654 238e 2227 clr r18
3655 2390 17FD sbrc r17,7
3656 2392 2095 com r18
3657 2394 322F mov r19,r18
3658 2396 8091 0000 lds r24,SummeNick.2324
3659 239a 9091 0000 lds r25,(SummeNick.2324)+1
3660 239e A091 0000 lds r26,(SummeNick.2324)+2
3661 23a2 B091 0000 lds r27,(SummeNick.2324)+3
3662 23a6 080F add r16,r24
3663 23a8 191F adc r17,r25
3664 23aa 2A1F adc r18,r26
3665 23ac 3B1F adc r19,r27
3666 23ae 0093 0000 sts SummeNick.2324,r16
3667 23b2 1093 0000 sts (SummeNick.2324)+1,r17
3668 23b6 2093 0000 sts (SummeNick.2324)+2,r18
3669 23ba 3093 0000 sts (SummeNick.2324)+3,r19
3670 23be 1016 cp __zero_reg__,r16
3671 23c0 1106 cpc __zero_reg__,r17
3672 23c2 1206 cpc __zero_reg__,r18
3673 23c4 1306 cpc __zero_reg__,r19
3674 23c6 04F4 brge .L533
3675 23c8 C801 movw r24,r16
3676 23ca 17FF sbrs r17,7
3677 23cc 00C0 rjmp .L535
3678 23ce 9095 com r25
3679 23d0 8195 neg r24
3680 23d2 9F4F sbci r25,lo8(-1)
3681 .L535:
3682 23d4 60E0 ldi r22,lo8(256)
3683 23d6 71E0 ldi r23,hi8(256)
3684 23d8 0E94 0000 call __divmodhi4
3685 23dc 6F5F subi r22,lo8(-(1))
3686 23de 7F4F sbci r23,hi8(-(1))
3687 23e0 8827 clr r24
3688 23e2 77FD sbrc r23,7
3689 23e4 8095 com r24
3690 23e6 982F mov r25,r24
3691 23e8 061B sub r16,r22
3692 23ea 170B sbc r17,r23
3693 23ec 280B sbc r18,r24
3694 23ee 390B sbc r19,r25
3695 23f0 00C0 rjmp .L582
3696 .L533:
3697 23f2 C801 movw r24,r16
3698 23f4 17FF sbrs r17,7
3699 23f6 00C0 rjmp .L537
3700 23f8 9095 com r25
3701 23fa 8195 neg r24
3702 23fc 9F4F sbci r25,lo8(-1)
3703 .L537:
3704 23fe 60E0 ldi r22,lo8(256)
3705 2400 71E0 ldi r23,hi8(256)
3706 2402 0E94 0000 call __divmodhi4
3707 2406 6F5F subi r22,lo8(-(1))
3708 2408 7F4F sbci r23,hi8(-(1))
3709 240a 8827 clr r24
3710 240c 77FD sbrc r23,7
3711 240e 8095 com r24
3712 2410 982F mov r25,r24
3713 2412 060F add r16,r22
3714 2414 171F adc r17,r23
3715 2416 281F adc r18,r24
3716 2418 391F adc r19,r25
3717 .L582:
3718 241a 0093 0000 sts SummeNick.2324,r16
3719 241e 1093 0000 sts (SummeNick.2324)+1,r17
3720 2422 2093 0000 sts (SummeNick.2324)+2,r18
3721 2426 3093 0000 sts (SummeNick.2324)+3,r19
3722 242a 8091 0000 lds r24,SummeNick.2324
3723 242e 9091 0000 lds r25,(SummeNick.2324)+1
3724 2432 A091 0000 lds r26,(SummeNick.2324)+2
3725 2436 B091 0000 lds r27,(SummeNick.2324)+3
3726 243a 8138 cpi r24,lo8(16001)
3727 243c FEE3 ldi r31,hi8(16001)
3728 243e 9F07 cpc r25,r31
3729 2440 F0E0 ldi r31,hlo8(16001)
3730 2442 AF07 cpc r26,r31
3731 2444 F0E0 ldi r31,hhi8(16001)
3732 2446 BF07 cpc r27,r31
3733 2448 04F0 brlt .L538
3734 244a 80E8 ldi r24,lo8(16000)
3735 244c 9EE3 ldi r25,hi8(16000)
3736 244e A0E0 ldi r26,hlo8(16000)
3737 2450 B0E0 ldi r27,hhi8(16000)
3738 2452 00C0 rjmp .L583
3739 .L538:
3740 2454 8058 subi r24,lo8(-16000)
3741 2456 914C sbci r25,hi8(-16000)
3742 2458 AF4F sbci r26,hlo8(-16000)
3743 245a BF4F sbci r27,hhi8(-16000)
3744 245c 04F4 brge .L540
3745 245e 80E8 ldi r24,lo8(-16000)
3746 2460 91EC ldi r25,hi8(-16000)
3747 2462 AFEF ldi r26,hlo8(-16000)
3748 2464 BFEF ldi r27,hhi8(-16000)
3749 .L583:
3750 2466 8093 0000 sts SummeNick.2324,r24
3751 246a 9093 0000 sts (SummeNick.2324)+1,r25
3752 246e A093 0000 sts (SummeNick.2324)+2,r26
3753 2472 B093 0000 sts (SummeNick.2324)+3,r27
3754 .L540:
3755 2476 6091 0000 lds r22,DiffNick
3756 247a 7091 0000 lds r23,(DiffNick)+1
3757 247e 8090 0000 lds r8,Ki
3758 2482 9090 0000 lds r9,(Ki)+1
3759 2486 A090 0000 lds r10,(Ki)+2
3760 248a B090 0000 lds r11,(Ki)+3
3761 248e 8827 clr r24
3762 2490 77FD sbrc r23,7
3763 2492 8095 com r24
3764 2494 982F mov r25,r24
3765 2496 0E94 0000 call __floatsisf
3766 249a 7B01 movw r14,r22
3767 249c 8C01 movw r16,r24
3768 249e 6091 0000 lds r22,SummeNick.2324
3769 24a2 7091 0000 lds r23,(SummeNick.2324)+1
3770 24a6 8091 0000 lds r24,(SummeNick.2324)+2
3771 24aa 9091 0000 lds r25,(SummeNick.2324)+3
3772 24ae 0E94 0000 call __floatsisf
3773 24b2 9B01 movw r18,r22
3774 24b4 AC01 movw r20,r24
3775 24b6 C501 movw r24,r10
3776 24b8 B401 movw r22,r8
3777 24ba 0E94 0000 call __mulsf3
3778 24be 9B01 movw r18,r22
3779 24c0 AC01 movw r20,r24
3780 24c2 C801 movw r24,r16
3781 24c4 B701 movw r22,r14
3782 24c6 0E94 0000 call __addsf3
3783 24ca 0E94 0000 call __fixsfsi
3784 24ce 9601 movw r18,r12
3785 24d0 260F add r18,r22
3786 24d2 371F adc r19,r23
3787 24d4 4981 ldd r20,Y+1
3788 24d6 5A81 ldd r21,Y+2
3789 24d8 240F add r18,r20
3790 24da 351F adc r19,r21
3791 24dc 2224 clr r2
3792 24de 4A30 cpi r20,10
3793 24e0 5105 cpc r21,__zero_reg__
3794 24e2 04F4 brge .L542
3795 24e4 41E0 ldi r20,lo8(1)
3796 24e6 242E mov r2,r20
3797 .L542:
3798 24e8 37FD sbrc r19,7
3799 24ea 00C0 rjmp .L545
3800 24ec 2220 tst r2
3801 24ee 01F0 breq .L543
3802 .L545:
3803 24f0 40E0 ldi r20,lo8(0)
3804 24f2 50E0 ldi r21,hi8(0)
3805 24f4 00C0 rjmp .L546
3806 .L543:
3807 24f6 8091 0000 lds r24,MAX_GAS
3808 24fa 482F mov r20,r24
3809 24fc 5527 clr r21
3810 24fe 2417 cp r18,r20
3811 2500 3507 cpc r19,r21
3812 2502 04F4 brge .L546
3813 2504 A901 movw r20,r18
3814 .L546:
3815 2506 8091 0000 lds r24,MIN_GAS
3816 250a E82F mov r30,r24
3817 250c FF27 clr r31
3818 250e F887 std Y+8,r31
3819 2510 EF83 std Y+7,r30
3820 2512 9F01 movw r18,r30
3821 2514 E417 cp r30,r20
3822 2516 F507 cpc r31,r21
3823 2518 04F4 brge .L548
3824 251a 9A01 movw r18,r20
3825 .L548:
3826 251c 2093 0000 sts Motor_Vorne,r18
3827 2520 2981 ldd r18,Y+1
3828 2522 3A81 ldd r19,Y+2
3829 2524 261B sub r18,r22
3830 2526 370B sbc r19,r23
3831 2528 B901 movw r22,r18
3832 252a 6C0D add r22,r12
3833 252c 7D1D adc r23,r13
3834 252e 77FD sbrc r23,7
3835 2530 00C0 rjmp .L551
3836 2532 2220 tst r2
3837 2534 01F0 breq .L549
3838 .L551:
3839 2536 80E0 ldi r24,lo8(0)
3840 2538 90E0 ldi r25,hi8(0)
3841 253a 00C0 rjmp .L552
3842 .L549:
3843 253c 8091 0000 lds r24,MAX_GAS
3844 2540 9927 clr r25
3845 2542 6817 cp r22,r24
3846 2544 7907 cpc r23,r25
3847 2546 04F4 brge .L552
3848 2548 CB01 movw r24,r22
3849 .L552:
3850 254a 2F81 ldd r18,Y+7
3851 254c 3885 ldd r19,Y+8
3852 254e 2817 cp r18,r24
3853 2550 3907 cpc r19,r25
3854 2552 04F4 brge .L554
3855 2554 9C01 movw r18,r24
3856 .L554:
3857 2556 2093 0000 sts Motor_Hinten,r18
3858 255a 6091 0000 lds r22,MesswertRoll
3859 255e 7091 0000 lds r23,(MesswertRoll)+1
3860 2562 2091 0000 lds r18,StickRoll
3861 2566 3091 0000 lds r19,(StickRoll)+1
3862 256a 4091 0000 lds r20,GPS_Roll
3863 256e 5091 0000 lds r21,(GPS_Roll)+1
3864 2572 241B sub r18,r20
3865 2574 350B sbc r19,r21
3866 2576 621B sub r22,r18
3867 2578 730B sbc r23,r19
3868 257a 8827 clr r24
3869 257c 77FD sbrc r23,7
3870 257e 8095 com r24
3871 2580 982F mov r25,r24
3872 2582 0E94 0000 call __floatsisf
3873 2586 9B01 movw r18,r22
3874 2588 AC01 movw r20,r24
3875 258a C301 movw r24,r6
3876 258c B201 movw r22,r4
3877 258e 0E94 0000 call __mulsf3
3878 2592 0E94 0000 call __fixsfsi
3879 2596 7093 0000 sts (DiffRoll)+1,r23
3880 259a 6093 0000 sts DiffRoll,r22
3881 259e 8091 0000 lds r24,DiffRoll
3882 25a2 9091 0000 lds r25,(DiffRoll)+1
3883 25a6 8C01 movw r16,r24
3884 25a8 2227 clr r18
3885 25aa 17FD sbrc r17,7
3886 25ac 2095 com r18
3887 25ae 322F mov r19,r18
3888 25b0 8091 0000 lds r24,SummeRoll.2325
3889 25b4 9091 0000 lds r25,(SummeRoll.2325)+1
3890 25b8 A091 0000 lds r26,(SummeRoll.2325)+2
3891 25bc B091 0000 lds r27,(SummeRoll.2325)+3
3892 25c0 080F add r16,r24
3893 25c2 191F adc r17,r25
3894 25c4 2A1F adc r18,r26
3895 25c6 3B1F adc r19,r27
3896 25c8 0093 0000 sts SummeRoll.2325,r16
3897 25cc 1093 0000 sts (SummeRoll.2325)+1,r17
3898 25d0 2093 0000 sts (SummeRoll.2325)+2,r18
3899 25d4 3093 0000 sts (SummeRoll.2325)+3,r19
3900 25d8 1016 cp __zero_reg__,r16
3901 25da 1106 cpc __zero_reg__,r17
3902 25dc 1206 cpc __zero_reg__,r18
3903 25de 1306 cpc __zero_reg__,r19
3904 25e0 04F4 brge .L555
3905 25e2 C801 movw r24,r16
3906 25e4 17FF sbrs r17,7
3907 25e6 00C0 rjmp .L557
3908 25e8 9095 com r25
3909 25ea 8195 neg r24
3910 25ec 9F4F sbci r25,lo8(-1)
3911 .L557:
3912 25ee 60E0 ldi r22,lo8(256)
3913 25f0 71E0 ldi r23,hi8(256)
3914 25f2 0E94 0000 call __divmodhi4
3915 25f6 6F5F subi r22,lo8(-(1))
3916 25f8 7F4F sbci r23,hi8(-(1))
3917 25fa 8827 clr r24
3918 25fc 77FD sbrc r23,7
3919 25fe 8095 com r24
3920 2600 982F mov r25,r24
3921 2602 061B sub r16,r22
3922 2604 170B sbc r17,r23
3923 2606 280B sbc r18,r24
3924 2608 390B sbc r19,r25
3925 260a 00C0 rjmp .L584
3926 .L555:
3927 260c C801 movw r24,r16
3928 260e 17FF sbrs r17,7
3929 2610 00C0 rjmp .L559
3930 2612 9095 com r25
3931 2614 8195 neg r24
3932 2616 9F4F sbci r25,lo8(-1)
3933 .L559:
3934 2618 60E0 ldi r22,lo8(256)
3935 261a 71E0 ldi r23,hi8(256)
3936 261c 0E94 0000 call __divmodhi4
3937 2620 6F5F subi r22,lo8(-(1))
3938 2622 7F4F sbci r23,hi8(-(1))
3939 2624 8827 clr r24
3940 2626 77FD sbrc r23,7
3941 2628 8095 com r24
3942 262a 982F mov r25,r24
3943 262c 060F add r16,r22
3944 262e 171F adc r17,r23
3945 2630 281F adc r18,r24
3946 2632 391F adc r19,r25
3947 .L584:
3948 2634 0093 0000 sts SummeRoll.2325,r16
3949 2638 1093 0000 sts (SummeRoll.2325)+1,r17
3950 263c 2093 0000 sts (SummeRoll.2325)+2,r18
3951 2640 3093 0000 sts (SummeRoll.2325)+3,r19
3952 2644 8091 0000 lds r24,SummeRoll.2325
3953 2648 9091 0000 lds r25,(SummeRoll.2325)+1
3954 264c A091 0000 lds r26,(SummeRoll.2325)+2
3955 2650 B091 0000 lds r27,(SummeRoll.2325)+3
3956 2654 8138 cpi r24,lo8(16001)
3957 2656 3EE3 ldi r19,hi8(16001)
3958 2658 9307 cpc r25,r19
3959 265a 30E0 ldi r19,hlo8(16001)
3960 265c A307 cpc r26,r19
3961 265e 30E0 ldi r19,hhi8(16001)
3962 2660 B307 cpc r27,r19
3963 2662 04F0 brlt .L560
3964 2664 80E8 ldi r24,lo8(16000)
3965 2666 9EE3 ldi r25,hi8(16000)
3966 2668 A0E0 ldi r26,hlo8(16000)
3967 266a B0E0 ldi r27,hhi8(16000)
3968 266c 00C0 rjmp .L585
3969 .L560:
3970 266e 8058 subi r24,lo8(-16000)
3971 2670 914C sbci r25,hi8(-16000)
3972 2672 AF4F sbci r26,hlo8(-16000)
3973 2674 BF4F sbci r27,hhi8(-16000)
3974 2676 04F4 brge .L562
3975 2678 80E8 ldi r24,lo8(-16000)
3976 267a 91EC ldi r25,hi8(-16000)
3977 267c AFEF ldi r26,hlo8(-16000)
3978 267e BFEF ldi r27,hhi8(-16000)
3979 .L585:
3980 2680 8093 0000 sts SummeRoll.2325,r24
3981 2684 9093 0000 sts (SummeRoll.2325)+1,r25
3982 2688 A093 0000 sts (SummeRoll.2325)+2,r26
3983 268c B093 0000 sts (SummeRoll.2325)+3,r27
3984 .L562:
3985 2690 6091 0000 lds r22,DiffRoll
3986 2694 7091 0000 lds r23,(DiffRoll)+1
3987 2698 8827 clr r24
3988 269a 77FD sbrc r23,7
3989 269c 8095 com r24
3990 269e 982F mov r25,r24
3991 26a0 0E94 0000 call __floatsisf
3992 26a4 7B01 movw r14,r22
3993 26a6 8C01 movw r16,r24
3994 26a8 6091 0000 lds r22,SummeRoll.2325
3995 26ac 7091 0000 lds r23,(SummeRoll.2325)+1
3996 26b0 8091 0000 lds r24,(SummeRoll.2325)+2
3997 26b4 9091 0000 lds r25,(SummeRoll.2325)+3
3998 26b8 0E94 0000 call __floatsisf
3999 26bc 9B01 movw r18,r22
4000 26be AC01 movw r20,r24
4001 26c0 C501 movw r24,r10
4002 26c2 B401 movw r22,r8
4003 26c4 0E94 0000 call __mulsf3
4004 26c8 9B01 movw r18,r22
4005 26ca AC01 movw r20,r24
4006 26cc C801 movw r24,r16
4007 26ce B701 movw r22,r14
4008 26d0 0E94 0000 call __addsf3
4009 26d4 0E94 0000 call __fixsfsi
4010 26d8 2981 ldd r18,Y+1
4011 26da 3A81 ldd r19,Y+2
4012 26dc 260F add r18,r22
4013 26de 371F adc r19,r23
4014 26e0 2C19 sub r18,r12
4015 26e2 3D09 sbc r19,r13
4016 26e4 37FD sbrc r19,7
4017 26e6 00C0 rjmp .L566
4018 26e8 2220 tst r2
4019 26ea 01F0 breq .L564
4020 .L566:
4021 26ec 40E0 ldi r20,lo8(0)
4022 26ee 50E0 ldi r21,hi8(0)
4023 26f0 00C0 rjmp .L567
4024 .L564:
4025 26f2 8091 0000 lds r24,MAX_GAS
4026 26f6 482F mov r20,r24
4027 26f8 5527 clr r21
4028 26fa 2417 cp r18,r20
4029 26fc 3507 cpc r19,r21
4030 26fe 04F4 brge .L567
4031 2700 A901 movw r20,r18
4032 .L567:
4033 2702 2F81 ldd r18,Y+7
4034 2704 3885 ldd r19,Y+8
4035 2706 2417 cp r18,r20
4036 2708 3507 cpc r19,r21
4037 270a 04F4 brge .L569
4038 270c 9A01 movw r18,r20
4039 .L569:
4040 270e 2093 0000 sts Motor_Links,r18
4041 2712 8981 ldd r24,Y+1
4042 2714 9A81 ldd r25,Y+2
4043 2716 861B sub r24,r22
4044 2718 970B sbc r25,r23
4045 271a BC01 movw r22,r24
4046 271c 6C19 sub r22,r12
4047 271e 7D09 sbc r23,r13
4048 2720 77FD sbrc r23,7
4049 2722 00C0 rjmp .L572
4050 2724 2220 tst r2
4051 2726 01F0 breq .L570
4052 .L572:
4053 2728 20E0 ldi r18,lo8(0)
4054 272a 30E0 ldi r19,hi8(0)
4055 272c 00C0 rjmp .L573
4056 .L570:
4057 272e 8091 0000 lds r24,MAX_GAS
4058 2732 282F mov r18,r24
4059 2734 3327 clr r19
4060 2736 6217 cp r22,r18
4061 2738 7307 cpc r23,r19
4062 273a 04F4 brge .L573
4063 273c 9B01 movw r18,r22
4064 .L573:
4065 273e 8F81 ldd r24,Y+7
4066 2740 9885 ldd r25,Y+8
4067 2742 8217 cp r24,r18
4068 2744 9307 cpc r25,r19
4069 2746 04F4 brge .L575
4070 2748 C901 movw r24,r18
4071 274a 00C0 rjmp .L575
4072 .L493:
4073 274c 8FEE ldi r24,lo8(-17)
4074 274e 8093 7A00 sts 122,r24
4075 2752 00C0 rjmp .L495
4076 .L575:
4077 2754 8093 0000 sts Motor_Rechts,r24
4078 /* epilogue: frame size=8 */
4079 2758 2896 adiw r28,8
4080 275a 0FB6 in __tmp_reg__,__SREG__
4081 275c F894 cli
4082 275e DEBF out __SP_H__,r29
4083 2760 0FBE out __SREG__,__tmp_reg__
4084 2762 CDBF out __SP_L__,r28
4085 2764 DF91 pop r29
4086 2766 CF91 pop r28
4087 2768 1F91 pop r17
4088 276a 0F91 pop r16
4089 276c FF90 pop r15
4090 276e EF90 pop r14
4091 2770 DF90 pop r13
4092 2772 CF90 pop r12
4093 2774 BF90 pop r11
4094 2776 AF90 pop r10
4095 2778 9F90 pop r9
4096 277a 8F90 pop r8
4097 277c 7F90 pop r7
4098 277e 6F90 pop r6
4099 2780 5F90 pop r5
4100 2782 4F90 pop r4
4101 2784 3F90 pop r3
4102 2786 2F90 pop r2
4103 2788 0895 ret
4104 /* epilogue end (size=25) */
4105 /* function MotorRegler size 2825 (2774) */
4107 .global Timeout
4108 .global Timeout
4109 .section .bss
4112 Timeout:
4113 0000 00 .skip 1,0
4114 .global AdNeutralNick
4115 .global AdNeutralNick
4118 AdNeutralNick:
4119 0001 0000 .skip 2,0
4120 .global AdNeutralRoll
4121 .global AdNeutralRoll
4124 AdNeutralRoll:
4125 0003 0000 .skip 2,0
4126 .global AdNeutralGier
4127 .global AdNeutralGier
4130 AdNeutralGier:
4131 0005 0000 .skip 2,0
4132 .global NeutralAccX
4133 .global NeutralAccX
4136 NeutralAccX:
4137 0007 0000 .skip 2,0
4138 .global NeutralAccY
4139 .global NeutralAccY
4142 NeutralAccY:
4143 0009 0000 .skip 2,0
4144 .global NeutralAccZ
4145 .global NeutralAccZ
4148 NeutralAccZ:
4149 000b 0000 0000 .skip 4,0
4150 .global CosinusNickWinkel
4151 .global CosinusNickWinkel
4154 CosinusNickWinkel:
4155 000f 00 .skip 1,0
4156 .global CosinusRollWinkel
4157 .global CosinusRollWinkel
4160 CosinusRollWinkel:
4161 0010 00 .skip 1,0
4162 .global IntegralNick
4163 .global IntegralNick
4166 IntegralNick:
4167 0011 0000 0000 .skip 4,0
4168 .global IntegralNick2
4169 .global IntegralNick2
4172 IntegralNick2:
4173 0015 0000 0000 .skip 4,0
4174 .global IntegralRoll
4175 .global IntegralRoll
4178 IntegralRoll:
4179 0019 0000 0000 .skip 4,0
4180 .global IntegralRoll2
4181 .global IntegralRoll2
4184 IntegralRoll2:
4185 001d 0000 0000 .skip 4,0
4186 .global Integral_Gier
4187 .global Integral_Gier
4190 Integral_Gier:
4191 0021 0000 0000 .skip 4,0
4192 .global Mess_IntegralNick
4193 .global Mess_IntegralNick
4196 Mess_IntegralNick:
4197 0025 0000 0000 .skip 4,0
4198 .global Mess_IntegralNick2
4199 .global Mess_IntegralNick2
4202 Mess_IntegralNick2:
4203 0029 0000 0000 .skip 4,0
4204 .global Mess_IntegralRoll
4205 .global Mess_IntegralRoll
4208 Mess_IntegralRoll:
4209 002d 0000 0000 .skip 4,0
4210 .global Mess_IntegralRoll2
4211 .global Mess_IntegralRoll2
4214 Mess_IntegralRoll2:
4215 0031 0000 0000 .skip 4,0
4216 .global Mess_Integral_Gier
4217 .global Mess_Integral_Gier
4220 Mess_Integral_Gier:
4221 0035 0000 0000 .skip 4,0
4222 .global Mess_Integral_Gier2
4223 .global Mess_Integral_Gier2
4226 Mess_Integral_Gier2:
4227 0039 0000 0000 .skip 4,0
4228 .global Mess_Integral_Hoch
4229 .global Mess_Integral_Hoch
4232 Mess_Integral_Hoch:
4233 003d 0000 0000 .skip 4,0
4234 .global KompassValue
4235 .global KompassValue
4238 KompassValue:
4239 0041 0000 .skip 2,0
4240 .global KompassStartwert
4241 .global KompassStartwert
4244 KompassStartwert:
4245 0043 0000 .skip 2,0
4246 .global KompassRichtung
4247 .global KompassRichtung
4250 KompassRichtung:
4251 0045 0000 .skip 2,0
4252 .global Notlandung
4253 .global Notlandung
4256 Notlandung:
4257 0047 00 .skip 1,0
4258 .global HoehenReglerAktiv
4259 .global HoehenReglerAktiv
4262 HoehenReglerAktiv:
4263 0048 00 .skip 1,0
4264 .global Poti1
4265 .global Poti1
4268 Poti1:
4269 0049 0000 .skip 2,0
4270 .global Poti2
4271 .global Poti2
4274 Poti2:
4275 004b 0000 .skip 2,0
4276 .global Poti3
4277 .global Poti3
4280 Poti3:
4281 004d 0000 .skip 2,0
4282 .global Poti4
4283 .global Poti4
4286 Poti4:
4287 004f 0000 .skip 2,0
4288 .global SenderOkay
4289 .global SenderOkay
4292 SenderOkay:
4293 0051 00 .skip 1,0
4294 .global StickNick
4295 .global StickNick
4298 StickNick:
4299 0052 0000 .skip 2,0
4300 .global StickRoll
4301 .global StickRoll
4304 StickRoll:
4305 0054 0000 .skip 2,0
4306 .global StickGier
4307 .global StickGier
4310 StickGier:
4311 0056 0000 .skip 2,0
4312 .global MotorenEin
4313 .global MotorenEin
4316 MotorenEin:
4317 0058 00 .skip 1,0
4318 .global HoehenWert
4319 .global HoehenWert
4322 HoehenWert:
4323 0059 0000 .skip 2,0
4324 .global SollHoehe
4325 .global SollHoehe
4328 SollHoehe:
4329 005b 0000 .skip 2,0
4330 .global Kp
4331 .data
4334 Kp:
4335 0010 00 .byte 0
4336 0011 00 .byte 0
4337 0012 80 .byte -128
4338 0013 3F .byte 63
4339 .global Ki
4342 Ki:
4343 0014 17 .byte 23
4344 0015 B7 .byte -73
4345 0016 D1 .byte -47
4346 0017 38 .byte 56
4347 .global Parameter_Luftdruck_D
4350 Parameter_Luftdruck_D:
4351 0018 30 .byte 48
4352 .global Parameter_MaxHoehe
4355 Parameter_MaxHoehe:
4356 0019 FB .byte -5
4357 .global Parameter_Hoehe_P
4360 Parameter_Hoehe_P:
4361 001a 10 .byte 16
4362 .global Parameter_Hoehe_ACC_Wirkung
4365 Parameter_Hoehe_ACC_Wirkung:
4366 001b 3A .byte 58
4367 .global Parameter_KompassWirkung
4370 Parameter_KompassWirkung:
4371 001c 40 .byte 64
4372 .global Parameter_Gyro_P
4375 Parameter_Gyro_P:
4376 001d 32 .byte 50
4377 .global Parameter_Gyro_I
4380 Parameter_Gyro_I:
4381 001e 96 .byte -106
4382 .global Parameter_Gier_P
4385 Parameter_Gier_P:
4386 001f 02 .byte 2
4387 .global Parameter_I_Faktor
4390 Parameter_I_Faktor:
4391 0020 0A .byte 10
4392 .global Parameter_UserParam1
4393 .global Parameter_UserParam1
4394 .section .bss
4397 Parameter_UserParam1:
4398 005d 00 .skip 1,0
4399 .global Parameter_UserParam2
4400 .global Parameter_UserParam2
4403 Parameter_UserParam2:
4404 005e 00 .skip 1,0
4405 .global Parameter_UserParam3
4406 .global Parameter_UserParam3
4409 Parameter_UserParam3:
4410 005f 00 .skip 1,0
4411 .global Parameter_UserParam4
4412 .global Parameter_UserParam4
4415 Parameter_UserParam4:
4416 0060 00 .skip 1,0
4417 .global Parameter_ServoNickControl
4418 .data
4421 Parameter_ServoNickControl:
4422 0021 64 .byte 100
4423 .lcomm SignalSchlecht.2342,2
4424 .lcomm NeueKompassRichtungMerken.2338,1
4425 .lcomm TimerWerteausgabe.2337,1
4426 .lcomm hoehenregler.2336,2
4427 .lcomm modell_fliegt.2335,2
4428 .lcomm delay_ausschalten.2334,1
4429 .lcomm delay_einschalten.2333,1
4430 .lcomm delay_neutral.2332,1
4431 .lcomm RcLostTimer.2331,2
4432 .lcomm IntegralFehlerRoll.2330,2
4433 .lcomm IntegralFehlerNick.2329,2
4434 .lcomm tmp_long2.2328,4
4435 .lcomm tmp_long.2327,4
4436 .lcomm sollGier.2326,4
4437 .lcomm SummeRoll.2325,4
4438 .lcomm SummeNick.2324,4
4439 .comm DiffNick,2,1
4440 .comm DiffRoll,2,1
4441 .comm RemoteTasten,1,1
4442 .comm MesswertNick,2,1
4443 .comm MesswertRoll,2,1
4444 .comm MesswertGier,2,1
4445 .comm Mittelwert_AccNick,2,1
4446 .comm Mittelwert_AccRoll,2,1
4447 .comm Mittelwert_AccHoch,2,1
4448 .comm h,1,1
4449 .comm m,1,1
4450 .comm s,1,1
4451 .comm Motor_Vorne,1,1
4452 .comm Motor_Hinten,1,1
4453 .comm Motor_Rechts,1,1
4454 .comm Motor_Links,1,1
4455 .comm Count,1,1
4456 .comm MotorWert,5,1
4457 .comm EE_Parameter,58,1
4458 .comm MAX_GAS,1,1
4459 .comm MIN_GAS,1,1
4460 .comm GyroFaktor,4,1
4461 .comm IntegralFaktor,4,1
4462 /* File "fc.c": code 5106 = 0x13f2 (5024), prologues 38, epilogues 44 */
DEFINED SYMBOLS
*ABS*:00000000 fc.c
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:3 *ABS*:0000003f __SREG__
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4 *ABS*:0000003e __SP_H__
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:5 *ABS*:0000003d __SP_L__
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:6 *ABS*:00000000 __tmp_reg__
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:7 *ABS*:00000001 __zero_reg__
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:13 .text:00000000 Mittelwert
*COM*:00000002 MesswertNick
*COM*:00000002 MesswertRoll
*COM*:00000002 MesswertGier
*COM*:00000002 Mittelwert_AccNick
*COM*:00000002 Mittelwert_AccRoll
*COM*:00000002 Mittelwert_AccHoch
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4220 .bss:00000035 Mess_Integral_Gier
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4190 .bss:00000021 Integral_Gier
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4196 .bss:00000025 Mess_IntegralNick
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4166 .bss:00000011 IntegralNick
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4208 .bss:0000002d Mess_IntegralRoll
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4178 .bss:00000019 IntegralRoll
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4202 .bss:00000029 Mess_IntegralNick2
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4172 .bss:00000015 IntegralNick2
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4214 .bss:00000031 Mess_IntegralRoll2
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4184 .bss:0000001d IntegralRoll2
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4268 .bss:00000049 Poti1
*COM*:0000003a EE_Parameter
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4274 .bss:0000004b Poti2
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4280 .bss:0000004d Poti3
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4286 .bss:0000004f Poti4
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:576 .text:00000582 CalibrierMittelwert
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:918 .text:000008ba ParameterZuordnung
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4355 .data:00000019 Parameter_MaxHoehe
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4350 .data:00000018 Parameter_Luftdruck_D
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4360 .data:0000001a Parameter_Hoehe_P
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4365 .data:0000001b Parameter_Hoehe_ACC_Wirkung
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4370 .data:0000001c Parameter_KompassWirkung
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4375 .data:0000001d Parameter_Gyro_P
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4380 .data:0000001e Parameter_Gyro_I
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4390 .data:00000020 Parameter_I_Faktor
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4397 .bss:0000005d Parameter_UserParam1
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4403 .bss:0000005e Parameter_UserParam2
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4409 .bss:0000005f Parameter_UserParam3
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4415 .bss:00000060 Parameter_UserParam4
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4421 .data:00000021 Parameter_ServoNickControl
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4342 .data:00000014 Ki
*COM*:00000001 MAX_GAS
*COM*:00000001 MIN_GAS
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:1484 .text:00000d54 DefaultKonstanten2
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:1570 .text:00000e2e DefaultKonstanten1
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:1654 .text:00000f10 SendMotorData
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4316 .bss:00000058 MotorenEin
*COM*:00000001 Motor_Hinten
*COM*:00000001 Motor_Vorne
*COM*:00000001 Motor_Rechts
*COM*:00000001 Motor_Links
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:1710 .text:00000f9e SetNeutral
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4136 .bss:00000007 NeutralAccX
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4142 .bss:00000009 NeutralAccY
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4148 .bss:0000000b NeutralAccZ
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4118 .bss:00000001 AdNeutralNick
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4124 .bss:00000003 AdNeutralRoll
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4130 .bss:00000005 AdNeutralGier
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4232 .bss:0000003d Mess_Integral_Hoch
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4238 .bss:00000041 KompassValue
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4244 .bss:00000043 KompassStartwert
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:1883 .text:0000119a Piep
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:1912 .text:000011c4 MotorRegler
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4292 .bss:00000051 SenderOkay
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4430 .bss:0000006c RcLostTimer.2331
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4256 .bss:00000047 Notlandung
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4426 .bss:00000067 modell_fliegt.2335
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4437 .bss:00000082 SummeNick.2324
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4436 .bss:0000007e SummeRoll.2325
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4226 .bss:00000039 Mess_Integral_Gier2
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4429 .bss:0000006b delay_neutral.2332
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4428 .bss:0000006a delay_einschalten.2333
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4435 .bss:0000007a sollGier.2326
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4427 .bss:00000069 delay_ausschalten.2334
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4298 .bss:00000052 StickNick
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4304 .bss:00000054 StickRoll
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4310 .bss:00000056 StickGier
*COM*:00000004 GyroFaktor
*COM*:00000004 IntegralFaktor
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4432 .bss:00000070 IntegralFehlerNick.2329
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4431 .bss:0000006e IntegralFehlerRoll.2330
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4434 .bss:00000076 tmp_long.2327
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4433 .bss:00000072 tmp_long2.2328
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4423 .bss:00000063 NeueKompassRichtungMerken.2338
.bss:00000061 SignalSchlecht.2342
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4250 .bss:00000045 KompassRichtung
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4424 .bss:00000064 TimerWerteausgabe.2337
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4322 .bss:00000059 HoehenWert
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4328 .bss:0000005b SollHoehe
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4262 .bss:00000048 HoehenReglerAktiv
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4425 .bss:00000065 hoehenregler.2336
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4334 .data:00000010 Kp
*COM*:00000002 DiffNick
*COM*:00000002 DiffRoll
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4112 .bss:00000000 Timeout
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4154 .bss:0000000f CosinusNickWinkel
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4160 .bss:00000010 CosinusRollWinkel
C:\DOKUME~1\peter\LOKALE~1\Temp/cccZSfLa.s:4385 .data:0000001f Parameter_Gier_P
*COM*:00000001 RemoteTasten
*COM*:00000001 h
*COM*:00000001 m
*COM*:00000001 s
*COM*:00000001 Count
*COM*:00000005 MotorWert
UNDEFINED SYMBOLS
__do_copy_data
__do_clear_bss
MessanzahlNick
AccumulateNick
__divmodhi4
MessanzahlRoll
AccumulateRoll
MessanzahlGier
AccumulateGier
messanzahl_AccNick
accumulate_AccNick
__divmodsi4
messanzahl_AccRoll
accumulate_AccRoll
messanzahl_AccHoch
accumulate_AccHoch
PPM_in
__floatsisf
__addsf3
__mulsf3
MotorTest
DebugOut
twi_state
motor
i2c_start
SetDelay
CheckDelay
MessLuftdruck
SucheLuftruckOffset
Aktuell_az
Luftdruck
StartLuftdruck
HoeheD
GPS_Neutral
beeptime
Delay_ms
PcZugriff
EEPromArray
__eeprom_write_byte_1F2021
GetActiveParamSetNumber
ReadParameterSet
NewPpmData
PPM_diff
__divsf3
__ltsf2
ZaehlMessungen
__mulsi3
__fixsfsi
GPS_Nick
GPS_Roll