Rev 1755 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1755 | - | 1 | 1 .file "analog.c" |
1789 | - | 2 | 2 __SREG__ = 0x3f |
3 | 3 __SP_H__ = 0x3e |
||
4 | 4 __SP_L__ = 0x3d |
||
5 | 5 __CCP__ = 0x34 |
||
1755 | - | 6 | 6 __tmp_reg__ = 0 |
7 | 7 __zero_reg__ = 1 |
||
1789 | - | 8 | 8 .text |
9 | 9 .global ADC_Init |
||
10 | 11 ADC_Init: |
||
11 | 12 /* prologue: function */ |
||
12 | 13 /* frame size = 0 */ |
||
13 | 14 0000 1092 7C00 sts 124,__zero_reg__ |
||
14 | 15 0004 8FEC ldi r24,lo8(-49) |
||
15 | 16 0006 8093 7A00 sts 122,r24 |
||
16 | 17 /* epilogue start */ |
||
17 | 18 000a 0895 ret |
||
18 | 20 .global __vector_24 |
||
19 | 22 __vector_24: |
||
20 | 23 000c 1F92 push __zero_reg__ |
||
21 | 24 000e 0F92 push r0 |
||
22 | 25 0010 0FB6 in r0,__SREG__ |
||
23 | 26 0012 0F92 push r0 |
||
24 | 27 0014 1124 clr __zero_reg__ |
||
25 | 28 0016 6F92 push r6 |
||
26 | 29 0018 7F92 push r7 |
||
27 | 30 001a 8F92 push r8 |
||
28 | 31 001c 9F92 push r9 |
||
29 | 32 001e AF92 push r10 |
||
30 | 33 0020 BF92 push r11 |
||
31 | 34 0022 CF92 push r12 |
||
32 | 35 0024 DF92 push r13 |
||
33 | 36 0026 EF92 push r14 |
||
34 | 37 0028 FF92 push r15 |
||
35 | 38 002a 0F93 push r16 |
||
36 | 39 002c 1F93 push r17 |
||
37 | 40 002e 2F93 push r18 |
||
38 | 41 0030 3F93 push r19 |
||
39 | 42 0032 4F93 push r20 |
||
40 | 43 0034 5F93 push r21 |
||
41 | 44 0036 6F93 push r22 |
||
42 | 45 0038 7F93 push r23 |
||
43 | 46 003a 8F93 push r24 |
||
44 | 47 003c 9F93 push r25 |
||
45 | 48 003e AF93 push r26 |
||
46 | 49 0040 BF93 push r27 |
||
47 | 50 0042 EF93 push r30 |
||
48 | 51 0044 FF93 push r31 |
||
49 | 52 /* prologue: Signal */ |
||
50 | 53 /* frame size = 0 */ |
||
51 | 54 0046 8091 0000 lds r24,state.2325 |
||
52 | 55 004a 8F5F subi r24,lo8(-(1)) |
||
53 | 56 004c 8093 0000 sts state.2325,r24 |
||
54 | 57 0050 8150 subi r24,lo8(-(-1)) |
||
55 | 58 0052 E82F mov r30,r24 |
||
56 | 59 0054 F0E0 ldi r31,lo8(0) |
||
57 | 60 0056 E231 cpi r30,18 |
||
58 | 61 0058 F105 cpc r31,__zero_reg__ |
||
59 | 62 005a 00F0 brlo .+2 |
||
60 | 63 005c 00C0 rjmp .L4 |
||
61 | 64 005e E050 subi r30,lo8(-(gs(.L23))) |
||
62 | 65 0060 F040 sbci r31,hi8(-(gs(.L23))) |
||
63 | 66 0062 0C94 0000 jmp __tablejump2__ |
||
64 | 67 .data |
||
65 | 68 .section .progmem.gcc_sw_table, "a", @progbits |
||
66 | 69 .p2align 1 |
||
67 | 70 .L23: |
||
68 | 71 .data |
||
69 | 72 .section .progmem.gcc_sw_table, "a", @progbits |
||
70 | 73 .p2align 1 |
||
71 | 74 0000 0000 .word gs(.L5) |
||
72 | 75 0002 0000 .word gs(.L6) |
||
73 | 76 0004 0000 .word gs(.L7) |
||
74 | 77 0006 0000 .word gs(.L8) |
||
75 | 78 0008 0000 .word gs(.L9) |
||
76 | 79 000a 0000 .word gs(.L15) |
||
77 | 80 000c 0000 .word gs(.L11) |
||
78 | 81 000e 0000 .word gs(.L12) |
||
79 | 82 0010 0000 .word gs(.L13) |
||
80 | 83 0012 0000 .word gs(.L14) |
||
81 | 84 0014 0000 .word gs(.L15) |
||
82 | 85 0016 0000 .word gs(.L16) |
||
83 | 86 0018 0000 .word gs(.L17) |
||
84 | 87 001a 0000 .word gs(.L18) |
||
85 | 88 001c 0000 .word gs(.L19) |
||
86 | 89 001e 0000 .word gs(.L20) |
||
87 | 90 0020 0000 .word gs(.L21) |
||
88 | 91 0022 0000 .word gs(.L22) |
||
89 | 92 .text |
||
90 | 93 .L5: |
||
91 | 94 0066 8091 7800 lds r24,120 |
||
92 | 95 006a 9091 7900 lds r25,(120)+1 |
||
93 | 96 006e 9093 0000 sts (nick1.2329)+1,r25 |
||
94 | 97 0072 8093 0000 sts nick1.2329,r24 |
||
95 | 98 0076 00C0 rjmp .L45 |
||
96 | 99 .L6: |
||
97 | 100 0078 8091 7800 lds r24,120 |
||
98 | 101 007c 9091 7900 lds r25,(120)+1 |
||
99 | 102 0080 00C0 rjmp .L44 |
||
100 | 103 .L7: |
||
101 | 104 0082 8091 7800 lds r24,120 |
||
102 | 105 0086 9091 7900 lds r25,(120)+1 |
||
103 | 106 008a 9093 0000 sts (gier1.2327)+1,r25 |
||
104 | 107 008e 8093 0000 sts gier1.2327,r24 |
||
105 | 108 0092 00C0 rjmp .L46 |
||
106 | 109 .L8: |
||
107 | 110 0094 2091 7800 lds r18,120 |
||
108 | 111 0098 3091 7900 lds r19,(120)+1 |
||
109 | 112 009c 8091 0000 lds r24,NeutralAccY |
||
110 | 113 00a0 9091 0000 lds r25,(NeutralAccY)+1 |
||
111 | 114 00a4 821B sub r24,r18 |
||
112 | 115 00a6 930B sbc r25,r19 |
||
113 | 116 00a8 9093 0000 sts (Aktuell_ay)+1,r25 |
||
114 | 117 00ac 8093 0000 sts Aktuell_ay,r24 |
||
115 | 118 00b0 8091 0000 lds r24,Aktuell_ay |
||
116 | 119 00b4 9091 0000 lds r25,(Aktuell_ay)+1 |
||
117 | 120 00b8 9093 0000 sts (accy.2332)+1,r25 |
||
118 | 121 00bc 8093 0000 sts accy.2332,r24 |
||
119 | 122 00c0 00C0 rjmp .L47 |
||
120 | 123 .L9: |
||
121 | 124 00c2 8091 7800 lds r24,120 |
||
122 | 125 00c6 9091 7900 lds r25,(120)+1 |
||
123 | 126 00ca 2091 0000 lds r18,NeutralAccX |
||
124 | 127 00ce 3091 0000 lds r19,(NeutralAccX)+1 |
||
125 | 128 00d2 821B sub r24,r18 |
||
126 | 129 00d4 930B sbc r25,r19 |
||
127 | 130 00d6 9093 0000 sts (Aktuell_ax)+1,r25 |
||
128 | 131 00da 8093 0000 sts Aktuell_ax,r24 |
||
129 | 132 00de 8091 0000 lds r24,Aktuell_ax |
||
130 | 133 00e2 9091 0000 lds r25,(Aktuell_ax)+1 |
||
131 | 134 00e6 9093 0000 sts (accx.2333)+1,r25 |
||
132 | 135 00ea 8093 0000 sts accx.2333,r24 |
||
133 | 136 00ee 00C0 rjmp .L48 |
||
134 | 137 .L11: |
||
135 | 138 00f0 8091 7800 lds r24,120 |
||
136 | 139 00f4 9091 7900 lds r25,(120)+1 |
||
137 | 140 00f8 2091 0000 lds r18,roll1.2328 |
||
138 | 141 00fc 3091 0000 lds r19,(roll1.2328)+1 |
||
139 | 142 0100 280F add r18,r24 |
||
140 | 143 0102 391F adc r19,r25 |
||
141 | 144 0104 3093 0000 sts (roll1.2328)+1,r19 |
||
142 | 145 0108 2093 0000 sts roll1.2328,r18 |
||
143 | 146 010c 84E0 ldi r24,lo8(4) |
||
144 | 147 010e 00C0 rjmp .L43 |
||
145 | 148 .L12: |
||
146 | 149 0110 4091 0000 lds r20,UBat |
||
147 | 150 0114 5091 0000 lds r21,(UBat)+1 |
||
148 | 151 0118 8091 7800 lds r24,120 |
||
149 | 152 011c 9091 7900 lds r25,(120)+1 |
||
150 | 153 0120 9A01 movw r18,r20 |
||
151 | 154 0122 220F lsl r18 |
||
152 | 155 0124 331F rol r19 |
||
153 | 156 0126 240F add r18,r20 |
||
154 | 157 0128 351F adc r19,r21 |
||
155 | 158 012a 63E0 ldi r22,lo8(3) |
||
156 | 159 012c 70E0 ldi r23,hi8(3) |
||
157 | 160 012e 0E94 0000 call __udivmodhi4 |
||
158 | 161 0132 260F add r18,r22 |
||
159 | 162 0134 371F adc r19,r23 |
||
160 | 163 0136 3695 lsr r19 |
||
161 | 164 0138 2795 ror r18 |
||
162 | 165 013a 3695 lsr r19 |
||
163 | 166 013c 2795 ror r18 |
||
164 | 167 013e 3093 0000 sts (UBat)+1,r19 |
||
165 | 168 0142 2093 0000 sts UBat,r18 |
||
166 | 169 0146 85E0 ldi r24,lo8(5) |
||
167 | 170 0148 00C0 rjmp .L43 |
||
168 | 171 .L13: |
||
169 | 172 014a 8091 7800 lds r24,120 |
||
170 | 173 014e 9091 7900 lds r25,(120)+1 |
||
171 | 174 0152 4091 0000 lds r20,NeutralAccZ |
||
172 | 175 0156 5091 0000 lds r21,(NeutralAccZ)+1 |
||
173 | 176 015a 841B sub r24,r20 |
||
174 | 177 015c 950B sbc r25,r21 |
||
175 | 178 015e 9093 0000 sts (AdWertAccHoch)+1,r25 |
||
176 | 179 0162 8093 0000 sts AdWertAccHoch,r24 |
||
177 | 180 0166 8091 0000 lds r24,AdWertAccHoch |
||
178 | 181 016a 9091 0000 lds r25,(AdWertAccHoch)+1 |
||
179 | 182 016e 0297 sbiw r24,2 |
||
180 | 183 0170 04F0 brlt .L25 |
||
181 | 184 0172 22E0 ldi r18,hi8(750) |
||
182 | 185 0174 4E3E cpi r20,lo8(750) |
||
183 | 186 0176 5207 cpc r21,r18 |
||
184 | 187 0178 04F4 brge .L26 |
||
185 | 188 017a 2091 0000 lds r18,subcount.2326 |
||
186 | 189 017e 2B5F subi r18,lo8(-(5)) |
||
187 | 190 0180 2093 0000 sts subcount.2326,r18 |
||
188 | 191 0184 2550 subi r18,lo8(-(-5)) |
||
189 | 192 0186 8091 0000 lds r24,modell_fliegt |
||
190 | 193 018a 9091 0000 lds r25,(modell_fliegt)+1 |
||
191 | 194 018e 845F subi r24,lo8(500) |
||
192 | 195 0190 9140 sbci r25,hi8(500) |
||
193 | 196 0192 00F4 brsh .L26 |
||
194 | 197 0194 215F subi r18,lo8(-(15)) |
||
195 | 198 0196 2093 0000 sts subcount.2326,r18 |
||
196 | 199 .L26: |
||
197 | 200 019a 8091 0000 lds r24,subcount.2326 |
||
198 | 201 019e 8536 cpi r24,lo8(101) |
||
199 | 202 01a0 04F0 brlt .L27 |
||
200 | 203 01a2 4F5F subi r20,lo8(-(1)) |
||
201 | 204 01a4 5F4F sbci r21,hi8(-(1)) |
||
202 | 205 01a6 5093 0000 sts (NeutralAccZ)+1,r21 |
||
203 | 206 01aa 4093 0000 sts NeutralAccZ,r20 |
||
204 | 207 01ae 8456 subi r24,lo8(-(-100)) |
||
205 | 208 01b0 00C0 rjmp .L39 |
||
206 | 209 .L25: |
||
207 | 210 01b2 8091 0000 lds r24,AdWertAccHoch |
||
208 | 211 01b6 9091 0000 lds r25,(AdWertAccHoch)+1 |
||
209 | 212 01ba 8F5F subi r24,lo8(-1) |
||
210 | 213 01bc 9F4F sbci r25,hi8(-1) |
||
211 | 214 01be 04F4 brge .L27 |
||
212 | 215 01c0 B2E0 ldi r27,hi8(551) |
||
213 | 216 01c2 4732 cpi r20,lo8(551) |
||
214 | 217 01c4 5B07 cpc r21,r27 |
||
215 | 218 01c6 04F0 brlt .L27 |
||
216 | 219 01c8 2091 0000 lds r18,subcount.2326 |
||
217 | 220 01cc 2550 subi r18,lo8(-(-5)) |
||
218 | 221 01ce 2093 0000 sts subcount.2326,r18 |
||
219 | 222 01d2 2B5F subi r18,lo8(-(5)) |
||
220 | 223 01d4 8091 0000 lds r24,modell_fliegt |
||
221 | 224 01d8 9091 0000 lds r25,(modell_fliegt)+1 |
||
222 | 225 01dc 845F subi r24,lo8(500) |
||
223 | 226 01de 9140 sbci r25,hi8(500) |
||
224 | 227 01e0 00F4 brsh .L28 |
||
225 | 228 01e2 2F50 subi r18,lo8(-(-15)) |
||
226 | 229 01e4 2093 0000 sts subcount.2326,r18 |
||
227 | 230 .L28: |
||
228 | 231 01e8 8091 0000 lds r24,subcount.2326 |
||
229 | 232 01ec 8C39 cpi r24,lo8(-100) |
||
230 | 233 01ee 04F4 brge .L27 |
||
231 | 234 01f0 4150 subi r20,lo8(-(-1)) |
||
232 | 235 01f2 5040 sbci r21,hi8(-(-1)) |
||
233 | 236 01f4 5093 0000 sts (NeutralAccZ)+1,r21 |
||
234 | 237 01f8 4093 0000 sts NeutralAccZ,r20 |
||
235 | 238 01fc 8C59 subi r24,lo8(-(100)) |
||
236 | 239 .L39: |
||
237 | 240 01fe 8093 0000 sts subcount.2326,r24 |
||
238 | 241 .L27: |
||
239 | 242 0202 81E0 ldi r24,lo8(1) |
||
240 | 243 0204 8093 0000 sts messanzahl_AccHoch,r24 |
||
241 | 244 0208 8091 7800 lds r24,120 |
||
242 | 245 020c 9091 7900 lds r25,(120)+1 |
||
243 | 246 0210 9093 0000 sts (Aktuell_az)+1,r25 |
||
244 | 247 0214 8093 0000 sts Aktuell_az,r24 |
||
245 | 248 0218 2091 0000 lds r18,Mess_Integral_Hoch |
||
246 | 249 021c 3091 0000 lds r19,(Mess_Integral_Hoch)+1 |
||
247 | 250 0220 4091 0000 lds r20,(Mess_Integral_Hoch)+2 |
||
248 | 251 0224 5091 0000 lds r21,(Mess_Integral_Hoch)+3 |
||
249 | 252 0228 8091 0000 lds r24,AdWertAccHoch |
||
250 | 253 022c 9091 0000 lds r25,(AdWertAccHoch)+1 |
||
251 | 254 0230 AA27 clr r26 |
||
252 | 255 0232 97FD sbrc r25,7 |
||
253 | 256 0234 A095 com r26 |
||
254 | 257 0236 BA2F mov r27,r26 |
||
255 | 258 0238 820F add r24,r18 |
||
256 | 259 023a 931F adc r25,r19 |
||
257 | 260 023c A41F adc r26,r20 |
||
258 | 261 023e B51F adc r27,r21 |
||
259 | 262 0240 8093 0000 sts Mess_Integral_Hoch,r24 |
||
260 | 263 0244 9093 0000 sts (Mess_Integral_Hoch)+1,r25 |
||
261 | 264 0248 A093 0000 sts (Mess_Integral_Hoch)+2,r26 |
||
262 | 265 024c B093 0000 sts (Mess_Integral_Hoch)+3,r27 |
||
263 | 266 0250 E090 0000 lds r14,Mess_Integral_Hoch |
||
264 | 267 0254 F090 0000 lds r15,(Mess_Integral_Hoch)+1 |
||
265 | 268 0258 0091 0000 lds r16,(Mess_Integral_Hoch)+2 |
||
266 | 269 025c 1091 0000 lds r17,(Mess_Integral_Hoch)+3 |
||
267 | 270 0260 6091 0000 lds r22,Mess_Integral_Hoch |
||
268 | 271 0264 7091 0000 lds r23,(Mess_Integral_Hoch)+1 |
||
269 | 272 0268 8091 0000 lds r24,(Mess_Integral_Hoch)+2 |
||
270 | 273 026c 9091 0000 lds r25,(Mess_Integral_Hoch)+3 |
||
271 | 274 0270 20E0 ldi r18,lo8(1024) |
||
272 | 275 0272 34E0 ldi r19,hi8(1024) |
||
273 | 276 0274 40E0 ldi r20,hlo8(1024) |
||
274 | 277 0276 50E0 ldi r21,hhi8(1024) |
||
275 | 278 0278 0E94 0000 call __divmodsi4 |
||
276 | 279 027c E21A sub r14,r18 |
||
277 | 280 027e F30A sbc r15,r19 |
||
278 | 281 0280 040B sbc r16,r20 |
||
279 | 282 0282 150B sbc r17,r21 |
||
280 | 283 0284 E092 0000 sts Mess_Integral_Hoch,r14 |
||
281 | 284 0288 F092 0000 sts (Mess_Integral_Hoch)+1,r15 |
||
282 | 285 028c 0093 0000 sts (Mess_Integral_Hoch)+2,r16 |
||
283 | 286 0290 1093 0000 sts (Mess_Integral_Hoch)+3,r17 |
||
284 | 287 0294 00C0 rjmp .L49 |
||
285 | 288 .L15: |
||
286 | 289 0296 8091 7800 lds r24,120 |
||
287 | 290 029a 9091 7900 lds r25,(120)+1 |
||
288 | 291 029e 2091 0000 lds r18,nick1.2329 |
||
289 | 292 02a2 3091 0000 lds r19,(nick1.2329)+1 |
||
290 | 293 02a6 280F add r18,r24 |
||
291 | 294 02a8 391F adc r19,r25 |
||
292 | 295 02aa 3093 0000 sts (nick1.2329)+1,r19 |
||
293 | 296 02ae 2093 0000 sts nick1.2329,r18 |
||
294 | 297 02b2 00C0 rjmp .L45 |
||
295 | 298 .L16: |
||
296 | 299 02b4 2091 7800 lds r18,120 |
||
297 | 300 02b8 3091 7900 lds r19,(120)+1 |
||
298 | 301 02bc 8091 0000 lds r24,roll1.2328 |
||
299 | 302 02c0 9091 0000 lds r25,(roll1.2328)+1 |
||
300 | 303 02c4 820F add r24,r18 |
||
301 | 304 02c6 931F adc r25,r19 |
||
302 | 305 .L44: |
||
303 | 306 02c8 9093 0000 sts (roll1.2328)+1,r25 |
||
304 | 307 02cc 8093 0000 sts roll1.2328,r24 |
||
305 | 308 02d0 1092 0000 sts kanal.2324,__zero_reg__ |
||
306 | 309 02d4 00C0 rjmp .L24 |
||
307 | 310 .L17: |
||
308 | 311 02d6 8091 0000 lds r24,PlatinenVersion |
||
309 | 312 02da 8A30 cpi r24,lo8(10) |
||
310 | 313 02dc 01F4 brne .L29 |
||
311 | 314 02de 8091 7800 lds r24,120 |
||
312 | 315 02e2 9091 7900 lds r25,(120)+1 |
||
313 | 316 02e6 0196 adiw r24,1 |
||
314 | 317 02e8 2091 0000 lds r18,gier1.2327 |
||
315 | 318 02ec 3091 0000 lds r19,(gier1.2327)+1 |
||
316 | 319 02f0 820F add r24,r18 |
||
317 | 320 02f2 931F adc r25,r19 |
||
318 | 321 02f4 9695 lsr r25 |
||
319 | 322 02f6 8795 ror r24 |
||
320 | 323 02f8 00C0 rjmp .L40 |
||
321 | 324 .L29: |
||
322 | 325 02fa 4091 0000 lds r20,gier1.2327 |
||
323 | 326 02fe 5091 0000 lds r21,(gier1.2327)+1 |
||
324 | 327 0302 8431 cpi r24,lo8(20) |
||
325 | 328 0304 00F0 brlo .L31 |
||
326 | 329 0306 2091 7800 lds r18,120 |
||
327 | 330 030a 3091 7900 lds r19,(120)+1 |
||
328 | 331 030e 8FEF ldi r24,lo8(2047) |
||
329 | 332 0310 97E0 ldi r25,hi8(2047) |
||
330 | 333 0312 821B sub r24,r18 |
||
331 | 334 0314 930B sbc r25,r19 |
||
332 | 335 0316 841B sub r24,r20 |
||
333 | 336 0318 950B sbc r25,r21 |
||
334 | 337 031a 00C0 rjmp .L40 |
||
335 | 338 .L31: |
||
336 | 339 031c 8091 7800 lds r24,120 |
||
337 | 340 0320 9091 7900 lds r25,(120)+1 |
||
338 | 341 0324 840F add r24,r20 |
||
339 | 342 0326 951F adc r25,r21 |
||
340 | 343 .L40: |
||
341 | 344 0328 9093 0000 sts (AdWertGier)+1,r25 |
||
342 | 345 032c 8093 0000 sts AdWertGier,r24 |
||
343 | 346 .L46: |
||
344 | 347 0330 86E0 ldi r24,lo8(6) |
||
345 | 348 0332 00C0 rjmp .L43 |
||
346 | 349 .L18: |
||
347 | 350 0334 2091 7800 lds r18,120 |
||
348 | 351 0338 3091 7900 lds r19,(120)+1 |
||
349 | 352 033c 8091 0000 lds r24,NeutralAccY |
||
350 | 353 0340 9091 0000 lds r25,(NeutralAccY)+1 |
||
351 | 354 0344 821B sub r24,r18 |
||
352 | 355 0346 930B sbc r25,r19 |
||
353 | 356 0348 9093 0000 sts (Aktuell_ay)+1,r25 |
||
354 | 357 034c 8093 0000 sts Aktuell_ay,r24 |
||
355 | 358 0350 8091 0000 lds r24,Aktuell_ay |
||
356 | 359 0354 9091 0000 lds r25,(Aktuell_ay)+1 |
||
357 | 360 0358 2091 0000 lds r18,accy.2332 |
||
358 | 361 035c 3091 0000 lds r19,(accy.2332)+1 |
||
359 | 362 0360 820F add r24,r18 |
||
360 | 363 0362 931F adc r25,r19 |
||
361 | 364 0364 9093 0000 sts (AdWertAccRoll)+1,r25 |
||
362 | 365 0368 8093 0000 sts AdWertAccRoll,r24 |
||
363 | 366 .L47: |
||
364 | 367 036c 87E0 ldi r24,lo8(7) |
||
365 | 368 036e 00C0 rjmp .L43 |
||
366 | 369 .L19: |
||
367 | 370 0370 8091 7800 lds r24,120 |
||
368 | 371 0374 9091 7900 lds r25,(120)+1 |
||
369 | 372 0378 2091 0000 lds r18,NeutralAccX |
||
370 | 373 037c 3091 0000 lds r19,(NeutralAccX)+1 |
||
371 | 374 0380 821B sub r24,r18 |
||
372 | 375 0382 930B sbc r25,r19 |
||
373 | 376 0384 9093 0000 sts (Aktuell_ax)+1,r25 |
||
374 | 377 0388 8093 0000 sts Aktuell_ax,r24 |
||
375 | 378 038c 8091 0000 lds r24,Aktuell_ax |
||
376 | 379 0390 9091 0000 lds r25,(Aktuell_ax)+1 |
||
377 | 380 0394 2091 0000 lds r18,accx.2333 |
||
378 | 381 0398 3091 0000 lds r19,(accx.2333)+1 |
||
379 | 382 039c 820F add r24,r18 |
||
380 | 383 039e 931F adc r25,r19 |
||
381 | 384 03a0 9093 0000 sts (AdWertAccNick)+1,r25 |
||
382 | 385 03a4 8093 0000 sts AdWertAccNick,r24 |
||
383 | 386 03a8 00C0 rjmp .L48 |
||
384 | 387 .L20: |
||
385 | 388 03aa 2091 7800 lds r18,120 |
||
386 | 389 03ae 3091 7900 lds r19,(120)+1 |
||
387 | 390 03b2 8091 0000 lds r24,nick1.2329 |
||
388 | 391 03b6 9091 0000 lds r25,(nick1.2329)+1 |
||
389 | 392 03ba 280F add r18,r24 |
||
390 | 393 03bc 391F adc r19,r25 |
||
391 | 394 03be 8091 0000 lds r24,PlatinenVersion |
||
392 | 395 03c2 8A30 cpi r24,lo8(10) |
||
393 | 396 03c4 01F4 brne .L32 |
||
394 | 397 03c6 220F lsl r18 |
||
395 | 398 03c8 331F rol r19 |
||
396 | 399 03ca 00C0 rjmp .L41 |
||
397 | 400 .L32: |
||
398 | 401 03cc 220F lsl r18 |
||
399 | 402 03ce 331F rol r19 |
||
400 | 403 03d0 220F lsl r18 |
||
401 | 404 03d2 331F rol r19 |
||
402 | 405 .L41: |
||
403 | 406 03d4 3093 0000 sts (nick1.2329)+1,r19 |
||
404 | 407 03d8 2093 0000 sts nick1.2329,r18 |
||
405 | 408 03dc 2091 0000 lds r18,nick1.2329 |
||
406 | 409 03e0 3091 0000 lds r19,(nick1.2329)+1 |
||
407 | 410 03e4 C901 movw r24,r18 |
||
408 | 411 03e6 68E0 ldi r22,lo8(8) |
||
409 | 412 03e8 70E0 ldi r23,hi8(8) |
||
410 | 413 03ea 0E94 0000 call __divmodhi4 |
||
411 | 414 03ee 7093 0000 sts (AdWertNick)+1,r23 |
||
412 | 415 03f2 6093 0000 sts AdWertNick,r22 |
||
413 | 416 03f6 8091 0000 lds r24,nick_filter.2330 |
||
414 | 417 03fa 9091 0000 lds r25,(nick_filter.2330)+1 |
||
415 | 418 03fe 820F add r24,r18 |
||
416 | 419 0400 931F adc r25,r19 |
||
417 | 420 0402 62E0 ldi r22,lo8(2) |
||
418 | 421 0404 70E0 ldi r23,hi8(2) |
||
419 | 422 0406 0E94 0000 call __divmodhi4 |
||
420 | 423 040a CB01 movw r24,r22 |
||
421 | 424 040c 7093 0000 sts (nick_filter.2330)+1,r23 |
||
422 | 425 0410 6093 0000 sts nick_filter.2330,r22 |
||
423 | 426 0414 2091 0000 lds r18,AdNeutralNick |
||
424 | 427 0418 3091 0000 lds r19,(AdNeutralNick)+1 |
||
425 | 428 041c 821B sub r24,r18 |
||
426 | 429 041e 930B sbc r25,r19 |
||
427 | 430 0420 9093 0000 sts (HiResNick)+1,r25 |
||
428 | 431 0424 8093 0000 sts HiResNick,r24 |
||
429 | 432 0428 2091 0000 lds r18,AdWertNickFilter |
||
430 | 433 042c 3091 0000 lds r19,(AdWertNickFilter)+1 |
||
431 | 434 0430 8091 0000 lds r24,HiResNick |
||
432 | 435 0434 9091 0000 lds r25,(HiResNick)+1 |
||
433 | 436 0438 820F add r24,r18 |
||
434 | 437 043a 931F adc r25,r19 |
||
435 | 438 043c 62E0 ldi r22,lo8(2) |
||
436 | 439 043e 70E0 ldi r23,hi8(2) |
||
437 | 440 0440 0E94 0000 call __divmodhi4 |
||
438 | 441 0444 7093 0000 sts (AdWertNickFilter)+1,r23 |
||
439 | 442 0448 6093 0000 sts AdWertNickFilter,r22 |
||
440 | 443 .L45: |
||
441 | 444 044c 81E0 ldi r24,lo8(1) |
||
442 | 445 044e 00C0 rjmp .L43 |
||
443 | 446 .L21: |
||
444 | 447 0450 2091 7800 lds r18,120 |
||
445 | 448 0454 3091 7900 lds r19,(120)+1 |
||
446 | 449 0458 8091 0000 lds r24,roll1.2328 |
||
447 | 450 045c 9091 0000 lds r25,(roll1.2328)+1 |
||
448 | 451 0460 280F add r18,r24 |
||
449 | 452 0462 391F adc r19,r25 |
||
450 | 453 0464 8091 0000 lds r24,PlatinenVersion |
||
451 | 454 0468 8A30 cpi r24,lo8(10) |
||
452 | 455 046a 01F4 brne .L34 |
||
453 | 456 046c 220F lsl r18 |
||
454 | 457 046e 331F rol r19 |
||
455 | 458 0470 00C0 rjmp .L42 |
||
456 | 459 .L34: |
||
457 | 460 0472 220F lsl r18 |
||
458 | 461 0474 331F rol r19 |
||
459 | 462 0476 220F lsl r18 |
||
460 | 463 0478 331F rol r19 |
||
461 | 464 .L42: |
||
462 | 465 047a 3093 0000 sts (roll1.2328)+1,r19 |
||
463 | 466 047e 2093 0000 sts roll1.2328,r18 |
||
464 | 467 0482 2091 0000 lds r18,roll1.2328 |
||
465 | 468 0486 3091 0000 lds r19,(roll1.2328)+1 |
||
466 | 469 048a C901 movw r24,r18 |
||
467 | 470 048c 68E0 ldi r22,lo8(8) |
||
468 | 471 048e 70E0 ldi r23,hi8(8) |
||
469 | 472 0490 0E94 0000 call __divmodhi4 |
||
470 | 473 0494 7093 0000 sts (AdWertRoll)+1,r23 |
||
471 | 474 0498 6093 0000 sts AdWertRoll,r22 |
||
472 | 475 049c 8091 0000 lds r24,roll_filter.2331 |
||
473 | 476 04a0 9091 0000 lds r25,(roll_filter.2331)+1 |
||
474 | 477 04a4 820F add r24,r18 |
||
475 | 478 04a6 931F adc r25,r19 |
||
476 | 479 04a8 62E0 ldi r22,lo8(2) |
||
477 | 480 04aa 70E0 ldi r23,hi8(2) |
||
478 | 481 04ac 0E94 0000 call __divmodhi4 |
||
479 | 482 04b0 CB01 movw r24,r22 |
||
480 | 483 04b2 7093 0000 sts (roll_filter.2331)+1,r23 |
||
481 | 484 04b6 6093 0000 sts roll_filter.2331,r22 |
||
482 | 485 04ba 2091 0000 lds r18,AdNeutralRoll |
||
483 | 486 04be 3091 0000 lds r19,(AdNeutralRoll)+1 |
||
484 | 487 04c2 821B sub r24,r18 |
||
485 | 488 04c4 930B sbc r25,r19 |
||
486 | 489 04c6 9093 0000 sts (HiResRoll)+1,r25 |
||
487 | 490 04ca 8093 0000 sts HiResRoll,r24 |
||
488 | 491 04ce 2091 0000 lds r18,AdWertRollFilter |
||
489 | 492 04d2 3091 0000 lds r19,(AdWertRollFilter)+1 |
||
490 | 493 04d6 8091 0000 lds r24,HiResRoll |
||
491 | 494 04da 9091 0000 lds r25,(HiResRoll)+1 |
||
492 | 495 04de 820F add r24,r18 |
||
493 | 496 04e0 931F adc r25,r19 |
||
494 | 497 04e2 62E0 ldi r22,lo8(2) |
||
495 | 498 04e4 70E0 ldi r23,hi8(2) |
||
496 | 499 04e6 0E94 0000 call __divmodhi4 |
||
497 | 500 04ea 7093 0000 sts (AdWertRollFilter)+1,r23 |
||
498 | 501 04ee 6093 0000 sts AdWertRollFilter,r22 |
||
499 | 502 .L49: |
||
500 | 503 04f2 83E0 ldi r24,lo8(3) |
||
501 | 504 04f4 00C0 rjmp .L43 |
||
502 | 505 .L22: |
||
503 | 506 04f6 1092 0000 sts state.2325,__zero_reg__ |
||
504 | 507 04fa 81E0 ldi r24,lo8(1) |
||
505 | 508 04fc 8093 0000 sts AdReady,r24 |
||
506 | 509 0500 8091 0000 lds r24,ZaehlMessungen |
||
507 | 510 0504 9091 0000 lds r25,(ZaehlMessungen)+1 |
||
508 | 511 0508 0196 adiw r24,1 |
||
509 | 512 050a 9093 0000 sts (ZaehlMessungen)+1,r25 |
||
510 | 513 050e 8093 0000 sts ZaehlMessungen,r24 |
||
511 | 514 .L14: |
||
512 | 515 0512 8091 7800 lds r24,120 |
||
513 | 516 0516 9091 7900 lds r25,(120)+1 |
||
514 | 517 051a 9093 0000 sts (MessLuftdruck)+1,r25 |
||
515 | 518 051e 8093 0000 sts MessLuftdruck,r24 |
||
516 | 519 0522 8091 0000 lds r24,MessLuftdruck |
||
517 | 520 0526 9091 0000 lds r25,(MessLuftdruck)+1 |
||
518 | 521 052a 3C01 movw r6,r24 |
||
519 | 522 052c 8824 clr r8 |
||
520 | 523 052e 9924 clr r9 |
||
521 | 524 0530 8091 0000 lds r24,tmpLuftdruck.2334 |
||
522 | 525 0534 9091 0000 lds r25,(tmpLuftdruck.2334)+1 |
||
523 | 526 0538 A091 0000 lds r26,(tmpLuftdruck.2334)+2 |
||
524 | 527 053c B091 0000 lds r27,(tmpLuftdruck.2334)+3 |
||
525 | 528 0540 680E add r6,r24 |
||
526 | 529 0542 791E adc r7,r25 |
||
527 | 530 0544 8A1E adc r8,r26 |
||
528 | 531 0546 9B1E adc r9,r27 |
||
529 | 532 0548 6092 0000 sts tmpLuftdruck.2334,r6 |
||
530 | 533 054c 7092 0000 sts (tmpLuftdruck.2334)+1,r7 |
||
531 | 534 0550 8092 0000 sts (tmpLuftdruck.2334)+2,r8 |
||
532 | 535 0554 9092 0000 sts (tmpLuftdruck.2334)+3,r9 |
||
533 | 536 0558 8091 0000 lds r24,messanzahl_Druck.2335 |
||
534 | 537 055c 8F5F subi r24,lo8(-(1)) |
||
535 | 538 055e 8093 0000 sts messanzahl_Druck.2335,r24 |
||
536 | 539 0562 8231 cpi r24,lo8(18) |
||
537 | 540 0564 00F4 brsh .+2 |
||
538 | 541 0566 00C0 rjmp .L48 |
||
539 | 542 0568 8091 0000 lds r24,Luftdruck |
||
540 | 543 056c 9091 0000 lds r25,(Luftdruck)+1 |
||
541 | 544 0570 A091 0000 lds r26,(Luftdruck)+2 |
||
542 | 545 0574 B091 0000 lds r27,(Luftdruck)+3 |
||
543 | 546 0578 7C01 movw r14,r24 |
||
544 | 547 057a 8D01 movw r16,r26 |
||
545 | 548 057c 43E0 ldi r20,3 |
||
546 | 549 057e EE0C 1: lsl r14 |
||
547 | 550 0580 FF1C rol r15 |
||
548 | 551 0582 001F rol r16 |
||
549 | 552 0584 111F rol r17 |
||
550 | 553 0586 4A95 dec r20 |
||
551 | 554 0588 01F4 brne 1b |
||
552 | 555 058a E81A sub r14,r24 |
||
553 | 556 058c F90A sbc r15,r25 |
||
554 | 557 058e 0A0B sbc r16,r26 |
||
555 | 558 0590 1B0B sbc r17,r27 |
||
556 | 559 0592 84E0 ldi r24,lo8(4) |
||
557 | 560 0594 90E0 ldi r25,hi8(4) |
||
558 | 561 0596 A0E0 ldi r26,hlo8(4) |
||
559 | 562 0598 B0E0 ldi r27,hhi8(4) |
||
560 | 563 059a E80E add r14,r24 |
||
561 | 564 059c F91E adc r15,r25 |
||
562 | 565 059e 0A1F adc r16,r26 |
||
563 | 566 05a0 1B1F adc r17,r27 |
||
564 | 567 05a2 E60C add r14,r6 |
||
565 | 568 05a4 F71C adc r15,r7 |
||
566 | 569 05a6 081D adc r16,r8 |
||
567 | 570 05a8 191D adc r17,r9 |
||
568 | 571 05aa 6091 0000 lds r22,ExpandBaro |
||
569 | 572 05ae 7727 clr r23 |
||
570 | 573 05b0 67FD sbrc r22,7 |
||
571 | 574 05b2 7095 com r23 |
||
572 | 575 05b4 872F mov r24,r23 |
||
573 | 576 05b6 972F mov r25,r23 |
||
574 | 577 05b8 2AE3 ldi r18,lo8(-9414) |
||
575 | 578 05ba 3BED ldi r19,hi8(-9414) |
||
576 | 579 05bc 4FEF ldi r20,hlo8(-9414) |
||
577 | 580 05be 5FEF ldi r21,hhi8(-9414) |
||
578 | 581 05c0 0E94 0000 call __mulsi3 |
||
579 | 582 05c4 E60E add r14,r22 |
||
580 | 583 05c6 F71E adc r15,r23 |
||
581 | 584 05c8 081F adc r16,r24 |
||
582 | 585 05ca 191F adc r17,r25 |
||
583 | 586 05cc C801 movw r24,r16 |
||
584 | 587 05ce B701 movw r22,r14 |
||
585 | 588 05d0 28E0 ldi r18,lo8(8) |
||
586 | 589 05d2 30E0 ldi r19,hi8(8) |
||
587 | 590 05d4 40E0 ldi r20,hlo8(8) |
||
588 | 591 05d6 50E0 ldi r21,hhi8(8) |
||
589 | 592 05d8 0E94 0000 call __divmodsi4 |
||
590 | 593 05dc C901 movw r24,r18 |
||
591 | 594 05de DA01 movw r26,r20 |
||
592 | 595 05e0 8093 0000 sts Luftdruck,r24 |
||
593 | 596 05e4 9093 0000 sts (Luftdruck)+1,r25 |
||
594 | 597 05e8 A093 0000 sts (Luftdruck)+2,r26 |
||
595 | 598 05ec B093 0000 sts (Luftdruck)+3,r27 |
||
596 | 599 05f0 E090 0000 lds r14,StartLuftdruck |
||
597 | 600 05f4 F090 0000 lds r15,(StartLuftdruck)+1 |
||
598 | 601 05f8 8091 0000 lds r24,Luftdruck |
||
599 | 602 05fc 9091 0000 lds r25,(Luftdruck)+1 |
||
600 | 603 0600 A091 0000 lds r26,(Luftdruck)+2 |
||
601 | 604 0604 B091 0000 lds r27,(Luftdruck)+3 |
||
602 | 605 0608 0027 clr r16 |
||
603 | 606 060a F7FC sbrc r15,7 |
||
604 | 607 060c 0095 com r16 |
||
605 | 608 060e 102F mov r17,r16 |
||
606 | 609 0610 E81A sub r14,r24 |
||
607 | 610 0612 F90A sbc r15,r25 |
||
608 | 611 0614 0A0B sbc r16,r26 |
||
609 | 612 0616 1B0B sbc r17,r27 |
||
610 | 613 0618 E092 0000 sts HoehenWert,r14 |
||
611 | 614 061c F092 0000 sts (HoehenWert)+1,r15 |
||
612 | 615 0620 0093 0000 sts (HoehenWert)+2,r16 |
||
613 | 616 0624 1093 0000 sts (HoehenWert)+3,r17 |
||
614 | 617 0628 A090 0000 lds r10,SummenHoehe |
||
615 | 618 062c B090 0000 lds r11,(SummenHoehe)+1 |
||
616 | 619 0630 C090 0000 lds r12,(SummenHoehe)+2 |
||
617 | 620 0634 D090 0000 lds r13,(SummenHoehe)+3 |
||
618 | 621 0638 6091 0000 lds r22,SummenHoehe |
||
619 | 622 063c 7091 0000 lds r23,(SummenHoehe)+1 |
||
620 | 623 0640 8091 0000 lds r24,(SummenHoehe)+2 |
||
621 | 624 0644 9091 0000 lds r25,(SummenHoehe)+3 |
||
622 | 625 0648 20E1 ldi r18,lo8(16) |
||
623 | 626 064a 30E0 ldi r19,hi8(16) |
||
624 | 627 064c 40E0 ldi r20,hlo8(16) |
||
625 | 628 064e 50E0 ldi r21,hhi8(16) |
||
626 | 629 0650 0E94 0000 call __divmodsi4 |
||
627 | 630 0654 A21A sub r10,r18 |
||
628 | 631 0656 B30A sbc r11,r19 |
||
629 | 632 0658 C40A sbc r12,r20 |
||
630 | 633 065a D50A sbc r13,r21 |
||
631 | 634 065c A092 0000 sts SummenHoehe,r10 |
||
632 | 635 0660 B092 0000 sts (SummenHoehe)+1,r11 |
||
633 | 636 0664 C092 0000 sts (SummenHoehe)+2,r12 |
||
634 | 637 0668 D092 0000 sts (SummenHoehe)+3,r13 |
||
635 | 638 066c 8091 0000 lds r24,SummenHoehe |
||
636 | 639 0670 9091 0000 lds r25,(SummenHoehe)+1 |
||
637 | 640 0674 A091 0000 lds r26,(SummenHoehe)+2 |
||
638 | 641 0678 B091 0000 lds r27,(SummenHoehe)+3 |
||
639 | 642 067c 8E0D add r24,r14 |
||
640 | 643 067e 9F1D adc r25,r15 |
||
641 | 644 0680 A01F adc r26,r16 |
||
642 | 645 0682 B11F adc r27,r17 |
||
643 | 646 0684 8093 0000 sts SummenHoehe,r24 |
||
644 | 647 0688 9093 0000 sts (SummenHoehe)+1,r25 |
||
645 | 648 068c A093 0000 sts (SummenHoehe)+2,r26 |
||
646 | 649 0690 B093 0000 sts (SummenHoehe)+3,r27 |
||
647 | 650 0694 C090 0000 lds r12,VarioMeter |
||
648 | 651 0698 D090 0000 lds r13,(VarioMeter)+1 |
||
649 | 652 069c 6091 0000 lds r22,SummenHoehe |
||
650 | 653 06a0 7091 0000 lds r23,(SummenHoehe)+1 |
||
651 | 654 06a4 8091 0000 lds r24,(SummenHoehe)+2 |
||
652 | 655 06a8 9091 0000 lds r25,(SummenHoehe)+3 |
||
653 | 656 06ac 20E1 ldi r18,lo8(16) |
||
654 | 657 06ae 30E0 ldi r19,hi8(16) |
||
655 | 658 06b0 40E0 ldi r20,hlo8(16) |
||
656 | 659 06b2 50E0 ldi r21,hhi8(16) |
||
657 | 660 06b4 0E94 0000 call __divmodsi4 |
||
658 | 661 06b8 5095 com r21 |
||
659 | 662 06ba 4095 com r20 |
||
660 | 663 06bc 3095 com r19 |
||
661 | 664 06be 2195 neg r18 |
||
662 | 665 06c0 3F4F sbci r19,lo8(-1) |
||
663 | 666 06c2 4F4F sbci r20,lo8(-1) |
||
664 | 667 06c4 5F4F sbci r21,lo8(-1) |
||
665 | 668 06c6 E20E add r14,r18 |
||
666 | 669 06c8 F31E adc r15,r19 |
||
667 | 670 06ca 33E0 ldi r19,3 |
||
668 | 671 06cc EE0C 1: lsl r14 |
||
669 | 672 06ce FF1C rol r15 |
||
670 | 673 06d0 3A95 dec r19 |
||
671 | 674 06d2 01F4 brne 1b |
||
672 | 675 06d4 C601 movw r24,r12 |
||
673 | 676 06d6 25E0 ldi r18,5 |
||
674 | 677 06d8 880F 1: lsl r24 |
||
675 | 678 06da 991F rol r25 |
||
676 | 679 06dc 2A95 dec r18 |
||
677 | 680 06de 01F4 brne 1b |
||
678 | 681 06e0 8C19 sub r24,r12 |
||
679 | 682 06e2 9D09 sbc r25,r13 |
||
680 | 683 06e4 8E0D add r24,r14 |
||
681 | 684 06e6 9F1D adc r25,r15 |
||
682 | 685 06e8 60E2 ldi r22,lo8(32) |
||
683 | 686 06ea 70E0 ldi r23,hi8(32) |
||
684 | 687 06ec 0E94 0000 call __divmodhi4 |
||
685 | 688 06f0 7093 0000 sts (VarioMeter)+1,r23 |
||
686 | 689 06f4 6093 0000 sts VarioMeter,r22 |
||
687 | 690 06f8 C401 movw r24,r8 |
||
688 | 691 06fa B301 movw r22,r6 |
||
689 | 692 06fc 22E0 ldi r18,lo8(2) |
||
690 | 693 06fe 30E0 ldi r19,hi8(2) |
||
691 | 694 0700 40E0 ldi r20,hlo8(2) |
||
692 | 695 0702 50E0 ldi r21,hhi8(2) |
||
693 | 696 0704 0E94 0000 call __divmodsi4 |
||
694 | 697 0708 2093 0000 sts tmpLuftdruck.2334,r18 |
||
695 | 698 070c 3093 0000 sts (tmpLuftdruck.2334)+1,r19 |
||
696 | 699 0710 4093 0000 sts (tmpLuftdruck.2334)+2,r20 |
||
697 | 700 0714 5093 0000 sts (tmpLuftdruck.2334)+3,r21 |
||
698 | 701 0718 89E0 ldi r24,lo8(9) |
||
699 | 702 071a 8093 0000 sts messanzahl_Druck.2335,r24 |
||
700 | 703 071e 00C0 rjmp .L48 |
||
701 | 704 .L4: |
||
702 | 705 0720 1092 0000 sts state.2325,__zero_reg__ |
||
703 | 706 .L48: |
||
704 | 707 0724 82E0 ldi r24,lo8(2) |
||
705 | 708 .L43: |
||
706 | 709 0726 8093 0000 sts kanal.2324,r24 |
||
707 | 710 .L24: |
||
708 | 711 072a 8091 0000 lds r24,kanal.2324 |
||
709 | 712 072e 8093 7C00 sts 124,r24 |
||
710 | 713 0732 8091 0000 lds r24,state.2325 |
||
711 | 714 0736 8823 tst r24 |
||
712 | 715 0738 01F0 breq .L38 |
||
713 | 716 073a 8FEC ldi r24,lo8(-49) |
||
714 | 717 073c 8093 7A00 sts 122,r24 |
||
715 | 718 .L38: |
||
716 | 719 /* epilogue start */ |
||
717 | 720 0740 FF91 pop r31 |
||
718 | 721 0742 EF91 pop r30 |
||
719 | 722 0744 BF91 pop r27 |
||
720 | 723 0746 AF91 pop r26 |
||
721 | 724 0748 9F91 pop r25 |
||
722 | 725 074a 8F91 pop r24 |
||
723 | 726 074c 7F91 pop r23 |
||
724 | 727 074e 6F91 pop r22 |
||
725 | 728 0750 5F91 pop r21 |
||
726 | 729 0752 4F91 pop r20 |
||
727 | 730 0754 3F91 pop r19 |
||
728 | 731 0756 2F91 pop r18 |
||
729 | 732 0758 1F91 pop r17 |
||
730 | 733 075a 0F91 pop r16 |
||
731 | 734 075c FF90 pop r15 |
||
732 | 735 075e EF90 pop r14 |
||
733 | 736 0760 DF90 pop r13 |
||
734 | 737 0762 CF90 pop r12 |
||
735 | 738 0764 BF90 pop r11 |
||
736 | 739 0766 AF90 pop r10 |
||
737 | 740 0768 9F90 pop r9 |
||
738 | 741 076a 8F90 pop r8 |
||
739 | 742 076c 7F90 pop r7 |
||
740 | 743 076e 6F90 pop r6 |
||
741 | 744 0770 0F90 pop r0 |
||
742 | 745 0772 0FBE out __SREG__,r0 |
||
743 | 746 0774 0F90 pop r0 |
||
744 | 747 0776 1F90 pop __zero_reg__ |
||
745 | 748 0778 1895 reti |
||
746 | 750 .global SucheGyroOffset |
||
747 | 752 SucheGyroOffset: |
||
748 | 753 077a A0E0 ldi r26,lo8(0) |
||
749 | 754 077c B0E0 ldi r27,hi8(0) |
||
750 | 755 077e E0E0 ldi r30,lo8(gs(1f)) |
||
751 | 756 0780 F0E0 ldi r31,hi8(gs(1f)) |
||
752 | 757 0782 0C94 0000 jmp __prologue_saves__+((18 - 13) * 2) |
||
753 | 758 1: |
||
754 | 759 /* prologue: function */ |
||
755 | 760 /* frame size = 0 */ |
||
756 | 761 0786 80ED ldi r24,lo8(2000) |
||
757 | 762 0788 97E0 ldi r25,hi8(2000) |
||
758 | 763 078a 0E94 0000 call SetDelay |
||
759 | 764 078e EC01 movw r28,r24 |
||
760 | 765 0790 0CE8 ldi r16,lo8(-116) |
||
761 | 766 0792 52E1 ldi r21,lo8(18) |
||
762 | 767 0794 752E mov r7,r21 |
||
763 | 768 0796 45EA ldi r20,lo8(-91) |
||
764 | 769 0798 842E mov r8,r20 |
||
765 | 770 079a 3AE0 ldi r19,lo8(10) |
||
766 | 771 079c E32E mov r14,r19 |
||
767 | 772 079e 25EF ldi r18,lo8(-11) |
||
768 | 773 07a0 F22E mov r15,r18 |
||
769 | 774 07a2 90E0 ldi r25,lo8(gs(uart_putchar)) |
||
770 | 775 07a4 A92E mov r10,r25 |
||
771 | 776 07a6 90E0 ldi r25,hi8(gs(uart_putchar)) |
||
772 | 777 07a8 B92E mov r11,r25 |
||
773 | 778 07aa 80E0 ldi r24,lo8(__c.2279) |
||
774 | 779 07ac C82E mov r12,r24 |
||
775 | 780 07ae 80E0 ldi r24,hi8(__c.2279) |
||
776 | 781 07b0 D82E mov r13,r24 |
||
777 | 782 07b2 1FEC ldi r17,lo8(-49) |
||
778 | 783 07b4 912E mov r9,r17 |
||
779 | 784 07b6 00C0 rjmp .L78 |
||
780 | 785 .L71: |
||
781 | 786 07b8 1330 cpi r17,lo8(3) |
||
782 | 787 07ba 01F4 brne .L78 |
||
783 | 788 07bc 0B30 cpi r16,lo8(11) |
||
784 | 789 07be 00F0 brlo .L78 |
||
785 | 790 07c0 09E0 ldi r16,lo8(9) |
||
786 | 791 .L78: |
||
787 | 792 07c2 8091 0000 lds r24,AdWertNick |
||
788 | 793 07c6 9091 0000 lds r25,(AdWertNick)+1 |
||
789 | 794 07ca 8C5F subi r24,lo8(1020) |
||
790 | 795 07cc 9340 sbci r25,hi8(1020) |
||
791 | 796 07ce 04F4 brge .L52 |
||
792 | 797 07d0 8091 0000 lds r24,AnalogOffsetNick |
||
793 | 798 07d4 8150 subi r24,lo8(-(-1)) |
||
794 | 799 07d6 00C0 rjmp .L79 |
||
795 | 800 .L52: |
||
796 | 801 07d8 8091 0000 lds r24,AdWertNick |
||
797 | 802 07dc 9091 0000 lds r25,(AdWertNick)+1 |
||
798 | 803 07e0 8750 subi r24,lo8(1031) |
||
799 | 804 07e2 9440 sbci r25,hi8(1031) |
||
800 | 805 07e4 04F4 brge .L54 |
||
801 | 806 07e6 11E0 ldi r17,lo8(1) |
||
802 | 807 07e8 00C0 rjmp .L53 |
||
803 | 808 .L54: |
||
804 | 809 07ea 8091 0000 lds r24,AnalogOffsetNick |
||
805 | 810 07ee 8F5F subi r24,lo8(-(1)) |
||
806 | 811 .L79: |
||
807 | 812 07f0 8093 0000 sts AnalogOffsetNick,r24 |
||
808 | 813 07f4 10E0 ldi r17,lo8(0) |
||
809 | 814 .L53: |
||
810 | 815 07f6 8091 0000 lds r24,AdWertRoll |
||
811 | 816 07fa 9091 0000 lds r25,(AdWertRoll)+1 |
||
812 | 817 07fe 8C5F subi r24,lo8(1020) |
||
813 | 818 0800 9340 sbci r25,hi8(1020) |
||
814 | 819 0802 04F4 brge .L55 |
||
815 | 820 0804 8091 0000 lds r24,AnalogOffsetRoll |
||
816 | 821 0808 8150 subi r24,lo8(-(-1)) |
||
817 | 822 080a 00C0 rjmp .L80 |
||
818 | 823 .L55: |
||
819 | 824 080c 8091 0000 lds r24,AdWertRoll |
||
820 | 825 0810 9091 0000 lds r25,(AdWertRoll)+1 |
||
821 | 826 0814 8750 subi r24,lo8(1031) |
||
822 | 827 0816 9440 sbci r25,hi8(1031) |
||
823 | 828 0818 04F0 brlt .L57 |
||
824 | 829 081a 8091 0000 lds r24,AnalogOffsetRoll |
||
825 | 830 081e 8F5F subi r24,lo8(-(1)) |
||
826 | 831 .L80: |
||
827 | 832 0820 8093 0000 sts AnalogOffsetRoll,r24 |
||
828 | 833 0824 00C0 rjmp .L56 |
||
829 | 834 .L57: |
||
830 | 835 0826 1F5F subi r17,lo8(-(1)) |
||
831 | 836 .L56: |
||
832 | 837 0828 8091 0000 lds r24,AdWertGier |
||
833 | 838 082c 9091 0000 lds r25,(AdWertGier)+1 |
||
834 | 839 0830 8C5F subi r24,lo8(1020) |
||
835 | 840 0832 9340 sbci r25,hi8(1020) |
||
836 | 841 0834 04F4 brge .L58 |
||
837 | 842 0836 8091 0000 lds r24,AnalogOffsetGier |
||
838 | 843 083a 8150 subi r24,lo8(-(-1)) |
||
839 | 844 083c 00C0 rjmp .L81 |
||
840 | 845 .L58: |
||
841 | 846 083e 8091 0000 lds r24,AdWertGier |
||
842 | 847 0842 9091 0000 lds r25,(AdWertGier)+1 |
||
843 | 848 0846 8750 subi r24,lo8(1031) |
||
844 | 849 0848 9440 sbci r25,hi8(1031) |
||
845 | 850 084a 04F0 brlt .L60 |
||
846 | 851 084c 8091 0000 lds r24,AnalogOffsetGier |
||
847 | 852 0850 8F5F subi r24,lo8(-(1)) |
||
848 | 853 .L81: |
||
849 | 854 0852 8093 0000 sts AnalogOffsetGier,r24 |
||
850 | 855 0856 00C0 rjmp .L59 |
||
851 | 856 .L60: |
||
852 | 857 0858 1F5F subi r17,lo8(-(1)) |
||
853 | 858 .L59: |
||
854 | 859 085a 7092 0000 sts twi_state,r7 |
||
855 | 860 085e 8091 0000 lds r24,BLFlags |
||
856 | 861 0862 8E7F andi r24,lo8(-2) |
||
857 | 862 0864 8093 0000 sts BLFlags,r24 |
||
858 | 863 0868 8092 BC00 sts 188,r8 |
||
859 | 864 086c 8091 0000 lds r24,AnalogOffsetNick |
||
860 | 865 0870 8A30 cpi r24,lo8(10) |
||
861 | 866 0872 00F4 brsh .L61 |
||
862 | 867 0874 8091 0000 lds r24,VersionInfo+5 |
||
863 | 868 0878 8160 ori r24,lo8(1) |
||
864 | 869 087a 8093 0000 sts VersionInfo+5,r24 |
||
865 | 870 087e E092 0000 sts AnalogOffsetNick,r14 |
||
866 | 871 .L61: |
||
867 | 872 0882 8091 0000 lds r24,AnalogOffsetNick |
||
868 | 873 0886 863F cpi r24,lo8(-10) |
||
869 | 874 0888 00F0 brlo .L62 |
||
870 | 875 088a 8091 0000 lds r24,VersionInfo+5 |
||
871 | 876 088e 8160 ori r24,lo8(1) |
||
872 | 877 0890 8093 0000 sts VersionInfo+5,r24 |
||
873 | 878 0894 F092 0000 sts AnalogOffsetNick,r15 |
||
874 | 879 .L62: |
||
875 | 880 0898 8091 0000 lds r24,AnalogOffsetRoll |
||
876 | 881 089c 8A30 cpi r24,lo8(10) |
||
877 | 882 089e 00F4 brsh .L63 |
||
878 | 883 08a0 8091 0000 lds r24,VersionInfo+5 |
||
879 | 884 08a4 8260 ori r24,lo8(2) |
||
880 | 885 08a6 8093 0000 sts VersionInfo+5,r24 |
||
881 | 886 08aa E092 0000 sts AnalogOffsetRoll,r14 |
||
882 | 887 .L63: |
||
883 | 888 08ae 8091 0000 lds r24,AnalogOffsetRoll |
||
884 | 889 08b2 863F cpi r24,lo8(-10) |
||
885 | 890 08b4 00F0 brlo .L64 |
||
886 | 891 08b6 8091 0000 lds r24,VersionInfo+5 |
||
887 | 892 08ba 8260 ori r24,lo8(2) |
||
888 | 893 08bc 8093 0000 sts VersionInfo+5,r24 |
||
889 | 894 08c0 F092 0000 sts AnalogOffsetRoll,r15 |
||
890 | 895 .L64: |
||
891 | 896 08c4 8091 0000 lds r24,AnalogOffsetGier |
||
892 | 897 08c8 8A30 cpi r24,lo8(10) |
||
893 | 898 08ca 00F4 brsh .L65 |
||
894 | 899 08cc 8091 0000 lds r24,VersionInfo+5 |
||
895 | 900 08d0 8460 ori r24,lo8(4) |
||
896 | 901 08d2 8093 0000 sts VersionInfo+5,r24 |
||
897 | 902 08d6 E092 0000 sts AnalogOffsetGier,r14 |
||
898 | 903 .L65: |
||
899 | 904 08da 8091 0000 lds r24,AnalogOffsetGier |
||
900 | 905 08de 863F cpi r24,lo8(-10) |
||
901 | 906 08e0 00F0 brlo .L74 |
||
902 | 907 08e2 8091 0000 lds r24,VersionInfo+5 |
||
903 | 908 08e6 8460 ori r24,lo8(4) |
||
904 | 909 08e8 8093 0000 sts VersionInfo+5,r24 |
||
905 | 910 08ec F092 0000 sts AnalogOffsetGier,r15 |
||
906 | 911 08f0 00C0 rjmp .L74 |
||
907 | 912 .L68: |
||
908 | 913 08f2 CE01 movw r24,r28 |
||
909 | 914 08f4 0E94 0000 call CheckDelay |
||
910 | 915 08f8 8823 tst r24 |
||
911 | 916 08fa 01F0 breq .L74 |
||
912 | 917 08fc 00D0 rcall . |
||
913 | 918 08fe 00D0 rcall . |
||
914 | 919 0900 EDB7 in r30,__SP_L__ |
||
915 | 920 0902 FEB7 in r31,__SP_H__ |
||
916 | 921 0904 B282 std Z+2,r11 |
||
917 | 922 0906 A182 std Z+1,r10 |
||
918 | 923 0908 D482 std Z+4,r13 |
||
919 | 924 090a C382 std Z+3,r12 |
||
920 | 925 090c E091 0000 lds r30,_printf_P |
||
921 | 926 0910 F091 0000 lds r31,(_printf_P)+1 |
||
922 | 927 0914 0995 icall |
||
923 | 928 0916 0F90 pop __tmp_reg__ |
||
924 | 929 0918 0F90 pop __tmp_reg__ |
||
925 | 930 091a 0F90 pop __tmp_reg__ |
||
926 | 931 091c 0F90 pop __tmp_reg__ |
||
927 | 932 091e 00C0 rjmp .L67 |
||
928 | 933 .L74: |
||
929 | 934 0920 8091 0000 lds r24,twi_state |
||
930 | 935 0924 8823 tst r24 |
||
931 | 936 0926 01F4 brne .L68 |
||
932 | 937 .L67: |
||
933 | 938 0928 1092 0000 sts AdReady,__zero_reg__ |
||
934 | 939 092c 9092 7A00 sts 122,r9 |
||
935 | 940 .L69: |
||
936 | 941 0930 8091 0000 lds r24,AdReady |
||
937 | 942 0934 8823 tst r24 |
||
938 | 943 0936 01F0 breq .L69 |
||
939 | 944 0938 0A30 cpi r16,lo8(10) |
||
940 | 945 093a 00F4 brsh .L70 |
||
941 | 946 093c 8AE0 ldi r24,lo8(10) |
||
942 | 947 093e 90E0 ldi r25,hi8(10) |
||
943 | 948 0940 0E94 0000 call Delay_ms_Mess |
||
944 | 949 .L70: |
||
945 | 950 0944 0150 subi r16,lo8(-(-1)) |
||
946 | 951 0946 01F0 breq .+2 |
||
947 | 952 0948 00C0 rjmp .L71 |
||
948 | 953 094a 86E4 ldi r24,lo8(70) |
||
949 | 954 094c 90E0 ldi r25,hi8(70) |
||
950 | 955 094e 0E94 0000 call Delay_ms_Mess |
||
951 | 956 /* epilogue start */ |
||
952 | 957 0952 CDB7 in r28,__SP_L__ |
||
953 | 958 0954 DEB7 in r29,__SP_H__ |
||
954 | 959 0956 EDE0 ldi r30, lo8(13) |
||
955 | 960 0958 0C94 0000 jmp __epilogue_restores__ + ((18 - 13) * 2) |
||
956 | 962 .global SucheLuftruckOffset |
||
957 | 964 SucheLuftruckOffset: |
||
958 | 965 095c EF92 push r14 |
||
959 | 966 095e FF92 push r15 |
||
960 | 967 0960 0F93 push r16 |
||
961 | 968 0962 1F93 push r17 |
||
962 | 969 0964 CF93 push r28 |
||
963 | 970 0966 DF93 push r29 |
||
964 | 971 /* prologue: function */ |
||
965 | 972 /* frame size = 0 */ |
||
966 | 973 0968 1092 0000 sts ExpandBaro,__zero_reg__ |
||
967 | 974 096c 83E0 ldi r24,lo8(3) |
||
968 | 975 096e 90E0 ldi r25,hi8(3) |
||
969 | 976 0970 0E94 0000 call GetParamByte |
||
970 | 977 0974 C82F mov r28,r24 |
||
971 | 978 0976 D0E0 ldi r29,lo8(0) |
||
972 | 979 0978 C531 cpi r28,21 |
||
973 | 980 097a D105 cpc r29,__zero_reg__ |
||
974 | 981 097c 00F0 brlo .L83 |
||
975 | 982 097e 2A97 sbiw r28,10 |
||
976 | 983 .L83: |
||
977 | 984 0980 C7BD out 71-32,r28 |
||
978 | 985 0982 84E6 ldi r24,lo8(100) |
||
979 | 986 0984 90E0 ldi r25,hi8(100) |
||
980 | 987 0986 0E94 0000 call Delay_ms_Mess |
||
981 | 988 098a 8091 0000 lds r24,MessLuftdruck |
||
982 | 989 098e 9091 0000 lds r25,(MessLuftdruck)+1 |
||
983 | 990 0992 8052 subi r24,lo8(800) |
||
984 | 991 0994 9340 sbci r25,hi8(800) |
||
985 | 992 0996 00F4 brsh .L84 |
||
986 | 993 0998 C0E0 ldi r28,lo8(0) |
||
987 | 994 099a D0E0 ldi r29,hi8(0) |
||
988 | 995 099c 00C0 rjmp .L84 |
||
989 | 996 .L86: |
||
990 | 997 099e C7BD out 71-32,r28 |
||
991 | 998 09a0 82E3 ldi r24,lo8(50) |
||
992 | 999 09a2 90E0 ldi r25,hi8(50) |
||
993 | 1000 09a4 0E94 0000 call Delay_ms_Mess |
||
994 | 1001 09a8 00D0 rcall . |
||
995 | 1002 09aa 00D0 rcall . |
||
996 | 1003 09ac EDB7 in r30,__SP_L__ |
||
997 | 1004 09ae FEB7 in r31,__SP_H__ |
||
998 | 1005 09b0 F282 std Z+2,r15 |
||
999 | 1006 09b2 E182 std Z+1,r14 |
||
1000 | 1007 09b4 1483 std Z+4,r17 |
||
1001 | 1008 09b6 0383 std Z+3,r16 |
||
1002 | 1009 09b8 E091 0000 lds r30,_printf_P |
||
1003 | 1010 09bc F091 0000 lds r31,(_printf_P)+1 |
||
1004 | 1011 09c0 0995 icall |
||
1005 | 1012 09c2 8091 0000 lds r24,MessLuftdruck |
||
1006 | 1013 09c6 9091 0000 lds r25,(MessLuftdruck)+1 |
||
1007 | 1014 09ca 0F90 pop __tmp_reg__ |
||
1008 | 1015 09cc 0F90 pop __tmp_reg__ |
||
1009 | 1016 09ce 0F90 pop __tmp_reg__ |
||
1010 | 1017 09d0 0F90 pop __tmp_reg__ |
||
1011 | 1018 09d2 8052 subi r24,lo8(800) |
||
1012 | 1019 09d4 9340 sbci r25,hi8(800) |
||
1013 | 1020 09d6 00F0 brlo .L85 |
||
1014 | 1021 09d8 2196 adiw r28,1 |
||
1015 | 1022 09da 00C0 rjmp .L89 |
||
1016 | 1023 .L84: |
||
1017 | 1024 09dc 60E0 ldi r22,lo8(gs(uart_putchar)) |
||
1018 | 1025 09de E62E mov r14,r22 |
||
1019 | 1026 09e0 60E0 ldi r22,hi8(gs(uart_putchar)) |
||
1020 | 1027 09e2 F62E mov r15,r22 |
||
1021 | 1028 09e4 00E0 ldi r16,lo8(__c.2252) |
||
1022 | 1029 09e6 10E0 ldi r17,hi8(__c.2252) |
||
1023 | 1030 .L89: |
||
1024 | 1031 09e8 CA3F cpi r28,250 |
||
1025 | 1032 09ea D105 cpc r29,__zero_reg__ |
||
1026 | 1033 09ec 00F0 brlo .L86 |
||
1027 | 1034 .L85: |
||
1028 | 1035 09ee 1C2F mov r17,r28 |
||
1029 | 1036 09f0 C093 0000 sts DruckOffsetSetting,r28 |
||
1030 | 1037 09f4 83E0 ldi r24,lo8(3) |
||
1031 | 1038 09f6 90E0 ldi r25,hi8(3) |
||
1032 | 1039 09f8 6C2F mov r22,r28 |
||
1033 | 1040 09fa 0E94 0000 call SetParamByte |
||
1034 | 1041 09fe 8091 0000 lds r24,EE_Parameter+13 |
||
1035 | 1042 0a02 80FF sbrs r24,0 |
||
1036 | 1043 0a04 00C0 rjmp .L87 |
||
1037 | 1044 0a06 8091 0000 lds r24,DruckOffsetSetting |
||
1038 | 1045 0a0a 8A50 subi r24,lo8(-(-10)) |
||
1039 | 1046 0a0c 8B3E cpi r24,lo8(-21) |
||
1040 | 1047 0a0e 00F0 brlo .L87 |
||
1041 | 1048 0a10 8091 0000 lds r24,VersionInfo+5 |
||
1042 | 1049 0a14 8064 ori r24,lo8(64) |
||
1043 | 1050 0a16 8093 0000 sts VersionInfo+5,r24 |
||
1044 | 1051 .L87: |
||
1045 | 1052 0a1a 17BD out 71-32,r17 |
||
1046 | 1053 0a1c 8CE2 ldi r24,lo8(300) |
||
1047 | 1054 0a1e 91E0 ldi r25,hi8(300) |
||
1048 | 1055 0a20 0E94 0000 call Delay_ms_Mess |
||
1049 | 1056 /* epilogue start */ |
||
1050 | 1057 0a24 CDB7 in r28,__SP_L__ |
||
1051 | 1058 0a26 DEB7 in r29,__SP_H__ |
||
1052 | 1059 0a28 E6E0 ldi r30, lo8(6) |
||
1053 | 1060 0a2a 0C94 0000 jmp __epilogue_restores__ + ((18 - 6) * 2) |
||
1054 | 1062 .global UBat |
||
1055 | 1063 .data |
||
1056 | 1066 UBat: |
||
1057 | 1067 0000 6400 .word 100 |
||
1058 | 1068 .global AdWertNickFilter |
||
1059 | 1069 .global AdWertNickFilter |
||
1060 | 1070 .section .bss |
||
1061 | 1073 AdWertNickFilter: |
||
1062 | 1074 0000 0000 .skip 2,0 |
||
1063 | 1075 .global AdWertRollFilter |
||
1064 | 1076 .global AdWertRollFilter |
||
1065 | 1079 AdWertRollFilter: |
||
1066 | 1080 0002 0000 .skip 2,0 |
||
1067 | 1081 .global AdWertGierFilter |
||
1068 | 1082 .global AdWertGierFilter |
||
1069 | 1085 AdWertGierFilter: |
||
1070 | 1086 0004 0000 .skip 2,0 |
||
1071 | 1087 .global HiResNick |
||
1072 | 1088 .data |
||
1073 | 1091 HiResNick: |
||
1074 | 1092 0002 C409 .word 2500 |
||
1075 | 1093 .global HiResRoll |
||
1076 | 1096 HiResRoll: |
||
1077 | 1097 0004 C409 .word 2500 |
||
1078 | 1098 .global AdWertNick |
||
1079 | 1099 .global AdWertNick |
||
1080 | 1100 .section .bss |
||
1081 | 1103 AdWertNick: |
||
1082 | 1104 0006 0000 .skip 2,0 |
||
1083 | 1105 .global AdWertRoll |
||
1084 | 1106 .global AdWertRoll |
||
1085 | 1109 AdWertRoll: |
||
1086 | 1110 0008 0000 .skip 2,0 |
||
1087 | 1111 .global AdWertGier |
||
1088 | 1112 .global AdWertGier |
||
1089 | 1115 AdWertGier: |
||
1090 | 1116 000a 0000 .skip 2,0 |
||
1091 | 1117 .global AdWertAccRoll |
||
1092 | 1118 .global AdWertAccRoll |
||
1093 | 1121 AdWertAccRoll: |
||
1094 | 1122 000c 0000 .skip 2,0 |
||
1095 | 1123 .global AdWertAccNick |
||
1096 | 1124 .global AdWertAccNick |
||
1097 | 1127 AdWertAccNick: |
||
1098 | 1128 000e 0000 .skip 2,0 |
||
1099 | 1129 .global AdWertAccHoch |
||
1100 | 1130 .global AdWertAccHoch |
||
1101 | 1133 AdWertAccHoch: |
||
1102 | 1134 0010 0000 .skip 2,0 |
||
1103 | 1135 .global messanzahl_AccHoch |
||
1104 | 1136 .global messanzahl_AccHoch |
||
1105 | 1139 messanzahl_AccHoch: |
||
1106 | 1140 0012 00 .skip 1,0 |
||
1107 | 1141 .global Luftdruck |
||
1108 | 1142 .data |
||
1109 | 1145 Luftdruck: |
||
1110 | 1146 0006 00 .byte 0 |
||
1111 | 1147 0007 7D .byte 125 |
||
1112 | 1148 0008 00 .byte 0 |
||
1113 | 1149 0009 00 .byte 0 |
||
1114 | 1150 .global SummenHoehe |
||
1115 | 1151 .global SummenHoehe |
||
1116 | 1152 .section .bss |
||
1117 | 1155 SummenHoehe: |
||
1118 | 1156 0013 0000 0000 .skip 4,0 |
||
1119 | 1157 .global MessLuftdruck |
||
1120 | 1158 .data |
||
1121 | 1161 MessLuftdruck: |
||
1122 | 1162 000a FF03 .word 1023 |
||
1123 | 1163 .global ExpandBaro |
||
1124 | 1164 .global ExpandBaro |
||
1125 | 1165 .section .bss |
||
1126 | 1168 ExpandBaro: |
||
1127 | 1169 0017 00 .skip 1,0 |
||
1128 | 1170 .global VarioMeter |
||
1129 | 1171 .global VarioMeter |
||
1130 | 1174 VarioMeter: |
||
1131 | 1175 0018 0000 .skip 2,0 |
||
1132 | 1176 .global ZaehlMessungen |
||
1133 | 1177 .global ZaehlMessungen |
||
1134 | 1180 ZaehlMessungen: |
||
1135 | 1181 001a 0000 .skip 2,0 |
||
1136 | 1182 .global AnalogOffsetNick |
||
1137 | 1183 .data |
||
1138 | 1186 AnalogOffsetNick: |
||
1139 | 1187 000c 73 .byte 115 |
||
1140 | 1188 .global AnalogOffsetRoll |
||
1141 | 1191 AnalogOffsetRoll: |
||
1142 | 1192 000d 73 .byte 115 |
||
1143 | 1193 .global AnalogOffsetGier |
||
1144 | 1196 AnalogOffsetGier: |
||
1145 | 1197 000e 73 .byte 115 |
||
1146 | 1198 .global AdReady |
||
1147 | 1201 AdReady: |
||
1148 | 1202 000f 01 .byte 1 |
||
1149 | 1203 .lcomm messanzahl_Druck.2335,1 |
||
1150 | 1204 .lcomm tmpLuftdruck.2334,4 |
||
1151 | 1205 .lcomm accx.2333,2 |
||
1152 | 1206 .lcomm accy.2332,2 |
||
1153 | 1207 .lcomm roll_filter.2331,2 |
||
1154 | 1208 .lcomm nick_filter.2330,2 |
||
1155 | 1209 .lcomm nick1.2329,2 |
||
1156 | 1210 .lcomm roll1.2328,2 |
||
1157 | 1211 .lcomm gier1.2327,2 |
||
1158 | 1212 .lcomm subcount.2326,1 |
||
1159 | 1213 .lcomm state.2325,1 |
||
1160 | 1214 .lcomm kanal.2324,1 |
||
1161 | 1215 .section .progmem.data,"a",@progbits |
||
1162 | 1218 __c.2279: |
||
1163 | 1219 0000 0A0D 2044 .string "\n\r DAC or I2C ERROR! Check I2C, 3Vref, DAC and BL-Ctrl" |
||
1164 | 1219 4143 206F |
||
1165 | 1219 7220 4932 |
||
1166 | 1219 4320 4552 |
||
1167 | 1219 524F 5221 |
||
1168 | 1222 __c.2252: |
||
1169 | 1223 0037 2E00 .string "." |
||
1170 | 1224 .comm Aktuell_Nick,2,1 |
||
1171 | 1225 .comm Aktuell_Roll,2,1 |
||
1172 | 1226 .comm Aktuell_Gier,2,1 |
||
1173 | 1227 .comm Aktuell_ax,2,1 |
||
1174 | 1228 .comm Aktuell_ay,2,1 |
||
1175 | 1229 .comm Aktuell_az,2,1 |
||
1176 | 1230 .comm DruckOffsetSetting,1,1 |
||
1177 | 1231 .comm StartLuftdruck,2,1 |
||
1178 | 1232 .comm NeutralAccZ_float,4,1 |
||
1179 | 1233 .global __do_copy_data |
||
1180 | 1234 .global __do_clear_bss |
||
1755 | - | 1181 | DEFINED SYMBOLS |
1182 | *ABS*:00000000 analog.c |
||
1789 | - | 1183 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:2 *ABS*:0000003f __SREG__ |
1184 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:3 *ABS*:0000003e __SP_H__ |
||
1185 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:4 *ABS*:0000003d __SP_L__ |
||
1186 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:5 *ABS*:00000034 __CCP__ |
||
1187 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:6 *ABS*:00000000 __tmp_reg__ |
||
1188 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:7 *ABS*:00000001 __zero_reg__ |
||
1189 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:11 .text:00000000 ADC_Init |
||
1190 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:22 .text:0000000c __vector_24 |
||
1191 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:1212 .bss:00000030 state.2325 |
||
1192 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:1208 .bss:00000029 nick1.2329 |
||
1193 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:1210 .bss:0000002d gier1.2327 |
||
1755 | - | 1194 | *COM*:00000002 Aktuell_ay |
1789 | - | 1195 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:1205 .bss:00000023 accy.2332 |
1755 | - | 1196 | *COM*:00000002 Aktuell_ax |
1789 | - | 1197 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:1204 .bss:00000021 accx.2333 |
1198 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:1209 .bss:0000002b roll1.2328 |
||
1199 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:1066 .data:00000000 UBat |
||
1200 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:1133 .bss:00000010 AdWertAccHoch |
||
1201 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:1211 .bss:0000002f subcount.2326 |
||
1202 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:1139 .bss:00000012 messanzahl_AccHoch |
||
1755 | - | 1203 | *COM*:00000002 Aktuell_az |
1789 | - | 1204 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:1213 .bss:00000031 kanal.2324 |
1205 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:1115 .bss:0000000a AdWertGier |
||
1206 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:1121 .bss:0000000c AdWertAccRoll |
||
1207 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:1127 .bss:0000000e AdWertAccNick |
||
1208 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:1103 .bss:00000006 AdWertNick |
||
1209 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:1207 .bss:00000027 nick_filter.2330 |
||
1210 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:1091 .data:00000002 HiResNick |
||
1211 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:1073 .bss:00000000 AdWertNickFilter |
||
1212 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:1109 .bss:00000008 AdWertRoll |
||
1213 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:1206 .bss:00000025 roll_filter.2331 |
||
1214 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:1096 .data:00000004 HiResRoll |
||
1215 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:1079 .bss:00000002 AdWertRollFilter |
||
1216 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:1201 .data:0000000f AdReady |
||
1217 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:1180 .bss:0000001a ZaehlMessungen |
||
1218 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:1161 .data:0000000a MessLuftdruck |
||
1219 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:1203 .bss:0000001d tmpLuftdruck.2334 |
||
1220 | .bss:0000001c messanzahl_Druck.2335 |
||
1221 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:1145 .data:00000006 Luftdruck |
||
1222 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:1168 .bss:00000017 ExpandBaro |
||
1755 | - | 1223 | *COM*:00000002 StartLuftdruck |
1789 | - | 1224 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:1155 .bss:00000013 SummenHoehe |
1225 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:1174 .bss:00000018 VarioMeter |
||
1226 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:752 .text:0000077a SucheGyroOffset |
||
1227 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:1218 .progmem.data:00000000 __c.2279 |
||
1228 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:1186 .data:0000000c AnalogOffsetNick |
||
1229 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:1191 .data:0000000d AnalogOffsetRoll |
||
1230 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:1196 .data:0000000e AnalogOffsetGier |
||
1231 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:964 .text:0000095c SucheLuftruckOffset |
||
1232 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:1222 .progmem.data:00000037 __c.2252 |
||
1233 | *COM*:00000001 DruckOffsetSetting |
||
1234 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccewM8xd.s:1085 .bss:00000004 AdWertGierFilter |
||
1755 | - | 1235 | *COM*:00000002 Aktuell_Nick |
1236 | *COM*:00000002 Aktuell_Roll |
||
1237 | *COM*:00000002 Aktuell_Gier |
||
1238 | *COM*:00000004 NeutralAccZ_float |
||
1239 | |||
1240 | UNDEFINED SYMBOLS |
||
1241 | __tablejump2__ |
||
1242 | NeutralAccY |
||
1243 | NeutralAccX |
||
1244 | __udivmodhi4 |
||
1245 | NeutralAccZ |
||
1246 | modell_fliegt |
||
1247 | Mess_Integral_Hoch |
||
1789 | - | 1248 | __divmodsi4 |
1755 | - | 1249 | PlatinenVersion |
1789 | - | 1250 | __divmodhi4 |
1755 | - | 1251 | AdNeutralNick |
1252 | AdNeutralRoll |
||
1253 | __mulsi3 |
||
1254 | HoehenWert |
||
1789 | - | 1255 | __prologue_saves__ |
1256 | SetDelay |
||
1257 | uart_putchar |
||
1258 | twi_state |
||
1259 | BLFlags |
||
1260 | VersionInfo |
||
1261 | CheckDelay |
||
1262 | _printf_P |
||
1263 | Delay_ms_Mess |
||
1264 | __epilogue_restores__ |
||
1265 | GetParamByte |
||
1266 | SetParamByte |
||
1267 | EE_Parameter |
||
1268 | __do_copy_data |
||
1269 | __do_clear_bss |