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