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 .text
11 .global ADC_Init
13 ADC_Init:
14 /* prologue: frame size=0 */
15 /* prologue end (size=0) */
16 0000 1092 7C00 sts 124,__zero_reg__
17 0004 8FEE ldi r24,lo8(-17)
18 0006 8093 7A00 sts 122,r24
19 /* epilogue: frame size=0 */
20 000a 0895 ret
21 /* epilogue end (size=1) */
22 /* function ADC_Init size 6 (5) */
24 .global __vector_24
26 __vector_24:
27 /* prologue: frame size=0 */
28 000c 1F92 push __zero_reg__
29 000e 0F92 push __tmp_reg__
30 0010 0FB6 in __tmp_reg__,__SREG__
31 0012 0F92 push __tmp_reg__
32 0014 1124 clr __zero_reg__
33 0016 DF92 push r13
34 0018 EF92 push r14
35 001a FF92 push r15
36 001c 0F93 push r16
37 001e 1F93 push r17
38 0020 2F93 push r18
39 0022 3F93 push r19
40 0024 4F93 push r20
41 0026 5F93 push r21
42 0028 6F93 push r22
43 002a 7F93 push r23
44 002c 8F93 push r24
45 002e 9F93 push r25
46 0030 AF93 push r26
47 0032 BF93 push r27
48 0034 CF93 push r28
49 0036 DF93 push r29
50 0038 EF93 push r30
51 003a FF93 push r31
52 /* prologue end (size=24) */
53 003c 1092 7A00 sts 122,__zero_reg__
54 0040 8091 0000 lds r24,state.2075
55 0044 D82E mov r13,r24
56 0046 D394 inc r13
57 0048 D092 0000 sts state.2075,r13
58 004c 8530 cpi r24,lo8(5)
59 004e 01F4 brne .+2
60 0050 00C0 rjmp .L10
61 0052 8630 cpi r24,lo8(6)
62 0054 00F4 brsh .L16
63 0056 8230 cpi r24,lo8(2)
64 0058 01F4 brne .+2
65 005a 00C0 rjmp .L7
66 005c 8330 cpi r24,lo8(3)
67 005e 00F4 brsh .L17
68 0060 8823 tst r24
69 0062 01F0 breq .L5
70 0064 8130 cpi r24,lo8(1)
71 0066 01F0 breq .+2
72 0068 00C0 rjmp .L4
73 006a 00C0 rjmp .L6
74 .L17:
75 006c 8330 cpi r24,lo8(3)
76 006e 01F4 brne .+2
77 0070 00C0 rjmp .L8
78 0072 8430 cpi r24,lo8(4)
79 0074 01F0 breq .+2
80 0076 00C0 rjmp .L4
81 0078 00C0 rjmp .L9
82 .L16:
83 007a 8830 cpi r24,lo8(8)
84 007c 01F4 brne .+2
85 007e 00C0 rjmp .L13
86 0080 8930 cpi r24,lo8(9)
87 0082 00F4 brsh .L18
88 0084 8630 cpi r24,lo8(6)
89 0086 01F4 brne .+2
90 0088 00C0 rjmp .L11
91 008a 8730 cpi r24,lo8(7)
92 008c 01F0 breq .+2
93 008e 00C0 rjmp .L4
94 0090 00C0 rjmp .L12
95 .L18:
96 0092 8930 cpi r24,lo8(9)
97 0094 01F4 brne .+2
98 0096 00C0 rjmp .L14
99 0098 8A30 cpi r24,lo8(10)
100 009a 01F0 breq .+2
101 009c 00C0 rjmp .L4
102 009e 00C0 rjmp .L15
103 .L5:
104 00a0 8091 7800 lds r24,120
105 00a4 9091 7900 lds r25,(120)+1
106 00a8 9093 0000 sts (gier1.2076)+1,r25
107 00ac 8093 0000 sts gier1.2076,r24
108 00b0 81E0 ldi r24,lo8(1)
109 00b2 8093 0000 sts kanal.2074,r24
110 00b6 8091 0000 lds r24,ZaehlMessungen
111 00ba 9091 0000 lds r25,(ZaehlMessungen)+1
112 00be 0196 adiw r24,1
113 00c0 9093 0000 sts (ZaehlMessungen)+1,r25
114 00c4 8093 0000 sts ZaehlMessungen,r24
115 00c8 00C0 rjmp .L19
116 .L6:
117 00ca 8091 7800 lds r24,120
118 00ce 9091 7900 lds r25,(120)+1
119 00d2 9093 0000 sts (roll1.2077)+1,r25
120 00d6 8093 0000 sts roll1.2077,r24
121 00da 00C0 rjmp .L50
122 .L7:
123 00dc 8091 7800 lds r24,120
124 00e0 9091 7900 lds r25,(120)+1
125 00e4 9093 0000 sts (nick1.2078)+1,r25
126 00e8 8093 0000 sts nick1.2078,r24
127 00ec 84E0 ldi r24,lo8(4)
128 00ee 00C0 rjmp .L49
129 .L8:
130 00f0 4091 0000 lds r20,UBat
131 00f4 5091 0000 lds r21,(UBat)+1
132 00f8 8091 7800 lds r24,120
133 00fc 9091 7900 lds r25,(120)+1
134 0100 9A01 movw r18,r20
135 0102 220F lsl r18
136 0104 331F rol r19
137 0106 240F add r18,r20
138 0108 351F adc r19,r21
139 010a 63E0 ldi r22,lo8(3)
140 010c 70E0 ldi r23,hi8(3)
141 010e 0E94 0000 call __udivmodhi4
142 0112 260F add r18,r22
143 0114 371F adc r19,r23
144 0116 3695 lsr r19
145 0118 2795 ror r18
146 011a 3695 lsr r19
147 011c 2795 ror r18
148 011e 3093 0000 sts (UBat)+1,r19
149 0122 2093 0000 sts UBat,r18
150 0126 86E0 ldi r24,lo8(6)
151 0128 00C0 rjmp .L49
152 .L9:
153 012a 8091 0000 lds r24,NeutralAccY
154 012e 9091 0000 lds r25,(NeutralAccY)+1
155 0132 2091 7800 lds r18,120
156 0136 3091 7900 lds r19,(120)+1
157 013a 821B sub r24,r18
158 013c 930B sbc r25,r19
159 013e 9093 0000 sts (Aktuell_ay)+1,r25
160 0142 8093 0000 sts Aktuell_ay,r24
161 0146 8091 0000 lds r24,Aktuell_ay
162 014a 9091 0000 lds r25,(Aktuell_ay)+1
163 014e 9093 0000 sts (AdWertAccRoll)+1,r25
164 0152 8093 0000 sts AdWertAccRoll,r24
165 0156 87E0 ldi r24,lo8(7)
166 0158 00C0 rjmp .L49
167 .L10:
168 015a 8091 7800 lds r24,120
169 015e 9091 7900 lds r25,(120)+1
170 0162 2091 0000 lds r18,NeutralAccX
171 0166 3091 0000 lds r19,(NeutralAccX)+1
172 016a 821B sub r24,r18
173 016c 930B sbc r25,r19
174 016e 9093 0000 sts (Aktuell_ax)+1,r25
175 0172 8093 0000 sts Aktuell_ax,r24
176 0176 8091 0000 lds r24,Aktuell_ax
177 017a 9091 0000 lds r25,(Aktuell_ax)+1
178 017e 9093 0000 sts (AdWertAccNick)+1,r25
179 0182 8093 0000 sts AdWertAccNick,r24
180 0186 1092 0000 sts kanal.2074,__zero_reg__
181 018a 00C0 rjmp .L19
182 .L11:
183 018c 8091 0000 lds r24,PlatinenVersion
184 0190 2091 0000 lds r18,gier1.2076
185 0194 3091 0000 lds r19,(gier1.2076)+1
186 0198 8A30 cpi r24,lo8(10)
187 019a 01F4 brne .L20
188 019c 8091 7800 lds r24,120
189 01a0 9091 7900 lds r25,(120)+1
190 01a4 820F add r24,r18
191 01a6 931F adc r25,r19
192 01a8 9695 lsr r25
193 01aa 8795 ror r24
194 01ac 00C0 rjmp .L45
195 .L20:
196 01ae 8091 7800 lds r24,120
197 01b2 9091 7900 lds r25,(120)+1
198 01b6 820F add r24,r18
199 01b8 931F adc r25,r19
200 .L45:
201 01ba 9093 0000 sts (AdWertGier)+1,r25
202 01be 8093 0000 sts AdWertGier,r24
203 01c2 81E0 ldi r24,lo8(1)
204 01c4 00C0 rjmp .L49
205 .L12:
206 01c6 8091 0000 lds r24,PlatinenVersion
207 01ca 2091 0000 lds r18,roll1.2077
208 01ce 3091 0000 lds r19,(roll1.2077)+1
209 01d2 8A30 cpi r24,lo8(10)
210 01d4 01F4 brne .L23
211 01d6 8091 7800 lds r24,120
212 01da 9091 7900 lds r25,(120)+1
213 01de 820F add r24,r18
214 01e0 931F adc r25,r19
215 01e2 9695 lsr r25
216 01e4 8795 ror r24
217 01e6 00C0 rjmp .L46
218 .L23:
219 01e8 8091 7800 lds r24,120
220 01ec 9091 7900 lds r25,(120)+1
221 01f0 820F add r24,r18
222 01f2 931F adc r25,r19
223 .L46:
224 01f4 9093 0000 sts (AdWertRoll)+1,r25
225 01f8 8093 0000 sts AdWertRoll,r24
226 .L50:
227 01fc 82E0 ldi r24,lo8(2)
228 01fe 00C0 rjmp .L49
229 .L13:
230 0200 8091 0000 lds r24,PlatinenVersion
231 0204 2091 0000 lds r18,nick1.2078
232 0208 3091 0000 lds r19,(nick1.2078)+1
233 020c 8A30 cpi r24,lo8(10)
234 020e 01F4 brne .L26
235 0210 8091 7800 lds r24,120
236 0214 9091 7900 lds r25,(120)+1
237 0218 820F add r24,r18
238 021a 931F adc r25,r19
239 021c 9695 lsr r25
240 021e 8795 ror r24
241 0220 00C0 rjmp .L47
242 .L26:
243 0222 8091 7800 lds r24,120
244 0226 9091 7900 lds r25,(120)+1
245 022a 820F add r24,r18
246 022c 931F adc r25,r19
247 .L47:
248 022e 9093 0000 sts (AdWertNick)+1,r25
249 0232 8093 0000 sts AdWertNick,r24
250 0236 85E0 ldi r24,lo8(5)
251 0238 00C0 rjmp .L49
252 .L14:
253 023a 6091 7800 lds r22,120
254 023e 7091 7900 lds r23,(120)+1
255 0242 E090 0000 lds r14,NeutralAccZ
256 0246 F090 0000 lds r15,(NeutralAccZ)+1
257 024a 0091 0000 lds r16,(NeutralAccZ)+2
258 024e 1091 0000 lds r17,(NeutralAccZ)+3
259 0252 8827 clr r24
260 0254 77FD sbrc r23,7
261 0256 8095 com r24
262 0258 982F mov r25,r24
263 025a 0E94 0000 call __floatsisf
264 025e A801 movw r20,r16
265 0260 9701 movw r18,r14
266 0262 0E94 0000 call __subsf3
267 0266 0E94 0000 call __fixsfsi
268 026a 7093 0000 sts (AdWertAccHoch)+1,r23
269 026e 6093 0000 sts AdWertAccHoch,r22
270 0272 2091 0000 lds r18,AdWertAccHoch
271 0276 3091 0000 lds r19,(AdWertAccHoch)+1
272 027a E091 0000 lds r30,Aktuell_ay
273 027e F091 0000 lds r31,(Aktuell_ay)+1
274 0282 8091 0000 lds r24,Aktuell_ax
275 0286 9091 0000 lds r25,(Aktuell_ax)+1
276 028a 97FF sbrs r25,7
277 028c 00C0 rjmp .L29
278 028e 9095 com r25
279 0290 8195 neg r24
280 0292 9F4F sbci r25,lo8(-1)
281 .L29:
282 0294 64E0 ldi r22,lo8(4)
283 0296 70E0 ldi r23,hi8(4)
284 0298 0E94 0000 call __divmodhi4
285 029c EB01 movw r28,r22
286 029e CF01 movw r24,r30
287 02a0 F7FF sbrs r31,7
288 02a2 00C0 rjmp .L30
289 02a4 9095 com r25
290 02a6 8195 neg r24
291 02a8 9F4F sbci r25,lo8(-1)
292 .L30:
293 02aa 64E0 ldi r22,lo8(4)
294 02ac 70E0 ldi r23,hi8(4)
295 02ae 0E94 0000 call __divmodhi4
296 02b2 260F add r18,r22
297 02b4 371F adc r19,r23
298 02b6 2C0F add r18,r28
299 02b8 3D1F adc r19,r29
300 02ba 3093 0000 sts (AdWertAccHoch)+1,r19
301 02be 2093 0000 sts AdWertAccHoch,r18
302 02c2 8091 0000 lds r24,AdWertAccHoch
303 02c6 9091 0000 lds r25,(AdWertAccHoch)+1
304 02ca 0297 sbiw r24,2
305 02cc 04F0 brlt .L31
306 02ce 6091 0000 lds r22,NeutralAccZ
307 02d2 7091 0000 lds r23,(NeutralAccZ)+1
308 02d6 8091 0000 lds r24,(NeutralAccZ)+2
309 02da 9091 0000 lds r25,(NeutralAccZ)+3
310 02de 20E0 ldi r18,lo8(0x44480000)
311 02e0 30E0 ldi r19,hi8(0x44480000)
312 02e2 48E4 ldi r20,hlo8(0x44480000)
313 02e4 54E4 ldi r21,hhi8(0x44480000)
314 02e6 0E94 0000 call __ltsf2
315 02ea 8823 tst r24
316 02ec 04F0 brlt .+2
317 02ee 00C0 rjmp .L33
318 02f0 6091 0000 lds r22,NeutralAccZ
319 02f4 7091 0000 lds r23,(NeutralAccZ)+1
320 02f8 8091 0000 lds r24,(NeutralAccZ)+2
321 02fc 9091 0000 lds r25,(NeutralAccZ)+3
322 0300 2AE0 ldi r18,lo8(0x3ca3d70a)
323 0302 37ED ldi r19,hi8(0x3ca3d70a)
324 0304 43EA ldi r20,hlo8(0x3ca3d70a)
325 0306 5CE3 ldi r21,hhi8(0x3ca3d70a)
326 0308 0E94 0000 call __addsf3
327 030c 00C0 rjmp .L48
328 .L31:
329 030e 8091 0000 lds r24,AdWertAccHoch
330 0312 9091 0000 lds r25,(AdWertAccHoch)+1
331 0316 8F5F subi r24,lo8(-1)
332 0318 9F4F sbci r25,hi8(-1)
333 031a 04F4 brge .L33
334 031c 6091 0000 lds r22,NeutralAccZ
335 0320 7091 0000 lds r23,(NeutralAccZ)+1
336 0324 8091 0000 lds r24,(NeutralAccZ)+2
337 0328 9091 0000 lds r25,(NeutralAccZ)+3
338 032c 20E0 ldi r18,lo8(0x44160000)
339 032e 30E0 ldi r19,hi8(0x44160000)
340 0330 46E1 ldi r20,hlo8(0x44160000)
341 0332 54E4 ldi r21,hhi8(0x44160000)
342 0334 0E94 0000 call __gtsf2
343 0338 1816 cp __zero_reg__,r24
344 033a 04F4 brge .L33
345 033c 6091 0000 lds r22,NeutralAccZ
346 0340 7091 0000 lds r23,(NeutralAccZ)+1
347 0344 8091 0000 lds r24,(NeutralAccZ)+2
348 0348 9091 0000 lds r25,(NeutralAccZ)+3
349 034c 2AE0 ldi r18,lo8(0x3ca3d70a)
350 034e 37ED ldi r19,hi8(0x3ca3d70a)
351 0350 43EA ldi r20,hlo8(0x3ca3d70a)
352 0352 5CE3 ldi r21,hhi8(0x3ca3d70a)
353 0354 0E94 0000 call __subsf3
354 .L48:
355 0358 6093 0000 sts NeutralAccZ,r22
356 035c 7093 0000 sts (NeutralAccZ)+1,r23
357 0360 8093 0000 sts (NeutralAccZ)+2,r24
358 0364 9093 0000 sts (NeutralAccZ)+3,r25
359 .L33:
360 0368 81E0 ldi r24,lo8(1)
361 036a 8093 0000 sts messanzahl_AccHoch,r24
362 036e 8091 7800 lds r24,120
363 0372 9091 7900 lds r25,(120)+1
364 0376 9093 0000 sts (Aktuell_az)+1,r25
365 037a 8093 0000 sts Aktuell_az,r24
366 037e 2091 0000 lds r18,Mess_Integral_Hoch
367 0382 3091 0000 lds r19,(Mess_Integral_Hoch)+1
368 0386 4091 0000 lds r20,(Mess_Integral_Hoch)+2
369 038a 5091 0000 lds r21,(Mess_Integral_Hoch)+3
370 038e 8091 0000 lds r24,AdWertAccHoch
371 0392 9091 0000 lds r25,(AdWertAccHoch)+1
372 0396 AA27 clr r26
373 0398 97FD sbrc r25,7
374 039a A095 com r26
375 039c BA2F mov r27,r26
376 039e 280F add r18,r24
377 03a0 391F adc r19,r25
378 03a2 4A1F adc r20,r26
379 03a4 5B1F adc r21,r27
380 03a6 2093 0000 sts Mess_Integral_Hoch,r18
381 03aa 3093 0000 sts (Mess_Integral_Hoch)+1,r19
382 03ae 4093 0000 sts (Mess_Integral_Hoch)+2,r20
383 03b2 5093 0000 sts (Mess_Integral_Hoch)+3,r21
384 03b6 E090 0000 lds r14,Mess_Integral_Hoch
385 03ba F090 0000 lds r15,(Mess_Integral_Hoch)+1
386 03be 0091 0000 lds r16,(Mess_Integral_Hoch)+2
387 03c2 1091 0000 lds r17,(Mess_Integral_Hoch)+3
388 03c6 6091 0000 lds r22,Mess_Integral_Hoch
389 03ca 7091 0000 lds r23,(Mess_Integral_Hoch)+1
390 03ce 8091 0000 lds r24,(Mess_Integral_Hoch)+2
391 03d2 9091 0000 lds r25,(Mess_Integral_Hoch)+3
392 03d6 20E0 ldi r18,lo8(1024)
393 03d8 34E0 ldi r19,hi8(1024)
394 03da 40E0 ldi r20,hlo8(1024)
395 03dc 50E0 ldi r21,hhi8(1024)
396 03de 0E94 0000 call __divmodsi4
397 03e2 E21A sub r14,r18
398 03e4 F30A sbc r15,r19
399 03e6 040B sbc r16,r20
400 03e8 150B sbc r17,r21
401 03ea E092 0000 sts Mess_Integral_Hoch,r14
402 03ee F092 0000 sts (Mess_Integral_Hoch)+1,r15
403 03f2 0093 0000 sts (Mess_Integral_Hoch)+2,r16
404 03f6 1093 0000 sts (Mess_Integral_Hoch)+3,r17
405 03fa 83E0 ldi r24,lo8(3)
406 .L49:
407 03fc 8093 0000 sts kanal.2074,r24
408 0400 00C0 rjmp .L19
409 .L15:
410 0402 8091 0000 lds r24,tmpLuftdruck
411 0406 9091 0000 lds r25,(tmpLuftdruck)+1
412 040a 2091 7800 lds r18,120
413 040e 3091 7900 lds r19,(120)+1
414 0412 820F add r24,r18
415 0414 931F adc r25,r19
416 0416 9093 0000 sts (tmpLuftdruck)+1,r25
417 041a 8093 0000 sts tmpLuftdruck,r24
418 041e 8091 0000 lds r24,messanzahl_Druck
419 0422 8F5F subi r24,lo8(-(1))
420 0424 8093 0000 sts messanzahl_Druck,r24
421 0428 8091 0000 lds r24,messanzahl_Druck
422 042c 8530 cpi r24,lo8(5)
423 042e 00F4 brsh .+2
424 0430 00C0 rjmp .L4
425 0432 8091 7800 lds r24,120
426 0436 9091 7900 lds r25,(120)+1
427 043a 9093 0000 sts (MessLuftdruck)+1,r25
428 043e 8093 0000 sts MessLuftdruck,r24
429 0442 1092 0000 sts messanzahl_Druck,__zero_reg__
430 0446 8091 0000 lds r24,StartLuftdruck
431 044a 9091 0000 lds r25,(StartLuftdruck)+1
432 044e 2091 0000 lds r18,tmpLuftdruck
433 0452 3091 0000 lds r19,(tmpLuftdruck)+1
434 0456 821B sub r24,r18
435 0458 930B sbc r25,r19
436 045a 2091 0000 lds r18,HoehenWert
437 045e 3091 0000 lds r19,(HoehenWert)+1
438 0462 821B sub r24,r18
439 0464 930B sbc r25,r19
440 0466 9093 0000 sts (HoeheD)+1,r25
441 046a 8093 0000 sts HoeheD,r24
442 046e 6091 0000 lds r22,tmpLuftdruck
443 0472 7091 0000 lds r23,(tmpLuftdruck)+1
444 0476 E090 0000 lds r14,Luftdruck
445 047a F090 0000 lds r15,(Luftdruck)+1
446 047e 0091 0000 lds r16,(Luftdruck)+2
447 0482 1091 0000 lds r17,(Luftdruck)+3
448 0486 8827 clr r24
449 0488 77FD sbrc r23,7
450 048a 8095 com r24
451 048c 982F mov r25,r24
452 048e A801 movw r20,r16
453 0490 9701 movw r18,r14
454 0492 220F lsl r18
455 0494 331F rol r19
456 0496 441F rol r20
457 0498 551F rol r21
458 049a 2E0D add r18,r14
459 049c 3F1D adc r19,r15
460 049e 401F adc r20,r16
461 04a0 511F adc r21,r17
462 04a2 620F add r22,r18
463 04a4 731F adc r23,r19
464 04a6 841F adc r24,r20
465 04a8 951F adc r25,r21
466 04aa 24E0 ldi r18,lo8(4)
467 04ac 30E0 ldi r19,hi8(4)
468 04ae 40E0 ldi r20,hlo8(4)
469 04b0 50E0 ldi r21,hhi8(4)
470 04b2 0E94 0000 call __divmodsi4
471 04b6 2093 0000 sts Luftdruck,r18
472 04ba 3093 0000 sts (Luftdruck)+1,r19
473 04be 4093 0000 sts (Luftdruck)+2,r20
474 04c2 5093 0000 sts (Luftdruck)+3,r21
475 04c6 2091 0000 lds r18,StartLuftdruck
476 04ca 3091 0000 lds r19,(StartLuftdruck)+1
477 04ce 8091 0000 lds r24,Luftdruck
478 04d2 9091 0000 lds r25,(Luftdruck)+1
479 04d6 A091 0000 lds r26,(Luftdruck)+2
480 04da B091 0000 lds r27,(Luftdruck)+3
481 04de 281B sub r18,r24
482 04e0 390B sbc r19,r25
483 04e2 3093 0000 sts (HoehenWert)+1,r19
484 04e6 2093 0000 sts HoehenWert,r18
485 04ea 1092 0000 sts (tmpLuftdruck)+1,__zero_reg__
486 04ee 1092 0000 sts tmpLuftdruck,__zero_reg__
487 04f2 00C0 rjmp .L4
488 .L19:
489 04f4 8091 0000 lds r24,kanal.2074
490 04f8 8093 7C00 sts 124,r24
491 04fc DD20 tst r13
492 04fe 01F0 breq .L44
493 0500 8FEE ldi r24,lo8(-17)
494 0502 8093 7A00 sts 122,r24
495 0506 00C0 rjmp .L44
496 .L4:
497 0508 1092 0000 sts kanal.2074,__zero_reg__
498 050c 1092 0000 sts state.2075,__zero_reg__
499 0510 1092 7C00 sts 124,__zero_reg__
500 .L44:
501 /* epilogue: frame size=0 */
502 0514 FF91 pop r31
503 0516 EF91 pop r30
504 0518 DF91 pop r29
505 051a CF91 pop r28
506 051c BF91 pop r27
507 051e AF91 pop r26
508 0520 9F91 pop r25
509 0522 8F91 pop r24
510 0524 7F91 pop r23
511 0526 6F91 pop r22
512 0528 5F91 pop r21
513 052a 4F91 pop r20
514 052c 3F91 pop r19
515 052e 2F91 pop r18
516 0530 1F91 pop r17
517 0532 0F91 pop r16
518 0534 FF90 pop r15
519 0536 EF90 pop r14
520 0538 DF90 pop r13
521 053a 0F90 pop __tmp_reg__
522 053c 0FBE out __SREG__,__tmp_reg__
523 053e 0F90 pop __tmp_reg__
524 0540 1F90 pop __zero_reg__
525 0542 1895 reti
526 /* epilogue end (size=24) */
527 /* function __vector_24 size 669 (621) */
529 .global SucheLuftruckOffset
531 SucheLuftruckOffset:
532 /* prologue: frame size=0 */
533 0544 CF93 push r28
534 0546 DF93 push r29
535 /* prologue end (size=2) */
536 0548 A0E0 ldi r26,lo8(EEPromArray+3)
537 054a B0E0 ldi r27,hi8(EEPromArray+3)
538 /* #APP */
539 054c 0E94 0000 call __eeprom_read_byte_1F2021
540 0550 802D mov r24,__tmp_reg__
541 /* #NOAPP */
542 0552 C82F mov r28,r24
543 0554 DD27 clr r29
544 0556 C531 cpi r28,21
545 0558 D105 cpc r29,__zero_reg__
546 055a 00F0 brlo .L52
547 055c 2A97 sbiw r28,10
548 .L52:
549 055e C7BD out 71-0x20,r28
550 0560 84E6 ldi r24,lo8(100)
551 0562 90E0 ldi r25,hi8(100)
552 0564 0E94 0000 call Delay_ms_Mess
553 0568 8091 0000 lds r24,MessLuftdruck
554 056c 9091 0000 lds r25,(MessLuftdruck)+1
555 0570 8255 subi r24,lo8(850)
556 0572 9340 sbci r25,hi8(850)
557 0574 00F4 brsh .L60
558 0576 C0E0 ldi r28,lo8(0)
559 0578 D0E0 ldi r29,hi8(0)
560 057a 00C0 rjmp .L60
561 .L56:
562 057c C7BD out 71-0x20,r28
563 057e 82E3 ldi r24,lo8(50)
564 0580 90E0 ldi r25,hi8(50)
565 0582 0E94 0000 call Delay_ms_Mess
566 0586 80E0 ldi r24,lo8(__c.2056)
567 0588 90E0 ldi r25,hi8(__c.2056)
568 058a 9F93 push r25
569 058c 8F93 push r24
570 058e 1F92 push __zero_reg__
571 0590 0E94 0000 call _printf_P
572 0594 8091 0000 lds r24,MessLuftdruck
573 0598 9091 0000 lds r25,(MessLuftdruck)+1
574 059c 0F90 pop __tmp_reg__
575 059e 0F90 pop __tmp_reg__
576 05a0 0F90 pop __tmp_reg__
577 05a2 8458 subi r24,lo8(900)
578 05a4 9340 sbci r25,hi8(900)
579 05a6 00F0 brlo .L57
580 05a8 2196 adiw r28,1
581 .L60:
582 05aa CA3F cpi r28,250
583 05ac D105 cpc r29,__zero_reg__
584 05ae 00F0 brlo .L56
585 .L57:
586 05b0 A0E0 ldi r26,lo8(EEPromArray+3)
587 05b2 B0E0 ldi r27,hi8(EEPromArray+3)
588 /* #APP */
589 05b4 0C2E mov __tmp_reg__,r28
590 05b6 0E94 0000 call __eeprom_write_byte_1F2021
591 /* #NOAPP */
592 05ba C093 0000 sts DruckOffsetSetting,r28
593 05be 8CE2 ldi r24,lo8(300)
594 05c0 91E0 ldi r25,hi8(300)
595 05c2 0E94 0000 call Delay_ms_Mess
596 /* epilogue: frame size=0 */
597 05c6 DF91 pop r29
598 05c8 CF91 pop r28
599 05ca 0895 ret
600 /* epilogue end (size=3) */
601 /* function SucheLuftruckOffset size 72 (67) */
603 .global UBat
604 .data
607 UBat:
608 0000 6400 .word 100
609 .global AdWertNick
610 .global AdWertNick
611 .section .bss
614 AdWertNick:
615 0000 0000 .skip 2,0
616 .global AdWertRoll
617 .global AdWertRoll
620 AdWertRoll:
621 0002 0000 .skip 2,0
622 .global AdWertGier
623 .global AdWertGier
626 AdWertGier:
627 0004 0000 .skip 2,0
628 .global AdWertAccRoll
629 .global AdWertAccRoll
632 AdWertAccRoll:
633 0006 0000 .skip 2,0
634 .global AdWertAccNick
635 .global AdWertAccNick
638 AdWertAccNick:
639 0008 0000 .skip 2,0
640 .global AdWertAccHoch
641 .global AdWertAccHoch
644 AdWertAccHoch:
645 000a 0000 .skip 2,0
646 .global MessanzahlNick
647 .global MessanzahlNick
650 MessanzahlNick:
651 000c 00 .skip 1,0
652 .global MessanzahlRoll
653 .global MessanzahlRoll
656 MessanzahlRoll:
657 000d 00 .skip 1,0
658 .global MessanzahlGier
659 .global MessanzahlGier
662 MessanzahlGier:
663 000e 00 .skip 1,0
664 .global messanzahl_AccNick
665 .global messanzahl_AccNick
668 messanzahl_AccNick:
669 000f 00 .skip 1,0
670 .global messanzahl_AccRoll
671 .global messanzahl_AccRoll
674 messanzahl_AccRoll:
675 0010 00 .skip 1,0
676 .global messanzahl_AccHoch
677 .global messanzahl_AccHoch
680 messanzahl_AccHoch:
681 0011 00 .skip 1,0
682 .global Luftdruck
683 .data
686 Luftdruck:
687 0002 00 .byte 0
688 0003 7D .byte 125
689 0004 00 .byte 0
690 0005 00 .byte 0
691 .global MessLuftdruck
694 MessLuftdruck:
695 0006 FF03 .word 1023
696 .global HoeheD
697 .global HoeheD
698 .section .bss
701 HoeheD:
702 0012 0000 .skip 2,0
703 .global ZaehlMessungen
704 .global ZaehlMessungen
707 ZaehlMessungen:
708 0014 0000 .skip 2,0
709 .lcomm nick1.2078,2
710 .lcomm roll1.2077,2
711 .lcomm gier1.2076,2
712 .lcomm state.2075,1
713 .lcomm kanal.2074,1
714 .section .progmem.data,"a",@progbits
717 __c.2056:
718 0000 2E00 .string "."
719 .comm Aktuell_Nick,2,1
720 .comm Aktuell_Roll,2,1
721 .comm Aktuell_Gier,2,1
722 .comm Aktuell_ax,2,1
723 .comm Aktuell_ay,2,1
724 .comm Aktuell_az,2,1
725 .comm messanzahl_Druck,1,1
726 .comm DruckOffsetSetting,1,1
727 .comm StartLuftdruck,2,1
728 .comm tmpLuftdruck,2,1
729 /* File "analog.c": code 747 = 0x02eb ( 693), prologues 26, epilogues 28 */
DEFINED SYMBOLS
*ABS*:00000000 analog.c
C:\Users\gunterl\AppData\Local\Temp/ccBb0oOU.s:3 *ABS*:0000003f __SREG__
C:\Users\gunterl\AppData\Local\Temp/ccBb0oOU.s:4 *ABS*:0000003e __SP_H__
C:\Users\gunterl\AppData\Local\Temp/ccBb0oOU.s:5 *ABS*:0000003d __SP_L__
C:\Users\gunterl\AppData\Local\Temp/ccBb0oOU.s:6 *ABS*:00000000 __tmp_reg__
C:\Users\gunterl\AppData\Local\Temp/ccBb0oOU.s:7 *ABS*:00000001 __zero_reg__
C:\Users\gunterl\AppData\Local\Temp/ccBb0oOU.s:13 .text:00000000 ADC_Init
C:\Users\gunterl\AppData\Local\Temp/ccBb0oOU.s:26 .text:0000000c __vector_24
C:\Users\gunterl\AppData\Local\Temp/ccBb0oOU.s:711 .bss:0000001c state.2075
C:\Users\gunterl\AppData\Local\Temp/ccBb0oOU.s:710 .bss:0000001a gier1.2076
C:\Users\gunterl\AppData\Local\Temp/ccBb0oOU.s:712 .bss:0000001d kanal.2074
C:\Users\gunterl\AppData\Local\Temp/ccBb0oOU.s:707 .bss:00000014 ZaehlMessungen
C:\Users\gunterl\AppData\Local\Temp/ccBb0oOU.s:709 .bss:00000018 roll1.2077
.bss:00000016 nick1.2078
C:\Users\gunterl\AppData\Local\Temp/ccBb0oOU.s:607 .data:00000000 UBat
*COM*:00000002 Aktuell_ay
C:\Users\gunterl\AppData\Local\Temp/ccBb0oOU.s:632 .bss:00000006 AdWertAccRoll
*COM*:00000002 Aktuell_ax
C:\Users\gunterl\AppData\Local\Temp/ccBb0oOU.s:638 .bss:00000008 AdWertAccNick
C:\Users\gunterl\AppData\Local\Temp/ccBb0oOU.s:626 .bss:00000004 AdWertGier
C:\Users\gunterl\AppData\Local\Temp/ccBb0oOU.s:620 .bss:00000002 AdWertRoll
C:\Users\gunterl\AppData\Local\Temp/ccBb0oOU.s:614 .bss:00000000 AdWertNick
C:\Users\gunterl\AppData\Local\Temp/ccBb0oOU.s:644 .bss:0000000a AdWertAccHoch
C:\Users\gunterl\AppData\Local\Temp/ccBb0oOU.s:680 .bss:00000011 messanzahl_AccHoch
*COM*:00000002 Aktuell_az
*COM*:00000002 tmpLuftdruck
*COM*:00000001 messanzahl_Druck
C:\Users\gunterl\AppData\Local\Temp/ccBb0oOU.s:694 .data:00000006 MessLuftdruck
*COM*:00000002 StartLuftdruck
C:\Users\gunterl\AppData\Local\Temp/ccBb0oOU.s:701 .bss:00000012 HoeheD
C:\Users\gunterl\AppData\Local\Temp/ccBb0oOU.s:686 .data:00000002 Luftdruck
C:\Users\gunterl\AppData\Local\Temp/ccBb0oOU.s:531 .text:00000544 SucheLuftruckOffset
C:\Users\gunterl\AppData\Local\Temp/ccBb0oOU.s:717 .progmem.data:00000000 __c.2056
*COM*:00000001 DruckOffsetSetting
C:\Users\gunterl\AppData\Local\Temp/ccBb0oOU.s:650 .bss:0000000c MessanzahlNick
C:\Users\gunterl\AppData\Local\Temp/ccBb0oOU.s:656 .bss:0000000d MessanzahlRoll
C:\Users\gunterl\AppData\Local\Temp/ccBb0oOU.s:662 .bss:0000000e MessanzahlGier
C:\Users\gunterl\AppData\Local\Temp/ccBb0oOU.s:668 .bss:0000000f messanzahl_AccNick
C:\Users\gunterl\AppData\Local\Temp/ccBb0oOU.s:674 .bss:00000010 messanzahl_AccRoll
*COM*:00000002 Aktuell_Nick
*COM*:00000002 Aktuell_Roll
*COM*:00000002 Aktuell_Gier
UNDEFINED SYMBOLS
__do_copy_data
__do_clear_bss
__udivmodhi4
NeutralAccY
NeutralAccX
PlatinenVersion
NeutralAccZ
__floatsisf
__subsf3
__fixsfsi
__divmodhi4
__ltsf2
__addsf3
__gtsf2
Mess_Integral_Hoch
__divmodsi4
HoehenWert
EEPromArray
__eeprom_read_byte_1F2021
Delay_ms_Mess
_printf_P
__eeprom_write_byte_1F2021