Blame | Last modification | View Log | RSS feed
1 .file "analog.c"
2 .arch atmega644p
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 .global AdReady
11 .data
14 AdReady:
15 0000 01 .byte 1
16 .global AnalogOffsetGier
19 AnalogOffsetGier:
20 0001 73 .byte 115
21 .global AnalogOffsetRoll
24 AnalogOffsetRoll:
25 0002 73 .byte 115
26 .global AnalogOffsetNick
29 AnalogOffsetNick:
30 0003 73 .byte 115
31 .global ZaehlMessungen
32 .global ZaehlMessungen
33 .section .bss
36 ZaehlMessungen:
37 0000 0000 .skip 2,0
38 .global VarioMeter
39 .global VarioMeter
42 VarioMeter:
43 0002 0000 .skip 2,0
44 .global ExpandBaro
45 .global ExpandBaro
48 ExpandBaro:
49 0004 00 .skip 1,0
50 .global MessLuftdruck
51 .data
54 MessLuftdruck:
55 0004 FF03 .word 1023
56 .global SummenHoehe
57 .global SummenHoehe
58 .section .bss
61 SummenHoehe:
62 0005 0000 0000 .skip 4,0
63 .global Luftdruck
64 .data
67 Luftdruck:
68 0006 007D 0000 .long 32000
69 .global messanzahl_AccHoch
70 .global messanzahl_AccHoch
71 .section .bss
74 messanzahl_AccHoch:
75 0009 00 .skip 1,0
76 .global AdWertAccHoch
77 .global AdWertAccHoch
80 AdWertAccHoch:
81 000a 0000 .skip 2,0
82 .global AdWertAccNick
83 .global AdWertAccNick
86 AdWertAccNick:
87 000c 0000 .skip 2,0
88 .global AdWertAccRoll
89 .global AdWertAccRoll
92 AdWertAccRoll:
93 000e 0000 .skip 2,0
94 .global AdWertGier
95 .global AdWertGier
98 AdWertGier:
99 0010 0000 .skip 2,0
100 .global AdWertRoll
101 .global AdWertRoll
104 AdWertRoll:
105 0012 0000 .skip 2,0
106 .global AdWertNick
107 .global AdWertNick
110 AdWertNick:
111 0014 0000 .skip 2,0
112 .global HiResRoll
113 .data
116 HiResRoll:
117 000a C409 .word 2500
118 .global HiResNick
121 HiResNick:
122 000c C409 .word 2500
123 .global AdWertGierFilter
124 .global AdWertGierFilter
125 .section .bss
128 AdWertGierFilter:
129 0016 0000 .skip 2,0
130 .global AdWertRollFilter
131 .global AdWertRollFilter
134 AdWertRollFilter:
135 0018 0000 .skip 2,0
136 .global AdWertNickFilter
137 .global AdWertNickFilter
140 AdWertNickFilter:
141 001a 0000 .skip 2,0
142 .global UBat
143 .data
146 UBat:
147 000e 6400 .word 100
148 .text
149 .global ADC_Init
151 ADC_Init:
152 /* prologue: frame size=0 */
153 /* prologue end (size=0) */
154 0000 1092 7C00 sts 124,__zero_reg__
155 0004 8FEC ldi r24,lo8(-49)
156 0006 8093 7A00 sts 122,r24
157 /* epilogue: frame size=0 */
158 000a 0895 ret
159 /* epilogue end (size=1) */
160 /* function ADC_Init size 6 (5) */
162 .section .progmem.data,"a",@progbits
165 __c.13:
166 0000 2E00 .string "."
167 .text
168 .global SucheLuftruckOffset
170 SucheLuftruckOffset:
171 /* prologue: frame size=0 */
172 000c CF93 push r28
173 000e DF93 push r29
174 /* prologue end (size=2) */
175 0010 83E0 ldi r24,lo8(3)
176 0012 90E0 ldi r25,hi8(3)
177 0014 0E94 0000 call GetParamByte
178 0018 C82F mov r28,r24
179 001a DD27 clr r29
180 001c C531 cpi r28,21
181 001e D105 cpc r29,__zero_reg__
182 0020 08F0 brlo .L3
183 0022 2A97 sbiw r28,10
184 .L3:
185 0024 C7BD out 71-0x20,r28
186 0026 1092 0000 sts ExpandBaro,__zero_reg__
187 002a 84E6 ldi r24,lo8(100)
188 002c 90E0 ldi r25,hi8(100)
189 002e 0E94 0000 call Delay_ms_Mess
190 0032 8091 0000 lds r24,MessLuftdruck
191 0036 9091 0000 lds r25,(MessLuftdruck)+1
192 003a 8052 subi r24,lo8(800)
193 003c 9340 sbci r25,hi8(800)
194 003e 10F4 brsh .L4
195 0040 C0E0 ldi r28,lo8(0)
196 0042 D0E0 ldi r29,hi8(0)
197 .L4:
198 0044 CA3F cpi r28,250
199 0046 D105 cpc r29,__zero_reg__
200 0048 F8F4 brsh .L6
201 004a C7BD out 71-0x20,r28
202 004c 82E3 ldi r24,lo8(50)
203 004e 90E0 ldi r25,hi8(50)
204 0050 0E94 0000 call Delay_ms_Mess
205 0054 80E0 ldi r24,lo8(__c.13)
206 0056 90E0 ldi r25,hi8(__c.13)
207 0058 9F93 push r25
208 005a 8F93 push r24
209 005c 80E0 ldi r24,lo8(pm(uart_putchar))
210 005e 90E0 ldi r25,hi8(pm(uart_putchar))
211 0060 9F93 push r25
212 0062 8F93 push r24
213 0064 E091 0000 lds r30,_printf_P
214 0068 F091 0000 lds r31,(_printf_P)+1
215 006c 0995 icall
216 006e 8091 0000 lds r24,MessLuftdruck
217 0072 9091 0000 lds r25,(MessLuftdruck)+1
218 0076 0F90 pop __tmp_reg__
219 0078 0F90 pop __tmp_reg__
220 007a 0F90 pop __tmp_reg__
221 007c 0F90 pop __tmp_reg__
222 007e 8052 subi r24,lo8(800)
223 0080 9340 sbci r25,hi8(800)
224 0082 10F0 brlo .L6
225 0084 2196 adiw r28,1
226 0086 DECF rjmp .L4
227 .L6:
228 0088 6C2F mov r22,r28
229 008a 83E0 ldi r24,lo8(3)
230 008c 90E0 ldi r25,hi8(3)
231 008e 0E94 0000 call SetParamByte
232 0092 C093 0000 sts DruckOffsetSetting,r28
233 0096 8091 0000 lds r24,EE_Parameter+13
234 009a 80FF sbrs r24,0
235 009c 09C0 rjmp .L10
236 009e 8C2F mov r24,r28
237 00a0 8A50 subi r24,lo8(-(-10))
238 00a2 8B3E cpi r24,lo8(-21)
239 00a4 28F0 brlo .L10
240 00a6 8091 0000 lds r24,VersionInfo+5
241 00aa 8064 ori r24,lo8(64)
242 00ac 8093 0000 sts VersionInfo+5,r24
243 .L10:
244 00b0 C7BD out 71-0x20,r28
245 00b2 8CE2 ldi r24,lo8(300)
246 00b4 91E0 ldi r25,hi8(300)
247 00b6 0E94 0000 call Delay_ms_Mess
248 /* epilogue: frame size=0 */
249 00ba DF91 pop r29
250 00bc CF91 pop r28
251 00be 0895 ret
252 /* epilogue end (size=3) */
253 /* function SucheLuftruckOffset size 92 (87) */
255 .section .progmem.data
258 __c.12:
259 0002 0A0D 2044 .string "\n\r DAC or I2C ERROR! Check I2C, 3Vref, DAC and BL-Ctrl"
259 4143 206F
259 7220 4932
259 4320 4552
259 524F 5221
260 .text
261 .global SucheGyroOffset
263 SucheGyroOffset:
264 /* prologue: frame size=0 */
265 00c0 EF92 push r14
266 00c2 FF92 push r15
267 00c4 1F93 push r17
268 00c6 CF93 push r28
269 /* prologue end (size=4) */
270 00c8 10E0 ldi r17,lo8(0)
271 00ca 80ED ldi r24,lo8(2000)
272 00cc 97E0 ldi r25,hi8(2000)
273 00ce 0E94 0000 call SetDelay
274 00d2 7C01 movw r14,r24
275 00d4 CCE8 ldi r28,lo8(-116)
276 .L43:
277 00d6 1330 cpi r17,lo8(3)
278 00d8 19F4 brne .L16
279 00da CB30 cpi r28,lo8(11)
280 00dc 08F0 brlo .L16
281 00de C9E0 ldi r28,lo8(9)
282 .L16:
283 00e0 10E0 ldi r17,lo8(0)
284 00e2 8091 0000 lds r24,AdWertNick
285 00e6 9091 0000 lds r25,(AdWertNick)+1
286 00ea 8C5F subi r24,lo8(1020)
287 00ec 9340 sbci r25,hi8(1020)
288 00ee 24F4 brge .L17
289 00f0 8091 0000 lds r24,AnalogOffsetNick
290 00f4 8150 subi r24,lo8(-(-1))
291 00f6 0AC0 rjmp .L48
292 .L17:
293 00f8 8091 0000 lds r24,AdWertNick
294 00fc 9091 0000 lds r25,(AdWertNick)+1
295 0100 8750 subi r24,lo8(1031)
296 0102 9440 sbci r25,hi8(1031)
297 0104 34F0 brlt .L19
298 0106 8091 0000 lds r24,AnalogOffsetNick
299 010a 8F5F subi r24,lo8(-(1))
300 .L48:
301 010c 8093 0000 sts AnalogOffsetNick,r24
302 0110 01C0 rjmp .L18
303 .L19:
304 0112 11E0 ldi r17,lo8(1)
305 .L18:
306 0114 8091 0000 lds r24,AdWertRoll
307 0118 9091 0000 lds r25,(AdWertRoll)+1
308 011c 8C5F subi r24,lo8(1020)
309 011e 9340 sbci r25,hi8(1020)
310 0120 24F4 brge .L21
311 0122 8091 0000 lds r24,AnalogOffsetRoll
312 0126 8150 subi r24,lo8(-(-1))
313 0128 0AC0 rjmp .L49
314 .L21:
315 012a 8091 0000 lds r24,AdWertRoll
316 012e 9091 0000 lds r25,(AdWertRoll)+1
317 0132 8750 subi r24,lo8(1031)
318 0134 9440 sbci r25,hi8(1031)
319 0136 34F0 brlt .L23
320 0138 8091 0000 lds r24,AnalogOffsetRoll
321 013c 8F5F subi r24,lo8(-(1))
322 .L49:
323 013e 8093 0000 sts AnalogOffsetRoll,r24
324 0142 01C0 rjmp .L22
325 .L23:
326 0144 1F5F subi r17,lo8(-(1))
327 .L22:
328 0146 8091 0000 lds r24,AdWertGier
329 014a 9091 0000 lds r25,(AdWertGier)+1
330 014e 8C5F subi r24,lo8(1020)
331 0150 9340 sbci r25,hi8(1020)
332 0152 24F4 brge .L25
333 0154 8091 0000 lds r24,AnalogOffsetGier
334 0158 8150 subi r24,lo8(-(-1))
335 015a 0AC0 rjmp .L50
336 .L25:
337 015c 8091 0000 lds r24,AdWertGier
338 0160 9091 0000 lds r25,(AdWertGier)+1
339 0164 8750 subi r24,lo8(1031)
340 0166 9440 sbci r25,hi8(1031)
341 0168 C4F0 brlt .L27
342 016a 8091 0000 lds r24,AnalogOffsetGier
343 016e 8F5F subi r24,lo8(-(1))
344 .L50:
345 0170 8093 0000 sts AnalogOffsetGier,r24
346 0174 13C0 rjmp .L26
347 .L47:
348 0176 80E0 ldi r24,lo8(__c.12)
349 0178 90E0 ldi r25,hi8(__c.12)
350 017a 9F93 push r25
351 017c 8F93 push r24
352 017e 80E0 ldi r24,lo8(pm(uart_putchar))
353 0180 90E0 ldi r25,hi8(pm(uart_putchar))
354 0182 9F93 push r25
355 0184 8F93 push r24
356 0186 E091 0000 lds r30,_printf_P
357 018a F091 0000 lds r31,(_printf_P)+1
358 018e 0995 icall
359 0190 0F90 pop __tmp_reg__
360 0192 0F90 pop __tmp_reg__
361 0194 0F90 pop __tmp_reg__
362 0196 0F90 pop __tmp_reg__
363 0198 5FC0 rjmp .L36
364 .L27:
365 019a 1F5F subi r17,lo8(-(1))
366 .L26:
367 019c 82E1 ldi r24,lo8(18)
368 019e 8093 0000 sts twi_state,r24
369 01a2 8091 0000 lds r24,BLFlags
370 01a6 8E7F andi r24,lo8(-2)
371 01a8 8093 0000 sts BLFlags,r24
372 01ac 85EA ldi r24,lo8(-91)
373 01ae 8093 BC00 sts 188,r24
374 01b2 8091 0000 lds r24,AnalogOffsetNick
375 01b6 8A30 cpi r24,lo8(10)
376 01b8 40F4 brsh .L29
377 01ba 8091 0000 lds r24,VersionInfo+5
378 01be 8160 ori r24,lo8(1)
379 01c0 8093 0000 sts VersionInfo+5,r24
380 01c4 8AE0 ldi r24,lo8(10)
381 01c6 8093 0000 sts AnalogOffsetNick,r24
382 .L29:
383 01ca 8091 0000 lds r24,AnalogOffsetNick
384 01ce 863F cpi r24,lo8(-10)
385 01d0 40F0 brlo .L30
386 01d2 8091 0000 lds r24,VersionInfo+5
387 01d6 8160 ori r24,lo8(1)
388 01d8 8093 0000 sts VersionInfo+5,r24
389 01dc 85EF ldi r24,lo8(-11)
390 01de 8093 0000 sts AnalogOffsetNick,r24
391 .L30:
392 01e2 8091 0000 lds r24,AnalogOffsetRoll
393 01e6 8A30 cpi r24,lo8(10)
394 01e8 40F4 brsh .L31
395 01ea 8091 0000 lds r24,VersionInfo+5
396 01ee 8260 ori r24,lo8(2)
397 01f0 8093 0000 sts VersionInfo+5,r24
398 01f4 8AE0 ldi r24,lo8(10)
399 01f6 8093 0000 sts AnalogOffsetRoll,r24
400 .L31:
401 01fa 8091 0000 lds r24,AnalogOffsetRoll
402 01fe 863F cpi r24,lo8(-10)
403 0200 40F0 brlo .L32
404 0202 8091 0000 lds r24,VersionInfo+5
405 0206 8260 ori r24,lo8(2)
406 0208 8093 0000 sts VersionInfo+5,r24
407 020c 85EF ldi r24,lo8(-11)
408 020e 8093 0000 sts AnalogOffsetRoll,r24
409 .L32:
410 0212 8091 0000 lds r24,AnalogOffsetGier
411 0216 8A30 cpi r24,lo8(10)
412 0218 40F4 brsh .L33
413 021a 8091 0000 lds r24,VersionInfo+5
414 021e 8460 ori r24,lo8(4)
415 0220 8093 0000 sts VersionInfo+5,r24
416 0224 8AE0 ldi r24,lo8(10)
417 0226 8093 0000 sts AnalogOffsetGier,r24
418 .L33:
419 022a 8091 0000 lds r24,AnalogOffsetGier
420 022e 863F cpi r24,lo8(-10)
421 0230 40F0 brlo .L34
422 0232 8091 0000 lds r24,VersionInfo+5
423 0236 8460 ori r24,lo8(4)
424 0238 8093 0000 sts VersionInfo+5,r24
425 023c 85EF ldi r24,lo8(-11)
426 023e 8093 0000 sts AnalogOffsetGier,r24
427 .L34:
428 0242 8091 0000 lds r24,twi_state
429 0246 8823 tst r24
430 0248 39F0 breq .L36
431 024a C701 movw r24,r14
432 024c 0E94 0000 call CheckDelay
433 0250 8823 tst r24
434 0252 09F0 breq .+2
435 0254 90CF rjmp .L47
436 0256 F5CF rjmp .L34
437 .L36:
438 0258 1092 0000 sts AdReady,__zero_reg__
439 025c 8FEC ldi r24,lo8(-49)
440 025e 8093 7A00 sts 122,r24
441 .L39:
442 0262 8091 0000 lds r24,AdReady
443 0266 8823 tst r24
444 0268 E1F3 breq .L39
445 026a CA30 cpi r28,lo8(10)
446 026c 20F4 brsh .L15
447 026e 8AE0 ldi r24,lo8(10)
448 0270 90E0 ldi r25,hi8(10)
449 0272 0E94 0000 call Delay_ms_Mess
450 .L15:
451 0276 C150 subi r28,lo8(-(-1))
452 0278 09F0 breq .+2
453 027a 2DCF rjmp .L43
454 027c 86E4 ldi r24,lo8(70)
455 027e 90E0 ldi r25,hi8(70)
456 0280 0E94 0000 call Delay_ms_Mess
457 /* epilogue: frame size=0 */
458 0284 CF91 pop r28
459 0286 1F91 pop r17
460 0288 FF90 pop r15
461 028a EF90 pop r14
462 028c 0895 ret
463 /* epilogue end (size=5) */
464 /* function SucheGyroOffset size 238 (229) */
466 .lcomm kanal.0,1
467 .lcomm state.1,1
468 .lcomm subcount.2,1
469 .lcomm gier1.3,2
470 .lcomm roll1.4,2
471 .lcomm nick1.5,2
472 .lcomm nick_filter.6,2
473 .lcomm roll_filter.7,2
474 .lcomm accy.8,2
475 .lcomm accx.9,2
476 .lcomm tmpLuftdruck.10,4
477 .lcomm messanzahl_Druck.11,1
478 .global __vector_24
480 __vector_24:
481 /* prologue: frame size=0 */
482 028e 1F92 push __zero_reg__
483 0290 0F92 push __tmp_reg__
484 0292 0FB6 in __tmp_reg__,__SREG__
485 0294 0F92 push __tmp_reg__
486 0296 1124 clr __zero_reg__
487 0298 AF92 push r10
488 029a BF92 push r11
489 029c CF92 push r12
490 029e DF92 push r13
491 02a0 EF92 push r14
492 02a2 FF92 push r15
493 02a4 0F93 push r16
494 02a6 1F93 push r17
495 02a8 2F93 push r18
496 02aa 3F93 push r19
497 02ac 4F93 push r20
498 02ae 5F93 push r21
499 02b0 6F93 push r22
500 02b2 7F93 push r23
501 02b4 8F93 push r24
502 02b6 9F93 push r25
503 02b8 AF93 push r26
504 02ba BF93 push r27
505 02bc EF93 push r30
506 02be FF93 push r31
507 /* prologue end (size=25) */
508 02c0 8091 0000 lds r24,state.1
509 02c4 282F mov r18,r24
510 02c6 3327 clr r19
511 02c8 4427 clr r20
512 02ca 5527 clr r21
513 02cc 8F5F subi r24,lo8(-(1))
514 02ce 8093 0000 sts state.1,r24
515 02d2 F901 movw r30,r18
516 02d4 2231 cpi r18,18
517 02d6 3105 cpc r19,__zero_reg__
518 02d8 08F0 brlo .+2
519 02da 8CC3 rjmp .L101
520 02dc E050 subi r30,lo8(-(pm(.L102)))
521 02de F040 sbci r31,hi8(-(pm(.L102)))
522 02e0 0C94 0000 jmp __tablejump2__
523 .data
524 .section .progmem.gcc_sw_table, "a", @progbits
525 .p2align 1
526 .L102:
527 0000 0000 .word pm(.L53)
528 0002 0000 .word pm(.L54)
529 0004 0000 .word pm(.L55)
530 0006 0000 .word pm(.L56)
531 0008 0000 .word pm(.L57)
532 000a 0000 .word pm(.L58)
533 000c 0000 .word pm(.L59)
534 000e 0000 .word pm(.L60)
535 0010 0000 .word pm(.L61)
536 0012 0000 .word pm(.L94)
537 0014 0000 .word pm(.L58)
538 0016 0000 .word pm(.L73)
539 0018 0000 .word pm(.L74)
540 001a 0000 .word pm(.L79)
541 001c 0000 .word pm(.L80)
542 001e 0000 .word pm(.L81)
543 0020 0000 .word pm(.L87)
544 0022 0000 .word pm(.L93)
545 .text
546 .L53:
547 02e4 8091 7800 lds r24,120
548 02e8 9091 7900 lds r25,(120)+1
549 02ec 46C0 rjmp .L111
550 .L54:
551 02ee 8091 7800 lds r24,120
552 02f2 9091 7900 lds r25,(120)+1
553 02f6 2CC1 rjmp .L110
554 .L55:
555 02f8 8091 7800 lds r24,120
556 02fc 9091 7900 lds r25,(120)+1
557 0300 9093 0000 sts (gier1.3)+1,r25
558 0304 8093 0000 sts gier1.3,r24
559 0308 57C1 rjmp .L112
560 .L56:
561 030a 8091 0000 lds r24,NeutralAccY
562 030e 9091 0000 lds r25,(NeutralAccY)+1
563 0312 2091 7800 lds r18,120
564 0316 3091 7900 lds r19,(120)+1
565 031a 821B sub r24,r18
566 031c 930B sbc r25,r19
567 031e 9093 0000 sts (Aktuell_ay)+1,r25
568 0322 8093 0000 sts Aktuell_ay,r24
569 0326 8091 0000 lds r24,Aktuell_ay
570 032a 9091 0000 lds r25,(Aktuell_ay)+1
571 032e 9093 0000 sts (accy.8)+1,r25
572 0332 8093 0000 sts accy.8,r24
573 0336 5EC1 rjmp .L113
574 .L57:
575 0338 8091 7800 lds r24,120
576 033c 9091 7900 lds r25,(120)+1
577 0340 2091 0000 lds r18,NeutralAccX
578 0344 3091 0000 lds r19,(NeutralAccX)+1
579 0348 821B sub r24,r18
580 034a 930B sbc r25,r19
581 034c 9093 0000 sts (Aktuell_ax)+1,r25
582 0350 8093 0000 sts Aktuell_ax,r24
583 0354 8091 0000 lds r24,Aktuell_ax
584 0358 9091 0000 lds r25,(Aktuell_ax)+1
585 035c 9093 0000 sts (accx.9)+1,r25
586 0360 8093 0000 sts accx.9,r24
587 0364 49C3 rjmp .L108
588 .L58:
589 0366 8091 0000 lds r24,nick1.5
590 036a 9091 0000 lds r25,(nick1.5)+1
591 036e 2091 7800 lds r18,120
592 0372 3091 7900 lds r19,(120)+1
593 0376 820F add r24,r18
594 0378 931F adc r25,r19
595 .L111:
596 037a 9093 0000 sts (nick1.5)+1,r25
597 037e 8093 0000 sts nick1.5,r24
598 .L115:
599 0382 81E0 ldi r24,lo8(1)
600 0384 3AC3 rjmp .L109
601 .L59:
602 0386 8091 0000 lds r24,roll1.4
603 038a 9091 0000 lds r25,(roll1.4)+1
604 038e 2091 7800 lds r18,120
605 0392 3091 7900 lds r19,(120)+1
606 0396 820F add r24,r18
607 0398 931F adc r25,r19
608 039a 9093 0000 sts (roll1.4)+1,r25
609 039e 8093 0000 sts roll1.4,r24
610 03a2 84E0 ldi r24,lo8(4)
611 03a4 2AC3 rjmp .L109
612 .L60:
613 03a6 8091 0000 lds r24,UBat
614 03aa 9091 0000 lds r25,(UBat)+1
615 03ae 9C01 movw r18,r24
616 03b0 220F lsl r18
617 03b2 331F rol r19
618 03b4 280F add r18,r24
619 03b6 391F adc r19,r25
620 03b8 8091 7800 lds r24,120
621 03bc 9091 7900 lds r25,(120)+1
622 03c0 63E0 ldi r22,lo8(3)
623 03c2 70E0 ldi r23,hi8(3)
624 03c4 0E94 0000 call __udivmodhi4
625 03c8 260F add r18,r22
626 03ca 371F adc r19,r23
627 03cc 3695 lsr r19
628 03ce 2795 ror r18
629 03d0 3695 lsr r19
630 03d2 2795 ror r18
631 03d4 3093 0000 sts (UBat)+1,r19
632 03d8 2093 0000 sts UBat,r18
633 03dc 85E0 ldi r24,lo8(5)
634 03de 0DC3 rjmp .L109
635 .L61:
636 03e0 8091 7800 lds r24,120
637 03e4 9091 7900 lds r25,(120)+1
638 03e8 4091 0000 lds r20,NeutralAccZ
639 03ec 5091 0000 lds r21,(NeutralAccZ)+1
640 03f0 841B sub r24,r20
641 03f2 950B sbc r25,r21
642 03f4 9093 0000 sts (AdWertAccHoch)+1,r25
643 03f8 8093 0000 sts AdWertAccHoch,r24
644 03fc 8091 0000 lds r24,AdWertAccHoch
645 0400 9091 0000 lds r25,(AdWertAccHoch)+1
646 0404 0297 sbiw r24,2
647 0406 04F1 brlt .L62
648 0408 22E0 ldi r18,hi8(750)
649 040a 4E3E cpi r20,lo8(750)
650 040c 5207 cpc r21,r18
651 040e 84F4 brge .L63
652 0410 2091 0000 lds r18,subcount.2
653 0414 2B5F subi r18,lo8(-(5))
654 0416 2093 0000 sts subcount.2,r18
655 041a 2550 subi r18,lo8(-(-5))
656 041c 8091 0000 lds r24,modell_fliegt
657 0420 9091 0000 lds r25,(modell_fliegt)+1
658 0424 845F subi r24,lo8(500)
659 0426 9140 sbci r25,hi8(500)
660 0428 18F4 brsh .L63
661 042a 215F subi r18,lo8(-(15))
662 042c 2093 0000 sts subcount.2,r18
663 .L63:
664 0430 8091 0000 lds r24,subcount.2
665 0434 8536 cpi r24,lo8(101)
666 0436 84F1 brlt .L66
667 0438 4F5F subi r20,lo8(-(1))
668 043a 5F4F sbci r21,hi8(-(1))
669 043c 5093 0000 sts (NeutralAccZ)+1,r21
670 0440 4093 0000 sts NeutralAccZ,r20
671 0444 8456 subi r24,lo8(-(-100))
672 0446 26C0 rjmp .L104
673 .L62:
674 0448 8091 0000 lds r24,AdWertAccHoch
675 044c 9091 0000 lds r25,(AdWertAccHoch)+1
676 0450 8F5F subi r24,lo8(-1)
677 0452 9F4F sbci r25,hi8(-1)
678 0454 0CF5 brge .L66
679 0456 32E0 ldi r19,hi8(551)
680 0458 4732 cpi r20,lo8(551)
681 045a 5307 cpc r21,r19
682 045c ECF0 brlt .L66
683 045e 2091 0000 lds r18,subcount.2
684 0462 2550 subi r18,lo8(-(-5))
685 0464 2093 0000 sts subcount.2,r18
686 0468 2B5F subi r18,lo8(-(5))
687 046a 8091 0000 lds r24,modell_fliegt
688 046e 9091 0000 lds r25,(modell_fliegt)+1
689 0472 845F subi r24,lo8(500)
690 0474 9140 sbci r25,hi8(500)
691 0476 18F4 brsh .L69
692 0478 2F50 subi r18,lo8(-(-15))
693 047a 2093 0000 sts subcount.2,r18
694 .L69:
695 047e 8091 0000 lds r24,subcount.2
696 0482 8C39 cpi r24,lo8(-100)
697 0484 4CF4 brge .L66
698 0486 4150 subi r20,lo8(-(-1))
699 0488 5040 sbci r21,hi8(-(-1))
700 048a 5093 0000 sts (NeutralAccZ)+1,r21
701 048e 4093 0000 sts NeutralAccZ,r20
702 0492 8C59 subi r24,lo8(-(100))
703 .L104:
704 0494 8093 0000 sts subcount.2,r24
705 .L66:
706 0498 81E0 ldi r24,lo8(1)
707 049a 8093 0000 sts messanzahl_AccHoch,r24
708 049e 8091 7800 lds r24,120
709 04a2 9091 7900 lds r25,(120)+1
710 04a6 9093 0000 sts (Aktuell_az)+1,r25
711 04aa 8093 0000 sts Aktuell_az,r24
712 04ae 8091 0000 lds r24,AdWertAccHoch
713 04b2 9091 0000 lds r25,(AdWertAccHoch)+1
714 04b6 9C01 movw r18,r24
715 04b8 4427 clr r20
716 04ba 37FD sbrc r19,7
717 04bc 4095 com r20
718 04be 542F mov r21,r20
719 04c0 8091 0000 lds r24,Mess_Integral_Hoch
720 04c4 9091 0000 lds r25,(Mess_Integral_Hoch)+1
721 04c8 A091 0000 lds r26,(Mess_Integral_Hoch)+2
722 04cc B091 0000 lds r27,(Mess_Integral_Hoch)+3
723 04d0 820F add r24,r18
724 04d2 931F adc r25,r19
725 04d4 A41F adc r26,r20
726 04d6 B51F adc r27,r21
727 04d8 8093 0000 sts Mess_Integral_Hoch,r24
728 04dc 9093 0000 sts (Mess_Integral_Hoch)+1,r25
729 04e0 A093 0000 sts (Mess_Integral_Hoch)+2,r26
730 04e4 B093 0000 sts (Mess_Integral_Hoch)+3,r27
731 04e8 2091 0000 lds r18,Mess_Integral_Hoch
732 04ec 3091 0000 lds r19,(Mess_Integral_Hoch)+1
733 04f0 4091 0000 lds r20,(Mess_Integral_Hoch)+2
734 04f4 5091 0000 lds r21,(Mess_Integral_Hoch)+3
735 04f8 57FF sbrs r21,7
736 04fa 04C0 rjmp .L71
737 04fc 2150 subi r18,lo8(-(1023))
738 04fe 3C4F sbci r19,hi8(-(1023))
739 0500 4F4F sbci r20,hlo8(-(1023))
740 0502 5F4F sbci r21,hhi8(-(1023))
741 .L71:
742 0504 0AE0 ldi r16,10
743 0506 5595 1: asr r21
744 0508 4795 ror r20
745 050a 3795 ror r19
746 050c 2795 ror r18
747 050e 0A95 dec r16
748 0510 D1F7 brne 1b
749 0512 8091 0000 lds r24,Mess_Integral_Hoch
750 0516 9091 0000 lds r25,(Mess_Integral_Hoch)+1
751 051a A091 0000 lds r26,(Mess_Integral_Hoch)+2
752 051e B091 0000 lds r27,(Mess_Integral_Hoch)+3
753 0522 821B sub r24,r18
754 0524 930B sbc r25,r19
755 0526 A40B sbc r26,r20
756 0528 B50B sbc r27,r21
757 052a 8093 0000 sts Mess_Integral_Hoch,r24
758 052e 9093 0000 sts (Mess_Integral_Hoch)+1,r25
759 0532 A093 0000 sts (Mess_Integral_Hoch)+2,r26
760 0536 B093 0000 sts (Mess_Integral_Hoch)+3,r27
761 053a 2EC1 rjmp .L114
762 .L73:
763 053c 8091 0000 lds r24,roll1.4
764 0540 9091 0000 lds r25,(roll1.4)+1
765 0544 2091 7800 lds r18,120
766 0548 3091 7900 lds r19,(120)+1
767 054c 820F add r24,r18
768 054e 931F adc r25,r19
769 .L110:
770 0550 9093 0000 sts (roll1.4)+1,r25
771 0554 8093 0000 sts roll1.4,r24
772 0558 1092 0000 sts kanal.0,__zero_reg__
773 055c 50C2 rjmp .L52
774 .L74:
775 055e 8091 0000 lds r24,PlatinenVersion
776 0562 8A30 cpi r24,lo8(10)
777 0564 71F4 brne .L75
778 0566 8091 7800 lds r24,120
779 056a 9091 7900 lds r25,(120)+1
780 056e 2091 0000 lds r18,gier1.3
781 0572 3091 0000 lds r19,(gier1.3)+1
782 0576 820F add r24,r18
783 0578 931F adc r25,r19
784 057a 0196 adiw r24,1
785 057c 9695 lsr r25
786 057e 8795 ror r24
787 0580 17C0 rjmp .L105
788 .L75:
789 0582 4091 0000 lds r20,gier1.3
790 0586 5091 0000 lds r21,(gier1.3)+1
791 058a 8431 cpi r24,lo8(20)
792 058c 58F0 brlo .L77
793 058e 2091 7800 lds r18,120
794 0592 3091 7900 lds r19,(120)+1
795 0596 240F add r18,r20
796 0598 351F adc r19,r21
797 059a 8FEF ldi r24,lo8(2047)
798 059c 97E0 ldi r25,hi8(2047)
799 059e 821B sub r24,r18
800 05a0 930B sbc r25,r19
801 05a2 06C0 rjmp .L105
802 .L77:
803 05a4 8091 7800 lds r24,120
804 05a8 9091 7900 lds r25,(120)+1
805 05ac 840F add r24,r20
806 05ae 951F adc r25,r21
807 .L105:
808 05b0 9093 0000 sts (AdWertGier)+1,r25
809 05b4 8093 0000 sts AdWertGier,r24
810 .L112:
811 05b8 86E0 ldi r24,lo8(6)
812 05ba 1FC2 rjmp .L109
813 .L79:
814 05bc 8091 0000 lds r24,NeutralAccY
815 05c0 9091 0000 lds r25,(NeutralAccY)+1
816 05c4 2091 7800 lds r18,120
817 05c8 3091 7900 lds r19,(120)+1
818 05cc 821B sub r24,r18
819 05ce 930B sbc r25,r19
820 05d0 9093 0000 sts (Aktuell_ay)+1,r25
821 05d4 8093 0000 sts Aktuell_ay,r24
822 05d8 8091 0000 lds r24,Aktuell_ay
823 05dc 9091 0000 lds r25,(Aktuell_ay)+1
824 05e0 2091 0000 lds r18,accy.8
825 05e4 3091 0000 lds r19,(accy.8)+1
826 05e8 820F add r24,r18
827 05ea 931F adc r25,r19
828 05ec 9093 0000 sts (AdWertAccRoll)+1,r25
829 05f0 8093 0000 sts AdWertAccRoll,r24
830 .L113:
831 05f4 87E0 ldi r24,lo8(7)
832 05f6 01C2 rjmp .L109
833 .L80:
834 05f8 8091 7800 lds r24,120
835 05fc 9091 7900 lds r25,(120)+1
836 0600 2091 0000 lds r18,NeutralAccX
837 0604 3091 0000 lds r19,(NeutralAccX)+1
838 0608 821B sub r24,r18
839 060a 930B sbc r25,r19
840 060c 9093 0000 sts (Aktuell_ax)+1,r25
841 0610 8093 0000 sts Aktuell_ax,r24
842 0614 8091 0000 lds r24,Aktuell_ax
843 0618 9091 0000 lds r25,(Aktuell_ax)+1
844 061c 2091 0000 lds r18,accx.9
845 0620 3091 0000 lds r19,(accx.9)+1
846 0624 820F add r24,r18
847 0626 931F adc r25,r19
848 0628 9093 0000 sts (AdWertAccNick)+1,r25
849 062c 8093 0000 sts AdWertAccNick,r24
850 0630 E3C1 rjmp .L108
851 .L81:
852 0632 2091 0000 lds r18,nick1.5
853 0636 3091 0000 lds r19,(nick1.5)+1
854 063a 8091 7800 lds r24,120
855 063e 9091 7900 lds r25,(120)+1
856 0642 280F add r18,r24
857 0644 391F adc r19,r25
858 0646 3093 0000 sts (nick1.5)+1,r19
859 064a 2093 0000 sts nick1.5,r18
860 064e 8091 0000 lds r24,PlatinenVersion
861 0652 8A30 cpi r24,lo8(10)
862 0654 19F4 brne .L82
863 0656 220F add r18,r18
864 0658 331F adc r19,r19
865 065a 04C0 rjmp .L106
866 .L82:
867 065c 220F lsl r18
868 065e 331F rol r19
869 0660 220F lsl r18
870 0662 331F rol r19
871 .L106:
872 0664 3093 0000 sts (nick1.5)+1,r19
873 0668 2093 0000 sts nick1.5,r18
874 066c 2091 0000 lds r18,nick1.5
875 0670 3091 0000 lds r19,(nick1.5)+1
876 0674 C901 movw r24,r18
877 0676 37FD sbrc r19,7
878 0678 0796 adiw r24,7
879 .L84:
880 067a A3E0 ldi r26,3
881 067c 9595 1: asr r25
882 067e 8795 ror r24
883 0680 AA95 dec r26
884 0682 E1F7 brne 1b
885 0684 9093 0000 sts (AdWertNick)+1,r25
886 0688 8093 0000 sts AdWertNick,r24
887 068c 8091 0000 lds r24,nick_filter.6
888 0690 9091 0000 lds r25,(nick_filter.6)+1
889 0694 820F add r24,r18
890 0696 931F adc r25,r19
891 0698 97FD sbrc r25,7
892 069a 0196 adiw r24,1
893 .L85:
894 069c 9595 asr r25
895 069e 8795 ror r24
896 06a0 9093 0000 sts (nick_filter.6)+1,r25
897 06a4 8093 0000 sts nick_filter.6,r24
898 06a8 2091 0000 lds r18,AdNeutralNick
899 06ac 3091 0000 lds r19,(AdNeutralNick)+1
900 06b0 821B sub r24,r18
901 06b2 930B sbc r25,r19
902 06b4 9093 0000 sts (HiResNick)+1,r25
903 06b8 8093 0000 sts HiResNick,r24
904 06bc 2091 0000 lds r18,AdWertNickFilter
905 06c0 3091 0000 lds r19,(AdWertNickFilter)+1
906 06c4 8091 0000 lds r24,HiResNick
907 06c8 9091 0000 lds r25,(HiResNick)+1
908 06cc 280F add r18,r24
909 06ce 391F adc r19,r25
910 06d0 37FF sbrs r19,7
911 06d2 02C0 rjmp .L86
912 06d4 2F5F subi r18,lo8(-(1))
913 06d6 3F4F sbci r19,hi8(-(1))
914 .L86:
915 06d8 3595 asr r19
916 06da 2795 ror r18
917 06dc 3093 0000 sts (AdWertNickFilter)+1,r19
918 06e0 2093 0000 sts AdWertNickFilter,r18
919 06e4 4ECE rjmp .L115
920 .L87:
921 06e6 2091 0000 lds r18,roll1.4
922 06ea 3091 0000 lds r19,(roll1.4)+1
923 06ee 8091 7800 lds r24,120
924 06f2 9091 7900 lds r25,(120)+1
925 06f6 280F add r18,r24
926 06f8 391F adc r19,r25
927 06fa 3093 0000 sts (roll1.4)+1,r19
928 06fe 2093 0000 sts roll1.4,r18
929 0702 8091 0000 lds r24,PlatinenVersion
930 0706 8A30 cpi r24,lo8(10)
931 0708 19F4 brne .L88
932 070a 220F add r18,r18
933 070c 331F adc r19,r19
934 070e 04C0 rjmp .L107
935 .L88:
936 0710 220F lsl r18
937 0712 331F rol r19
938 0714 220F lsl r18
939 0716 331F rol r19
940 .L107:
941 0718 3093 0000 sts (roll1.4)+1,r19
942 071c 2093 0000 sts roll1.4,r18
943 0720 2091 0000 lds r18,roll1.4
944 0724 3091 0000 lds r19,(roll1.4)+1
945 0728 C901 movw r24,r18
946 072a 37FD sbrc r19,7
947 072c 0796 adiw r24,7
948 .L90:
949 072e 63E0 ldi r22,3
950 0730 9595 1: asr r25
951 0732 8795 ror r24
952 0734 6A95 dec r22
953 0736 E1F7 brne 1b
954 0738 9093 0000 sts (AdWertRoll)+1,r25
955 073c 8093 0000 sts AdWertRoll,r24
956 0740 8091 0000 lds r24,roll_filter.7
957 0744 9091 0000 lds r25,(roll_filter.7)+1
958 0748 820F add r24,r18
959 074a 931F adc r25,r19
960 074c 97FD sbrc r25,7
961 074e 0196 adiw r24,1
962 .L91:
963 0750 9595 asr r25
964 0752 8795 ror r24
965 0754 9093 0000 sts (roll_filter.7)+1,r25
966 0758 8093 0000 sts roll_filter.7,r24
967 075c 2091 0000 lds r18,AdNeutralRoll
968 0760 3091 0000 lds r19,(AdNeutralRoll)+1
969 0764 821B sub r24,r18
970 0766 930B sbc r25,r19
971 0768 9093 0000 sts (HiResRoll)+1,r25
972 076c 8093 0000 sts HiResRoll,r24
973 0770 2091 0000 lds r18,AdWertRollFilter
974 0774 3091 0000 lds r19,(AdWertRollFilter)+1
975 0778 8091 0000 lds r24,HiResRoll
976 077c 9091 0000 lds r25,(HiResRoll)+1
977 0780 280F add r18,r24
978 0782 391F adc r19,r25
979 0784 37FF sbrs r19,7
980 0786 02C0 rjmp .L92
981 0788 2F5F subi r18,lo8(-(1))
982 078a 3F4F sbci r19,hi8(-(1))
983 .L92:
984 078c 3595 asr r19
985 078e 2795 ror r18
986 0790 3093 0000 sts (AdWertRollFilter)+1,r19
987 0794 2093 0000 sts AdWertRollFilter,r18
988 .L114:
989 0798 83E0 ldi r24,lo8(3)
990 079a 2FC1 rjmp .L109
991 .L93:
992 079c 1092 0000 sts state.1,__zero_reg__
993 07a0 81E0 ldi r24,lo8(1)
994 07a2 8093 0000 sts AdReady,r24
995 07a6 8091 0000 lds r24,ZaehlMessungen
996 07aa 9091 0000 lds r25,(ZaehlMessungen)+1
997 07ae 0196 adiw r24,1
998 07b0 9093 0000 sts (ZaehlMessungen)+1,r25
999 07b4 8093 0000 sts ZaehlMessungen,r24
1000 .L94:
1001 07b8 8091 7800 lds r24,120
1002 07bc 9091 7900 lds r25,(120)+1
1003 07c0 9093 0000 sts (MessLuftdruck)+1,r25
1004 07c4 8093 0000 sts MessLuftdruck,r24
1005 07c8 8091 0000 lds r24,MessLuftdruck
1006 07cc 9091 0000 lds r25,(MessLuftdruck)+1
1007 07d0 AA27 clr r26
1008 07d2 BB27 clr r27
1009 07d4 A090 0000 lds r10,tmpLuftdruck.10
1010 07d8 B090 0000 lds r11,(tmpLuftdruck.10)+1
1011 07dc C090 0000 lds r12,(tmpLuftdruck.10)+2
1012 07e0 D090 0000 lds r13,(tmpLuftdruck.10)+3
1013 07e4 A80E add r10,r24
1014 07e6 B91E adc r11,r25
1015 07e8 CA1E adc r12,r26
1016 07ea DB1E adc r13,r27
1017 07ec A092 0000 sts tmpLuftdruck.10,r10
1018 07f0 B092 0000 sts (tmpLuftdruck.10)+1,r11
1019 07f4 C092 0000 sts (tmpLuftdruck.10)+2,r12
1020 07f8 D092 0000 sts (tmpLuftdruck.10)+3,r13
1021 07fc 8091 0000 lds r24,messanzahl_Druck.11
1022 0800 8F5F subi r24,lo8(-(1))
1023 0802 8093 0000 sts messanzahl_Druck.11,r24
1024 0806 8231 cpi r24,lo8(18)
1025 0808 08F4 brsh .+2
1026 080a F6C0 rjmp .L108
1027 080c 8091 0000 lds r24,Luftdruck
1028 0810 9091 0000 lds r25,(Luftdruck)+1
1029 0814 A091 0000 lds r26,(Luftdruck)+2
1030 0818 B091 0000 lds r27,(Luftdruck)+3
1031 081c 7C01 movw r14,r24
1032 081e 8D01 movw r16,r26
1033 0820 23E0 ldi r18,3
1034 0822 EE0C 1: lsl r14
1035 0824 FF1C rol r15
1036 0826 001F rol r16
1037 0828 111F rol r17
1038 082a 2A95 dec r18
1039 082c D1F7 brne 1b
1040 082e E81A sub r14,r24
1041 0830 F90A sbc r15,r25
1042 0832 0A0B sbc r16,r26
1043 0834 1B0B sbc r17,r27
1044 0836 EA0C add r14,r10
1045 0838 FB1C adc r15,r11
1046 083a 0C1D adc r16,r12
1047 083c 1D1D adc r17,r13
1048 083e 8091 0000 lds r24,ExpandBaro
1049 0842 9927 clr r25
1050 0844 87FD sbrc r24,7
1051 0846 9095 com r25
1052 0848 A92F mov r26,r25
1053 084a B92F mov r27,r25
1054 084c BC01 movw r22,r24
1055 084e CD01 movw r24,r26
1056 0850 26EC ldi r18,lo8(9414)
1057 0852 34E2 ldi r19,hi8(9414)
1058 0854 40E0 ldi r20,hlo8(9414)
1059 0856 50E0 ldi r21,hhi8(9414)
1060 0858 0E94 0000 call __mulsi3
1061 085c DC01 movw r26,r24
1062 085e CB01 movw r24,r22
1063 0860 E81A sub r14,r24
1064 0862 F90A sbc r15,r25
1065 0864 0A0B sbc r16,r26
1066 0866 1B0B sbc r17,r27
1067 0868 D801 movw r26,r16
1068 086a C701 movw r24,r14
1069 086c 0496 adiw r24,4
1070 086e A11D adc r26,__zero_reg__
1071 0870 B11D adc r27,__zero_reg__
1072 0872 B7FF sbrs r27,7
1073 0874 05C0 rjmp .L96
1074 0876 D801 movw r26,r16
1075 0878 C701 movw r24,r14
1076 087a 0B96 adiw r24,11
1077 087c A11D adc r26,__zero_reg__
1078 087e B11D adc r27,__zero_reg__
1079 .L96:
1080 0880 13E0 ldi r17,3
1081 0882 B595 1: asr r27
1082 0884 A795 ror r26
1083 0886 9795 ror r25
1084 0888 8795 ror r24
1085 088a 1A95 dec r17
1086 088c D1F7 brne 1b
1087 088e 8093 0000 sts Luftdruck,r24
1088 0892 9093 0000 sts (Luftdruck)+1,r25
1089 0896 A093 0000 sts (Luftdruck)+2,r26
1090 089a B093 0000 sts (Luftdruck)+3,r27
1091 089e 8091 0000 lds r24,StartLuftdruck
1092 08a2 9091 0000 lds r25,(StartLuftdruck)+1
1093 08a6 7C01 movw r14,r24
1094 08a8 0027 clr r16
1095 08aa F7FC sbrc r15,7
1096 08ac 0095 com r16
1097 08ae 102F mov r17,r16
1098 08b0 8091 0000 lds r24,Luftdruck
1099 08b4 9091 0000 lds r25,(Luftdruck)+1
1100 08b8 A091 0000 lds r26,(Luftdruck)+2
1101 08bc B091 0000 lds r27,(Luftdruck)+3
1102 08c0 E81A sub r14,r24
1103 08c2 F90A sbc r15,r25
1104 08c4 0A0B sbc r16,r26
1105 08c6 1B0B sbc r17,r27
1106 08c8 E092 0000 sts HoehenWert,r14
1107 08cc F092 0000 sts (HoehenWert)+1,r15
1108 08d0 0093 0000 sts (HoehenWert)+2,r16
1109 08d4 1093 0000 sts (HoehenWert)+3,r17
1110 08d8 2091 0000 lds r18,SummenHoehe
1111 08dc 3091 0000 lds r19,(SummenHoehe)+1
1112 08e0 4091 0000 lds r20,(SummenHoehe)+2
1113 08e4 5091 0000 lds r21,(SummenHoehe)+3
1114 08e8 57FF sbrs r21,7
1115 08ea 04C0 rjmp .L97
1116 08ec 215F subi r18,lo8(-(15))
1117 08ee 3F4F sbci r19,hi8(-(15))
1118 08f0 4F4F sbci r20,hlo8(-(15))
1119 08f2 5F4F sbci r21,hhi8(-(15))
1120 .L97:
1121 08f4 F4E0 ldi r31,4
1122 08f6 5595 1: asr r21
1123 08f8 4795 ror r20
1124 08fa 3795 ror r19
1125 08fc 2795 ror r18
1126 08fe FA95 dec r31
1127 0900 D1F7 brne 1b
1128 0902 8091 0000 lds r24,SummenHoehe
1129 0906 9091 0000 lds r25,(SummenHoehe)+1
1130 090a A091 0000 lds r26,(SummenHoehe)+2
1131 090e B091 0000 lds r27,(SummenHoehe)+3
1132 0912 821B sub r24,r18
1133 0914 930B sbc r25,r19
1134 0916 A40B sbc r26,r20
1135 0918 B50B sbc r27,r21
1136 091a 8093 0000 sts SummenHoehe,r24
1137 091e 9093 0000 sts (SummenHoehe)+1,r25
1138 0922 A093 0000 sts (SummenHoehe)+2,r26
1139 0926 B093 0000 sts (SummenHoehe)+3,r27
1140 092a 8091 0000 lds r24,SummenHoehe
1141 092e 9091 0000 lds r25,(SummenHoehe)+1
1142 0932 A091 0000 lds r26,(SummenHoehe)+2
1143 0936 B091 0000 lds r27,(SummenHoehe)+3
1144 093a 8E0D add r24,r14
1145 093c 9F1D adc r25,r15
1146 093e A01F adc r26,r16
1147 0940 B11F adc r27,r17
1148 0942 8093 0000 sts SummenHoehe,r24
1149 0946 9093 0000 sts (SummenHoehe)+1,r25
1150 094a A093 0000 sts (SummenHoehe)+2,r26
1151 094e B093 0000 sts (SummenHoehe)+3,r27
1152 0952 8091 0000 lds r24,VarioMeter
1153 0956 9091 0000 lds r25,(VarioMeter)+1
1154 095a AC01 movw r20,r24
1155 095c E5E0 ldi r30,5
1156 095e 440F 1: lsl r20
1157 0960 551F rol r21
1158 0962 EA95 dec r30
1159 0964 E1F7 brne 1b
1160 0966 481B sub r20,r24
1161 0968 590B sbc r21,r25
1162 096a 8091 0000 lds r24,SummenHoehe
1163 096e 9091 0000 lds r25,(SummenHoehe)+1
1164 0972 A091 0000 lds r26,(SummenHoehe)+2
1165 0976 B091 0000 lds r27,(SummenHoehe)+3
1166 097a B7FF sbrs r27,7
1167 097c 03C0 rjmp .L98
1168 097e 0F96 adiw r24,15
1169 0980 A11D adc r26,__zero_reg__
1170 0982 B11D adc r27,__zero_reg__
1171 .L98:
1172 0984 74E0 ldi r23,4
1173 0986 B595 1: asr r27
1174 0988 A795 ror r26
1175 098a 9795 ror r25
1176 098c 8795 ror r24
1177 098e 7A95 dec r23
1178 0990 D1F7 brne 1b
1179 0992 2091 0000 lds r18,HoehenWert
1180 0996 3091 0000 lds r19,(HoehenWert)+1
1181 099a 281B sub r18,r24
1182 099c 390B sbc r19,r25
1183 099e 63E0 ldi r22,3
1184 09a0 220F 1: lsl r18
1185 09a2 331F rol r19
1186 09a4 6A95 dec r22
1187 09a6 E1F7 brne 1b
1188 09a8 240F add r18,r20
1189 09aa 351F adc r19,r21
1190 09ac 37FF sbrs r19,7
1191 09ae 02C0 rjmp .L99
1192 09b0 215E subi r18,lo8(-(31))
1193 09b2 3F4F sbci r19,hi8(-(31))
1194 .L99:
1195 09b4 45E0 ldi r20,5
1196 09b6 3595 1: asr r19
1197 09b8 2795 ror r18
1198 09ba 4A95 dec r20
1199 09bc E1F7 brne 1b
1200 09be 3093 0000 sts (VarioMeter)+1,r19
1201 09c2 2093 0000 sts VarioMeter,r18
1202 09c6 D601 movw r26,r12
1203 09c8 C501 movw r24,r10
1204 09ca D7FE sbrs r13,7
1205 09cc 03C0 rjmp .L100
1206 09ce 0196 adiw r24,1
1207 09d0 A11D adc r26,__zero_reg__
1208 09d2 B11D adc r27,__zero_reg__
1209 .L100:
1210 09d4 B595 asr r27
1211 09d6 A795 ror r26
1212 09d8 9795 ror r25
1213 09da 8795 ror r24
1214 09dc 8093 0000 sts tmpLuftdruck.10,r24
1215 09e0 9093 0000 sts (tmpLuftdruck.10)+1,r25
1216 09e4 A093 0000 sts (tmpLuftdruck.10)+2,r26
1217 09e8 B093 0000 sts (tmpLuftdruck.10)+3,r27
1218 09ec 89E0 ldi r24,lo8(9)
1219 09ee 8093 0000 sts messanzahl_Druck.11,r24
1220 09f2 02C0 rjmp .L108
1221 .L101:
1222 09f4 1092 0000 sts state.1,__zero_reg__
1223 .L108:
1224 09f8 82E0 ldi r24,lo8(2)
1225 .L109:
1226 09fa 8093 0000 sts kanal.0,r24
1227 .L52:
1228 09fe 8091 0000 lds r24,kanal.0
1229 0a02 8093 7C00 sts 124,r24
1230 0a06 8091 0000 lds r24,state.1
1231 0a0a 8823 tst r24
1232 0a0c 19F0 breq .L51
1233 0a0e 8FEC ldi r24,lo8(-49)
1234 0a10 8093 7A00 sts 122,r24
1235 .L51:
1236 /* epilogue: frame size=0 */
1237 0a14 FF91 pop r31
1238 0a16 EF91 pop r30
1239 0a18 BF91 pop r27
1240 0a1a AF91 pop r26
1241 0a1c 9F91 pop r25
1242 0a1e 8F91 pop r24
1243 0a20 7F91 pop r23
1244 0a22 6F91 pop r22
1245 0a24 5F91 pop r21
1246 0a26 4F91 pop r20
1247 0a28 3F91 pop r19
1248 0a2a 2F91 pop r18
1249 0a2c 1F91 pop r17
1250 0a2e 0F91 pop r16
1251 0a30 FF90 pop r15
1252 0a32 EF90 pop r14
1253 0a34 DF90 pop r13
1254 0a36 CF90 pop r12
1255 0a38 BF90 pop r11
1256 0a3a AF90 pop r10
1257 0a3c 0F90 pop __tmp_reg__
1258 0a3e 0FBE out __SREG__,__tmp_reg__
1259 0a40 0F90 pop __tmp_reg__
1260 0a42 1F90 pop __zero_reg__
1261 0a44 1895 reti
1262 /* epilogue end (size=25) */
1263 /* function __vector_24 size 1014 (964) */
1265 .comm Aktuell_Nick,2,1
1266 .comm Aktuell_Roll,2,1
1267 .comm Aktuell_Gier,2,1
1268 .comm Aktuell_ax,2,1
1269 .comm Aktuell_ay,2,1
1270 .comm Aktuell_az,2,1
1271 .comm DruckOffsetSetting,1,1
1272 .comm StartLuftdruck,2,1
1273 .comm NeutralAccZ_float,4,1
1274 /* File "analog.c": code 1350 = 0x0546 (1285), prologues 31, epilogues 34 */
DEFINED SYMBOLS
*ABS*:00000000 analog.c
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:3 *ABS*:0000003f __SREG__
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:4 *ABS*:0000003e __SP_H__
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:5 *ABS*:0000003d __SP_L__
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:6 *ABS*:00000000 __tmp_reg__
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:7 *ABS*:00000001 __zero_reg__
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:14 .data:00000000 AdReady
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:19 .data:00000001 AnalogOffsetGier
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:24 .data:00000002 AnalogOffsetRoll
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:29 .data:00000003 AnalogOffsetNick
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:36 .bss:00000000 ZaehlMessungen
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:42 .bss:00000002 VarioMeter
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:48 .bss:00000004 ExpandBaro
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:54 .data:00000004 MessLuftdruck
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:61 .bss:00000005 SummenHoehe
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:67 .data:00000006 Luftdruck
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:74 .bss:00000009 messanzahl_AccHoch
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:80 .bss:0000000a AdWertAccHoch
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:86 .bss:0000000c AdWertAccNick
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:92 .bss:0000000e AdWertAccRoll
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:98 .bss:00000010 AdWertGier
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:104 .bss:00000012 AdWertRoll
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:110 .bss:00000014 AdWertNick
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:116 .data:0000000a HiResRoll
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:121 .data:0000000c HiResNick
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:128 .bss:00000016 AdWertGierFilter
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:134 .bss:00000018 AdWertRollFilter
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:140 .bss:0000001a AdWertNickFilter
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:146 .data:0000000e UBat
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:151 .text:00000000 ADC_Init
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:165 .progmem.data:00000000 __c.13
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:170 .text:0000000c SucheLuftruckOffset
*COM*:00000001 DruckOffsetSetting
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:258 .progmem.data:00000002 __c.12
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:263 .text:000000c0 SucheGyroOffset
.bss:0000001c kanal.0
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:466 .bss:0000001d state.1
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:467 .bss:0000001e subcount.2
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:468 .bss:0000001f gier1.3
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:469 .bss:00000021 roll1.4
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:470 .bss:00000023 nick1.5
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:471 .bss:00000025 nick_filter.6
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:472 .bss:00000027 roll_filter.7
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:473 .bss:00000029 accy.8
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:474 .bss:0000002b accx.9
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:475 .bss:0000002d tmpLuftdruck.10
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:476 .bss:00000031 messanzahl_Druck.11
C:\Users\Arthur-P\AppData\Local\Temp/cca4aaaa.s:480 .text:0000028e __vector_24
*COM*:00000002 Aktuell_ay
*COM*:00000002 Aktuell_ax
*COM*:00000002 Aktuell_az
*COM*:00000002 StartLuftdruck
*COM*:00000002 Aktuell_Nick
*COM*:00000002 Aktuell_Roll
*COM*:00000002 Aktuell_Gier
*COM*:00000004 NeutralAccZ_float
UNDEFINED SYMBOLS
__do_copy_data
__do_clear_bss
GetParamByte
Delay_ms_Mess
uart_putchar
_printf_P
SetParamByte
EE_Parameter
VersionInfo
SetDelay
twi_state
BLFlags
CheckDelay
__tablejump2__
NeutralAccY
NeutralAccX
__udivmodhi4
NeutralAccZ
modell_fliegt
Mess_Integral_Hoch
PlatinenVersion
AdNeutralNick
AdNeutralRoll
__mulsi3
HoehenWert