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 1092 0000 sts ExpandBaro,__zero_reg__
176 0014 83E0 ldi r24,lo8(3)
177 0016 90E0 ldi r25,hi8(3)
178 0018 0E94 0000 call GetParamByte
179 001c C82F mov r28,r24
180 001e DD27 clr r29
181 0020 C531 cpi r28,21
182 0022 D105 cpc r29,__zero_reg__
183 0024 08F0 brlo .L3
184 0026 2A97 sbiw r28,10
185 .L3:
186 0028 C7BD out 71-0x20,r28
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 C093 0000 sts DruckOffsetSetting,r28
229 008c 6C2F mov r22,r28
230 008e 83E0 ldi r24,lo8(3)
231 0090 90E0 ldi r25,hi8(3)
232 0092 0E94 0000 call SetParamByte
233 0096 8091 0000 lds r24,EE_Parameter+13
234 009a 80FF sbrs r24,0
235 009c 0AC0 rjmp .L10
236 009e 8091 0000 lds r24,DruckOffsetSetting
237 00a2 8A50 subi r24,lo8(-(-10))
238 00a4 8B3E cpi r24,lo8(-21)
239 00a6 28F0 brlo .L10
240 00a8 8091 0000 lds r24,VersionInfo+5
241 00ac 8064 ori r24,lo8(64)
242 00ae 8093 0000 sts VersionInfo+5,r24
243 .L10:
244 00b2 C7BD out 71-0x20,r28
245 00b4 8CE2 ldi r24,lo8(300)
246 00b6 91E0 ldi r25,hi8(300)
247 00b8 0E94 0000 call Delay_ms_Mess
248 /* epilogue: frame size=0 */
249 00bc DF91 pop r29
250 00be CF91 pop r28
251 00c0 0895 ret
252 /* epilogue end (size=3) */
253 /* function SucheLuftruckOffset size 93 (88) */
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 00c2 EF92 push r14
266 00c4 FF92 push r15
267 00c6 1F93 push r17
268 00c8 CF93 push r28
269 /* prologue end (size=4) */
270 00ca 10E0 ldi r17,lo8(0)
271 00cc 80ED ldi r24,lo8(2000)
272 00ce 97E0 ldi r25,hi8(2000)
273 00d0 0E94 0000 call SetDelay
274 00d4 7C01 movw r14,r24
275 00d6 CCE8 ldi r28,lo8(-116)
276 .L43:
277 00d8 1330 cpi r17,lo8(3)
278 00da 19F4 brne .L16
279 00dc CB30 cpi r28,lo8(11)
280 00de 08F0 brlo .L16
281 00e0 C9E0 ldi r28,lo8(9)
282 .L16:
283 00e2 10E0 ldi r17,lo8(0)
284 00e4 8091 0000 lds r24,AdWertNick
285 00e8 9091 0000 lds r25,(AdWertNick)+1
286 00ec 8C5F subi r24,lo8(1020)
287 00ee 9340 sbci r25,hi8(1020)
288 00f0 24F4 brge .L17
289 00f2 8091 0000 lds r24,AnalogOffsetNick
290 00f6 8150 subi r24,lo8(-(-1))
291 00f8 0AC0 rjmp .L48
292 .L17:
293 00fa 8091 0000 lds r24,AdWertNick
294 00fe 9091 0000 lds r25,(AdWertNick)+1
295 0102 8750 subi r24,lo8(1031)
296 0104 9440 sbci r25,hi8(1031)
297 0106 34F0 brlt .L19
298 0108 8091 0000 lds r24,AnalogOffsetNick
299 010c 8F5F subi r24,lo8(-(1))
300 .L48:
301 010e 8093 0000 sts AnalogOffsetNick,r24
302 0112 01C0 rjmp .L18
303 .L19:
304 0114 11E0 ldi r17,lo8(1)
305 .L18:
306 0116 8091 0000 lds r24,AdWertRoll
307 011a 9091 0000 lds r25,(AdWertRoll)+1
308 011e 8C5F subi r24,lo8(1020)
309 0120 9340 sbci r25,hi8(1020)
310 0122 24F4 brge .L21
311 0124 8091 0000 lds r24,AnalogOffsetRoll
312 0128 8150 subi r24,lo8(-(-1))
313 012a 0AC0 rjmp .L49
314 .L21:
315 012c 8091 0000 lds r24,AdWertRoll
316 0130 9091 0000 lds r25,(AdWertRoll)+1
317 0134 8750 subi r24,lo8(1031)
318 0136 9440 sbci r25,hi8(1031)
319 0138 34F0 brlt .L23
320 013a 8091 0000 lds r24,AnalogOffsetRoll
321 013e 8F5F subi r24,lo8(-(1))
322 .L49:
323 0140 8093 0000 sts AnalogOffsetRoll,r24
324 0144 01C0 rjmp .L22
325 .L23:
326 0146 1F5F subi r17,lo8(-(1))
327 .L22:
328 0148 8091 0000 lds r24,AdWertGier
329 014c 9091 0000 lds r25,(AdWertGier)+1
330 0150 8C5F subi r24,lo8(1020)
331 0152 9340 sbci r25,hi8(1020)
332 0154 24F4 brge .L25
333 0156 8091 0000 lds r24,AnalogOffsetGier
334 015a 8150 subi r24,lo8(-(-1))
335 015c 0AC0 rjmp .L50
336 .L25:
337 015e 8091 0000 lds r24,AdWertGier
338 0162 9091 0000 lds r25,(AdWertGier)+1
339 0166 8750 subi r24,lo8(1031)
340 0168 9440 sbci r25,hi8(1031)
341 016a C4F0 brlt .L27
342 016c 8091 0000 lds r24,AnalogOffsetGier
343 0170 8F5F subi r24,lo8(-(1))
344 .L50:
345 0172 8093 0000 sts AnalogOffsetGier,r24
346 0176 13C0 rjmp .L26
347 .L47:
348 0178 80E0 ldi r24,lo8(__c.12)
349 017a 90E0 ldi r25,hi8(__c.12)
350 017c 9F93 push r25
351 017e 8F93 push r24
352 0180 80E0 ldi r24,lo8(pm(uart_putchar))
353 0182 90E0 ldi r25,hi8(pm(uart_putchar))
354 0184 9F93 push r25
355 0186 8F93 push r24
356 0188 E091 0000 lds r30,_printf_P
357 018c F091 0000 lds r31,(_printf_P)+1
358 0190 0995 icall
359 0192 0F90 pop __tmp_reg__
360 0194 0F90 pop __tmp_reg__
361 0196 0F90 pop __tmp_reg__
362 0198 0F90 pop __tmp_reg__
363 019a 5FC0 rjmp .L36
364 .L27:
365 019c 1F5F subi r17,lo8(-(1))
366 .L26:
367 019e 82E1 ldi r24,lo8(18)
368 01a0 8093 0000 sts twi_state,r24
369 01a4 8091 0000 lds r24,BLFlags
370 01a8 8E7F andi r24,lo8(-2)
371 01aa 8093 0000 sts BLFlags,r24
372 01ae 85EA ldi r24,lo8(-91)
373 01b0 8093 BC00 sts 188,r24
374 01b4 8091 0000 lds r24,AnalogOffsetNick
375 01b8 8A30 cpi r24,lo8(10)
376 01ba 40F4 brsh .L29
377 01bc 8091 0000 lds r24,VersionInfo+5
378 01c0 8160 ori r24,lo8(1)
379 01c2 8093 0000 sts VersionInfo+5,r24
380 01c6 8AE0 ldi r24,lo8(10)
381 01c8 8093 0000 sts AnalogOffsetNick,r24
382 .L29:
383 01cc 8091 0000 lds r24,AnalogOffsetNick
384 01d0 863F cpi r24,lo8(-10)
385 01d2 40F0 brlo .L30
386 01d4 8091 0000 lds r24,VersionInfo+5
387 01d8 8160 ori r24,lo8(1)
388 01da 8093 0000 sts VersionInfo+5,r24
389 01de 85EF ldi r24,lo8(-11)
390 01e0 8093 0000 sts AnalogOffsetNick,r24
391 .L30:
392 01e4 8091 0000 lds r24,AnalogOffsetRoll
393 01e8 8A30 cpi r24,lo8(10)
394 01ea 40F4 brsh .L31
395 01ec 8091 0000 lds r24,VersionInfo+5
396 01f0 8260 ori r24,lo8(2)
397 01f2 8093 0000 sts VersionInfo+5,r24
398 01f6 8AE0 ldi r24,lo8(10)
399 01f8 8093 0000 sts AnalogOffsetRoll,r24
400 .L31:
401 01fc 8091 0000 lds r24,AnalogOffsetRoll
402 0200 863F cpi r24,lo8(-10)
403 0202 40F0 brlo .L32
404 0204 8091 0000 lds r24,VersionInfo+5
405 0208 8260 ori r24,lo8(2)
406 020a 8093 0000 sts VersionInfo+5,r24
407 020e 85EF ldi r24,lo8(-11)
408 0210 8093 0000 sts AnalogOffsetRoll,r24
409 .L32:
410 0214 8091 0000 lds r24,AnalogOffsetGier
411 0218 8A30 cpi r24,lo8(10)
412 021a 40F4 brsh .L33
413 021c 8091 0000 lds r24,VersionInfo+5
414 0220 8460 ori r24,lo8(4)
415 0222 8093 0000 sts VersionInfo+5,r24
416 0226 8AE0 ldi r24,lo8(10)
417 0228 8093 0000 sts AnalogOffsetGier,r24
418 .L33:
419 022c 8091 0000 lds r24,AnalogOffsetGier
420 0230 863F cpi r24,lo8(-10)
421 0232 40F0 brlo .L34
422 0234 8091 0000 lds r24,VersionInfo+5
423 0238 8460 ori r24,lo8(4)
424 023a 8093 0000 sts VersionInfo+5,r24
425 023e 85EF ldi r24,lo8(-11)
426 0240 8093 0000 sts AnalogOffsetGier,r24
427 .L34:
428 0244 8091 0000 lds r24,twi_state
429 0248 8823 tst r24
430 024a 39F0 breq .L36
431 024c C701 movw r24,r14
432 024e 0E94 0000 call CheckDelay
433 0252 8823 tst r24
434 0254 09F0 breq .+2
435 0256 90CF rjmp .L47
436 0258 F5CF rjmp .L34
437 .L36:
438 025a 1092 0000 sts AdReady,__zero_reg__
439 025e 8FEC ldi r24,lo8(-49)
440 0260 8093 7A00 sts 122,r24
441 .L39:
442 0264 8091 0000 lds r24,AdReady
443 0268 8823 tst r24
444 026a E1F3 breq .L39
445 026c CA30 cpi r28,lo8(10)
446 026e 20F4 brsh .L15
447 0270 8AE0 ldi r24,lo8(10)
448 0272 90E0 ldi r25,hi8(10)
449 0274 0E94 0000 call Delay_ms_Mess
450 .L15:
451 0278 C150 subi r28,lo8(-(-1))
452 027a 09F0 breq .+2
453 027c 2DCF rjmp .L43
454 027e 86E4 ldi r24,lo8(70)
455 0280 90E0 ldi r25,hi8(70)
456 0282 0E94 0000 call Delay_ms_Mess
457 /* epilogue: frame size=0 */
458 0286 CF91 pop r28
459 0288 1F91 pop r17
460 028a FF90 pop r15
461 028c EF90 pop r14
462 028e 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 0290 1F92 push __zero_reg__
483 0292 0F92 push __tmp_reg__
484 0294 0FB6 in __tmp_reg__,__SREG__
485 0296 0F92 push __tmp_reg__
486 0298 1124 clr __zero_reg__
487 029a AF92 push r10
488 029c BF92 push r11
489 029e CF92 push r12
490 02a0 DF92 push r13
491 02a2 EF92 push r14
492 02a4 FF92 push r15
493 02a6 0F93 push r16
494 02a8 1F93 push r17
495 02aa 2F93 push r18
496 02ac 3F93 push r19
497 02ae 4F93 push r20
498 02b0 5F93 push r21
499 02b2 6F93 push r22
500 02b4 7F93 push r23
501 02b6 8F93 push r24
502 02b8 9F93 push r25
503 02ba AF93 push r26
504 02bc BF93 push r27
505 02be EF93 push r30
506 02c0 FF93 push r31
507 /* prologue end (size=25) */
508 02c2 8091 0000 lds r24,state.1
509 02c6 282F mov r18,r24
510 02c8 3327 clr r19
511 02ca 4427 clr r20
512 02cc 5527 clr r21
513 02ce 8F5F subi r24,lo8(-(1))
514 02d0 8093 0000 sts state.1,r24
515 02d4 F901 movw r30,r18
516 02d6 2231 cpi r18,18
517 02d8 3105 cpc r19,__zero_reg__
518 02da 08F0 brlo .+2
519 02dc 8CC3 rjmp .L101
520 02de E050 subi r30,lo8(-(pm(.L102)))
521 02e0 F040 sbci r31,hi8(-(pm(.L102)))
522 02e2 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 02e6 8091 7800 lds r24,120
548 02ea 9091 7900 lds r25,(120)+1
549 02ee 46C0 rjmp .L111
550 .L54:
551 02f0 8091 7800 lds r24,120
552 02f4 9091 7900 lds r25,(120)+1
553 02f8 2CC1 rjmp .L110
554 .L55:
555 02fa 8091 7800 lds r24,120
556 02fe 9091 7900 lds r25,(120)+1
557 0302 9093 0000 sts (gier1.3)+1,r25
558 0306 8093 0000 sts gier1.3,r24
559 030a 57C1 rjmp .L112
560 .L56:
561 030c 8091 0000 lds r24,NeutralAccY
562 0310 9091 0000 lds r25,(NeutralAccY)+1
563 0314 2091 7800 lds r18,120
564 0318 3091 7900 lds r19,(120)+1
565 031c 821B sub r24,r18
566 031e 930B sbc r25,r19
567 0320 9093 0000 sts (Aktuell_ay)+1,r25
568 0324 8093 0000 sts Aktuell_ay,r24
569 0328 8091 0000 lds r24,Aktuell_ay
570 032c 9091 0000 lds r25,(Aktuell_ay)+1
571 0330 9093 0000 sts (accy.8)+1,r25
572 0334 8093 0000 sts accy.8,r24
573 0338 5EC1 rjmp .L113
574 .L57:
575 033a 8091 7800 lds r24,120
576 033e 9091 7900 lds r25,(120)+1
577 0342 2091 0000 lds r18,NeutralAccX
578 0346 3091 0000 lds r19,(NeutralAccX)+1
579 034a 821B sub r24,r18
580 034c 930B sbc r25,r19
581 034e 9093 0000 sts (Aktuell_ax)+1,r25
582 0352 8093 0000 sts Aktuell_ax,r24
583 0356 8091 0000 lds r24,Aktuell_ax
584 035a 9091 0000 lds r25,(Aktuell_ax)+1
585 035e 9093 0000 sts (accx.9)+1,r25
586 0362 8093 0000 sts accx.9,r24
587 0366 49C3 rjmp .L108
588 .L58:
589 0368 8091 0000 lds r24,nick1.5
590 036c 9091 0000 lds r25,(nick1.5)+1
591 0370 2091 7800 lds r18,120
592 0374 3091 7900 lds r19,(120)+1
593 0378 820F add r24,r18
594 037a 931F adc r25,r19
595 .L111:
596 037c 9093 0000 sts (nick1.5)+1,r25
597 0380 8093 0000 sts nick1.5,r24
598 .L115:
599 0384 81E0 ldi r24,lo8(1)
600 0386 3AC3 rjmp .L109
601 .L59:
602 0388 8091 0000 lds r24,roll1.4
603 038c 9091 0000 lds r25,(roll1.4)+1
604 0390 2091 7800 lds r18,120
605 0394 3091 7900 lds r19,(120)+1
606 0398 820F add r24,r18
607 039a 931F adc r25,r19
608 039c 9093 0000 sts (roll1.4)+1,r25
609 03a0 8093 0000 sts roll1.4,r24
610 03a4 84E0 ldi r24,lo8(4)
611 03a6 2AC3 rjmp .L109
612 .L60:
613 03a8 8091 0000 lds r24,UBat
614 03ac 9091 0000 lds r25,(UBat)+1
615 03b0 9C01 movw r18,r24
616 03b2 220F lsl r18
617 03b4 331F rol r19
618 03b6 280F add r18,r24
619 03b8 391F adc r19,r25
620 03ba 8091 7800 lds r24,120
621 03be 9091 7900 lds r25,(120)+1
622 03c2 63E0 ldi r22,lo8(3)
623 03c4 70E0 ldi r23,hi8(3)
624 03c6 0E94 0000 call __udivmodhi4
625 03ca 260F add r18,r22
626 03cc 371F adc r19,r23
627 03ce 3695 lsr r19
628 03d0 2795 ror r18
629 03d2 3695 lsr r19
630 03d4 2795 ror r18
631 03d6 3093 0000 sts (UBat)+1,r19
632 03da 2093 0000 sts UBat,r18
633 03de 85E0 ldi r24,lo8(5)
634 03e0 0DC3 rjmp .L109
635 .L61:
636 03e2 8091 7800 lds r24,120
637 03e6 9091 7900 lds r25,(120)+1
638 03ea 4091 0000 lds r20,NeutralAccZ
639 03ee 5091 0000 lds r21,(NeutralAccZ)+1
640 03f2 841B sub r24,r20
641 03f4 950B sbc r25,r21
642 03f6 9093 0000 sts (AdWertAccHoch)+1,r25
643 03fa 8093 0000 sts AdWertAccHoch,r24
644 03fe 8091 0000 lds r24,AdWertAccHoch
645 0402 9091 0000 lds r25,(AdWertAccHoch)+1
646 0406 0297 sbiw r24,2
647 0408 04F1 brlt .L62
648 040a 22E0 ldi r18,hi8(750)
649 040c 4E3E cpi r20,lo8(750)
650 040e 5207 cpc r21,r18
651 0410 84F4 brge .L63
652 0412 2091 0000 lds r18,subcount.2
653 0416 2B5F subi r18,lo8(-(5))
654 0418 2093 0000 sts subcount.2,r18
655 041c 2550 subi r18,lo8(-(-5))
656 041e 8091 0000 lds r24,modell_fliegt
657 0422 9091 0000 lds r25,(modell_fliegt)+1
658 0426 845F subi r24,lo8(500)
659 0428 9140 sbci r25,hi8(500)
660 042a 18F4 brsh .L63
661 042c 215F subi r18,lo8(-(15))
662 042e 2093 0000 sts subcount.2,r18
663 .L63:
664 0432 8091 0000 lds r24,subcount.2
665 0436 8536 cpi r24,lo8(101)
666 0438 84F1 brlt .L66
667 043a 4F5F subi r20,lo8(-(1))
668 043c 5F4F sbci r21,hi8(-(1))
669 043e 5093 0000 sts (NeutralAccZ)+1,r21
670 0442 4093 0000 sts NeutralAccZ,r20
671 0446 8456 subi r24,lo8(-(-100))
672 0448 26C0 rjmp .L104
673 .L62:
674 044a 8091 0000 lds r24,AdWertAccHoch
675 044e 9091 0000 lds r25,(AdWertAccHoch)+1
676 0452 8F5F subi r24,lo8(-1)
677 0454 9F4F sbci r25,hi8(-1)
678 0456 0CF5 brge .L66
679 0458 32E0 ldi r19,hi8(551)
680 045a 4732 cpi r20,lo8(551)
681 045c 5307 cpc r21,r19
682 045e ECF0 brlt .L66
683 0460 2091 0000 lds r18,subcount.2
684 0464 2550 subi r18,lo8(-(-5))
685 0466 2093 0000 sts subcount.2,r18
686 046a 2B5F subi r18,lo8(-(5))
687 046c 8091 0000 lds r24,modell_fliegt
688 0470 9091 0000 lds r25,(modell_fliegt)+1
689 0474 845F subi r24,lo8(500)
690 0476 9140 sbci r25,hi8(500)
691 0478 18F4 brsh .L69
692 047a 2F50 subi r18,lo8(-(-15))
693 047c 2093 0000 sts subcount.2,r18
694 .L69:
695 0480 8091 0000 lds r24,subcount.2
696 0484 8C39 cpi r24,lo8(-100)
697 0486 4CF4 brge .L66
698 0488 4150 subi r20,lo8(-(-1))
699 048a 5040 sbci r21,hi8(-(-1))
700 048c 5093 0000 sts (NeutralAccZ)+1,r21
701 0490 4093 0000 sts NeutralAccZ,r20
702 0494 8C59 subi r24,lo8(-(100))
703 .L104:
704 0496 8093 0000 sts subcount.2,r24
705 .L66:
706 049a 81E0 ldi r24,lo8(1)
707 049c 8093 0000 sts messanzahl_AccHoch,r24
708 04a0 8091 7800 lds r24,120
709 04a4 9091 7900 lds r25,(120)+1
710 04a8 9093 0000 sts (Aktuell_az)+1,r25
711 04ac 8093 0000 sts Aktuell_az,r24
712 04b0 8091 0000 lds r24,AdWertAccHoch
713 04b4 9091 0000 lds r25,(AdWertAccHoch)+1
714 04b8 9C01 movw r18,r24
715 04ba 4427 clr r20
716 04bc 37FD sbrc r19,7
717 04be 4095 com r20
718 04c0 542F mov r21,r20
719 04c2 8091 0000 lds r24,Mess_Integral_Hoch
720 04c6 9091 0000 lds r25,(Mess_Integral_Hoch)+1
721 04ca A091 0000 lds r26,(Mess_Integral_Hoch)+2
722 04ce B091 0000 lds r27,(Mess_Integral_Hoch)+3
723 04d2 820F add r24,r18
724 04d4 931F adc r25,r19
725 04d6 A41F adc r26,r20
726 04d8 B51F adc r27,r21
727 04da 8093 0000 sts Mess_Integral_Hoch,r24
728 04de 9093 0000 sts (Mess_Integral_Hoch)+1,r25
729 04e2 A093 0000 sts (Mess_Integral_Hoch)+2,r26
730 04e6 B093 0000 sts (Mess_Integral_Hoch)+3,r27
731 04ea 2091 0000 lds r18,Mess_Integral_Hoch
732 04ee 3091 0000 lds r19,(Mess_Integral_Hoch)+1
733 04f2 4091 0000 lds r20,(Mess_Integral_Hoch)+2
734 04f6 5091 0000 lds r21,(Mess_Integral_Hoch)+3
735 04fa 57FF sbrs r21,7
736 04fc 04C0 rjmp .L71
737 04fe 2150 subi r18,lo8(-(1023))
738 0500 3C4F sbci r19,hi8(-(1023))
739 0502 4F4F sbci r20,hlo8(-(1023))
740 0504 5F4F sbci r21,hhi8(-(1023))
741 .L71:
742 0506 0AE0 ldi r16,10
743 0508 5595 1: asr r21
744 050a 4795 ror r20
745 050c 3795 ror r19
746 050e 2795 ror r18
747 0510 0A95 dec r16
748 0512 D1F7 brne 1b
749 0514 8091 0000 lds r24,Mess_Integral_Hoch
750 0518 9091 0000 lds r25,(Mess_Integral_Hoch)+1
751 051c A091 0000 lds r26,(Mess_Integral_Hoch)+2
752 0520 B091 0000 lds r27,(Mess_Integral_Hoch)+3
753 0524 821B sub r24,r18
754 0526 930B sbc r25,r19
755 0528 A40B sbc r26,r20
756 052a B50B sbc r27,r21
757 052c 8093 0000 sts Mess_Integral_Hoch,r24
758 0530 9093 0000 sts (Mess_Integral_Hoch)+1,r25
759 0534 A093 0000 sts (Mess_Integral_Hoch)+2,r26
760 0538 B093 0000 sts (Mess_Integral_Hoch)+3,r27
761 053c 2EC1 rjmp .L114
762 .L73:
763 053e 8091 0000 lds r24,roll1.4
764 0542 9091 0000 lds r25,(roll1.4)+1
765 0546 2091 7800 lds r18,120
766 054a 3091 7900 lds r19,(120)+1
767 054e 820F add r24,r18
768 0550 931F adc r25,r19
769 .L110:
770 0552 9093 0000 sts (roll1.4)+1,r25
771 0556 8093 0000 sts roll1.4,r24
772 055a 1092 0000 sts kanal.0,__zero_reg__
773 055e 50C2 rjmp .L52
774 .L74:
775 0560 8091 0000 lds r24,PlatinenVersion
776 0564 8A30 cpi r24,lo8(10)
777 0566 71F4 brne .L75
778 0568 8091 7800 lds r24,120
779 056c 9091 7900 lds r25,(120)+1
780 0570 2091 0000 lds r18,gier1.3
781 0574 3091 0000 lds r19,(gier1.3)+1
782 0578 820F add r24,r18
783 057a 931F adc r25,r19
784 057c 0196 adiw r24,1
785 057e 9695 lsr r25
786 0580 8795 ror r24
787 0582 17C0 rjmp .L105
788 .L75:
789 0584 4091 0000 lds r20,gier1.3
790 0588 5091 0000 lds r21,(gier1.3)+1
791 058c 8431 cpi r24,lo8(20)
792 058e 58F0 brlo .L77
793 0590 2091 7800 lds r18,120
794 0594 3091 7900 lds r19,(120)+1
795 0598 240F add r18,r20
796 059a 351F adc r19,r21
797 059c 8FEF ldi r24,lo8(2047)
798 059e 97E0 ldi r25,hi8(2047)
799 05a0 821B sub r24,r18
800 05a2 930B sbc r25,r19
801 05a4 06C0 rjmp .L105
802 .L77:
803 05a6 8091 7800 lds r24,120
804 05aa 9091 7900 lds r25,(120)+1
805 05ae 840F add r24,r20
806 05b0 951F adc r25,r21
807 .L105:
808 05b2 9093 0000 sts (AdWertGier)+1,r25
809 05b6 8093 0000 sts AdWertGier,r24
810 .L112:
811 05ba 86E0 ldi r24,lo8(6)
812 05bc 1FC2 rjmp .L109
813 .L79:
814 05be 8091 0000 lds r24,NeutralAccY
815 05c2 9091 0000 lds r25,(NeutralAccY)+1
816 05c6 2091 7800 lds r18,120
817 05ca 3091 7900 lds r19,(120)+1
818 05ce 821B sub r24,r18
819 05d0 930B sbc r25,r19
820 05d2 9093 0000 sts (Aktuell_ay)+1,r25
821 05d6 8093 0000 sts Aktuell_ay,r24
822 05da 8091 0000 lds r24,Aktuell_ay
823 05de 9091 0000 lds r25,(Aktuell_ay)+1
824 05e2 2091 0000 lds r18,accy.8
825 05e6 3091 0000 lds r19,(accy.8)+1
826 05ea 820F add r24,r18
827 05ec 931F adc r25,r19
828 05ee 9093 0000 sts (AdWertAccRoll)+1,r25
829 05f2 8093 0000 sts AdWertAccRoll,r24
830 .L113:
831 05f6 87E0 ldi r24,lo8(7)
832 05f8 01C2 rjmp .L109
833 .L80:
834 05fa 8091 7800 lds r24,120
835 05fe 9091 7900 lds r25,(120)+1
836 0602 2091 0000 lds r18,NeutralAccX
837 0606 3091 0000 lds r19,(NeutralAccX)+1
838 060a 821B sub r24,r18
839 060c 930B sbc r25,r19
840 060e 9093 0000 sts (Aktuell_ax)+1,r25
841 0612 8093 0000 sts Aktuell_ax,r24
842 0616 8091 0000 lds r24,Aktuell_ax
843 061a 9091 0000 lds r25,(Aktuell_ax)+1
844 061e 2091 0000 lds r18,accx.9
845 0622 3091 0000 lds r19,(accx.9)+1
846 0626 820F add r24,r18
847 0628 931F adc r25,r19
848 062a 9093 0000 sts (AdWertAccNick)+1,r25
849 062e 8093 0000 sts AdWertAccNick,r24
850 0632 E3C1 rjmp .L108
851 .L81:
852 0634 2091 0000 lds r18,nick1.5
853 0638 3091 0000 lds r19,(nick1.5)+1
854 063c 8091 7800 lds r24,120
855 0640 9091 7900 lds r25,(120)+1
856 0644 280F add r18,r24
857 0646 391F adc r19,r25
858 0648 3093 0000 sts (nick1.5)+1,r19
859 064c 2093 0000 sts nick1.5,r18
860 0650 8091 0000 lds r24,PlatinenVersion
861 0654 8A30 cpi r24,lo8(10)
862 0656 19F4 brne .L82
863 0658 220F add r18,r18
864 065a 331F adc r19,r19
865 065c 04C0 rjmp .L106
866 .L82:
867 065e 220F lsl r18
868 0660 331F rol r19
869 0662 220F lsl r18
870 0664 331F rol r19
871 .L106:
872 0666 3093 0000 sts (nick1.5)+1,r19
873 066a 2093 0000 sts nick1.5,r18
874 066e 2091 0000 lds r18,nick1.5
875 0672 3091 0000 lds r19,(nick1.5)+1
876 0676 C901 movw r24,r18
877 0678 37FD sbrc r19,7
878 067a 0796 adiw r24,7
879 .L84:
880 067c A3E0 ldi r26,3
881 067e 9595 1: asr r25
882 0680 8795 ror r24
883 0682 AA95 dec r26
884 0684 E1F7 brne 1b
885 0686 9093 0000 sts (AdWertNick)+1,r25
886 068a 8093 0000 sts AdWertNick,r24
887 068e 8091 0000 lds r24,nick_filter.6
888 0692 9091 0000 lds r25,(nick_filter.6)+1
889 0696 820F add r24,r18
890 0698 931F adc r25,r19
891 069a 97FD sbrc r25,7
892 069c 0196 adiw r24,1
893 .L85:
894 069e 9595 asr r25
895 06a0 8795 ror r24
896 06a2 9093 0000 sts (nick_filter.6)+1,r25
897 06a6 8093 0000 sts nick_filter.6,r24
898 06aa 2091 0000 lds r18,AdNeutralNick
899 06ae 3091 0000 lds r19,(AdNeutralNick)+1
900 06b2 821B sub r24,r18
901 06b4 930B sbc r25,r19
902 06b6 9093 0000 sts (HiResNick)+1,r25
903 06ba 8093 0000 sts HiResNick,r24
904 06be 2091 0000 lds r18,AdWertNickFilter
905 06c2 3091 0000 lds r19,(AdWertNickFilter)+1
906 06c6 8091 0000 lds r24,HiResNick
907 06ca 9091 0000 lds r25,(HiResNick)+1
908 06ce 280F add r18,r24
909 06d0 391F adc r19,r25
910 06d2 37FF sbrs r19,7
911 06d4 02C0 rjmp .L86
912 06d6 2F5F subi r18,lo8(-(1))
913 06d8 3F4F sbci r19,hi8(-(1))
914 .L86:
915 06da 3595 asr r19
916 06dc 2795 ror r18
917 06de 3093 0000 sts (AdWertNickFilter)+1,r19
918 06e2 2093 0000 sts AdWertNickFilter,r18
919 06e6 4ECE rjmp .L115
920 .L87:
921 06e8 2091 0000 lds r18,roll1.4
922 06ec 3091 0000 lds r19,(roll1.4)+1
923 06f0 8091 7800 lds r24,120
924 06f4 9091 7900 lds r25,(120)+1
925 06f8 280F add r18,r24
926 06fa 391F adc r19,r25
927 06fc 3093 0000 sts (roll1.4)+1,r19
928 0700 2093 0000 sts roll1.4,r18
929 0704 8091 0000 lds r24,PlatinenVersion
930 0708 8A30 cpi r24,lo8(10)
931 070a 19F4 brne .L88
932 070c 220F add r18,r18
933 070e 331F adc r19,r19
934 0710 04C0 rjmp .L107
935 .L88:
936 0712 220F lsl r18
937 0714 331F rol r19
938 0716 220F lsl r18
939 0718 331F rol r19
940 .L107:
941 071a 3093 0000 sts (roll1.4)+1,r19
942 071e 2093 0000 sts roll1.4,r18
943 0722 2091 0000 lds r18,roll1.4
944 0726 3091 0000 lds r19,(roll1.4)+1
945 072a C901 movw r24,r18
946 072c 37FD sbrc r19,7
947 072e 0796 adiw r24,7
948 .L90:
949 0730 63E0 ldi r22,3
950 0732 9595 1: asr r25
951 0734 8795 ror r24
952 0736 6A95 dec r22
953 0738 E1F7 brne 1b
954 073a 9093 0000 sts (AdWertRoll)+1,r25
955 073e 8093 0000 sts AdWertRoll,r24
956 0742 8091 0000 lds r24,roll_filter.7
957 0746 9091 0000 lds r25,(roll_filter.7)+1
958 074a 820F add r24,r18
959 074c 931F adc r25,r19
960 074e 97FD sbrc r25,7
961 0750 0196 adiw r24,1
962 .L91:
963 0752 9595 asr r25
964 0754 8795 ror r24
965 0756 9093 0000 sts (roll_filter.7)+1,r25
966 075a 8093 0000 sts roll_filter.7,r24
967 075e 2091 0000 lds r18,AdNeutralRoll
968 0762 3091 0000 lds r19,(AdNeutralRoll)+1
969 0766 821B sub r24,r18
970 0768 930B sbc r25,r19
971 076a 9093 0000 sts (HiResRoll)+1,r25
972 076e 8093 0000 sts HiResRoll,r24
973 0772 2091 0000 lds r18,AdWertRollFilter
974 0776 3091 0000 lds r19,(AdWertRollFilter)+1
975 077a 8091 0000 lds r24,HiResRoll
976 077e 9091 0000 lds r25,(HiResRoll)+1
977 0782 280F add r18,r24
978 0784 391F adc r19,r25
979 0786 37FF sbrs r19,7
980 0788 02C0 rjmp .L92
981 078a 2F5F subi r18,lo8(-(1))
982 078c 3F4F sbci r19,hi8(-(1))
983 .L92:
984 078e 3595 asr r19
985 0790 2795 ror r18
986 0792 3093 0000 sts (AdWertRollFilter)+1,r19
987 0796 2093 0000 sts AdWertRollFilter,r18
988 .L114:
989 079a 83E0 ldi r24,lo8(3)
990 079c 2FC1 rjmp .L109
991 .L93:
992 079e 1092 0000 sts state.1,__zero_reg__
993 07a2 81E0 ldi r24,lo8(1)
994 07a4 8093 0000 sts AdReady,r24
995 07a8 8091 0000 lds r24,ZaehlMessungen
996 07ac 9091 0000 lds r25,(ZaehlMessungen)+1
997 07b0 0196 adiw r24,1
998 07b2 9093 0000 sts (ZaehlMessungen)+1,r25
999 07b6 8093 0000 sts ZaehlMessungen,r24
1000 .L94:
1001 07ba 8091 7800 lds r24,120
1002 07be 9091 7900 lds r25,(120)+1
1003 07c2 9093 0000 sts (MessLuftdruck)+1,r25
1004 07c6 8093 0000 sts MessLuftdruck,r24
1005 07ca 8091 0000 lds r24,MessLuftdruck
1006 07ce 9091 0000 lds r25,(MessLuftdruck)+1
1007 07d2 AA27 clr r26
1008 07d4 BB27 clr r27
1009 07d6 A090 0000 lds r10,tmpLuftdruck.10
1010 07da B090 0000 lds r11,(tmpLuftdruck.10)+1
1011 07de C090 0000 lds r12,(tmpLuftdruck.10)+2
1012 07e2 D090 0000 lds r13,(tmpLuftdruck.10)+3
1013 07e6 A80E add r10,r24
1014 07e8 B91E adc r11,r25
1015 07ea CA1E adc r12,r26
1016 07ec DB1E adc r13,r27
1017 07ee A092 0000 sts tmpLuftdruck.10,r10
1018 07f2 B092 0000 sts (tmpLuftdruck.10)+1,r11
1019 07f6 C092 0000 sts (tmpLuftdruck.10)+2,r12
1020 07fa D092 0000 sts (tmpLuftdruck.10)+3,r13
1021 07fe 8091 0000 lds r24,messanzahl_Druck.11
1022 0802 8F5F subi r24,lo8(-(1))
1023 0804 8093 0000 sts messanzahl_Druck.11,r24
1024 0808 8231 cpi r24,lo8(18)
1025 080a 08F4 brsh .+2
1026 080c F6C0 rjmp .L108
1027 080e 8091 0000 lds r24,Luftdruck
1028 0812 9091 0000 lds r25,(Luftdruck)+1
1029 0816 A091 0000 lds r26,(Luftdruck)+2
1030 081a B091 0000 lds r27,(Luftdruck)+3
1031 081e 7C01 movw r14,r24
1032 0820 8D01 movw r16,r26
1033 0822 23E0 ldi r18,3
1034 0824 EE0C 1: lsl r14
1035 0826 FF1C rol r15
1036 0828 001F rol r16
1037 082a 111F rol r17
1038 082c 2A95 dec r18
1039 082e D1F7 brne 1b
1040 0830 E81A sub r14,r24
1041 0832 F90A sbc r15,r25
1042 0834 0A0B sbc r16,r26
1043 0836 1B0B sbc r17,r27
1044 0838 EA0C add r14,r10
1045 083a FB1C adc r15,r11
1046 083c 0C1D adc r16,r12
1047 083e 1D1D adc r17,r13
1048 0840 8091 0000 lds r24,ExpandBaro
1049 0844 9927 clr r25
1050 0846 87FD sbrc r24,7
1051 0848 9095 com r25
1052 084a A92F mov r26,r25
1053 084c B92F mov r27,r25
1054 084e BC01 movw r22,r24
1055 0850 CD01 movw r24,r26
1056 0852 26EC ldi r18,lo8(9414)
1057 0854 34E2 ldi r19,hi8(9414)
1058 0856 40E0 ldi r20,hlo8(9414)
1059 0858 50E0 ldi r21,hhi8(9414)
1060 085a 0E94 0000 call __mulsi3
1061 085e DC01 movw r26,r24
1062 0860 CB01 movw r24,r22
1063 0862 E81A sub r14,r24
1064 0864 F90A sbc r15,r25
1065 0866 0A0B sbc r16,r26
1066 0868 1B0B sbc r17,r27
1067 086a D801 movw r26,r16
1068 086c C701 movw r24,r14
1069 086e 0496 adiw r24,4
1070 0870 A11D adc r26,__zero_reg__
1071 0872 B11D adc r27,__zero_reg__
1072 0874 B7FF sbrs r27,7
1073 0876 05C0 rjmp .L96
1074 0878 D801 movw r26,r16
1075 087a C701 movw r24,r14
1076 087c 0B96 adiw r24,11
1077 087e A11D adc r26,__zero_reg__
1078 0880 B11D adc r27,__zero_reg__
1079 .L96:
1080 0882 13E0 ldi r17,3
1081 0884 B595 1: asr r27
1082 0886 A795 ror r26
1083 0888 9795 ror r25
1084 088a 8795 ror r24
1085 088c 1A95 dec r17
1086 088e D1F7 brne 1b
1087 0890 8093 0000 sts Luftdruck,r24
1088 0894 9093 0000 sts (Luftdruck)+1,r25
1089 0898 A093 0000 sts (Luftdruck)+2,r26
1090 089c B093 0000 sts (Luftdruck)+3,r27
1091 08a0 8091 0000 lds r24,StartLuftdruck
1092 08a4 9091 0000 lds r25,(StartLuftdruck)+1
1093 08a8 7C01 movw r14,r24
1094 08aa 0027 clr r16
1095 08ac F7FC sbrc r15,7
1096 08ae 0095 com r16
1097 08b0 102F mov r17,r16
1098 08b2 8091 0000 lds r24,Luftdruck
1099 08b6 9091 0000 lds r25,(Luftdruck)+1
1100 08ba A091 0000 lds r26,(Luftdruck)+2
1101 08be B091 0000 lds r27,(Luftdruck)+3
1102 08c2 E81A sub r14,r24
1103 08c4 F90A sbc r15,r25
1104 08c6 0A0B sbc r16,r26
1105 08c8 1B0B sbc r17,r27
1106 08ca E092 0000 sts HoehenWert,r14
1107 08ce F092 0000 sts (HoehenWert)+1,r15
1108 08d2 0093 0000 sts (HoehenWert)+2,r16
1109 08d6 1093 0000 sts (HoehenWert)+3,r17
1110 08da 2091 0000 lds r18,SummenHoehe
1111 08de 3091 0000 lds r19,(SummenHoehe)+1
1112 08e2 4091 0000 lds r20,(SummenHoehe)+2
1113 08e6 5091 0000 lds r21,(SummenHoehe)+3
1114 08ea 57FF sbrs r21,7
1115 08ec 04C0 rjmp .L97
1116 08ee 215F subi r18,lo8(-(15))
1117 08f0 3F4F sbci r19,hi8(-(15))
1118 08f2 4F4F sbci r20,hlo8(-(15))
1119 08f4 5F4F sbci r21,hhi8(-(15))
1120 .L97:
1121 08f6 F4E0 ldi r31,4
1122 08f8 5595 1: asr r21
1123 08fa 4795 ror r20
1124 08fc 3795 ror r19
1125 08fe 2795 ror r18
1126 0900 FA95 dec r31
1127 0902 D1F7 brne 1b
1128 0904 8091 0000 lds r24,SummenHoehe
1129 0908 9091 0000 lds r25,(SummenHoehe)+1
1130 090c A091 0000 lds r26,(SummenHoehe)+2
1131 0910 B091 0000 lds r27,(SummenHoehe)+3
1132 0914 821B sub r24,r18
1133 0916 930B sbc r25,r19
1134 0918 A40B sbc r26,r20
1135 091a B50B sbc r27,r21
1136 091c 8093 0000 sts SummenHoehe,r24
1137 0920 9093 0000 sts (SummenHoehe)+1,r25
1138 0924 A093 0000 sts (SummenHoehe)+2,r26
1139 0928 B093 0000 sts (SummenHoehe)+3,r27
1140 092c 8091 0000 lds r24,SummenHoehe
1141 0930 9091 0000 lds r25,(SummenHoehe)+1
1142 0934 A091 0000 lds r26,(SummenHoehe)+2
1143 0938 B091 0000 lds r27,(SummenHoehe)+3
1144 093c 8E0D add r24,r14
1145 093e 9F1D adc r25,r15
1146 0940 A01F adc r26,r16
1147 0942 B11F adc r27,r17
1148 0944 8093 0000 sts SummenHoehe,r24
1149 0948 9093 0000 sts (SummenHoehe)+1,r25
1150 094c A093 0000 sts (SummenHoehe)+2,r26
1151 0950 B093 0000 sts (SummenHoehe)+3,r27
1152 0954 8091 0000 lds r24,VarioMeter
1153 0958 9091 0000 lds r25,(VarioMeter)+1
1154 095c AC01 movw r20,r24
1155 095e E5E0 ldi r30,5
1156 0960 440F 1: lsl r20
1157 0962 551F rol r21
1158 0964 EA95 dec r30
1159 0966 E1F7 brne 1b
1160 0968 481B sub r20,r24
1161 096a 590B sbc r21,r25
1162 096c 8091 0000 lds r24,SummenHoehe
1163 0970 9091 0000 lds r25,(SummenHoehe)+1
1164 0974 A091 0000 lds r26,(SummenHoehe)+2
1165 0978 B091 0000 lds r27,(SummenHoehe)+3
1166 097c B7FF sbrs r27,7
1167 097e 03C0 rjmp .L98
1168 0980 0F96 adiw r24,15
1169 0982 A11D adc r26,__zero_reg__
1170 0984 B11D adc r27,__zero_reg__
1171 .L98:
1172 0986 74E0 ldi r23,4
1173 0988 B595 1: asr r27
1174 098a A795 ror r26
1175 098c 9795 ror r25
1176 098e 8795 ror r24
1177 0990 7A95 dec r23
1178 0992 D1F7 brne 1b
1179 0994 2091 0000 lds r18,HoehenWert
1180 0998 3091 0000 lds r19,(HoehenWert)+1
1181 099c 281B sub r18,r24
1182 099e 390B sbc r19,r25
1183 09a0 63E0 ldi r22,3
1184 09a2 220F 1: lsl r18
1185 09a4 331F rol r19
1186 09a6 6A95 dec r22
1187 09a8 E1F7 brne 1b
1188 09aa 240F add r18,r20
1189 09ac 351F adc r19,r21
1190 09ae 37FF sbrs r19,7
1191 09b0 02C0 rjmp .L99
1192 09b2 215E subi r18,lo8(-(31))
1193 09b4 3F4F sbci r19,hi8(-(31))
1194 .L99:
1195 09b6 45E0 ldi r20,5
1196 09b8 3595 1: asr r19
1197 09ba 2795 ror r18
1198 09bc 4A95 dec r20
1199 09be E1F7 brne 1b
1200 09c0 3093 0000 sts (VarioMeter)+1,r19
1201 09c4 2093 0000 sts VarioMeter,r18
1202 09c8 D601 movw r26,r12
1203 09ca C501 movw r24,r10
1204 09cc D7FE sbrs r13,7
1205 09ce 03C0 rjmp .L100
1206 09d0 0196 adiw r24,1
1207 09d2 A11D adc r26,__zero_reg__
1208 09d4 B11D adc r27,__zero_reg__
1209 .L100:
1210 09d6 B595 asr r27
1211 09d8 A795 ror r26
1212 09da 9795 ror r25
1213 09dc 8795 ror r24
1214 09de 8093 0000 sts tmpLuftdruck.10,r24
1215 09e2 9093 0000 sts (tmpLuftdruck.10)+1,r25
1216 09e6 A093 0000 sts (tmpLuftdruck.10)+2,r26
1217 09ea B093 0000 sts (tmpLuftdruck.10)+3,r27
1218 09ee 89E0 ldi r24,lo8(9)
1219 09f0 8093 0000 sts messanzahl_Druck.11,r24
1220 09f4 02C0 rjmp .L108
1221 .L101:
1222 09f6 1092 0000 sts state.1,__zero_reg__
1223 .L108:
1224 09fa 82E0 ldi r24,lo8(2)
1225 .L109:
1226 09fc 8093 0000 sts kanal.0,r24
1227 .L52:
1228 0a00 8091 0000 lds r24,kanal.0
1229 0a04 8093 7C00 sts 124,r24
1230 0a08 8091 0000 lds r24,state.1
1231 0a0c 8823 tst r24
1232 0a0e 19F0 breq .L51
1233 0a10 8FEC ldi r24,lo8(-49)
1234 0a12 8093 7A00 sts 122,r24
1235 .L51:
1236 /* epilogue: frame size=0 */
1237 0a16 FF91 pop r31
1238 0a18 EF91 pop r30
1239 0a1a BF91 pop r27
1240 0a1c AF91 pop r26
1241 0a1e 9F91 pop r25
1242 0a20 8F91 pop r24
1243 0a22 7F91 pop r23
1244 0a24 6F91 pop r22
1245 0a26 5F91 pop r21
1246 0a28 4F91 pop r20
1247 0a2a 3F91 pop r19
1248 0a2c 2F91 pop r18
1249 0a2e 1F91 pop r17
1250 0a30 0F91 pop r16
1251 0a32 FF90 pop r15
1252 0a34 EF90 pop r14
1253 0a36 DF90 pop r13
1254 0a38 CF90 pop r12
1255 0a3a BF90 pop r11
1256 0a3c AF90 pop r10
1257 0a3e 0F90 pop __tmp_reg__
1258 0a40 0FBE out __SREG__,__tmp_reg__
1259 0a42 0F90 pop __tmp_reg__
1260 0a44 1F90 pop __zero_reg__
1261 0a46 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 1351 = 0x0547 (1286), prologues 31, epilogues 34 */
DEFINED SYMBOLS
*ABS*:00000000 analog.c
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:3 *ABS*:0000003f __SREG__
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:4 *ABS*:0000003e __SP_H__
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:5 *ABS*:0000003d __SP_L__
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:6 *ABS*:00000000 __tmp_reg__
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:7 *ABS*:00000001 __zero_reg__
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:14 .data:00000000 AdReady
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:19 .data:00000001 AnalogOffsetGier
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:24 .data:00000002 AnalogOffsetRoll
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:29 .data:00000003 AnalogOffsetNick
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:36 .bss:00000000 ZaehlMessungen
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:42 .bss:00000002 VarioMeter
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:48 .bss:00000004 ExpandBaro
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:54 .data:00000004 MessLuftdruck
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:61 .bss:00000005 SummenHoehe
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:67 .data:00000006 Luftdruck
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:74 .bss:00000009 messanzahl_AccHoch
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:80 .bss:0000000a AdWertAccHoch
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:86 .bss:0000000c AdWertAccNick
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:92 .bss:0000000e AdWertAccRoll
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:98 .bss:00000010 AdWertGier
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:104 .bss:00000012 AdWertRoll
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:110 .bss:00000014 AdWertNick
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:116 .data:0000000a HiResRoll
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:121 .data:0000000c HiResNick
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:128 .bss:00000016 AdWertGierFilter
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:134 .bss:00000018 AdWertRollFilter
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:140 .bss:0000001a AdWertNickFilter
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:146 .data:0000000e UBat
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:151 .text:00000000 ADC_Init
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:165 .progmem.data:00000000 __c.13
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:170 .text:0000000c SucheLuftruckOffset
*COM*:00000001 DruckOffsetSetting
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:258 .progmem.data:00000002 __c.12
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:263 .text:000000c2 SucheGyroOffset
.bss:0000001c kanal.0
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:466 .bss:0000001d state.1
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:467 .bss:0000001e subcount.2
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:468 .bss:0000001f gier1.3
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:469 .bss:00000021 roll1.4
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:470 .bss:00000023 nick1.5
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:471 .bss:00000025 nick_filter.6
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:472 .bss:00000027 roll_filter.7
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:473 .bss:00000029 accy.8
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:474 .bss:0000002b accx.9
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:475 .bss:0000002d tmpLuftdruck.10
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:476 .bss:00000031 messanzahl_Druck.11
C:\Users\Thomas\AppData\Local\Temp/ccmObaaa.s:480 .text:00000290 __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