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