Rev 21 | 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 82E3 ldi r24,lo8(50)
1870 1186 90E0 ldi r25,hi8(50)
1871 1188 9093 0000 sts (beeptime)+1,r25
1872 118c 8093 0000 sts beeptime,r24
1873 /* epilogue: frame size=0 */
1874 1190 DF91 pop r29
1875 1192 CF91 pop r28
1876 1194 0895 ret
1877 /* epilogue end (size=3) */
1878 /* function SetNeutral size 254 (249) */
1880 .global Piep
1882 Piep:
1883 /* prologue: frame size=0 */
1884 1196 1F93 push r17
1885 /* prologue end (size=1) */
1886 1198 182F mov r17,r24
1887 119a 00C0 rjmp .L373
1888 .L374:
1889 119c 8091 0000 lds r24,MotorenEin
1890 11a0 8823 tst r24
1891 11a2 01F4 brne .L377
1892 11a4 84E6 ldi r24,lo8(100)
1893 11a6 90E0 ldi r25,hi8(100)
1894 11a8 9093 0000 sts (beeptime)+1,r25
1895 11ac 8093 0000 sts beeptime,r24
1896 11b0 8AEF ldi r24,lo8(250)
1897 11b2 90E0 ldi r25,hi8(250)
1898 11b4 0E94 0000 call Delay_ms
1899 .L373:
1900 11b8 1150 subi r17,1
1901 11ba 00F4 brcc .L374
1902 .L377:
1903 /* epilogue: frame size=0 */
1904 11bc 1F91 pop r17
1905 11be 0895 ret
1906 /* epilogue end (size=2) */
1907 /* function Piep size 22 (19) */
1909 .global MotorRegler
1911 MotorRegler:
1912 /* prologue: frame size=4 */
1913 11c0 2F92 push r2
1914 11c2 3F92 push r3
1915 11c4 4F92 push r4
1916 11c6 5F92 push r5
1917 11c8 6F92 push r6
1918 11ca 7F92 push r7
1919 11cc 8F92 push r8
1920 11ce 9F92 push r9
1921 11d0 AF92 push r10
1922 11d2 BF92 push r11
1923 11d4 CF92 push r12
1924 11d6 DF92 push r13
1925 11d8 EF92 push r14
1926 11da FF92 push r15
1927 11dc 0F93 push r16
1928 11de 1F93 push r17
1929 11e0 CF93 push r28
1930 11e2 DF93 push r29
1931 11e4 CDB7 in r28,__SP_L__
1932 11e6 DEB7 in r29,__SP_H__
1933 11e8 2497 sbiw r28,4
1934 11ea 0FB6 in __tmp_reg__,__SREG__
1935 11ec F894 cli
1936 11ee DEBF out __SP_H__,r29
1937 11f0 0FBE out __SREG__,__tmp_reg__
1938 11f2 CDBF out __SP_L__,r28
1939 /* prologue end (size=26) */
1940 11f4 0E94 0000 call Mittelwert
1941 11f8 299A sbi 37-0x20,1
1942 11fa E091 0000 lds r30,EE_Parameter+2
1943 11fe AE2F mov r26,r30
1944 1200 BB27 clr r27
1945 1202 AA0F lsl r26
1946 1204 BB1F rol r27
1947 1206 A050 subi r26,lo8(-(PPM_in))
1948 1208 B040 sbci r27,hi8(-(PPM_in))
1949 120a 0D90 ld __tmp_reg__,X+
1950 120c BC91 ld r27,X
1951 120e A02D mov r26,__tmp_reg__
1952 1210 9D01 movw r18,r26
1953 1212 2858 subi r18,lo8(-(120))
1954 1214 3F4F sbci r19,hi8(-(120))
1955 1216 3A83 std Y+2,r19
1956 1218 2983 std Y+1,r18
1957 121a 37FF sbrs r19,7
1958 121c 00C0 rjmp .L379
1959 121e 1A82 std Y+2,__zero_reg__
1960 1220 1982 std Y+1,__zero_reg__
1961 .L379:
1962 1222 8091 0000 lds r24,SenderOkay
1963 1226 8436 cpi r24,lo8(100)
1964 1228 00F0 brlo .+2
1965 122a 00C0 rjmp .L380
1966 122c 8091 0000 lds r24,PcZugriff
1967 1230 8823 tst r24
1968 1232 01F4 brne .L382
1969 1234 84EF ldi r24,lo8(500)
1970 1236 91E0 ldi r25,hi8(500)
1971 1238 9093 0000 sts (beeptime)+1,r25
1972 123c 8093 0000 sts beeptime,r24
1973 .L382:
1974 1240 8091 0000 lds r24,RcLostTimer.2357
1975 1244 9091 0000 lds r25,(RcLostTimer.2357)+1
1976 1248 0097 sbiw r24,0
1977 124a 01F0 breq .L384
1978 124c 0197 sbiw r24,1
1979 124e 9093 0000 sts (RcLostTimer.2357)+1,r25
1980 1252 8093 0000 sts RcLostTimer.2357,r24
1981 1256 00C0 rjmp .L386
1982 .L384:
1983 1258 1092 0000 sts MotorenEin,__zero_reg__
1984 125c 1092 0000 sts Notlandung,__zero_reg__
1985 .L386:
1986 1260 289A sbi 37-0x20,0
1987 1262 8091 0000 lds r24,modell_fliegt.2361
1988 1266 9091 0000 lds r25,(modell_fliegt.2361)+1
1989 126a 815D subi r24,lo8(2001)
1990 126c 9740 sbci r25,hi8(2001)
1991 126e 00F0 brlo .L387
1992 1270 8091 0000 lds r24,EE_Parameter+25
1993 1274 482F mov r20,r24
1994 1276 5527 clr r21
1995 1278 5A83 std Y+2,r21
1996 127a 4983 std Y+1,r20
1997 127c 81E0 ldi r24,lo8(1)
1998 127e 8093 0000 sts Notlandung,r24
1999 1282 E091 0000 lds r30,EE_Parameter
2000 1286 FF27 clr r31
2001 1288 EE0F lsl r30
2002 128a FF1F rol r31
2003 128c E050 subi r30,lo8(-(PPM_in))
2004 128e F040 sbci r31,hi8(-(PPM_in))
2005 1290 1182 std Z+1,__zero_reg__
2006 1292 1082 st Z,__zero_reg__
2007 1294 E091 0000 lds r30,EE_Parameter+1
2008 1298 FF27 clr r31
2009 129a EE0F lsl r30
2010 129c FF1F rol r31
2011 129e E050 subi r30,lo8(-(PPM_in))
2012 12a0 F040 sbci r31,hi8(-(PPM_in))
2013 12a2 1182 std Z+1,__zero_reg__
2014 12a4 1082 st Z,__zero_reg__
2015 12a6 E091 0000 lds r30,EE_Parameter+3
2016 12aa FF27 clr r31
2017 12ac EE0F lsl r30
2018 12ae FF1F rol r31
2019 12b0 E050 subi r30,lo8(-(PPM_in))
2020 12b2 F040 sbci r31,hi8(-(PPM_in))
2021 12b4 1182 std Z+1,__zero_reg__
2022 12b6 1082 st Z,__zero_reg__
2023 12b8 00C0 rjmp .L389
2024 .L387:
2025 12ba 1092 0000 sts MotorenEin,__zero_reg__
2026 12be 00C0 rjmp .L389
2027 .L380:
2028 12c0 8091 0000 lds r24,SenderOkay
2029 12c4 8D38 cpi r24,lo8(-115)
2030 12c6 00F4 brsh .+2
2031 12c8 00C0 rjmp .L389
2032 12ca 1092 0000 sts Notlandung,__zero_reg__
2033 12ce 8091 0000 lds r24,EE_Parameter+26
2034 12d2 22E3 ldi r18,lo8(50)
2035 12d4 829F mul r24,r18
2036 12d6 C001 movw r24,r0
2037 12d8 1124 clr r1
2038 12da 9093 0000 sts (RcLostTimer.2357)+1,r25
2039 12de 8093 0000 sts RcLostTimer.2357,r24
2040 12e2 6981 ldd r22,Y+1
2041 12e4 7A81 ldd r23,Y+2
2042 12e6 6932 cpi r22,41
2043 12e8 7105 cpc r23,__zero_reg__
2044 12ea 04F0 brlt .L391
2045 12ec 8091 0000 lds r24,modell_fliegt.2361
2046 12f0 9091 0000 lds r25,(modell_fliegt.2361)+1
2047 12f4 7FEF ldi r23,hi8(-1)
2048 12f6 8F3F cpi r24,lo8(-1)
2049 12f8 9707 cpc r25,r23
2050 12fa 01F0 breq .L393
2051 12fc 0196 adiw r24,1
2052 12fe 9093 0000 sts (modell_fliegt.2361)+1,r25
2053 1302 8093 0000 sts modell_fliegt.2361,r24
2054 .L391:
2055 1306 8091 0000 lds r24,modell_fliegt.2361
2056 130a 9091 0000 lds r25,(modell_fliegt.2361)+1
2057 130e 883C cpi r24,200
2058 1310 9105 cpc r25,__zero_reg__
2059 1312 00F0 brlo .L395
2060 1314 8981 ldd r24,Y+1
2061 1316 9A81 ldd r25,Y+2
2062 1318 8897 sbiw r24,40
2063 131a 04F4 brge .L393
2064 .L395:
2065 131c 1092 0000 sts SummeNick.2350,__zero_reg__
2066 1320 1092 0000 sts (SummeNick.2350)+1,__zero_reg__
2067 1324 1092 0000 sts (SummeNick.2350)+2,__zero_reg__
2068 1328 1092 0000 sts (SummeNick.2350)+3,__zero_reg__
2069 132c 1092 0000 sts SummeRoll.2351,__zero_reg__
2070 1330 1092 0000 sts (SummeRoll.2351)+1,__zero_reg__
2071 1334 1092 0000 sts (SummeRoll.2351)+2,__zero_reg__
2072 1338 1092 0000 sts (SummeRoll.2351)+3,__zero_reg__
2073 133c 1092 0000 sts Mess_Integral_Gier,__zero_reg__
2074 1340 1092 0000 sts (Mess_Integral_Gier)+1,__zero_reg__
2075 1344 1092 0000 sts (Mess_Integral_Gier)+2,__zero_reg__
2076 1348 1092 0000 sts (Mess_Integral_Gier)+3,__zero_reg__
2077 134c 1092 0000 sts Mess_Integral_Gier2,__zero_reg__
2078 1350 1092 0000 sts (Mess_Integral_Gier2)+1,__zero_reg__
2079 1354 1092 0000 sts (Mess_Integral_Gier2)+2,__zero_reg__
2080 1358 1092 0000 sts (Mess_Integral_Gier2)+3,__zero_reg__
2081 .L393:
2082 135c E981 ldd r30,Y+1
2083 135e FA81 ldd r31,Y+2
2084 1360 E93C cpi r30,201
2085 1362 F105 cpc r31,__zero_reg__
2086 1364 04F4 brge .+2
2087 1366 00C0 rjmp .L397
2088 1368 8091 0000 lds r24,MotorenEin
2089 136c 8823 tst r24
2090 136e 01F0 breq .+2
2091 1370 00C0 rjmp .L389
2092 1372 E091 0000 lds r30,EE_Parameter+3
2093 1376 FF27 clr r31
2094 1378 EE0F lsl r30
2095 137a FF1F rol r31
2096 137c E050 subi r30,lo8(-(PPM_in))
2097 137e F040 sbci r31,hi8(-(PPM_in))
2098 1380 8081 ld r24,Z
2099 1382 9181 ldd r25,Z+1
2100 1384 8C34 cpi r24,76
2101 1386 9105 cpc r25,__zero_reg__
2102 1388 04F4 brge .+2
2103 138a 00C0 rjmp .L400
2104 138c 8091 0000 lds r24,delay_neutral.2358
2105 1390 8F5F subi r24,lo8(-(1))
2106 1392 8093 0000 sts delay_neutral.2358,r24
2107 1396 893C cpi r24,lo8(-55)
2108 1398 00F4 brsh .+2
2109 139a 00C0 rjmp .L389
2110 139c 2998 cbi 37-0x20,1
2111 139e 0E94 0000 call SetNeutral
2112 13a2 1092 0000 sts MotorenEin,__zero_reg__
2113 13a6 1092 0000 sts delay_neutral.2358,__zero_reg__
2114 13aa 1092 0000 sts (modell_fliegt.2361)+1,__zero_reg__
2115 13ae 1092 0000 sts modell_fliegt.2361,__zero_reg__
2116 13b2 8091 0000 lds r24,EE_Parameter
2117 13b6 282F mov r18,r24
2118 13b8 3327 clr r19
2119 13ba F901 movw r30,r18
2120 13bc EE0F lsl r30
2121 13be FF1F rol r31
2122 13c0 E050 subi r30,lo8(-(PPM_in))
2123 13c2 F040 sbci r31,hi8(-(PPM_in))
2124 13c4 8081 ld r24,Z
2125 13c6 9181 ldd r25,Z+1
2126 13c8 8734 cpi r24,71
2127 13ca 9105 cpc r25,__zero_reg__
2128 13cc 04F4 brge .L403
2129 13ce E091 0000 lds r30,EE_Parameter+1
2130 13d2 FF27 clr r31
2131 13d4 EE0F lsl r30
2132 13d6 FF1F rol r31
2133 13d8 E050 subi r30,lo8(-(PPM_in))
2134 13da F040 sbci r31,hi8(-(PPM_in))
2135 13dc 0190 ld __tmp_reg__,Z+
2136 13de F081 ld r31,Z
2137 13e0 E02D mov r30,__tmp_reg__
2138 13e2 F7FF sbrs r31,7
2139 13e4 00C0 rjmp .L406
2140 13e6 F095 com r31
2141 13e8 E195 neg r30
2142 13ea FF4F sbci r31,lo8(-1)
2143 .L406:
2144 13ec E734 cpi r30,71
2145 13ee F105 cpc r31,__zero_reg__
2146 13f0 04F4 brge .+2
2147 13f2 00C0 rjmp .L405
2148 .L403:
2149 13f4 8091 0000 lds r24,EE_Parameter+1
2150 13f8 682F mov r22,r24
2151 13fa 7727 clr r23
2152 13fc DB01 movw r26,r22
2153 13fe AA0F lsl r26
2154 1400 BB1F rol r27
2155 1402 A050 subi r26,lo8(-(PPM_in))
2156 1404 B040 sbci r27,hi8(-(PPM_in))
2157 1406 8D91 ld r24,X+
2158 1408 9C91 ld r25,X
2159 140a 1197 sbiw r26,1
2160 140c 8734 cpi r24,71
2161 140e 9105 cpc r25,__zero_reg__
2162 1410 04F0 brlt .L407
2163 1412 F901 movw r30,r18
2164 1414 EE0F lsl r30
2165 1416 FF1F rol r31
2166 1418 E050 subi r30,lo8(-(PPM_in))
2167 141a F040 sbci r31,hi8(-(PPM_in))
2168 141c 8081 ld r24,Z
2169 141e 9181 ldd r25,Z+1
2170 .L407:
2171 1420 8D91 ld r24,X+
2172 1422 9C91 ld r25,X
2173 1424 8734 cpi r24,71
2174 1426 9105 cpc r25,__zero_reg__
2175 1428 04F0 brlt .L409
2176 142a F901 movw r30,r18
2177 142c EE0F lsl r30
2178 142e FF1F rol r31
2179 1430 E050 subi r30,lo8(-(PPM_in))
2180 1432 F040 sbci r31,hi8(-(PPM_in))
2181 1434 8081 ld r24,Z
2182 1436 9181 ldd r25,Z+1
2183 1438 8734 cpi r24,71
2184 143a 9105 cpc r25,__zero_reg__
2185 143c 04F0 brlt .L409
2186 143e 42E0 ldi r20,lo8(2)
2187 1440 00C0 rjmp .L412
2188 .L409:
2189 1442 41E0 ldi r20,lo8(1)
2190 .L412:
2191 1444 FB01 movw r30,r22
2192 1446 EE0F lsl r30
2193 1448 FF1F rol r31
2194 144a E050 subi r30,lo8(-(PPM_in))
2195 144c F040 sbci r31,hi8(-(PPM_in))
2196 144e 8081 ld r24,Z
2197 1450 9181 ldd r25,Z+1
2198 1452 8634 cpi r24,70
2199 1454 9105 cpc r25,__zero_reg__
2200 1456 04F4 brge .L413
2201 1458 F901 movw r30,r18
2202 145a EE0F lsl r30
2203 145c FF1F rol r31
2204 145e E050 subi r30,lo8(-(PPM_in))
2205 1460 F040 sbci r31,hi8(-(PPM_in))
2206 1462 8081 ld r24,Z
2207 1464 9181 ldd r25,Z+1
2208 1466 8734 cpi r24,71
2209 1468 9105 cpc r25,__zero_reg__
2210 146a 04F0 brlt .L413
2211 146c 43E0 ldi r20,lo8(3)
2212 .L413:
2213 146e FB01 movw r30,r22
2214 1470 EE0F lsl r30
2215 1472 FF1F rol r31
2216 1474 E050 subi r30,lo8(-(PPM_in))
2217 1476 F040 sbci r31,hi8(-(PPM_in))
2218 1478 8081 ld r24,Z
2219 147a 9181 ldd r25,Z+1
2220 147c 8A5B subi r24,lo8(-70)
2221 147e 9F4F sbci r25,hi8(-70)
2222 1480 04F4 brge .L416
2223 1482 F901 movw r30,r18
2224 1484 EE0F lsl r30
2225 1486 FF1F rol r31
2226 1488 E050 subi r30,lo8(-(PPM_in))
2227 148a F040 sbci r31,hi8(-(PPM_in))
2228 148c 8081 ld r24,Z
2229 148e 9181 ldd r25,Z+1
2230 1490 8734 cpi r24,71
2231 1492 9105 cpc r25,__zero_reg__
2232 1494 04F0 brlt .L416
2233 1496 44E0 ldi r20,lo8(4)
2234 .L416:
2235 1498 660F lsl r22
2236 149a 771F rol r23
2237 149c 6050 subi r22,lo8(-(PPM_in))
2238 149e 7040 sbci r23,hi8(-(PPM_in))
2239 14a0 FB01 movw r30,r22
2240 14a2 8081 ld r24,Z
2241 14a4 9181 ldd r25,Z+1
2242 14a6 8A5B subi r24,lo8(-70)
2243 14a8 9F4F sbci r25,hi8(-70)
2244 14aa 04F4 brge .L419
2245 14ac 220F lsl r18
2246 14ae 331F rol r19
2247 14b0 2050 subi r18,lo8(-(PPM_in))
2248 14b2 3040 sbci r19,hi8(-(PPM_in))
2249 14b4 F901 movw r30,r18
2250 14b6 8081 ld r24,Z
2251 14b8 9181 ldd r25,Z+1
2252 14ba 8634 cpi r24,70
2253 14bc 9105 cpc r25,__zero_reg__
2254 14be 04F4 brge .L419
2255 14c0 45E0 ldi r20,lo8(5)
2256 .L419:
2257 14c2 A0E0 ldi r26,lo8(EEPromArray+2)
2258 14c4 B0E0 ldi r27,hi8(EEPromArray+2)
2259 /* #APP */
2260 14c6 042E mov __tmp_reg__,r20
2261 14c8 0E94 0000 call __eeprom_write_byte_1F2021
2262 /* #NOAPP */
2263 .L405:
2264 14cc 0E94 0000 call GetActiveParamSetNumber
2265 14d0 4AE3 ldi r20,lo8(58)
2266 14d2 60E0 ldi r22,lo8(EE_Parameter)
2267 14d4 70E0 ldi r23,hi8(EE_Parameter)
2268 14d6 0E94 0000 call ReadParameterSet
2269 14da 0E94 0000 call GetActiveParamSetNumber
2270 14de 0E94 0000 call Piep
2271 14e2 8091 0000 lds r24,EE_Parameter+8
2272 14e6 80FF sbrs r24,0
2273 14e8 00C0 rjmp .L389
2274 14ea 8091 0000 lds r24,MessLuftdruck
2275 14ee 9091 0000 lds r25,(MessLuftdruck)+1
2276 14f2 875B subi r24,lo8(951)
2277 14f4 9340 sbci r25,hi8(951)
2278 14f6 00F4 brsh .L423
2279 14f8 8091 0000 lds r24,MessLuftdruck
2280 14fc 9091 0000 lds r25,(MessLuftdruck)+1
2281 1500 8E5E subi r24,lo8(750)
2282 1502 9240 sbci r25,hi8(750)
2283 1504 00F0 brlo .+2
2284 1506 00C0 rjmp .L389
2285 .L423:
2286 1508 0E94 0000 call SucheLuftruckOffset
2287 150c 00C0 rjmp .L389
2288 .L400:
2289 150e 1092 0000 sts delay_neutral.2358,__zero_reg__
2290 1512 00C0 rjmp .L389
2291 .L397:
2292 1514 4981 ldd r20,Y+1
2293 1516 5A81 ldd r21,Y+2
2294 1518 4332 cpi r20,35
2295 151a 5105 cpc r21,__zero_reg__
2296 151c 04F0 brlt .+2
2297 151e 00C0 rjmp .L389
2298 1520 8091 0000 lds r24,EE_Parameter+3
2299 1524 482F mov r20,r24
2300 1526 5527 clr r21
2301 1528 FA01 movw r30,r20
2302 152a EE0F lsl r30
2303 152c FF1F rol r31
2304 152e E050 subi r30,lo8(-(PPM_in))
2305 1530 F040 sbci r31,hi8(-(PPM_in))
2306 1532 8081 ld r24,Z
2307 1534 9181 ldd r25,Z+1
2308 1536 855B subi r24,lo8(-75)
2309 1538 9F4F sbci r25,hi8(-75)
2310 153a 04F0 brlt .+2
2311 153c 00C0 rjmp .L426
2312 153e 8091 0000 lds r24,delay_einschalten.2359
2313 1542 8F5F subi r24,lo8(-(1))
2314 1544 8093 0000 sts delay_einschalten.2359,r24
2315 1548 893C cpi r24,lo8(-55)
2316 154a 00F4 brsh .+2
2317 154c 00C0 rjmp .L428
2318 154e 88EC ldi r24,lo8(-56)
2319 1550 8093 0000 sts delay_einschalten.2359,r24
2320 1554 81E0 ldi r24,lo8(1)
2321 1556 90E0 ldi r25,hi8(1)
2322 1558 9093 0000 sts (modell_fliegt.2361)+1,r25
2323 155c 8093 0000 sts modell_fliegt.2361,r24
2324 1560 81E0 ldi r24,lo8(1)
2325 1562 8093 0000 sts MotorenEin,r24
2326 1566 1092 0000 sts sollGier.2352,__zero_reg__
2327 156a 1092 0000 sts (sollGier.2352)+1,__zero_reg__
2328 156e 1092 0000 sts (sollGier.2352)+2,__zero_reg__
2329 1572 1092 0000 sts (sollGier.2352)+3,__zero_reg__
2330 1576 1092 0000 sts Mess_Integral_Gier,__zero_reg__
2331 157a 1092 0000 sts (Mess_Integral_Gier)+1,__zero_reg__
2332 157e 1092 0000 sts (Mess_Integral_Gier)+2,__zero_reg__
2333 1582 1092 0000 sts (Mess_Integral_Gier)+3,__zero_reg__
2334 1586 1092 0000 sts Mess_Integral_Gier2,__zero_reg__
2335 158a 1092 0000 sts (Mess_Integral_Gier2)+1,__zero_reg__
2336 158e 1092 0000 sts (Mess_Integral_Gier2)+2,__zero_reg__
2337 1592 1092 0000 sts (Mess_Integral_Gier2)+3,__zero_reg__
2338 1596 1092 0000 sts Mess_IntegralNick,__zero_reg__
2339 159a 1092 0000 sts (Mess_IntegralNick)+1,__zero_reg__
2340 159e 1092 0000 sts (Mess_IntegralNick)+2,__zero_reg__
2341 15a2 1092 0000 sts (Mess_IntegralNick)+3,__zero_reg__
2342 15a6 1092 0000 sts Mess_IntegralRoll,__zero_reg__
2343 15aa 1092 0000 sts (Mess_IntegralRoll)+1,__zero_reg__
2344 15ae 1092 0000 sts (Mess_IntegralRoll)+2,__zero_reg__
2345 15b2 1092 0000 sts (Mess_IntegralRoll)+3,__zero_reg__
2346 15b6 8091 0000 lds r24,IntegralNick
2347 15ba 9091 0000 lds r25,(IntegralNick)+1
2348 15be A091 0000 lds r26,(IntegralNick)+2
2349 15c2 B091 0000 lds r27,(IntegralNick)+3
2350 15c6 8093 0000 sts Mess_IntegralNick2,r24
2351 15ca 9093 0000 sts (Mess_IntegralNick2)+1,r25
2352 15ce A093 0000 sts (Mess_IntegralNick2)+2,r26
2353 15d2 B093 0000 sts (Mess_IntegralNick2)+3,r27
2354 15d6 8091 0000 lds r24,IntegralRoll
2355 15da 9091 0000 lds r25,(IntegralRoll)+1
2356 15de A091 0000 lds r26,(IntegralRoll)+2
2357 15e2 B091 0000 lds r27,(IntegralRoll)+3
2358 15e6 8093 0000 sts Mess_IntegralRoll2,r24
2359 15ea 9093 0000 sts (Mess_IntegralRoll2)+1,r25
2360 15ee A093 0000 sts (Mess_IntegralRoll2)+2,r26
2361 15f2 B093 0000 sts (Mess_IntegralRoll2)+3,r27
2362 15f6 1092 0000 sts SummeNick.2350,__zero_reg__
2363 15fa 1092 0000 sts (SummeNick.2350)+1,__zero_reg__
2364 15fe 1092 0000 sts (SummeNick.2350)+2,__zero_reg__
2365 1602 1092 0000 sts (SummeNick.2350)+3,__zero_reg__
2366 1606 1092 0000 sts SummeRoll.2351,__zero_reg__
2367 160a 1092 0000 sts (SummeRoll.2351)+1,__zero_reg__
2368 160e 1092 0000 sts (SummeRoll.2351)+2,__zero_reg__
2369 1612 1092 0000 sts (SummeRoll.2351)+3,__zero_reg__
2370 1616 00C0 rjmp .L428
2371 .L426:
2372 1618 1092 0000 sts delay_einschalten.2359,__zero_reg__
2373 .L428:
2374 161c 440F lsl r20
2375 161e 551F rol r21
2376 1620 4050 subi r20,lo8(-(PPM_in))
2377 1622 5040 sbci r21,hi8(-(PPM_in))
2378 1624 FA01 movw r30,r20
2379 1626 8081 ld r24,Z
2380 1628 9181 ldd r25,Z+1
2381 162a 8C34 cpi r24,76
2382 162c 9105 cpc r25,__zero_reg__
2383 162e 04F0 brlt .L430
2384 1630 8091 0000 lds r24,delay_ausschalten.2360
2385 1634 8F5F subi r24,lo8(-(1))
2386 1636 8093 0000 sts delay_ausschalten.2360,r24
2387 163a 893C cpi r24,lo8(-55)
2388 163c 00F0 brlo .L389
2389 163e 1092 0000 sts MotorenEin,__zero_reg__
2390 1642 88EC ldi r24,lo8(-56)
2391 1644 8093 0000 sts delay_ausschalten.2360,r24
2392 1648 1092 0000 sts (modell_fliegt.2361)+1,__zero_reg__
2393 164c 1092 0000 sts modell_fliegt.2361,__zero_reg__
2394 1650 00C0 rjmp .L389
2395 .L430:
2396 1652 1092 0000 sts delay_ausschalten.2360,__zero_reg__
2397 .L389:
2398 1656 8091 0000 lds r24,NewPpmData
2399 165a 8150 subi r24,lo8(-(-1))
2400 165c 8093 0000 sts NewPpmData,r24
2401 1660 8091 0000 lds r24,NewPpmData
2402 1664 8F3F cpi r24,lo8(-1)
2403 1666 01F0 breq .L433
2404 1668 8091 0000 lds r24,Notlandung
2405 166c 8823 tst r24
2406 166e 01F4 brne .+2
2407 1670 00C0 rjmp .L435
2408 .L433:
2409 1672 0E94 0000 call ParameterZuordnung
2410 1676 E091 0000 lds r30,EE_Parameter
2411 167a FF27 clr r31
2412 167c EE0F lsl r30
2413 167e FF1F rol r31
2414 1680 DF01 movw r26,r30
2415 1682 A050 subi r26,lo8(-(PPM_in))
2416 1684 B040 sbci r27,hi8(-(PPM_in))
2417 1686 8D91 ld r24,X+
2418 1688 9C91 ld r25,X
2419 168a 6091 0000 lds r22,EE_Parameter+15
2420 168e 7727 clr r23
2421 1690 E050 subi r30,lo8(-(PPM_diff))
2422 1692 F040 sbci r31,hi8(-(PPM_diff))
2423 1694 2081 ld r18,Z
2424 1696 3181 ldd r19,Z+1
2425 1698 4091 0000 lds r20,EE_Parameter+16
2426 169c 5527 clr r21
2427 169e FC01 movw r30,r24
2428 16a0 E69F mul r30,r22
2429 16a2 C001 movw r24,r0
2430 16a4 E79F mul r30,r23
2431 16a6 900D add r25,r0
2432 16a8 F69F mul r31,r22
2433 16aa 900D add r25,r0
2434 16ac 1124 clr r1
2435 16ae F901 movw r30,r18
2436 16b0 E49F mul r30,r20
2437 16b2 9001 movw r18,r0
2438 16b4 E59F mul r30,r21
2439 16b6 300D add r19,r0
2440 16b8 F49F mul r31,r20
2441 16ba 300D add r19,r0
2442 16bc 1124 clr r1
2443 16be 820F add r24,r18
2444 16c0 931F adc r25,r19
2445 16c2 9093 0000 sts (StickNick)+1,r25
2446 16c6 8093 0000 sts StickNick,r24
2447 16ca E091 0000 lds r30,EE_Parameter+1
2448 16ce FF27 clr r31
2449 16d0 EE0F lsl r30
2450 16d2 FF1F rol r31
2451 16d4 DF01 movw r26,r30
2452 16d6 A050 subi r26,lo8(-(PPM_in))
2453 16d8 B040 sbci r27,hi8(-(PPM_in))
2454 16da 8D91 ld r24,X+
2455 16dc 9C91 ld r25,X
2456 16de E050 subi r30,lo8(-(PPM_diff))
2457 16e0 F040 sbci r31,hi8(-(PPM_diff))
2458 16e2 2081 ld r18,Z
2459 16e4 3181 ldd r19,Z+1
2460 16e6 FC01 movw r30,r24
2461 16e8 E69F mul r30,r22
2462 16ea C001 movw r24,r0
2463 16ec E79F mul r30,r23
2464 16ee 900D add r25,r0
2465 16f0 F69F mul r31,r22
2466 16f2 900D add r25,r0
2467 16f4 1124 clr r1
2468 16f6 B901 movw r22,r18
2469 16f8 649F mul r22,r20
2470 16fa 9001 movw r18,r0
2471 16fc 659F mul r22,r21
2472 16fe 300D add r19,r0
2473 1700 749F mul r23,r20
2474 1702 300D add r19,r0
2475 1704 1124 clr r1
2476 1706 820F add r24,r18
2477 1708 931F adc r25,r19
2478 170a 9093 0000 sts (StickRoll)+1,r25
2479 170e 8093 0000 sts StickRoll,r24
2480 1712 E091 0000 lds r30,EE_Parameter+3
2481 1716 FF27 clr r31
2482 1718 EE0F lsl r30
2483 171a FF1F rol r31
2484 171c E050 subi r30,lo8(-(PPM_in))
2485 171e F040 sbci r31,hi8(-(PPM_in))
2486 1720 8081 ld r24,Z
2487 1722 9181 ldd r25,Z+1
2488 1724 9095 com r25
2489 1726 8195 neg r24
2490 1728 9F4F sbci r25,lo8(-1)
2491 172a 9093 0000 sts (StickGier)+1,r25
2492 172e 8093 0000 sts StickGier,r24
2493 1732 1091 0000 lds r17,Parameter_Gyro_P
2494 1736 612F mov r22,r17
2495 1738 7727 clr r23
2496 173a 67FD sbrc r22,7
2497 173c 7095 com r23
2498 173e 872F mov r24,r23
2499 1740 972F mov r25,r23
2500 1742 0E94 0000 call __floatsisf
2501 1746 17FF sbrs r17,7
2502 1748 00C0 rjmp .L436
2503 174a 20E0 ldi r18,lo8(0x43800000)
2504 174c 30E0 ldi r19,hi8(0x43800000)
2505 174e 40E8 ldi r20,hlo8(0x43800000)
2506 1750 53E4 ldi r21,hhi8(0x43800000)
2507 1752 0E94 0000 call __addsf3
2508 .L436:
2509 1756 20E0 ldi r18,lo8(0x41200000)
2510 1758 30E0 ldi r19,hi8(0x41200000)
2511 175a 40E2 ldi r20,hlo8(0x41200000)
2512 175c 51E4 ldi r21,hhi8(0x41200000)
2513 175e 0E94 0000 call __addsf3
2514 1762 20E0 ldi r18,lo8(0x3b800000)
2515 1764 30E0 ldi r19,hi8(0x3b800000)
2516 1766 40E8 ldi r20,hlo8(0x3b800000)
2517 1768 5BE3 ldi r21,hhi8(0x3b800000)
2518 176a 0E94 0000 call __mulsf3
2519 176e 5B01 movw r10,r22
2520 1770 6C01 movw r12,r24
2521 1772 6093 0000 sts GyroFaktor,r22
2522 1776 7093 0000 sts (GyroFaktor)+1,r23
2523 177a 8093 0000 sts (GyroFaktor)+2,r24
2524 177e 9093 0000 sts (GyroFaktor)+3,r25
2525 1782 1091 0000 lds r17,Parameter_Gyro_I
2526 1786 612F mov r22,r17
2527 1788 7727 clr r23
2528 178a 67FD sbrc r22,7
2529 178c 7095 com r23
2530 178e 872F mov r24,r23
2531 1790 972F mov r25,r23
2532 1792 0E94 0000 call __floatsisf
2533 1796 17FF sbrs r17,7
2534 1798 00C0 rjmp .L437
2535 179a 20E0 ldi r18,lo8(0x43800000)
2536 179c 30E0 ldi r19,hi8(0x43800000)
2537 179e 40E8 ldi r20,hlo8(0x43800000)
2538 17a0 53E4 ldi r21,hhi8(0x43800000)
2539 17a2 0E94 0000 call __addsf3
2540 .L437:
2541 17a6 20E0 ldi r18,lo8(0x472be000)
2542 17a8 30EE ldi r19,hi8(0x472be000)
2543 17aa 4BE2 ldi r20,hlo8(0x472be000)
2544 17ac 57E4 ldi r21,hhi8(0x472be000)
2545 17ae 0E94 0000 call __divsf3
2546 17b2 6093 0000 sts IntegralFaktor,r22
2547 17b6 7093 0000 sts (IntegralFaktor)+1,r23
2548 17ba 8093 0000 sts (IntegralFaktor)+2,r24
2549 17be 9093 0000 sts (IntegralFaktor)+3,r25
2550 17c2 8091 0000 lds r24,EE_Parameter+8
2551 17c6 82FF sbrs r24,2
2552 17c8 00C0 rjmp .L438
2553 17ca 80E0 ldi r24,lo8(0x0)
2554 17cc 90E0 ldi r25,hi8(0x0)
2555 17ce A0E0 ldi r26,hlo8(0x0)
2556 17d0 B0E0 ldi r27,hhi8(0x0)
2557 17d2 8093 0000 sts IntegralFaktor,r24
2558 17d6 9093 0000 sts (IntegralFaktor)+1,r25
2559 17da A093 0000 sts (IntegralFaktor)+2,r26
2560 17de B093 0000 sts (IntegralFaktor)+3,r27
2561 .L438:
2562 17e2 20E0 ldi r18,lo8(0x0)
2563 17e4 30E0 ldi r19,hi8(0x0)
2564 17e6 40E0 ldi r20,hlo8(0x0)
2565 17e8 50E0 ldi r21,hhi8(0x0)
2566 17ea C601 movw r24,r12
2567 17ec B501 movw r22,r10
2568 17ee 0E94 0000 call __ltsf2
2569 17f2 8823 tst r24
2570 17f4 04F4 brge .L440
2571 17f6 80E0 ldi r24,lo8(0x0)
2572 17f8 90E0 ldi r25,hi8(0x0)
2573 17fa A0E0 ldi r26,hlo8(0x0)
2574 17fc B0E0 ldi r27,hhi8(0x0)
2575 17fe 8093 0000 sts GyroFaktor,r24
2576 1802 9093 0000 sts (GyroFaktor)+1,r25
2577 1806 A093 0000 sts (GyroFaktor)+2,r26
2578 180a B093 0000 sts (GyroFaktor)+3,r27
2579 .L440:
2580 180e 20E0 ldi r18,lo8(0x0)
2581 1810 30E0 ldi r19,hi8(0x0)
2582 1812 40E0 ldi r20,hlo8(0x0)
2583 1814 50E0 ldi r21,hhi8(0x0)
2584 1816 6091 0000 lds r22,IntegralFaktor
2585 181a 7091 0000 lds r23,(IntegralFaktor)+1
2586 181e 8091 0000 lds r24,(IntegralFaktor)+2
2587 1822 9091 0000 lds r25,(IntegralFaktor)+3
2588 1826 0E94 0000 call __ltsf2
2589 182a 8823 tst r24
2590 182c 04F4 brge .L443
2591 182e 80E0 ldi r24,lo8(0x0)
2592 1830 90E0 ldi r25,hi8(0x0)
2593 1832 A0E0 ldi r26,hlo8(0x0)
2594 1834 B0E0 ldi r27,hhi8(0x0)
2595 1836 8093 0000 sts IntegralFaktor,r24
2596 183a 9093 0000 sts (IntegralFaktor)+1,r25
2597 183e A093 0000 sts (IntegralFaktor)+2,r26
2598 1842 B093 0000 sts (IntegralFaktor)+3,r27
2599 .L443:
2600 1846 8091 0000 lds r24,Notlandung
2601 184a 8823 tst r24
2602 184c 01F0 breq .L435
2603 184e 1092 0000 sts (StickGier)+1,__zero_reg__
2604 1852 1092 0000 sts StickGier,__zero_reg__
2605 1856 1092 0000 sts (StickNick)+1,__zero_reg__
2606 185a 1092 0000 sts StickNick,__zero_reg__
2607 185e 1092 0000 sts (StickRoll)+1,__zero_reg__
2608 1862 1092 0000 sts StickRoll,__zero_reg__
2609 1866 8DEC ldi r24,lo8(0x3dcccccd)
2610 1868 9CEC ldi r25,hi8(0x3dcccccd)
2611 186a ACEC ldi r26,hlo8(0x3dcccccd)
2612 186c BDE3 ldi r27,hhi8(0x3dcccccd)
2613 186e 8093 0000 sts GyroFaktor,r24
2614 1872 9093 0000 sts (GyroFaktor)+1,r25
2615 1876 A093 0000 sts (GyroFaktor)+2,r26
2616 187a B093 0000 sts (GyroFaktor)+3,r27
2617 187e 8AE0 ldi r24,lo8(0x3ba3d70a)
2618 1880 97ED ldi r25,hi8(0x3ba3d70a)
2619 1882 A3EA ldi r26,hlo8(0x3ba3d70a)
2620 1884 BBE3 ldi r27,hhi8(0x3ba3d70a)
2621 1886 8093 0000 sts IntegralFaktor,r24
2622 188a 9093 0000 sts (IntegralFaktor)+1,r25
2623 188e A093 0000 sts (IntegralFaktor)+2,r26
2624 1892 B093 0000 sts (IntegralFaktor)+3,r27
2625 .L435:
2626 1896 8091 0000 lds r24,ZaehlMessungen
2627 189a 9091 0000 lds r25,(ZaehlMessungen)+1
2628 189e 8D54 subi r24,lo8(333)
2629 18a0 9140 sbci r25,hi8(333)
2630 18a2 00F4 brsh .+2
2631 18a4 00C0 rjmp .L447
2632 18a6 2091 0000 lds r18,IntegralNick2
2633 18aa 3091 0000 lds r19,(IntegralNick2)+1
2634 18ae 4091 0000 lds r20,(IntegralNick2)+2
2635 18b2 5091 0000 lds r21,(IntegralNick2)+3
2636 18b6 8091 0000 lds r24,IntegralNick
2637 18ba 9091 0000 lds r25,(IntegralNick)+1
2638 18be A091 0000 lds r26,(IntegralNick)+2
2639 18c2 B091 0000 lds r27,(IntegralNick)+3
2640 18c6 B901 movw r22,r18
2641 18c8 681B sub r22,r24
2642 18ca 790B sbc r23,r25
2643 18cc 7093 0000 sts (IntegralFehlerNick.2355)+1,r23
2644 18d0 6093 0000 sts IntegralFehlerNick.2355,r22
2645 18d4 2091 0000 lds r18,IntegralRoll2
2646 18d8 3091 0000 lds r19,(IntegralRoll2)+1
2647 18dc 4091 0000 lds r20,(IntegralRoll2)+2
2648 18e0 5091 0000 lds r21,(IntegralRoll2)+3
2649 18e4 8091 0000 lds r24,IntegralRoll
2650 18e8 9091 0000 lds r25,(IntegralRoll)+1
2651 18ec A091 0000 lds r26,(IntegralRoll)+2
2652 18f0 B091 0000 lds r27,(IntegralRoll)+3
2653 18f4 281B sub r18,r24
2654 18f6 390B sbc r19,r25
2655 18f8 3093 0000 sts (IntegralFehlerRoll.2356)+1,r19
2656 18fc 2093 0000 sts IntegralFehlerRoll.2356,r18
2657 1900 1092 0000 sts (ZaehlMessungen)+1,__zero_reg__
2658 1904 1092 0000 sts ZaehlMessungen,__zero_reg__
2659 1908 673A cpi r22,167
2660 190a 7105 cpc r23,__zero_reg__
2661 190c 04F0 brlt .L449
2662 190e 8091 0000 lds r24,AdNeutralNick
2663 1912 9091 0000 lds r25,(AdNeutralNick)+1
2664 1916 0196 adiw r24,1
2665 1918 00C0 rjmp .L576
2666 .L449:
2667 191a 6A55 subi r22,lo8(-166)
2668 191c 7F4F sbci r23,hi8(-166)
2669 191e 04F4 brge .L451
2670 1920 8091 0000 lds r24,AdNeutralNick
2671 1924 9091 0000 lds r25,(AdNeutralNick)+1
2672 1928 0197 sbiw r24,1
2673 .L576:
2674 192a 9093 0000 sts (AdNeutralNick)+1,r25
2675 192e 8093 0000 sts AdNeutralNick,r24
2676 .L451:
2677 1932 273A cpi r18,167
2678 1934 3105 cpc r19,__zero_reg__
2679 1936 04F0 brlt .L453
2680 1938 8091 0000 lds r24,AdNeutralRoll
2681 193c 9091 0000 lds r25,(AdNeutralRoll)+1
2682 1940 0196 adiw r24,1
2683 1942 00C0 rjmp .L577
2684 .L453:
2685 1944 2A55 subi r18,lo8(-166)
2686 1946 3F4F sbci r19,hi8(-166)
2687 1948 04F4 brge .L455
2688 194a 8091 0000 lds r24,AdNeutralRoll
2689 194e 9091 0000 lds r25,(AdNeutralRoll)+1
2690 1952 0197 sbiw r24,1
2691 .L577:
2692 1954 9093 0000 sts (AdNeutralRoll)+1,r25
2693 1958 8093 0000 sts AdNeutralRoll,r24
2694 .L455:
2695 195c 8091 0000 lds r24,Mess_Integral_Gier2
2696 1960 9091 0000 lds r25,(Mess_Integral_Gier2)+1
2697 1964 A091 0000 lds r26,(Mess_Integral_Gier2)+2
2698 1968 B091 0000 lds r27,(Mess_Integral_Gier2)+3
2699 196c 873A cpi r24,lo8(167)
2700 196e 9105 cpc r25,__zero_reg__
2701 1970 A105 cpc r26,__zero_reg__
2702 1972 B105 cpc r27,__zero_reg__
2703 1974 04F0 brlt .L457
2704 1976 8091 0000 lds r24,AdNeutralGier
2705 197a 9091 0000 lds r25,(AdNeutralGier)+1
2706 197e 0197 sbiw r24,1
2707 1980 9093 0000 sts (AdNeutralGier)+1,r25
2708 1984 8093 0000 sts AdNeutralGier,r24
2709 .L457:
2710 1988 8091 0000 lds r24,Mess_Integral_Gier2
2711 198c 9091 0000 lds r25,(Mess_Integral_Gier2)+1
2712 1990 A091 0000 lds r26,(Mess_Integral_Gier2)+2
2713 1994 B091 0000 lds r27,(Mess_Integral_Gier2)+3
2714 1998 8A55 subi r24,lo8(-166)
2715 199a 9F4F sbci r25,hi8(-166)
2716 199c AF4F sbci r26,hlo8(-166)
2717 199e BF4F sbci r27,hhi8(-166)
2718 19a0 04F4 brge .L459
2719 19a2 8091 0000 lds r24,AdNeutralGier
2720 19a6 9091 0000 lds r25,(AdNeutralGier)+1
2721 19aa 0196 adiw r24,1
2722 19ac 9093 0000 sts (AdNeutralGier)+1,r25
2723 19b0 8093 0000 sts AdNeutralGier,r24
2724 .L459:
2725 19b4 1092 7A00 sts 122,__zero_reg__
2726 19b8 8091 0000 lds r24,IntegralNick
2727 19bc 9091 0000 lds r25,(IntegralNick)+1
2728 19c0 A091 0000 lds r26,(IntegralNick)+2
2729 19c4 B091 0000 lds r27,(IntegralNick)+3
2730 19c8 8093 0000 sts Mess_IntegralNick2,r24
2731 19cc 9093 0000 sts (Mess_IntegralNick2)+1,r25
2732 19d0 A093 0000 sts (Mess_IntegralNick2)+2,r26
2733 19d4 B093 0000 sts (Mess_IntegralNick2)+3,r27
2734 19d8 8091 0000 lds r24,IntegralRoll
2735 19dc 9091 0000 lds r25,(IntegralRoll)+1
2736 19e0 A091 0000 lds r26,(IntegralRoll)+2
2737 19e4 B091 0000 lds r27,(IntegralRoll)+3
2738 19e8 8093 0000 sts Mess_IntegralRoll2,r24
2739 19ec 9093 0000 sts (Mess_IntegralRoll2)+1,r25
2740 19f0 A093 0000 sts (Mess_IntegralRoll2)+2,r26
2741 19f4 B093 0000 sts (Mess_IntegralRoll2)+3,r27
2742 19f8 8091 0000 lds r24,Integral_Gier
2743 19fc 9091 0000 lds r25,(Integral_Gier)+1
2744 1a00 A091 0000 lds r26,(Integral_Gier)+2
2745 1a04 B091 0000 lds r27,(Integral_Gier)+3
2746 1a08 8093 0000 sts Mess_Integral_Gier2,r24
2747 1a0c 9093 0000 sts (Mess_Integral_Gier2)+1,r25
2748 1a10 A093 0000 sts (Mess_Integral_Gier2)+2,r26
2749 1a14 B093 0000 sts (Mess_Integral_Gier2)+3,r27
2750 1a18 8FEE ldi r24,lo8(-17)
2751 1a1a 8093 7A00 sts 122,r24
2752 .L447:
2753 1a1e 6091 0000 lds r22,IntegralNick
2754 1a22 7091 0000 lds r23,(IntegralNick)+1
2755 1a26 8091 0000 lds r24,(IntegralNick)+2
2756 1a2a 9091 0000 lds r25,(IntegralNick)+3
2757 1a2e A090 0000 lds r10,EE_Parameter+20
2758 1a32 BB24 clr r11
2759 1a34 CC24 clr r12
2760 1a36 DD24 clr r13
2761 1a38 E090 0000 lds r14,Mittelwert_AccNick
2762 1a3c F090 0000 lds r15,(Mittelwert_AccNick)+1
2763 1a40 A601 movw r20,r12
2764 1a42 9501 movw r18,r10
2765 1a44 0E94 0000 call __divmodsi4
2766 1a48 0027 clr r16
2767 1a4a F7FC sbrc r15,7
2768 1a4c 0095 com r16
2769 1a4e 102F mov r17,r16
2770 1a50 2E19 sub r18,r14
2771 1a52 3F09 sbc r19,r15
2772 1a54 400B sbc r20,r16
2773 1a56 510B sbc r21,r17
2774 1a58 CA01 movw r24,r20
2775 1a5a B901 movw r22,r18
2776 1a5c 20E1 ldi r18,lo8(16)
2777 1a5e 30E0 ldi r19,hi8(16)
2778 1a60 40E0 ldi r20,hlo8(16)
2779 1a62 50E0 ldi r21,hhi8(16)
2780 1a64 0E94 0000 call __divmodsi4
2781 1a68 3901 movw r6,r18
2782 1a6a 4A01 movw r8,r20
2783 1a6c 2093 0000 sts tmp_long.2353,r18
2784 1a70 3093 0000 sts (tmp_long.2353)+1,r19
2785 1a74 4093 0000 sts (tmp_long.2353)+2,r20
2786 1a78 5093 0000 sts (tmp_long.2353)+3,r21
2787 1a7c 6091 0000 lds r22,IntegralRoll
2788 1a80 7091 0000 lds r23,(IntegralRoll)+1
2789 1a84 8091 0000 lds r24,(IntegralRoll)+2
2790 1a88 9091 0000 lds r25,(IntegralRoll)+3
2791 1a8c E090 0000 lds r14,Mittelwert_AccRoll
2792 1a90 F090 0000 lds r15,(Mittelwert_AccRoll)+1
2793 1a94 A601 movw r20,r12
2794 1a96 9501 movw r18,r10
2795 1a98 0E94 0000 call __divmodsi4
2796 1a9c 0027 clr r16
2797 1a9e F7FC sbrc r15,7
2798 1aa0 0095 com r16
2799 1aa2 102F mov r17,r16
2800 1aa4 2E19 sub r18,r14
2801 1aa6 3F09 sbc r19,r15
2802 1aa8 400B sbc r20,r16
2803 1aaa 510B sbc r21,r17
2804 1aac CA01 movw r24,r20
2805 1aae B901 movw r22,r18
2806 1ab0 20E1 ldi r18,lo8(16)
2807 1ab2 30E0 ldi r19,hi8(16)
2808 1ab4 40E0 ldi r20,hlo8(16)
2809 1ab6 50E0 ldi r21,hhi8(16)
2810 1ab8 0E94 0000 call __divmodsi4
2811 1abc 2093 0000 sts tmp_long2.2354,r18
2812 1ac0 3093 0000 sts (tmp_long2.2354)+1,r19
2813 1ac4 4093 0000 sts (tmp_long2.2354)+2,r20
2814 1ac8 5093 0000 sts (tmp_long2.2354)+3,r21
2815 1acc F5EF ldi r31,lo8(501)
2816 1ace 6F16 cp r6,r31
2817 1ad0 F1E0 ldi r31,hi8(501)
2818 1ad2 7F06 cpc r7,r31
2819 1ad4 F0E0 ldi r31,hlo8(501)
2820 1ad6 8F06 cpc r8,r31
2821 1ad8 F0E0 ldi r31,hhi8(501)
2822 1ada 9F06 cpc r9,r31
2823 1adc 04F0 brlt .L461
2824 1ade 84EF ldi r24,lo8(500)
2825 1ae0 91E0 ldi r25,hi8(500)
2826 1ae2 A0E0 ldi r26,hlo8(500)
2827 1ae4 B0E0 ldi r27,hhi8(500)
2828 1ae6 00C0 rjmp .L578
2829 .L461:
2830 1ae8 6CE0 ldi r22,lo8(-500)
2831 1aea 6616 cp r6,r22
2832 1aec 6EEF ldi r22,hi8(-500)
2833 1aee 7606 cpc r7,r22
2834 1af0 6FEF ldi r22,hlo8(-500)
2835 1af2 8606 cpc r8,r22
2836 1af4 6FEF ldi r22,hhi8(-500)
2837 1af6 9606 cpc r9,r22
2838 1af8 04F4 brge .L463
2839 1afa 8CE0 ldi r24,lo8(-500)
2840 1afc 9EEF ldi r25,hi8(-500)
2841 1afe AFEF ldi r26,hlo8(-500)
2842 1b00 BFEF ldi r27,hhi8(-500)
2843 .L578:
2844 1b02 8093 0000 sts tmp_long.2353,r24
2845 1b06 9093 0000 sts (tmp_long.2353)+1,r25
2846 1b0a A093 0000 sts (tmp_long.2353)+2,r26
2847 1b0e B093 0000 sts (tmp_long.2353)+3,r27
2848 .L463:
2849 1b12 253F cpi r18,lo8(501)
2850 1b14 71E0 ldi r23,hi8(501)
2851 1b16 3707 cpc r19,r23
2852 1b18 70E0 ldi r23,hlo8(501)
2853 1b1a 4707 cpc r20,r23
2854 1b1c 70E0 ldi r23,hhi8(501)
2855 1b1e 5707 cpc r21,r23
2856 1b20 04F0 brlt .L465
2857 1b22 84EF ldi r24,lo8(500)
2858 1b24 91E0 ldi r25,hi8(500)
2859 1b26 A0E0 ldi r26,hlo8(500)
2860 1b28 B0E0 ldi r27,hhi8(500)
2861 1b2a 00C0 rjmp .L579
2862 .L465:
2863 1b2c 2C50 subi r18,lo8(-500)
2864 1b2e 3E4F sbci r19,hi8(-500)
2865 1b30 4F4F sbci r20,hlo8(-500)
2866 1b32 5F4F sbci r21,hhi8(-500)
2867 1b34 04F4 brge .L467
2868 1b36 8CE0 ldi r24,lo8(-500)
2869 1b38 9EEF ldi r25,hi8(-500)
2870 1b3a AFEF ldi r26,hlo8(-500)
2871 1b3c BFEF ldi r27,hhi8(-500)
2872 .L579:
2873 1b3e 8093 0000 sts tmp_long2.2354,r24
2874 1b42 9093 0000 sts (tmp_long2.2354)+1,r25
2875 1b46 A093 0000 sts (tmp_long2.2354)+2,r26
2876 1b4a B093 0000 sts (tmp_long2.2354)+3,r27
2877 .L467:
2878 1b4e 1092 7A00 sts 122,__zero_reg__
2879 1b52 8091 0000 lds r24,Mess_IntegralNick
2880 1b56 9091 0000 lds r25,(Mess_IntegralNick)+1
2881 1b5a A091 0000 lds r26,(Mess_IntegralNick)+2
2882 1b5e B091 0000 lds r27,(Mess_IntegralNick)+3
2883 1b62 2091 0000 lds r18,tmp_long.2353
2884 1b66 3091 0000 lds r19,(tmp_long.2353)+1
2885 1b6a 4091 0000 lds r20,(tmp_long.2353)+2
2886 1b6e 5091 0000 lds r21,(tmp_long.2353)+3
2887 1b72 821B sub r24,r18
2888 1b74 930B sbc r25,r19
2889 1b76 A40B sbc r26,r20
2890 1b78 B50B sbc r27,r21
2891 1b7a 8093 0000 sts Mess_IntegralNick,r24
2892 1b7e 9093 0000 sts (Mess_IntegralNick)+1,r25
2893 1b82 A093 0000 sts (Mess_IntegralNick)+2,r26
2894 1b86 B093 0000 sts (Mess_IntegralNick)+3,r27
2895 1b8a 8091 0000 lds r24,Mess_IntegralRoll
2896 1b8e 9091 0000 lds r25,(Mess_IntegralRoll)+1
2897 1b92 A091 0000 lds r26,(Mess_IntegralRoll)+2
2898 1b96 B091 0000 lds r27,(Mess_IntegralRoll)+3
2899 1b9a 2091 0000 lds r18,tmp_long2.2354
2900 1b9e 3091 0000 lds r19,(tmp_long2.2354)+1
2901 1ba2 4091 0000 lds r20,(tmp_long2.2354)+2
2902 1ba6 5091 0000 lds r21,(tmp_long2.2354)+3
2903 1baa 821B sub r24,r18
2904 1bac 930B sbc r25,r19
2905 1bae A40B sbc r26,r20
2906 1bb0 B50B sbc r27,r21
2907 1bb2 8093 0000 sts Mess_IntegralRoll,r24
2908 1bb6 9093 0000 sts (Mess_IntegralRoll)+1,r25
2909 1bba A093 0000 sts (Mess_IntegralRoll)+2,r26
2910 1bbe B093 0000 sts (Mess_IntegralRoll)+3,r27
2911 1bc2 8091 0000 lds r24,StickGier
2912 1bc6 9091 0000 lds r25,(StickGier)+1
2913 1bca 5C01 movw r10,r24
2914 1bcc CC24 clr r12
2915 1bce B7FC sbrc r11,7
2916 1bd0 C094 com r12
2917 1bd2 DC2C mov r13,r12
2918 1bd4 A092 0000 sts sollGier.2352,r10
2919 1bd8 B092 0000 sts (sollGier.2352)+1,r11
2920 1bdc C092 0000 sts (sollGier.2352)+2,r12
2921 1be0 D092 0000 sts (sollGier.2352)+3,r13
2922 1be4 97FF sbrs r25,7
2923 1be6 00C0 rjmp .L470
2924 1be8 9095 com r25
2925 1bea 8195 neg r24
2926 1bec 9F4F sbci r25,lo8(-1)
2927 .L470:
2928 1bee 8497 sbiw r24,36
2929 1bf0 04F0 brlt .L469
2930 1bf2 8091 0000 lds r24,EE_Parameter+8
2931 1bf6 84FD sbrc r24,4
2932 1bf8 00C0 rjmp .L469
2933 1bfa 81E0 ldi r24,lo8(1)
2934 1bfc 8093 0000 sts NeueKompassRichtungMerken.2364,r24
2935 .L469:
2936 1c00 6090 0000 lds r6,Mess_Integral_Gier
2937 1c04 7090 0000 lds r7,(Mess_Integral_Gier)+1
2938 1c08 8090 0000 lds r8,(Mess_Integral_Gier)+2
2939 1c0c 9090 0000 lds r9,(Mess_Integral_Gier)+3
2940 1c10 C501 movw r24,r10
2941 1c12 B7FE sbrs r11,7
2942 1c14 00C0 rjmp .L473
2943 1c16 9095 com r25
2944 1c18 8195 neg r24
2945 1c1a 9F4F sbci r25,lo8(-1)
2946 .L473:
2947 1c1c 7C01 movw r14,r24
2948 1c1e 0027 clr r16
2949 1c20 F7FC sbrc r15,7
2950 1c22 0095 com r16
2951 1c24 102F mov r17,r16
2952 1c26 2091 0000 lds r18,EE_Parameter+17
2953 1c2a 3327 clr r19
2954 1c2c 4427 clr r20
2955 1c2e 5527 clr r21
2956 1c30 C601 movw r24,r12
2957 1c32 B501 movw r22,r10
2958 1c34 0E94 0000 call __mulsi3
2959 1c38 9B01 movw r18,r22
2960 1c3a AC01 movw r20,r24
2961 1c3c C801 movw r24,r16
2962 1c3e B701 movw r22,r14
2963 1c40 0E94 0000 call __mulsi3
2964 1c44 20E0 ldi r18,lo8(256)
2965 1c46 31E0 ldi r19,hi8(256)
2966 1c48 40E0 ldi r20,hlo8(256)
2967 1c4a 50E0 ldi r21,hhi8(256)
2968 1c4c 0E94 0000 call __divmodsi4
2969 1c50 4427 clr r20
2970 1c52 37FD sbrc r19,7
2971 1c54 4095 com r20
2972 1c56 542F mov r21,r20
2973 1c58 621A sub r6,r18
2974 1c5a 730A sbc r7,r19
2975 1c5c 840A sbc r8,r20
2976 1c5e 950A sbc r9,r21
2977 1c60 6092 0000 sts Mess_Integral_Gier,r6
2978 1c64 7092 0000 sts (Mess_Integral_Gier)+1,r7
2979 1c68 8092 0000 sts (Mess_Integral_Gier)+2,r8
2980 1c6c 9092 0000 sts (Mess_Integral_Gier)+3,r9
2981 1c70 8091 0000 lds r24,Mess_Integral_Gier
2982 1c74 9091 0000 lds r25,(Mess_Integral_Gier)+1
2983 1c78 A091 0000 lds r26,(Mess_Integral_Gier)+2
2984 1c7c B091 0000 lds r27,(Mess_Integral_Gier)+3
2985 1c80 8153 subi r24,lo8(30001)
2986 1c82 9547 sbci r25,hi8(30001)
2987 1c84 A040 sbci r26,hlo8(30001)
2988 1c86 B040 sbci r27,hhi8(30001)
2989 1c88 04F0 brlt .L474
2990 1c8a 80E3 ldi r24,lo8(30000)
2991 1c8c 95E7 ldi r25,hi8(30000)
2992 1c8e A0E0 ldi r26,hlo8(30000)
2993 1c90 B0E0 ldi r27,hhi8(30000)
2994 1c92 8093 0000 sts Mess_Integral_Gier,r24
2995 1c96 9093 0000 sts (Mess_Integral_Gier)+1,r25
2996 1c9a A093 0000 sts (Mess_Integral_Gier)+2,r26
2997 1c9e B093 0000 sts (Mess_Integral_Gier)+3,r27
2998 .L474:
2999 1ca2 8091 0000 lds r24,Mess_Integral_Gier
3000 1ca6 9091 0000 lds r25,(Mess_Integral_Gier)+1
3001 1caa A091 0000 lds r26,(Mess_Integral_Gier)+2
3002 1cae B091 0000 lds r27,(Mess_Integral_Gier)+3
3003 1cb2 805D subi r24,lo8(-30000)
3004 1cb4 9A48 sbci r25,hi8(-30000)
3005 1cb6 AF4F sbci r26,hlo8(-30000)
3006 1cb8 BF4F sbci r27,hhi8(-30000)
3007 1cba 04F4 brge .L476
3008 1cbc 80ED ldi r24,lo8(-30000)
3009 1cbe 9AE8 ldi r25,hi8(-30000)
3010 1cc0 AFEF ldi r26,hlo8(-30000)
3011 1cc2 BFEF ldi r27,hhi8(-30000)
3012 1cc4 8093 0000 sts Mess_Integral_Gier,r24
3013 1cc8 9093 0000 sts (Mess_Integral_Gier)+1,r25
3014 1ccc A093 0000 sts (Mess_Integral_Gier)+2,r26
3015 1cd0 B093 0000 sts (Mess_Integral_Gier)+3,r27
3016 .L476:
3017 1cd4 8FEE ldi r24,lo8(-17)
3018 1cd6 8093 7A00 sts 122,r24
3019 1cda 8091 0000 lds r24,KompassValue
3020 1cde 9091 0000 lds r25,(KompassValue)+1
3021 1ce2 892B or r24,r25
3022 1ce4 01F4 brne .+2
3023 1ce6 00C0 rjmp .L478
3024 1ce8 8091 0000 lds r24,EE_Parameter+8
3025 1cec 83FF sbrs r24,3
3026 1cee 00C0 rjmp .L478
3027 1cf0 6091 0000 lds r22,IntegralNick
3028 1cf4 7091 0000 lds r23,(IntegralNick)+1
3029 1cf8 8091 0000 lds r24,(IntegralNick)+2
3030 1cfc 9091 0000 lds r25,(IntegralNick)+3
3031 1d00 20E0 ldi r18,lo8(512)
3032 1d02 32E0 ldi r19,hi8(512)
3033 1d04 40E0 ldi r20,hlo8(512)
3034 1d06 50E0 ldi r21,hhi8(512)
3035 1d08 0E94 0000 call __divmodsi4
3036 1d0c 8901 movw r16,r18
3037 1d0e 37FF sbrs r19,7
3038 1d10 00C0 rjmp .L481
3039 1d12 1095 com r17
3040 1d14 0195 neg r16
3041 1d16 1F4F sbci r17,lo8(-1)
3042 .L481:
3043 1d18 6091 0000 lds r22,IntegralRoll
3044 1d1c 7091 0000 lds r23,(IntegralRoll)+1
3045 1d20 8091 0000 lds r24,(IntegralRoll)+2
3046 1d24 9091 0000 lds r25,(IntegralRoll)+3
3047 1d28 20E0 ldi r18,lo8(512)
3048 1d2a 32E0 ldi r19,hi8(512)
3049 1d2c 40E0 ldi r20,hlo8(512)
3050 1d2e 50E0 ldi r21,hhi8(512)
3051 1d30 0E94 0000 call __divmodsi4
3052 1d34 B901 movw r22,r18
3053 1d36 37FF sbrs r19,7
3054 1d38 00C0 rjmp .L482
3055 1d3a 7095 com r23
3056 1d3c 6195 neg r22
3057 1d3e 7F4F sbci r23,lo8(-1)
3058 .L482:
3059 1d40 6017 cp r22,r16
3060 1d42 7107 cpc r23,r17
3061 1d44 04F4 brge .L483
3062 1d46 B801 movw r22,r16
3063 .L483:
3064 1d48 6931 cpi r22,25
3065 1d4a 7105 cpc r23,__zero_reg__
3066 1d4c 04F4 brge .L484
3067 1d4e 8091 0000 lds r24,NeueKompassRichtungMerken.2364
3068 1d52 8823 tst r24
3069 1d54 01F0 breq .L484
3070 1d56 8091 0000 lds r24,SignalSchlecht.2368
3071 1d5a 9091 0000 lds r25,(SignalSchlecht.2368)+1
3072 1d5e 892B or r24,r25
3073 1d60 01F4 brne .L484
3074 1d62 8091 0000 lds r24,KompassValue
3075 1d66 9091 0000 lds r25,(KompassValue)+1
3076 1d6a 9093 0000 sts (KompassStartwert)+1,r25
3077 1d6e 8093 0000 sts KompassStartwert,r24
3078 1d72 1092 0000 sts NeueKompassRichtungMerken.2364,__zero_reg__
3079 .L484:
3080 1d76 2091 0000 lds r18,Parameter_KompassWirkung
3081 1d7a 3327 clr r19
3082 1d7c 629F mul r22,r18
3083 1d7e C001 movw r24,r0
3084 1d80 639F mul r22,r19
3085 1d82 900D add r25,r0
3086 1d84 729F mul r23,r18
3087 1d86 900D add r25,r0
3088 1d88 1124 clr r1
3089 1d8a 60E4 ldi r22,lo8(64)
3090 1d8c 70E0 ldi r23,hi8(64)
3091 1d8e 0E94 0000 call __divmodhi4
3092 1d92 A901 movw r20,r18
3093 1d94 461B sub r20,r22
3094 1d96 570B sbc r21,r23
3095 1d98 1416 cp __zero_reg__,r20
3096 1d9a 1506 cpc __zero_reg__,r21
3097 1d9c 04F0 brlt .+2
3098 1d9e 00C0 rjmp .L488
3099 1da0 1092 7A00 sts 122,__zero_reg__
3100 1da4 2091 0000 lds r18,SignalSchlecht.2368
3101 1da8 3091 0000 lds r19,(SignalSchlecht.2368)+1
3102 1dac 2115 cp r18,__zero_reg__
3103 1dae 3105 cpc r19,__zero_reg__
3104 1db0 01F4 brne .L490
3105 1db2 0091 0000 lds r16,Mess_Integral_Gier
3106 1db6 1091 0000 lds r17,(Mess_Integral_Gier)+1
3107 1dba 2091 0000 lds r18,(Mess_Integral_Gier)+2
3108 1dbe 3091 0000 lds r19,(Mess_Integral_Gier)+3
3109 1dc2 8091 0000 lds r24,KompassRichtung
3110 1dc6 9091 0000 lds r25,(KompassRichtung)+1
3111 1dca BC01 movw r22,r24
3112 1dcc 649F mul r22,r20
3113 1dce C001 movw r24,r0
3114 1dd0 659F mul r22,r21
3115 1dd2 900D add r25,r0
3116 1dd4 749F mul r23,r20
3117 1dd6 900D add r25,r0
3118 1dd8 1124 clr r1
3119 1dda 60E2 ldi r22,lo8(32)
3120 1ddc 70E0 ldi r23,hi8(32)
3121 1dde 0E94 0000 call __divmodhi4
3122 1de2 8827 clr r24
3123 1de4 77FD sbrc r23,7
3124 1de6 8095 com r24
3125 1de8 982F mov r25,r24
3126 1dea 060F add r16,r22
3127 1dec 171F adc r17,r23
3128 1dee 281F adc r18,r24
3129 1df0 391F adc r19,r25
3130 1df2 0093 0000 sts Mess_Integral_Gier,r16
3131 1df6 1093 0000 sts (Mess_Integral_Gier)+1,r17
3132 1dfa 2093 0000 sts (Mess_Integral_Gier)+2,r18
3133 1dfe 3093 0000 sts (Mess_Integral_Gier)+3,r19
3134 1e02 8FEE ldi r24,lo8(-17)
3135 1e04 8093 7A00 sts 122,r24
3136 1e08 00C0 rjmp .L478
3137 .L490:
3138 1e0a 8FEE ldi r24,lo8(-17)
3139 1e0c 8093 7A00 sts 122,r24
3140 1e10 2150 subi r18,lo8(-(-1))
3141 1e12 3040 sbci r19,hi8(-(-1))
3142 1e14 3093 0000 sts (SignalSchlecht.2368)+1,r19
3143 1e18 2093 0000 sts SignalSchlecht.2368,r18
3144 1e1c 00C0 rjmp .L478
3145 .L488:
3146 1e1e 84EF ldi r24,lo8(500)
3147 1e20 91E0 ldi r25,hi8(500)
3148 1e22 9093 0000 sts (SignalSchlecht.2368)+1,r25
3149 1e26 8093 0000 sts SignalSchlecht.2368,r24
3150 .L478:
3151 1e2a 8091 0000 lds r24,EE_Parameter+8
3152 1e2e 85FF sbrs r24,5
3153 1e30 00C0 rjmp .L492
3154 1e32 8091 0000 lds r24,Parameter_UserParam1
3155 1e36 9927 clr r25
3156 1e38 9093 0000 sts (gps_p)+1,r25
3157 1e3c 8093 0000 sts gps_p,r24
3158 1e40 8091 0000 lds r24,Parameter_UserParam2
3159 1e44 9927 clr r25
3160 1e46 9093 0000 sts (gps_d)+1,r25
3161 1e4a 8093 0000 sts gps_d,r24
3162 1e4e 0E94 0000 call gps_main
3163 1e52 00C0 rjmp .L494
3164 .L492:
3165 1e54 1092 0000 sts (GPS_Nick)+1,__zero_reg__
3166 1e58 1092 0000 sts GPS_Nick,__zero_reg__
3167 1e5c 1092 0000 sts (GPS_Roll)+1,__zero_reg__
3168 1e60 1092 0000 sts GPS_Roll,__zero_reg__
3169 .L494:
3170 1e64 8091 0000 lds r24,DebugOut+17
3171 1e68 8F5F subi r24,lo8(-(1))
3172 1e6a 8093 0000 sts DebugOut+17,r24
3173 1e6e 8091 0000 lds r24,TimerWerteausgabe.2363
3174 1e72 8150 subi r24,lo8(-(-1))
3175 1e74 8093 0000 sts TimerWerteausgabe.2363,r24
3176 1e78 8F3F cpi r24,lo8(-1)
3177 1e7a 01F0 breq .+2
3178 1e7c 00C0 rjmp .L495
3179 1e7e 81E3 ldi r24,lo8(49)
3180 1e80 8093 0000 sts TimerWerteausgabe.2363,r24
3181 1e84 6091 0000 lds r22,IntegralNick
3182 1e88 7091 0000 lds r23,(IntegralNick)+1
3183 1e8c 8091 0000 lds r24,(IntegralNick)+2
3184 1e90 9091 0000 lds r25,(IntegralNick)+3
3185 1e94 E090 0000 lds r14,EE_Parameter+20
3186 1e98 FF24 clr r15
3187 1e9a 0027 clr r16
3188 1e9c 1127 clr r17
3189 1e9e A801 movw r20,r16
3190 1ea0 9701 movw r18,r14
3191 1ea2 0E94 0000 call __divmodsi4
3192 1ea6 3093 0000 sts (DebugOut+18)+1,r19
3193 1eaa 2093 0000 sts DebugOut+18,r18
3194 1eae 6091 0000 lds r22,IntegralRoll
3195 1eb2 7091 0000 lds r23,(IntegralRoll)+1
3196 1eb6 8091 0000 lds r24,(IntegralRoll)+2
3197 1eba 9091 0000 lds r25,(IntegralRoll)+3
3198 1ebe A801 movw r20,r16
3199 1ec0 9701 movw r18,r14
3200 1ec2 0E94 0000 call __divmodsi4
3201 1ec6 3093 0000 sts (DebugOut+20)+1,r19
3202 1eca 2093 0000 sts DebugOut+20,r18
3203 1ece 8091 0000 lds r24,Mittelwert_AccNick
3204 1ed2 9091 0000 lds r25,(Mittelwert_AccNick)+1
3205 1ed6 9093 0000 sts (DebugOut+22)+1,r25
3206 1eda 8093 0000 sts DebugOut+22,r24
3207 1ede 8091 0000 lds r24,Mittelwert_AccRoll
3208 1ee2 9091 0000 lds r25,(Mittelwert_AccRoll)+1
3209 1ee6 9093 0000 sts (DebugOut+24)+1,r25
3210 1eea 8093 0000 sts DebugOut+24,r24
3211 1eee 8091 0000 lds r24,MesswertGier
3212 1ef2 9091 0000 lds r25,(MesswertGier)+1
3213 1ef6 9093 0000 sts (DebugOut+26)+1,r25
3214 1efa 8093 0000 sts DebugOut+26,r24
3215 1efe 8091 0000 lds r24,HoehenWert
3216 1f02 9091 0000 lds r25,(HoehenWert)+1
3217 1f06 9093 0000 sts (DebugOut+28)+1,r25
3218 1f0a 8093 0000 sts DebugOut+28,r24
3219 1f0e 6091 0000 lds r22,Mess_Integral_Hoch
3220 1f12 7091 0000 lds r23,(Mess_Integral_Hoch)+1
3221 1f16 8091 0000 lds r24,(Mess_Integral_Hoch)+2
3222 1f1a 9091 0000 lds r25,(Mess_Integral_Hoch)+3
3223 1f1e 20E0 ldi r18,lo8(512)
3224 1f20 32E0 ldi r19,hi8(512)
3225 1f22 40E0 ldi r20,hlo8(512)
3226 1f24 50E0 ldi r21,hhi8(512)
3227 1f26 0E94 0000 call __divmodsi4
3228 1f2a 3093 0000 sts (DebugOut+30)+1,r19
3229 1f2e 2093 0000 sts DebugOut+30,r18
3230 1f32 8981 ldd r24,Y+1
3231 1f34 9A81 ldd r25,Y+2
3232 1f36 9093 0000 sts (DebugOut+32)+1,r25
3233 1f3a 8093 0000 sts DebugOut+32,r24
3234 1f3e 8091 0000 lds r24,KompassValue
3235 1f42 9091 0000 lds r25,(KompassValue)+1
3236 1f46 9093 0000 sts (DebugOut+34)+1,r25
3237 1f4a 8093 0000 sts DebugOut+34,r24
3238 .L495:
3239 1f4e 6091 0000 lds r22,IntegralNick
3240 1f52 7091 0000 lds r23,(IntegralNick)+1
3241 1f56 8091 0000 lds r24,(IntegralNick)+2
3242 1f5a 9091 0000 lds r25,(IntegralNick)+3
3243 1f5e 2090 0000 lds r2,IntegralFaktor
3244 1f62 3090 0000 lds r3,(IntegralFaktor)+1
3245 1f66 4090 0000 lds r4,(IntegralFaktor)+2
3246 1f6a 5090 0000 lds r5,(IntegralFaktor)+3
3247 1f6e E090 0000 lds r14,MesswertNick
3248 1f72 F090 0000 lds r15,(MesswertNick)+1
3249 1f76 6090 0000 lds r6,GyroFaktor
3250 1f7a 7090 0000 lds r7,(GyroFaktor)+1
3251 1f7e 8090 0000 lds r8,(GyroFaktor)+2
3252 1f82 9090 0000 lds r9,(GyroFaktor)+3
3253 1f86 0E94 0000 call __floatsisf
3254 1f8a A201 movw r20,r4
3255 1f8c 9101 movw r18,r2
3256 1f8e 0E94 0000 call __mulsf3
3257 1f92 5B01 movw r10,r22
3258 1f94 6C01 movw r12,r24
3259 1f96 0027 clr r16
3260 1f98 F7FC sbrc r15,7
3261 1f9a 0095 com r16
3262 1f9c 102F mov r17,r16
3263 1f9e C801 movw r24,r16
3264 1fa0 B701 movw r22,r14
3265 1fa2 0E94 0000 call __floatsisf
3266 1fa6 A401 movw r20,r8
3267 1fa8 9301 movw r18,r6
3268 1faa 0E94 0000 call __mulsf3
3269 1fae 9B01 movw r18,r22
3270 1fb0 AC01 movw r20,r24
3271 1fb2 C601 movw r24,r12
3272 1fb4 B501 movw r22,r10
3273 1fb6 0E94 0000 call __addsf3
3274 1fba 0E94 0000 call __fixsfsi
3275 1fbe 7093 0000 sts (MesswertNick)+1,r23
3276 1fc2 6093 0000 sts MesswertNick,r22
3277 1fc6 6091 0000 lds r22,IntegralRoll
3278 1fca 7091 0000 lds r23,(IntegralRoll)+1
3279 1fce 8091 0000 lds r24,(IntegralRoll)+2
3280 1fd2 9091 0000 lds r25,(IntegralRoll)+3
3281 1fd6 E090 0000 lds r14,MesswertRoll
3282 1fda F090 0000 lds r15,(MesswertRoll)+1
3283 1fde 0E94 0000 call __floatsisf
3284 1fe2 A201 movw r20,r4
3285 1fe4 9101 movw r18,r2
3286 1fe6 0E94 0000 call __mulsf3
3287 1fea 5B01 movw r10,r22
3288 1fec 6C01 movw r12,r24
3289 1fee 0027 clr r16
3290 1ff0 F7FC sbrc r15,7
3291 1ff2 0095 com r16
3292 1ff4 102F mov r17,r16
3293 1ff6 C801 movw r24,r16
3294 1ff8 B701 movw r22,r14
3295 1ffa 0E94 0000 call __floatsisf
3296 1ffe A401 movw r20,r8
3297 2000 9301 movw r18,r6
3298 2002 0E94 0000 call __mulsf3
3299 2006 9B01 movw r18,r22
3300 2008 AC01 movw r20,r24
3301 200a C601 movw r24,r12
3302 200c B501 movw r22,r10
3303 200e 0E94 0000 call __addsf3
3304 2012 0E94 0000 call __fixsfsi
3305 2016 7093 0000 sts (MesswertRoll)+1,r23
3306 201a 6093 0000 sts MesswertRoll,r22
3307 201e 6091 0000 lds r22,MesswertGier
3308 2022 7091 0000 lds r23,(MesswertGier)+1
3309 2026 A090 0000 lds r10,Integral_Gier
3310 202a B090 0000 lds r11,(Integral_Gier)+1
3311 202e C090 0000 lds r12,(Integral_Gier)+2
3312 2032 D090 0000 lds r13,(Integral_Gier)+3
3313 2036 8827 clr r24
3314 2038 77FD sbrc r23,7
3315 203a 8095 com r24
3316 203c 982F mov r25,r24
3317 203e 0E94 0000 call __floatsisf
3318 2042 7B01 movw r14,r22
3319 2044 8C01 movw r16,r24
3320 2046 20E0 ldi r18,lo8(0x3f000000)
3321 2048 30E0 ldi r19,hi8(0x3f000000)
3322 204a 40E0 ldi r20,hlo8(0x3f000000)
3323 204c 5FE3 ldi r21,hhi8(0x3f000000)
3324 204e C401 movw r24,r8
3325 2050 B301 movw r22,r6
3326 2052 0E94 0000 call __mulsf3
3327 2056 9B01 movw r18,r22
3328 2058 AC01 movw r20,r24
3329 205a C801 movw r24,r16
3330 205c B701 movw r22,r14
3331 205e 0E94 0000 call __mulsf3
3332 2062 7B01 movw r14,r22
3333 2064 8C01 movw r16,r24
3334 2066 C601 movw r24,r12
3335 2068 B501 movw r22,r10
3336 206a 0E94 0000 call __floatsisf
3337 206e A201 movw r20,r4
3338 2070 9101 movw r18,r2
3339 2072 0E94 0000 call __mulsf3
3340 2076 9B01 movw r18,r22
3341 2078 AC01 movw r20,r24
3342 207a C801 movw r24,r16
3343 207c B701 movw r22,r14
3344 207e 0E94 0000 call __addsf3
3345 2082 0E94 0000 call __fixsfsi
3346 2086 7093 0000 sts (MesswertGier)+1,r23
3347 208a 6093 0000 sts MesswertGier,r22
3348 208e 8091 0000 lds r24,MesswertNick
3349 2092 9091 0000 lds r25,(MesswertNick)+1
3350 2096 8150 subi r24,lo8(2049)
3351 2098 9840 sbci r25,hi8(2049)
3352 209a 04F0 brlt .L497
3353 209c 80E0 ldi r24,lo8(2048)
3354 209e 98E0 ldi r25,hi8(2048)
3355 20a0 9093 0000 sts (MesswertNick)+1,r25
3356 20a4 8093 0000 sts MesswertNick,r24
3357 .L497:
3358 20a8 8091 0000 lds r24,MesswertNick
3359 20ac 9091 0000 lds r25,(MesswertNick)+1
3360 20b0 8050 subi r24,lo8(-2048)
3361 20b2 984F sbci r25,hi8(-2048)
3362 20b4 04F4 brge .L499
3363 20b6 80E0 ldi r24,lo8(-2048)
3364 20b8 98EF ldi r25,hi8(-2048)
3365 20ba 9093 0000 sts (MesswertNick)+1,r25
3366 20be 8093 0000 sts MesswertNick,r24
3367 .L499:
3368 20c2 8091 0000 lds r24,MesswertRoll
3369 20c6 9091 0000 lds r25,(MesswertRoll)+1
3370 20ca 8150 subi r24,lo8(2049)
3371 20cc 9840 sbci r25,hi8(2049)
3372 20ce 04F0 brlt .L501
3373 20d0 80E0 ldi r24,lo8(2048)
3374 20d2 98E0 ldi r25,hi8(2048)
3375 20d4 9093 0000 sts (MesswertRoll)+1,r25
3376 20d8 8093 0000 sts MesswertRoll,r24
3377 .L501:
3378 20dc 8091 0000 lds r24,MesswertRoll
3379 20e0 9091 0000 lds r25,(MesswertRoll)+1
3380 20e4 8050 subi r24,lo8(-2048)
3381 20e6 984F sbci r25,hi8(-2048)
3382 20e8 04F4 brge .L503
3383 20ea 80E0 ldi r24,lo8(-2048)
3384 20ec 98EF ldi r25,hi8(-2048)
3385 20ee 9093 0000 sts (MesswertRoll)+1,r25
3386 20f2 8093 0000 sts MesswertRoll,r24
3387 .L503:
3388 20f6 8091 0000 lds r24,MesswertGier
3389 20fa 9091 0000 lds r25,(MesswertGier)+1
3390 20fe 8150 subi r24,lo8(2049)
3391 2100 9840 sbci r25,hi8(2049)
3392 2102 04F0 brlt .L505
3393 2104 80E0 ldi r24,lo8(2048)
3394 2106 98E0 ldi r25,hi8(2048)
3395 2108 9093 0000 sts (MesswertGier)+1,r25
3396 210c 8093 0000 sts MesswertGier,r24
3397 .L505:
3398 2110 8091 0000 lds r24,MesswertGier
3399 2114 9091 0000 lds r25,(MesswertGier)+1
3400 2118 8050 subi r24,lo8(-2048)
3401 211a 984F sbci r25,hi8(-2048)
3402 211c 04F4 brge .L507
3403 211e 80E0 ldi r24,lo8(-2048)
3404 2120 98EF ldi r25,hi8(-2048)
3405 2122 9093 0000 sts (MesswertGier)+1,r25
3406 2126 8093 0000 sts MesswertGier,r24
3407 .L507:
3408 212a 8091 0000 lds r24,EE_Parameter+8
3409 212e 9927 clr r25
3410 2130 80FF sbrs r24,0
3411 2132 00C0 rjmp .L509
3412 2134 2091 0000 lds r18,Parameter_MaxHoehe
3413 2138 81FF sbrs r24,1
3414 213a 00C0 rjmp .L511
3415 213c 2233 cpi r18,lo8(50)
3416 213e 00F4 brsh .L580
3417 2140 8091 0000 lds r24,HoehenWert
3418 2144 9091 0000 lds r25,(HoehenWert)+1
3419 2148 4497 sbiw r24,20
3420 214a 9093 0000 sts (SollHoehe)+1,r25
3421 214e 8093 0000 sts SollHoehe,r24
3422 2152 1092 0000 sts HoehenReglerAktiv,__zero_reg__
3423 2156 00C0 rjmp .L515
3424 .L511:
3425 2158 8091 0000 lds r24,EE_Parameter+13
3426 215c 289F mul r18,r24
3427 215e C001 movw r24,r0
3428 2160 1124 clr r1
3429 2162 4497 sbiw r24,20
3430 2164 9093 0000 sts (SollHoehe)+1,r25
3431 2168 8093 0000 sts SollHoehe,r24
3432 .L580:
3433 216c 81E0 ldi r24,lo8(1)
3434 216e 8093 0000 sts HoehenReglerAktiv,r24
3435 .L515:
3436 2172 8091 0000 lds r24,Notlandung
3437 2176 8823 tst r24
3438 2178 01F0 breq .L516
3439 217a 1092 0000 sts (SollHoehe)+1,__zero_reg__
3440 217e 1092 0000 sts SollHoehe,__zero_reg__
3441 .L516:
3442 2182 2091 0000 lds r18,HoehenWert
3443 2186 3091 0000 lds r19,(HoehenWert)+1
3444 218a 4091 0000 lds r20,SollHoehe
3445 218e 5091 0000 lds r21,(SollHoehe)+1
3446 2192 4217 cp r20,r18
3447 2194 5307 cpc r21,r19
3448 2196 04F0 brlt .+2
3449 2198 00C0 rjmp .L509
3450 219a 8091 0000 lds r24,HoehenReglerAktiv
3451 219e 8823 tst r24
3452 21a0 01F4 brne .+2
3453 21a2 00C0 rjmp .L509
3454 21a4 241B sub r18,r20
3455 21a6 350B sbc r19,r21
3456 21a8 8091 0000 lds r24,Parameter_Hoehe_P
3457 21ac 9927 clr r25
3458 21ae BC01 movw r22,r24
3459 21b0 269F mul r18,r22
3460 21b2 C001 movw r24,r0
3461 21b4 279F mul r18,r23
3462 21b6 900D add r25,r0
3463 21b8 369F mul r19,r22
3464 21ba 900D add r25,r0
3465 21bc 1124 clr r1
3466 21be 60E1 ldi r22,lo8(16)
3467 21c0 70E0 ldi r23,hi8(16)
3468 21c2 0E94 0000 call __divmodhi4
3469 21c6 0981 ldd r16,Y+1
3470 21c8 1A81 ldd r17,Y+2
3471 21ca 061B sub r16,r22
3472 21cc 170B sbc r17,r23
3473 21ce 2091 0000 lds r18,HoeheD
3474 21d2 3091 0000 lds r19,(HoeheD)+1
3475 21d6 8091 0000 lds r24,Parameter_Luftdruck_D
3476 21da 9927 clr r25
3477 21dc FC01 movw r30,r24
3478 21de 2E9F mul r18,r30
3479 21e0 C001 movw r24,r0
3480 21e2 2F9F mul r18,r31
3481 21e4 900D add r25,r0
3482 21e6 3E9F mul r19,r30
3483 21e8 900D add r25,r0
3484 21ea 1124 clr r1
3485 21ec 68E0 ldi r22,lo8(8)
3486 21ee 70E0 ldi r23,hi8(8)
3487 21f0 0E94 0000 call __divmodhi4
3488 21f4 061B sub r16,r22
3489 21f6 170B sbc r17,r23
3490 21f8 6091 0000 lds r22,Mess_Integral_Hoch
3491 21fc 7091 0000 lds r23,(Mess_Integral_Hoch)+1
3492 2200 8091 0000 lds r24,(Mess_Integral_Hoch)+2
3493 2204 9091 0000 lds r25,(Mess_Integral_Hoch)+3
3494 2208 20E0 ldi r18,lo8(512)
3495 220a 32E0 ldi r19,hi8(512)
3496 220c 40E0 ldi r20,hlo8(512)
3497 220e 50E0 ldi r21,hhi8(512)
3498 2210 0E94 0000 call __divmodsi4
3499 2214 CA01 movw r24,r20
3500 2216 B901 movw r22,r18
3501 2218 2091 0000 lds r18,Parameter_Hoehe_ACC_Wirkung
3502 221c 3327 clr r19
3503 221e 4427 clr r20
3504 2220 5527 clr r21
3505 2222 0E94 0000 call __mulsi3
3506 2226 20E2 ldi r18,lo8(32)
3507 2228 30E0 ldi r19,hi8(32)
3508 222a 40E0 ldi r20,hlo8(32)
3509 222c 50E0 ldi r21,hhi8(32)
3510 222e 0E94 0000 call __divmodsi4
3511 2232 FFEF ldi r31,hi8(-50)
3512 2234 2E3C cpi r18,lo8(-50)
3513 2236 3F07 cpc r19,r31
3514 2238 04F4 brge .L520
3515 223a 2EEC ldi r18,lo8(-50)
3516 223c 3FEF ldi r19,hi8(-50)
3517 .L520:
3518 223e 8091 0000 lds r24,hoehenregler.2362
3519 2242 9091 0000 lds r25,(hoehenregler.2362)+1
3520 2246 AC01 movw r20,r24
3521 2248 74E0 ldi r23,4
3522 224a 440F 1: lsl r20
3523 224c 551F rol r21
3524 224e 7A95 dec r23
3525 2250 01F4 brne 1b
3526 2252 481B sub r20,r24
3527 2254 590B sbc r21,r25
3528 2256 2333 cpi r18,51
3529 2258 3105 cpc r19,__zero_reg__
3530 225a 04F0 brlt .L521
3531 225c 22E3 ldi r18,lo8(50)
3532 225e 30E0 ldi r19,hi8(50)
3533 .L521:
3534 2260 021B sub r16,r18
3535 2262 130B sbc r17,r19
3536 2264 CA01 movw r24,r20
3537 2266 800F add r24,r16
3538 2268 911F adc r25,r17
3539 226a 60E1 ldi r22,lo8(16)
3540 226c 70E0 ldi r23,hi8(16)
3541 226e 0E94 0000 call __divmodhi4
3542 2272 7093 0000 sts (hoehenregler.2362)+1,r23
3543 2276 6093 0000 sts hoehenregler.2362,r22
3544 227a 8091 0000 lds r24,EE_Parameter+9
3545 227e 9927 clr r25
3546 2280 6817 cp r22,r24
3547 2282 7907 cpc r23,r25
3548 2284 04F4 brge .L522
3549 2286 2981 ldd r18,Y+1
3550 2288 3A81 ldd r19,Y+2
3551 228a 2817 cp r18,r24
3552 228c 3907 cpc r19,r25
3553 228e 04F0 brlt .L524
3554 2290 9093 0000 sts (hoehenregler.2362)+1,r25
3555 2294 8093 0000 sts hoehenregler.2362,r24
3556 2298 00C0 rjmp .L522
3557 .L524:
3558 229a 4981 ldd r20,Y+1
3559 229c 5A81 ldd r21,Y+2
3560 229e 5093 0000 sts (hoehenregler.2362)+1,r21
3561 22a2 4093 0000 sts hoehenregler.2362,r20
3562 22a6 00C0 rjmp .L526
3563 .L522:
3564 22a8 8091 0000 lds r24,hoehenregler.2362
3565 22ac 9091 0000 lds r25,(hoehenregler.2362)+1
3566 22b0 6981 ldd r22,Y+1
3567 22b2 7A81 ldd r23,Y+2
3568 22b4 6817 cp r22,r24
3569 22b6 7907 cpc r23,r25
3570 22b8 04F4 brge .L526
3571 22ba 7093 0000 sts (hoehenregler.2362)+1,r23
3572 22be 6093 0000 sts hoehenregler.2362,r22
3573 .L526:
3574 22c2 8091 0000 lds r24,hoehenregler.2362
3575 22c6 9091 0000 lds r25,(hoehenregler.2362)+1
3576 22ca 9A83 std Y+2,r25
3577 22cc 8983 std Y+1,r24
3578 .L509:
3579 22ce C090 0000 lds r12,MesswertGier
3580 22d2 D090 0000 lds r13,(MesswertGier)+1
3581 22d6 8091 0000 lds r24,sollGier.2352
3582 22da 9091 0000 lds r25,(sollGier.2352)+1
3583 22de C81A sub r12,r24
3584 22e0 D90A sbc r13,r25
3585 22e2 95E6 ldi r25,lo8(101)
3586 22e4 C916 cp r12,r25
3587 22e6 D104 cpc r13,__zero_reg__
3588 22e8 04F0 brlt .L528
3589 22ea 64E6 ldi r22,lo8(100)
3590 22ec C62E mov r12,r22
3591 22ee D12C mov r13,__zero_reg__
3592 22f0 00C0 rjmp .L530
3593 .L528:
3594 22f2 ECE9 ldi r30,lo8(-100)
3595 22f4 CE16 cp r12,r30
3596 22f6 EFEF ldi r30,hi8(-100)
3597 22f8 DE06 cpc r13,r30
3598 22fa 04F4 brge .L530
3599 22fc 5CE9 ldi r21,lo8(-100)
3600 22fe C52E mov r12,r21
3601 2300 5FEF ldi r21,hi8(-100)
3602 2302 D52E mov r13,r21
3603 .L530:
3604 2304 4090 0000 lds r4,Kp
3605 2308 5090 0000 lds r5,(Kp)+1
3606 230c 6090 0000 lds r6,(Kp)+2
3607 2310 7090 0000 lds r7,(Kp)+3
3608 2314 6091 0000 lds r22,MesswertNick
3609 2318 7091 0000 lds r23,(MesswertNick)+1
3610 231c 2091 0000 lds r18,StickNick
3611 2320 3091 0000 lds r19,(StickNick)+1
3612 2324 4091 0000 lds r20,GPS_Nick
3613 2328 5091 0000 lds r21,(GPS_Nick)+1
3614 232c 241B sub r18,r20
3615 232e 350B sbc r19,r21
3616 2330 621B sub r22,r18
3617 2332 730B sbc r23,r19
3618 2334 8827 clr r24
3619 2336 77FD sbrc r23,7
3620 2338 8095 com r24
3621 233a 982F mov r25,r24
3622 233c 0E94 0000 call __floatsisf
3623 2340 9B01 movw r18,r22
3624 2342 AC01 movw r20,r24
3625 2344 C301 movw r24,r6
3626 2346 B201 movw r22,r4
3627 2348 0E94 0000 call __mulsf3
3628 234c 0E94 0000 call __fixsfsi
3629 2350 7093 0000 sts (DiffNick)+1,r23
3630 2354 6093 0000 sts DiffNick,r22
3631 2358 8091 0000 lds r24,DiffNick
3632 235c 9091 0000 lds r25,(DiffNick)+1
3633 2360 8C01 movw r16,r24
3634 2362 2227 clr r18
3635 2364 17FD sbrc r17,7
3636 2366 2095 com r18
3637 2368 322F mov r19,r18
3638 236a 8091 0000 lds r24,SummeNick.2350
3639 236e 9091 0000 lds r25,(SummeNick.2350)+1
3640 2372 A091 0000 lds r26,(SummeNick.2350)+2
3641 2376 B091 0000 lds r27,(SummeNick.2350)+3
3642 237a 080F add r16,r24
3643 237c 191F adc r17,r25
3644 237e 2A1F adc r18,r26
3645 2380 3B1F adc r19,r27
3646 2382 0093 0000 sts SummeNick.2350,r16
3647 2386 1093 0000 sts (SummeNick.2350)+1,r17
3648 238a 2093 0000 sts (SummeNick.2350)+2,r18
3649 238e 3093 0000 sts (SummeNick.2350)+3,r19
3650 2392 1016 cp __zero_reg__,r16
3651 2394 1106 cpc __zero_reg__,r17
3652 2396 1206 cpc __zero_reg__,r18
3653 2398 1306 cpc __zero_reg__,r19
3654 239a 04F4 brge .L532
3655 239c C801 movw r24,r16
3656 239e 17FF sbrs r17,7
3657 23a0 00C0 rjmp .L534
3658 23a2 9095 com r25
3659 23a4 8195 neg r24
3660 23a6 9F4F sbci r25,lo8(-1)
3661 .L534:
3662 23a8 60E0 ldi r22,lo8(256)
3663 23aa 71E0 ldi r23,hi8(256)
3664 23ac 0E94 0000 call __divmodhi4
3665 23b0 6F5F subi r22,lo8(-(1))
3666 23b2 7F4F sbci r23,hi8(-(1))
3667 23b4 8827 clr r24
3668 23b6 77FD sbrc r23,7
3669 23b8 8095 com r24
3670 23ba 982F mov r25,r24
3671 23bc 061B sub r16,r22
3672 23be 170B sbc r17,r23
3673 23c0 280B sbc r18,r24
3674 23c2 390B sbc r19,r25
3675 23c4 00C0 rjmp .L581
3676 .L532:
3677 23c6 C801 movw r24,r16
3678 23c8 17FF sbrs r17,7
3679 23ca 00C0 rjmp .L536
3680 23cc 9095 com r25
3681 23ce 8195 neg r24
3682 23d0 9F4F sbci r25,lo8(-1)
3683 .L536:
3684 23d2 60E0 ldi r22,lo8(256)
3685 23d4 71E0 ldi r23,hi8(256)
3686 23d6 0E94 0000 call __divmodhi4
3687 23da 6F5F subi r22,lo8(-(1))
3688 23dc 7F4F sbci r23,hi8(-(1))
3689 23de 8827 clr r24
3690 23e0 77FD sbrc r23,7
3691 23e2 8095 com r24
3692 23e4 982F mov r25,r24
3693 23e6 060F add r16,r22
3694 23e8 171F adc r17,r23
3695 23ea 281F adc r18,r24
3696 23ec 391F adc r19,r25
3697 .L581:
3698 23ee 0093 0000 sts SummeNick.2350,r16
3699 23f2 1093 0000 sts (SummeNick.2350)+1,r17
3700 23f6 2093 0000 sts (SummeNick.2350)+2,r18
3701 23fa 3093 0000 sts (SummeNick.2350)+3,r19
3702 23fe 8091 0000 lds r24,SummeNick.2350
3703 2402 9091 0000 lds r25,(SummeNick.2350)+1
3704 2406 A091 0000 lds r26,(SummeNick.2350)+2
3705 240a B091 0000 lds r27,(SummeNick.2350)+3
3706 240e 8138 cpi r24,lo8(16001)
3707 2410 FEE3 ldi r31,hi8(16001)
3708 2412 9F07 cpc r25,r31
3709 2414 F0E0 ldi r31,hlo8(16001)
3710 2416 AF07 cpc r26,r31
3711 2418 F0E0 ldi r31,hhi8(16001)
3712 241a BF07 cpc r27,r31
3713 241c 04F0 brlt .L537
3714 241e 80E8 ldi r24,lo8(16000)
3715 2420 9EE3 ldi r25,hi8(16000)
3716 2422 A0E0 ldi r26,hlo8(16000)
3717 2424 B0E0 ldi r27,hhi8(16000)
3718 2426 00C0 rjmp .L582
3719 .L537:
3720 2428 8058 subi r24,lo8(-16000)
3721 242a 914C sbci r25,hi8(-16000)
3722 242c AF4F sbci r26,hlo8(-16000)
3723 242e BF4F sbci r27,hhi8(-16000)
3724 2430 04F4 brge .L539
3725 2432 80E8 ldi r24,lo8(-16000)
3726 2434 91EC ldi r25,hi8(-16000)
3727 2436 AFEF ldi r26,hlo8(-16000)
3728 2438 BFEF ldi r27,hhi8(-16000)
3729 .L582:
3730 243a 8093 0000 sts SummeNick.2350,r24
3731 243e 9093 0000 sts (SummeNick.2350)+1,r25
3732 2442 A093 0000 sts (SummeNick.2350)+2,r26
3733 2446 B093 0000 sts (SummeNick.2350)+3,r27
3734 .L539:
3735 244a 6091 0000 lds r22,DiffNick
3736 244e 7091 0000 lds r23,(DiffNick)+1
3737 2452 8090 0000 lds r8,Ki
3738 2456 9090 0000 lds r9,(Ki)+1
3739 245a A090 0000 lds r10,(Ki)+2
3740 245e B090 0000 lds r11,(Ki)+3
3741 2462 8827 clr r24
3742 2464 77FD sbrc r23,7
3743 2466 8095 com r24
3744 2468 982F mov r25,r24
3745 246a 0E94 0000 call __floatsisf
3746 246e 7B01 movw r14,r22
3747 2470 8C01 movw r16,r24
3748 2472 6091 0000 lds r22,SummeNick.2350
3749 2476 7091 0000 lds r23,(SummeNick.2350)+1
3750 247a 8091 0000 lds r24,(SummeNick.2350)+2
3751 247e 9091 0000 lds r25,(SummeNick.2350)+3
3752 2482 0E94 0000 call __floatsisf
3753 2486 9B01 movw r18,r22
3754 2488 AC01 movw r20,r24
3755 248a C501 movw r24,r10
3756 248c B401 movw r22,r8
3757 248e 0E94 0000 call __mulsf3
3758 2492 9B01 movw r18,r22
3759 2494 AC01 movw r20,r24
3760 2496 C801 movw r24,r16
3761 2498 B701 movw r22,r14
3762 249a 0E94 0000 call __addsf3
3763 249e 0E94 0000 call __fixsfsi
3764 24a2 9601 movw r18,r12
3765 24a4 260F add r18,r22
3766 24a6 371F adc r19,r23
3767 24a8 4981 ldd r20,Y+1
3768 24aa 5A81 ldd r21,Y+2
3769 24ac 240F add r18,r20
3770 24ae 351F adc r19,r21
3771 24b0 2224 clr r2
3772 24b2 4A30 cpi r20,10
3773 24b4 5105 cpc r21,__zero_reg__
3774 24b6 04F4 brge .L541
3775 24b8 41E0 ldi r20,lo8(1)
3776 24ba 242E mov r2,r20
3777 .L541:
3778 24bc 37FD sbrc r19,7
3779 24be 00C0 rjmp .L544
3780 24c0 2220 tst r2
3781 24c2 01F0 breq .L542
3782 .L544:
3783 24c4 40E0 ldi r20,lo8(0)
3784 24c6 50E0 ldi r21,hi8(0)
3785 24c8 00C0 rjmp .L545
3786 .L542:
3787 24ca 8091 0000 lds r24,MAX_GAS
3788 24ce 482F mov r20,r24
3789 24d0 5527 clr r21
3790 24d2 2417 cp r18,r20
3791 24d4 3507 cpc r19,r21
3792 24d6 04F4 brge .L545
3793 24d8 A901 movw r20,r18
3794 .L545:
3795 24da 8091 0000 lds r24,MIN_GAS
3796 24de E82F mov r30,r24
3797 24e0 FF27 clr r31
3798 24e2 FC83 std Y+4,r31
3799 24e4 EB83 std Y+3,r30
3800 24e6 9F01 movw r18,r30
3801 24e8 E417 cp r30,r20
3802 24ea F507 cpc r31,r21
3803 24ec 04F4 brge .L547
3804 24ee 9A01 movw r18,r20
3805 .L547:
3806 24f0 2093 0000 sts Motor_Vorne,r18
3807 24f4 2981 ldd r18,Y+1
3808 24f6 3A81 ldd r19,Y+2
3809 24f8 261B sub r18,r22
3810 24fa 370B sbc r19,r23
3811 24fc B901 movw r22,r18
3812 24fe 6C0D add r22,r12
3813 2500 7D1D adc r23,r13
3814 2502 77FD sbrc r23,7
3815 2504 00C0 rjmp .L550
3816 2506 2220 tst r2
3817 2508 01F0 breq .L548
3818 .L550:
3819 250a 80E0 ldi r24,lo8(0)
3820 250c 90E0 ldi r25,hi8(0)
3821 250e 00C0 rjmp .L551
3822 .L548:
3823 2510 8091 0000 lds r24,MAX_GAS
3824 2514 9927 clr r25
3825 2516 6817 cp r22,r24
3826 2518 7907 cpc r23,r25
3827 251a 04F4 brge .L551
3828 251c CB01 movw r24,r22
3829 .L551:
3830 251e 2B81 ldd r18,Y+3
3831 2520 3C81 ldd r19,Y+4
3832 2522 2817 cp r18,r24
3833 2524 3907 cpc r19,r25
3834 2526 04F4 brge .L553
3835 2528 9C01 movw r18,r24
3836 .L553:
3837 252a 2093 0000 sts Motor_Hinten,r18
3838 252e 6091 0000 lds r22,MesswertRoll
3839 2532 7091 0000 lds r23,(MesswertRoll)+1
3840 2536 2091 0000 lds r18,StickRoll
3841 253a 3091 0000 lds r19,(StickRoll)+1
3842 253e 4091 0000 lds r20,GPS_Roll
3843 2542 5091 0000 lds r21,(GPS_Roll)+1
3844 2546 241B sub r18,r20
3845 2548 350B sbc r19,r21
3846 254a 621B sub r22,r18
3847 254c 730B sbc r23,r19
3848 254e 8827 clr r24
3849 2550 77FD sbrc r23,7
3850 2552 8095 com r24
3851 2554 982F mov r25,r24
3852 2556 0E94 0000 call __floatsisf
3853 255a 9B01 movw r18,r22
3854 255c AC01 movw r20,r24
3855 255e C301 movw r24,r6
3856 2560 B201 movw r22,r4
3857 2562 0E94 0000 call __mulsf3
3858 2566 0E94 0000 call __fixsfsi
3859 256a 7093 0000 sts (DiffRoll)+1,r23
3860 256e 6093 0000 sts DiffRoll,r22
3861 2572 8091 0000 lds r24,DiffRoll
3862 2576 9091 0000 lds r25,(DiffRoll)+1
3863 257a 8C01 movw r16,r24
3864 257c 2227 clr r18
3865 257e 17FD sbrc r17,7
3866 2580 2095 com r18
3867 2582 322F mov r19,r18
3868 2584 8091 0000 lds r24,SummeRoll.2351
3869 2588 9091 0000 lds r25,(SummeRoll.2351)+1
3870 258c A091 0000 lds r26,(SummeRoll.2351)+2
3871 2590 B091 0000 lds r27,(SummeRoll.2351)+3
3872 2594 080F add r16,r24
3873 2596 191F adc r17,r25
3874 2598 2A1F adc r18,r26
3875 259a 3B1F adc r19,r27
3876 259c 0093 0000 sts SummeRoll.2351,r16
3877 25a0 1093 0000 sts (SummeRoll.2351)+1,r17
3878 25a4 2093 0000 sts (SummeRoll.2351)+2,r18
3879 25a8 3093 0000 sts (SummeRoll.2351)+3,r19
3880 25ac 1016 cp __zero_reg__,r16
3881 25ae 1106 cpc __zero_reg__,r17
3882 25b0 1206 cpc __zero_reg__,r18
3883 25b2 1306 cpc __zero_reg__,r19
3884 25b4 04F4 brge .L554
3885 25b6 C801 movw r24,r16
3886 25b8 17FF sbrs r17,7
3887 25ba 00C0 rjmp .L556
3888 25bc 9095 com r25
3889 25be 8195 neg r24
3890 25c0 9F4F sbci r25,lo8(-1)
3891 .L556:
3892 25c2 60E0 ldi r22,lo8(256)
3893 25c4 71E0 ldi r23,hi8(256)
3894 25c6 0E94 0000 call __divmodhi4
3895 25ca 6F5F subi r22,lo8(-(1))
3896 25cc 7F4F sbci r23,hi8(-(1))
3897 25ce 8827 clr r24
3898 25d0 77FD sbrc r23,7
3899 25d2 8095 com r24
3900 25d4 982F mov r25,r24
3901 25d6 061B sub r16,r22
3902 25d8 170B sbc r17,r23
3903 25da 280B sbc r18,r24
3904 25dc 390B sbc r19,r25
3905 25de 00C0 rjmp .L583
3906 .L554:
3907 25e0 C801 movw r24,r16
3908 25e2 17FF sbrs r17,7
3909 25e4 00C0 rjmp .L558
3910 25e6 9095 com r25
3911 25e8 8195 neg r24
3912 25ea 9F4F sbci r25,lo8(-1)
3913 .L558:
3914 25ec 60E0 ldi r22,lo8(256)
3915 25ee 71E0 ldi r23,hi8(256)
3916 25f0 0E94 0000 call __divmodhi4
3917 25f4 6F5F subi r22,lo8(-(1))
3918 25f6 7F4F sbci r23,hi8(-(1))
3919 25f8 8827 clr r24
3920 25fa 77FD sbrc r23,7
3921 25fc 8095 com r24
3922 25fe 982F mov r25,r24
3923 2600 060F add r16,r22
3924 2602 171F adc r17,r23
3925 2604 281F adc r18,r24
3926 2606 391F adc r19,r25
3927 .L583:
3928 2608 0093 0000 sts SummeRoll.2351,r16
3929 260c 1093 0000 sts (SummeRoll.2351)+1,r17
3930 2610 2093 0000 sts (SummeRoll.2351)+2,r18
3931 2614 3093 0000 sts (SummeRoll.2351)+3,r19
3932 2618 8091 0000 lds r24,SummeRoll.2351
3933 261c 9091 0000 lds r25,(SummeRoll.2351)+1
3934 2620 A091 0000 lds r26,(SummeRoll.2351)+2
3935 2624 B091 0000 lds r27,(SummeRoll.2351)+3
3936 2628 8138 cpi r24,lo8(16001)
3937 262a 3EE3 ldi r19,hi8(16001)
3938 262c 9307 cpc r25,r19
3939 262e 30E0 ldi r19,hlo8(16001)
3940 2630 A307 cpc r26,r19
3941 2632 30E0 ldi r19,hhi8(16001)
3942 2634 B307 cpc r27,r19
3943 2636 04F0 brlt .L559
3944 2638 80E8 ldi r24,lo8(16000)
3945 263a 9EE3 ldi r25,hi8(16000)
3946 263c A0E0 ldi r26,hlo8(16000)
3947 263e B0E0 ldi r27,hhi8(16000)
3948 2640 00C0 rjmp .L584
3949 .L559:
3950 2642 8058 subi r24,lo8(-16000)
3951 2644 914C sbci r25,hi8(-16000)
3952 2646 AF4F sbci r26,hlo8(-16000)
3953 2648 BF4F sbci r27,hhi8(-16000)
3954 264a 04F4 brge .L561
3955 264c 80E8 ldi r24,lo8(-16000)
3956 264e 91EC ldi r25,hi8(-16000)
3957 2650 AFEF ldi r26,hlo8(-16000)
3958 2652 BFEF ldi r27,hhi8(-16000)
3959 .L584:
3960 2654 8093 0000 sts SummeRoll.2351,r24
3961 2658 9093 0000 sts (SummeRoll.2351)+1,r25
3962 265c A093 0000 sts (SummeRoll.2351)+2,r26
3963 2660 B093 0000 sts (SummeRoll.2351)+3,r27
3964 .L561:
3965 2664 6091 0000 lds r22,DiffRoll
3966 2668 7091 0000 lds r23,(DiffRoll)+1
3967 266c 8827 clr r24
3968 266e 77FD sbrc r23,7
3969 2670 8095 com r24
3970 2672 982F mov r25,r24
3971 2674 0E94 0000 call __floatsisf
3972 2678 7B01 movw r14,r22
3973 267a 8C01 movw r16,r24
3974 267c 6091 0000 lds r22,SummeRoll.2351
3975 2680 7091 0000 lds r23,(SummeRoll.2351)+1
3976 2684 8091 0000 lds r24,(SummeRoll.2351)+2
3977 2688 9091 0000 lds r25,(SummeRoll.2351)+3
3978 268c 0E94 0000 call __floatsisf
3979 2690 9B01 movw r18,r22
3980 2692 AC01 movw r20,r24
3981 2694 C501 movw r24,r10
3982 2696 B401 movw r22,r8
3983 2698 0E94 0000 call __mulsf3
3984 269c 9B01 movw r18,r22
3985 269e AC01 movw r20,r24
3986 26a0 C801 movw r24,r16
3987 26a2 B701 movw r22,r14
3988 26a4 0E94 0000 call __addsf3
3989 26a8 0E94 0000 call __fixsfsi
3990 26ac 2981 ldd r18,Y+1
3991 26ae 3A81 ldd r19,Y+2
3992 26b0 260F add r18,r22
3993 26b2 371F adc r19,r23
3994 26b4 2C19 sub r18,r12
3995 26b6 3D09 sbc r19,r13
3996 26b8 37FD sbrc r19,7
3997 26ba 00C0 rjmp .L565
3998 26bc 2220 tst r2
3999 26be 01F0 breq .L563
4000 .L565:
4001 26c0 40E0 ldi r20,lo8(0)
4002 26c2 50E0 ldi r21,hi8(0)
4003 26c4 00C0 rjmp .L566
4004 .L563:
4005 26c6 8091 0000 lds r24,MAX_GAS
4006 26ca 482F mov r20,r24
4007 26cc 5527 clr r21
4008 26ce 2417 cp r18,r20
4009 26d0 3507 cpc r19,r21
4010 26d2 04F4 brge .L566
4011 26d4 A901 movw r20,r18
4012 .L566:
4013 26d6 2B81 ldd r18,Y+3
4014 26d8 3C81 ldd r19,Y+4
4015 26da 2417 cp r18,r20
4016 26dc 3507 cpc r19,r21
4017 26de 04F4 brge .L568
4018 26e0 9A01 movw r18,r20
4019 .L568:
4020 26e2 2093 0000 sts Motor_Links,r18
4021 26e6 8981 ldd r24,Y+1
4022 26e8 9A81 ldd r25,Y+2
4023 26ea 861B sub r24,r22
4024 26ec 970B sbc r25,r23
4025 26ee BC01 movw r22,r24
4026 26f0 6C19 sub r22,r12
4027 26f2 7D09 sbc r23,r13
4028 26f4 77FD sbrc r23,7
4029 26f6 00C0 rjmp .L571
4030 26f8 2220 tst r2
4031 26fa 01F0 breq .L569
4032 .L571:
4033 26fc 20E0 ldi r18,lo8(0)
4034 26fe 30E0 ldi r19,hi8(0)
4035 2700 00C0 rjmp .L572
4036 .L569:
4037 2702 8091 0000 lds r24,MAX_GAS
4038 2706 282F mov r18,r24
4039 2708 3327 clr r19
4040 270a 6217 cp r22,r18
4041 270c 7307 cpc r23,r19
4042 270e 04F4 brge .L572
4043 2710 9B01 movw r18,r22
4044 .L572:
4045 2712 8B81 ldd r24,Y+3
4046 2714 9C81 ldd r25,Y+4
4047 2716 8217 cp r24,r18
4048 2718 9307 cpc r25,r19
4049 271a 04F4 brge .L574
4050 271c C901 movw r24,r18
4051 .L574:
4052 271e 8093 0000 sts Motor_Rechts,r24
4053 /* epilogue: frame size=4 */
4054 2722 2496 adiw r28,4
4055 2724 0FB6 in __tmp_reg__,__SREG__
4056 2726 F894 cli
4057 2728 DEBF out __SP_H__,r29
4058 272a 0FBE out __SREG__,__tmp_reg__
4059 272c CDBF out __SP_L__,r28
4060 272e DF91 pop r29
4061 2730 CF91 pop r28
4062 2732 1F91 pop r17
4063 2734 0F91 pop r16
4064 2736 FF90 pop r15
4065 2738 EF90 pop r14
4066 273a DF90 pop r13
4067 273c CF90 pop r12
4068 273e BF90 pop r11
4069 2740 AF90 pop r10
4070 2742 9F90 pop r9
4071 2744 8F90 pop r8
4072 2746 7F90 pop r7
4073 2748 6F90 pop r6
4074 274a 5F90 pop r5
4075 274c 4F90 pop r4
4076 274e 3F90 pop r3
4077 2750 2F90 pop r2
4078 2752 0895 ret
4079 /* epilogue end (size=25) */
4080 /* function MotorRegler size 2799 (2748) */
4082 .global Timeout
4083 .global Timeout
4084 .section .bss
4087 Timeout:
4088 0000 00 .skip 1,0
4089 .global AdNeutralNick
4090 .global AdNeutralNick
4093 AdNeutralNick:
4094 0001 0000 .skip 2,0
4095 .global AdNeutralRoll
4096 .global AdNeutralRoll
4099 AdNeutralRoll:
4100 0003 0000 .skip 2,0
4101 .global AdNeutralGier
4102 .global AdNeutralGier
4105 AdNeutralGier:
4106 0005 0000 .skip 2,0
4107 .global NeutralAccX
4108 .global NeutralAccX
4111 NeutralAccX:
4112 0007 0000 .skip 2,0
4113 .global NeutralAccY
4114 .global NeutralAccY
4117 NeutralAccY:
4118 0009 0000 .skip 2,0
4119 .global NeutralAccZ
4120 .global NeutralAccZ
4123 NeutralAccZ:
4124 000b 0000 0000 .skip 4,0
4125 .global CosinusNickWinkel
4126 .global CosinusNickWinkel
4129 CosinusNickWinkel:
4130 000f 00 .skip 1,0
4131 .global CosinusRollWinkel
4132 .global CosinusRollWinkel
4135 CosinusRollWinkel:
4136 0010 00 .skip 1,0
4137 .global IntegralNick
4138 .global IntegralNick
4141 IntegralNick:
4142 0011 0000 0000 .skip 4,0
4143 .global IntegralNick2
4144 .global IntegralNick2
4147 IntegralNick2:
4148 0015 0000 0000 .skip 4,0
4149 .global IntegralRoll
4150 .global IntegralRoll
4153 IntegralRoll:
4154 0019 0000 0000 .skip 4,0
4155 .global IntegralRoll2
4156 .global IntegralRoll2
4159 IntegralRoll2:
4160 001d 0000 0000 .skip 4,0
4161 .global Integral_Gier
4162 .global Integral_Gier
4165 Integral_Gier:
4166 0021 0000 0000 .skip 4,0
4167 .global Mess_IntegralNick
4168 .global Mess_IntegralNick
4171 Mess_IntegralNick:
4172 0025 0000 0000 .skip 4,0
4173 .global Mess_IntegralNick2
4174 .global Mess_IntegralNick2
4177 Mess_IntegralNick2:
4178 0029 0000 0000 .skip 4,0
4179 .global Mess_IntegralRoll
4180 .global Mess_IntegralRoll
4183 Mess_IntegralRoll:
4184 002d 0000 0000 .skip 4,0
4185 .global Mess_IntegralRoll2
4186 .global Mess_IntegralRoll2
4189 Mess_IntegralRoll2:
4190 0031 0000 0000 .skip 4,0
4191 .global Mess_Integral_Gier
4192 .global Mess_Integral_Gier
4195 Mess_Integral_Gier:
4196 0035 0000 0000 .skip 4,0
4197 .global Mess_Integral_Gier2
4198 .global Mess_Integral_Gier2
4201 Mess_Integral_Gier2:
4202 0039 0000 0000 .skip 4,0
4203 .global Mess_Integral_Hoch
4204 .global Mess_Integral_Hoch
4207 Mess_Integral_Hoch:
4208 003d 0000 0000 .skip 4,0
4209 .global KompassValue
4210 .global KompassValue
4213 KompassValue:
4214 0041 0000 .skip 2,0
4215 .global KompassStartwert
4216 .global KompassStartwert
4219 KompassStartwert:
4220 0043 0000 .skip 2,0
4221 .global KompassRichtung
4222 .global KompassRichtung
4225 KompassRichtung:
4226 0045 0000 .skip 2,0
4227 .global Notlandung
4228 .global Notlandung
4231 Notlandung:
4232 0047 00 .skip 1,0
4233 .global HoehenReglerAktiv
4234 .global HoehenReglerAktiv
4237 HoehenReglerAktiv:
4238 0048 00 .skip 1,0
4239 .global Poti1
4240 .global Poti1
4243 Poti1:
4244 0049 0000 .skip 2,0
4245 .global Poti2
4246 .global Poti2
4249 Poti2:
4250 004b 0000 .skip 2,0
4251 .global Poti3
4252 .global Poti3
4255 Poti3:
4256 004d 0000 .skip 2,0
4257 .global Poti4
4258 .global Poti4
4261 Poti4:
4262 004f 0000 .skip 2,0
4263 .global SenderOkay
4264 .global SenderOkay
4267 SenderOkay:
4268 0051 00 .skip 1,0
4269 .global StickNick
4270 .global StickNick
4273 StickNick:
4274 0052 0000 .skip 2,0
4275 .global StickRoll
4276 .global StickRoll
4279 StickRoll:
4280 0054 0000 .skip 2,0
4281 .global StickGier
4282 .global StickGier
4285 StickGier:
4286 0056 0000 .skip 2,0
4287 .global MotorenEin
4288 .global MotorenEin
4291 MotorenEin:
4292 0058 00 .skip 1,0
4293 .global HoehenWert
4294 .global HoehenWert
4297 HoehenWert:
4298 0059 0000 .skip 2,0
4299 .global SollHoehe
4300 .global SollHoehe
4303 SollHoehe:
4304 005b 0000 .skip 2,0
4305 .global Kp
4306 .data
4309 Kp:
4310 0010 00 .byte 0
4311 0011 00 .byte 0
4312 0012 80 .byte -128
4313 0013 3F .byte 63
4314 .global Ki
4317 Ki:
4318 0014 17 .byte 23
4319 0015 B7 .byte -73
4320 0016 D1 .byte -47
4321 0017 38 .byte 56
4322 .global Parameter_Luftdruck_D
4325 Parameter_Luftdruck_D:
4326 0018 30 .byte 48
4327 .global Parameter_MaxHoehe
4330 Parameter_MaxHoehe:
4331 0019 FB .byte -5
4332 .global Parameter_Hoehe_P
4335 Parameter_Hoehe_P:
4336 001a 10 .byte 16
4337 .global Parameter_Hoehe_ACC_Wirkung
4340 Parameter_Hoehe_ACC_Wirkung:
4341 001b 3A .byte 58
4342 .global Parameter_KompassWirkung
4345 Parameter_KompassWirkung:
4346 001c 40 .byte 64
4347 .global Parameter_Gyro_P
4350 Parameter_Gyro_P:
4351 001d 32 .byte 50
4352 .global Parameter_Gyro_I
4355 Parameter_Gyro_I:
4356 001e 96 .byte -106
4357 .global Parameter_Gier_P
4360 Parameter_Gier_P:
4361 001f 02 .byte 2
4362 .global Parameter_I_Faktor
4365 Parameter_I_Faktor:
4366 0020 0A .byte 10
4367 .global Parameter_UserParam1
4368 .global Parameter_UserParam1
4369 .section .bss
4372 Parameter_UserParam1:
4373 005d 00 .skip 1,0
4374 .global Parameter_UserParam2
4375 .global Parameter_UserParam2
4378 Parameter_UserParam2:
4379 005e 00 .skip 1,0
4380 .global Parameter_UserParam3
4381 .global Parameter_UserParam3
4384 Parameter_UserParam3:
4385 005f 00 .skip 1,0
4386 .global Parameter_UserParam4
4387 .global Parameter_UserParam4
4390 Parameter_UserParam4:
4391 0060 00 .skip 1,0
4392 .global Parameter_ServoNickControl
4393 .data
4396 Parameter_ServoNickControl:
4397 0021 64 .byte 100
4398 .lcomm SignalSchlecht.2368,2
4399 .lcomm NeueKompassRichtungMerken.2364,1
4400 .lcomm TimerWerteausgabe.2363,1
4401 .lcomm hoehenregler.2362,2
4402 .lcomm modell_fliegt.2361,2
4403 .lcomm delay_ausschalten.2360,1
4404 .lcomm delay_einschalten.2359,1
4405 .lcomm delay_neutral.2358,1
4406 .lcomm RcLostTimer.2357,2
4407 .lcomm IntegralFehlerRoll.2356,2
4408 .lcomm IntegralFehlerNick.2355,2
4409 .lcomm tmp_long2.2354,4
4410 .lcomm tmp_long.2353,4
4411 .lcomm sollGier.2352,4
4412 .lcomm SummeRoll.2351,4
4413 .lcomm SummeNick.2350,4
4414 .comm DiffNick,2,1
4415 .comm DiffRoll,2,1
4416 .comm durchschnitt_northing,4,1
4417 .comm durchschnitt_easting,4,1
4418 .comm gps_p,2,1
4419 .comm gps_d,2,1
4420 .comm skal,2,1
4421 .comm gps_gethome,2,1
4422 .comm RemoteTasten,1,1
4423 .comm MesswertNick,2,1
4424 .comm MesswertRoll,2,1
4425 .comm MesswertGier,2,1
4426 .comm Mittelwert_AccNick,2,1
4427 .comm Mittelwert_AccRoll,2,1
4428 .comm Mittelwert_AccHoch,2,1
4429 .comm h,1,1
4430 .comm m,1,1
4431 .comm s,1,1
4432 .comm Motor_Vorne,1,1
4433 .comm Motor_Hinten,1,1
4434 .comm Motor_Rechts,1,1
4435 .comm Motor_Links,1,1
4436 .comm Count,1,1
4437 .comm MotorWert,5,1
4438 .comm EE_Parameter,58,1
4439 .comm MAX_GAS,1,1
4440 .comm MIN_GAS,1,1
4441 .comm GyroFaktor,4,1
4442 .comm IntegralFaktor,4,1
4443 /* File "fc.c": code 5078 = 0x13d6 (4996), prologues 38, epilogues 44 */
DEFINED SYMBOLS
*ABS*:00000000 fc.c
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:3 *ABS*:0000003f __SREG__
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4 *ABS*:0000003e __SP_H__
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:5 *ABS*:0000003d __SP_L__
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:6 *ABS*:00000000 __tmp_reg__
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:7 *ABS*:00000001 __zero_reg__
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.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\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4195 .bss:00000035 Mess_Integral_Gier
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4165 .bss:00000021 Integral_Gier
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4171 .bss:00000025 Mess_IntegralNick
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4141 .bss:00000011 IntegralNick
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4183 .bss:0000002d Mess_IntegralRoll
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4153 .bss:00000019 IntegralRoll
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4177 .bss:00000029 Mess_IntegralNick2
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4147 .bss:00000015 IntegralNick2
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4189 .bss:00000031 Mess_IntegralRoll2
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4159 .bss:0000001d IntegralRoll2
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4243 .bss:00000049 Poti1
*COM*:0000003a EE_Parameter
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4249 .bss:0000004b Poti2
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4255 .bss:0000004d Poti3
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4261 .bss:0000004f Poti4
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:576 .text:00000582 CalibrierMittelwert
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:918 .text:000008ba ParameterZuordnung
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4330 .data:00000019 Parameter_MaxHoehe
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4325 .data:00000018 Parameter_Luftdruck_D
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4335 .data:0000001a Parameter_Hoehe_P
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4340 .data:0000001b Parameter_Hoehe_ACC_Wirkung
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4345 .data:0000001c Parameter_KompassWirkung
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4350 .data:0000001d Parameter_Gyro_P
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4355 .data:0000001e Parameter_Gyro_I
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4365 .data:00000020 Parameter_I_Faktor
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4372 .bss:0000005d Parameter_UserParam1
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4378 .bss:0000005e Parameter_UserParam2
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4384 .bss:0000005f Parameter_UserParam3
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4390 .bss:00000060 Parameter_UserParam4
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4396 .data:00000021 Parameter_ServoNickControl
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4317 .data:00000014 Ki
*COM*:00000001 MAX_GAS
*COM*:00000001 MIN_GAS
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:1484 .text:00000d54 DefaultKonstanten2
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:1570 .text:00000e2e DefaultKonstanten1
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:1654 .text:00000f10 SendMotorData
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4291 .bss:00000058 MotorenEin
*COM*:00000001 Motor_Hinten
*COM*:00000001 Motor_Vorne
*COM*:00000001 Motor_Rechts
*COM*:00000001 Motor_Links
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:1710 .text:00000f9e SetNeutral
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4111 .bss:00000007 NeutralAccX
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4117 .bss:00000009 NeutralAccY
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4123 .bss:0000000b NeutralAccZ
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4093 .bss:00000001 AdNeutralNick
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4099 .bss:00000003 AdNeutralRoll
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4105 .bss:00000005 AdNeutralGier
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4207 .bss:0000003d Mess_Integral_Hoch
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4213 .bss:00000041 KompassValue
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4219 .bss:00000043 KompassStartwert
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:1882 .text:00001196 Piep
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:1911 .text:000011c0 MotorRegler
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4267 .bss:00000051 SenderOkay
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4405 .bss:0000006c RcLostTimer.2357
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4231 .bss:00000047 Notlandung
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4401 .bss:00000067 modell_fliegt.2361
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4412 .bss:00000082 SummeNick.2350
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4411 .bss:0000007e SummeRoll.2351
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4201 .bss:00000039 Mess_Integral_Gier2
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4404 .bss:0000006b delay_neutral.2358
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4403 .bss:0000006a delay_einschalten.2359
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4410 .bss:0000007a sollGier.2352
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4402 .bss:00000069 delay_ausschalten.2360
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4273 .bss:00000052 StickNick
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4279 .bss:00000054 StickRoll
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4285 .bss:00000056 StickGier
*COM*:00000004 GyroFaktor
*COM*:00000004 IntegralFaktor
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4407 .bss:00000070 IntegralFehlerNick.2355
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4406 .bss:0000006e IntegralFehlerRoll.2356
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4409 .bss:00000076 tmp_long.2353
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4408 .bss:00000072 tmp_long2.2354
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4398 .bss:00000063 NeueKompassRichtungMerken.2364
.bss:00000061 SignalSchlecht.2368
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4225 .bss:00000045 KompassRichtung
*COM*:00000002 gps_p
*COM*:00000002 gps_d
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4399 .bss:00000064 TimerWerteausgabe.2363
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4297 .bss:00000059 HoehenWert
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4303 .bss:0000005b SollHoehe
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4237 .bss:00000048 HoehenReglerAktiv
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4400 .bss:00000065 hoehenregler.2362
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4309 .data:00000010 Kp
*COM*:00000002 DiffNick
*COM*:00000002 DiffRoll
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4087 .bss:00000000 Timeout
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4129 .bss:0000000f CosinusNickWinkel
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4135 .bss:00000010 CosinusRollWinkel
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc2xdeG9.s:4360 .data:0000001f Parameter_Gier_P
*COM*:00000004 durchschnitt_northing
*COM*:00000004 durchschnitt_easting
*COM*:00000002 skal
*COM*:00000002 gps_gethome
*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
beeptime
Delay_ms
PcZugriff
EEPromArray
__eeprom_write_byte_1F2021
GetActiveParamSetNumber
ReadParameterSet
NewPpmData
PPM_diff
__divsf3
__ltsf2
ZaehlMessungen
__mulsi3
gps_main
GPS_Nick
GPS_Roll
__fixsfsi