Rev 1189 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1189 | kmpec | 1 | 1 .file "analog.c" |
2 | 2 __SREG__ = 0x3f |
||
3 | 3 __SP_H__ = 0x3e |
||
4 | 4 __SP_L__ = 0x3d |
||
5 | 5 __tmp_reg__ = 0 |
||
6 | 6 __zero_reg__ = 1 |
||
7 | 7 .global __do_copy_data |
||
8 | 8 .global __do_clear_bss |
||
9 | 9 .text |
||
10 | 10 .global ADC_Init |
||
11 | 12 ADC_Init: |
||
12 | 13 /* prologue: frame size=0 */ |
||
13 | 14 /* prologue end (size=0) */ |
||
14 | 15 0000 1092 7C00 sts 124,__zero_reg__ |
||
15 | 16 0004 8FEC ldi r24,lo8(-49) |
||
16 | 17 0006 8093 7A00 sts 122,r24 |
||
17 | 18 /* epilogue: frame size=0 */ |
||
18 | 19 000a 0895 ret |
||
19 | 20 /* epilogue end (size=1) */ |
||
20 | 21 /* function ADC_Init size 6 (5) */ |
||
21 | 23 .global __vector_24 |
||
22 | 25 __vector_24: |
||
23 | 26 /* prologue: frame size=0 */ |
||
24 | 27 000c 1F92 push __zero_reg__ |
||
25 | 28 000e 0F92 push __tmp_reg__ |
||
26 | 29 0010 0FB6 in __tmp_reg__,__SREG__ |
||
27 | 30 0012 0F92 push __tmp_reg__ |
||
28 | 31 0014 1124 clr __zero_reg__ |
||
29 | 32 0016 DF92 push r13 |
||
30 | 33 0018 EF92 push r14 |
||
31 | 34 001a FF92 push r15 |
||
32 | 35 001c 0F93 push r16 |
||
33 | 36 001e 1F93 push r17 |
||
34 | 37 0020 2F93 push r18 |
||
35 | 38 0022 3F93 push r19 |
||
36 | 39 0024 4F93 push r20 |
||
37 | 40 0026 5F93 push r21 |
||
38 | 41 0028 6F93 push r22 |
||
39 | 42 002a 7F93 push r23 |
||
40 | 43 002c 8F93 push r24 |
||
41 | 44 002e 9F93 push r25 |
||
42 | 45 0030 AF93 push r26 |
||
43 | 46 0032 BF93 push r27 |
||
44 | 47 0034 CF93 push r28 |
||
45 | 48 0036 DF93 push r29 |
||
46 | 49 0038 EF93 push r30 |
||
47 | 50 003a FF93 push r31 |
||
48 | 51 /* prologue end (size=24) */ |
||
49 | 52 003c D090 0000 lds r13,state.2447 |
||
50 | 53 0040 8D2D mov r24,r13 |
||
51 | 54 0042 D394 inc r13 |
||
52 | 55 0044 D092 0000 sts state.2447,r13 |
||
53 | 56 0048 E82F mov r30,r24 |
||
54 | 57 004a F0E0 ldi r31,lo8(0) |
||
55 | 58 004c E231 cpi r30,18 |
||
56 | 59 004e F105 cpc r31,__zero_reg__ |
||
57 | 60 0050 00F0 brlo .L61 |
||
58 | 61 0052 1092 0000 sts state.2447,__zero_reg__ |
||
59 | 62 0056 82E0 ldi r24,lo8(2) |
||
60 | 63 0058 8093 0000 sts kanal.2446,r24 |
||
61 | 64 005c 8093 7C00 sts 124,r24 |
||
62 | 65 0060 00C0 rjmp .L59 |
||
63 | 66 .L61: |
||
64 | 67 0062 E050 subi r30,lo8(-(gs(.L23))) |
||
65 | **** Warning:expression dangerous with linker stubs |
||
66 | 68 0064 F040 sbci r31,hi8(-(gs(.L23))) |
||
67 | **** Warning:expression dangerous with linker stubs |
||
68 | 69 0066 EE0F lsl r30 |
||
69 | 70 0068 FF1F rol r31 |
||
70 | 71 006a 0590 lpm __tmp_reg__,Z+ |
||
71 | 72 006c F491 lpm r31,Z |
||
72 | 73 006e E02D mov r30,__tmp_reg__ |
||
73 | 74 0070 0994 ijmp |
||
74 | 75 .data |
||
75 | 76 .section .progmem.gcc_sw_table, "a", @progbits |
||
76 | 77 .p2align 1 |
||
77 | 78 .L23: |
||
78 | 79 .data |
||
79 | 80 .section .progmem.gcc_sw_table, "a", @progbits |
||
80 | 81 .p2align 1 |
||
81 | 82 0000 0000 .word gs(.L5) |
||
82 | 83 0002 0000 .word gs(.L6) |
||
83 | 84 0004 0000 .word gs(.L7) |
||
84 | 85 0006 0000 .word gs(.L8) |
||
85 | 86 0008 0000 .word gs(.L9) |
||
86 | 87 000a 0000 .word gs(.L15) |
||
87 | 88 000c 0000 .word gs(.L11) |
||
88 | 89 000e 0000 .word gs(.L12) |
||
89 | 90 0010 0000 .word gs(.L13) |
||
90 | 91 0012 0000 .word gs(.L14) |
||
91 | 92 0014 0000 .word gs(.L15) |
||
92 | 93 0016 0000 .word gs(.L16) |
||
93 | 94 0018 0000 .word gs(.L17) |
||
94 | 95 001a 0000 .word gs(.L18) |
||
95 | 96 001c 0000 .word gs(.L19) |
||
96 | 97 001e 0000 .word gs(.L20) |
||
97 | 98 0020 0000 .word gs(.L21) |
||
98 | 99 0022 0000 .word gs(.L22) |
||
99 | 100 .text |
||
100 | 101 .L15: |
||
101 | 102 0072 8091 7800 lds r24,120 |
||
102 | 103 0076 9091 7900 lds r25,(120)+1 |
||
103 | 104 007a 2091 0000 lds r18,nick1.2450 |
||
104 | 105 007e 3091 0000 lds r19,(nick1.2450)+1 |
||
105 | 106 0082 280F add r18,r24 |
||
106 | 107 0084 391F adc r19,r25 |
||
107 | 108 0086 3093 0000 sts (nick1.2450)+1,r19 |
||
108 | 109 008a 2093 0000 sts nick1.2450,r18 |
||
109 | 110 008e 81E0 ldi r24,lo8(1) |
||
110 | 111 0090 8093 0000 sts kanal.2446,r24 |
||
111 | 112 .L24: |
||
112 | 113 0094 8091 0000 lds r24,kanal.2446 |
||
113 | 114 0098 8093 7C00 sts 124,r24 |
||
114 | 115 009c DD20 tst r13 |
||
115 | 116 009e 01F4 brne .+2 |
||
116 | 117 00a0 00C0 rjmp .L59 |
||
117 | 118 00a2 8FEC ldi r24,lo8(-49) |
||
118 | 119 00a4 8093 7A00 sts 122,r24 |
||
119 | 120 00a8 00C0 rjmp .L59 |
||
120 | 121 .L22: |
||
121 | 122 00aa DD24 clr r13 |
||
122 | 123 00ac 1092 0000 sts state.2447,__zero_reg__ |
||
123 | 124 00b0 81E0 ldi r24,lo8(1) |
||
124 | 125 00b2 8093 0000 sts AdReady,r24 |
||
125 | 126 00b6 8091 0000 lds r24,ZaehlMessungen |
||
126 | 127 00ba 9091 0000 lds r25,(ZaehlMessungen)+1 |
||
127 | 128 00be 0196 adiw r24,1 |
||
128 | 129 00c0 9093 0000 sts (ZaehlMessungen)+1,r25 |
||
129 | 130 00c4 8093 0000 sts ZaehlMessungen,r24 |
||
130 | 131 .L14: |
||
131 | 132 00c8 2091 7800 lds r18,120 |
||
132 | 133 00cc 3091 7900 lds r19,(120)+1 |
||
133 | 134 00d0 8091 0000 lds r24,tmpLuftdruck |
||
134 | 135 00d4 9091 0000 lds r25,(tmpLuftdruck)+1 |
||
135 | 136 00d8 820F add r24,r18 |
||
136 | 137 00da 931F adc r25,r19 |
||
137 | 138 00dc 9093 0000 sts (tmpLuftdruck)+1,r25 |
||
138 | 139 00e0 8093 0000 sts tmpLuftdruck,r24 |
||
139 | 140 00e4 8091 0000 lds r24,messanzahl_Druck |
||
140 | 141 00e8 8F5F subi r24,lo8(-(1)) |
||
141 | 142 00ea 8093 0000 sts messanzahl_Druck,r24 |
||
142 | 143 00ee 8091 0000 lds r24,messanzahl_Druck |
||
143 | 144 00f2 8530 cpi r24,lo8(5) |
||
144 | 145 00f4 00F4 brsh .+2 |
||
145 | 146 00f6 00C0 rjmp .L52 |
||
146 | 147 00f8 8091 0000 lds r24,tmpLuftdruck |
||
147 | 148 00fc 9091 0000 lds r25,(tmpLuftdruck)+1 |
||
148 | 149 0100 97FD sbrc r25,7 |
||
149 | 150 0102 00C0 rjmp .L62 |
||
150 | 151 .L54: |
||
151 | 152 0104 9595 asr r25 |
||
152 | 153 0106 8795 ror r24 |
||
153 | 154 0108 9093 0000 sts (tmpLuftdruck)+1,r25 |
||
154 | 155 010c 8093 0000 sts tmpLuftdruck,r24 |
||
155 | 156 0110 8091 7800 lds r24,120 |
||
156 | 157 0114 9091 7900 lds r25,(120)+1 |
||
157 | 158 0118 9093 0000 sts (MessLuftdruck)+1,r25 |
||
158 | 159 011c 8093 0000 sts MessLuftdruck,r24 |
||
159 | 160 0120 1092 0000 sts messanzahl_Druck,__zero_reg__ |
||
160 | 161 0124 6091 0000 lds r22,HoeheD |
||
161 | 162 0128 7091 0000 lds r23,(HoeheD)+1 |
||
162 | 163 012c 8091 0000 lds r24,ExpandBaro |
||
163 | 164 0130 9927 clr r25 |
||
164 | 165 0132 87FD sbrc r24,7 |
||
165 | 166 0134 9095 com r25 |
||
166 | 167 0136 D82F mov r29,r24 |
||
167 | 168 0138 CC27 clr r28 |
||
168 | 169 013a C81B sub r28,r24 |
||
169 | 170 013c D90B sbc r29,r25 |
||
170 | 171 013e 2091 0000 lds r18,StartLuftdruck |
||
171 | 172 0142 3091 0000 lds r19,(StartLuftdruck)+1 |
||
172 | 173 0146 8091 0000 lds r24,tmpLuftdruck |
||
173 | 174 014a 9091 0000 lds r25,(tmpLuftdruck)+1 |
||
174 | 175 014e 4091 0000 lds r20,HoehenWert |
||
175 | 176 0152 5091 0000 lds r21,(HoehenWert)+1 |
||
176 | 177 0156 281B sub r18,r24 |
||
177 | 178 0158 390B sbc r19,r25 |
||
178 | 179 015a 241B sub r18,r20 |
||
179 | 180 015c 350B sbc r19,r21 |
||
180 | 181 015e 2C0F add r18,r28 |
||
181 | 182 0160 3D1F adc r19,r29 |
||
182 | 183 0162 8091 0000 lds r24,Parameter_Luftdruck_D |
||
183 | 184 0166 90E0 ldi r25,lo8(0) |
||
184 | 185 0168 A901 movw r20,r18 |
||
185 | 186 016a 489F mul r20,r24 |
||
186 | 187 016c 9001 movw r18,r0 |
||
187 | 188 016e 499F mul r20,r25 |
||
188 | 189 0170 300D add r19,r0 |
||
189 | 190 0172 589F mul r21,r24 |
||
190 | 191 0174 300D add r19,r0 |
||
191 | 192 0176 1124 clr r1 |
||
192 | 193 0178 8FE1 ldi r24,lo8(31) |
||
193 | 194 017a 90E0 ldi r25,hi8(31) |
||
194 | 195 017c AC01 movw r20,r24 |
||
195 | 196 017e 649F mul r22,r20 |
||
196 | 197 0180 C001 movw r24,r0 |
||
197 | 198 0182 659F mul r22,r21 |
||
198 | 199 0184 900D add r25,r0 |
||
199 | 200 0186 749F mul r23,r20 |
||
200 | 201 0188 900D add r25,r0 |
||
201 | 202 018a 1124 clr r1 |
||
202 | 203 018c 280F add r18,r24 |
||
203 | 204 018e 391F adc r19,r25 |
||
204 | 205 0190 37FD sbrc r19,7 |
||
205 | 206 0192 00C0 rjmp .L63 |
||
206 | 207 .L55: |
||
207 | 208 0194 3595 asr r19 |
||
208 | 209 0196 2795 ror r18 |
||
209 | 210 0198 3595 asr r19 |
||
210 | 211 019a 2795 ror r18 |
||
211 | 212 019c 3595 asr r19 |
||
212 | 213 019e 2795 ror r18 |
||
213 | 214 01a0 3595 asr r19 |
||
214 | 215 01a2 2795 ror r18 |
||
215 | 216 01a4 3595 asr r19 |
||
216 | 217 01a6 2795 ror r18 |
||
217 | 218 01a8 3093 0000 sts (HoeheD)+1,r19 |
||
218 | 219 01ac 2093 0000 sts HoeheD,r18 |
||
219 | 220 01b0 6091 0000 lds r22,tmpLuftdruck |
||
220 | 221 01b4 7091 0000 lds r23,(tmpLuftdruck)+1 |
||
221 | 222 01b8 E090 0000 lds r14,Luftdruck |
||
222 | 223 01bc F090 0000 lds r15,(Luftdruck)+1 |
||
223 | 224 01c0 0091 0000 lds r16,(Luftdruck)+2 |
||
224 | 225 01c4 1091 0000 lds r17,(Luftdruck)+3 |
||
225 | 226 01c8 8827 clr r24 |
||
226 | 227 01ca 77FD sbrc r23,7 |
||
227 | 228 01cc 8095 com r24 |
||
228 | 229 01ce 982F mov r25,r24 |
||
229 | 230 01d0 A801 movw r20,r16 |
||
230 | 231 01d2 9701 movw r18,r14 |
||
231 | 232 01d4 220F lsl r18 |
||
232 | 233 01d6 331F rol r19 |
||
233 | 234 01d8 441F rol r20 |
||
234 | 235 01da 551F rol r21 |
||
235 | 236 01dc 220F lsl r18 |
||
236 | 237 01de 331F rol r19 |
||
237 | 238 01e0 441F rol r20 |
||
238 | 239 01e2 551F rol r21 |
||
239 | 240 01e4 220F lsl r18 |
||
240 | 241 01e6 331F rol r19 |
||
241 | 242 01e8 441F rol r20 |
||
242 | 243 01ea 551F rol r21 |
||
243 | 244 01ec 2E19 sub r18,r14 |
||
244 | 245 01ee 3F09 sbc r19,r15 |
||
245 | 246 01f0 400B sbc r20,r16 |
||
246 | 247 01f2 510B sbc r21,r17 |
||
247 | 248 01f4 620F add r22,r18 |
||
248 | 249 01f6 731F adc r23,r19 |
||
249 | 250 01f8 841F adc r24,r20 |
||
250 | 251 01fa 951F adc r25,r21 |
||
251 | 252 01fc 6C5F subi r22,lo8(-(4)) |
||
252 | 253 01fe 7F4F sbci r23,hi8(-(4)) |
||
253 | 254 0200 8F4F sbci r24,hlo8(-(4)) |
||
254 | 255 0202 9F4F sbci r25,hhi8(-(4)) |
||
255 | 256 0204 28E0 ldi r18,lo8(8) |
||
256 | 257 0206 30E0 ldi r19,hi8(8) |
||
257 | 258 0208 40E0 ldi r20,hlo8(8) |
||
258 | 259 020a 50E0 ldi r21,hhi8(8) |
||
259 | 260 020c 0E94 0000 call __divmodsi4 |
||
260 | 261 0210 2093 0000 sts Luftdruck,r18 |
||
261 | 262 0214 3093 0000 sts (Luftdruck)+1,r19 |
||
262 | 263 0218 4093 0000 sts (Luftdruck)+2,r20 |
||
263 | 264 021c 5093 0000 sts (Luftdruck)+3,r21 |
||
264 | 265 0220 2091 0000 lds r18,StartLuftdruck |
||
265 | 266 0224 3091 0000 lds r19,(StartLuftdruck)+1 |
||
266 | 267 0228 8091 0000 lds r24,Luftdruck |
||
267 | 268 022c 9091 0000 lds r25,(Luftdruck)+1 |
||
268 | 269 0230 A091 0000 lds r26,(Luftdruck)+2 |
||
269 | 270 0234 B091 0000 lds r27,(Luftdruck)+3 |
||
270 | 271 0238 C20F add r28,r18 |
||
271 | 272 023a D31F adc r29,r19 |
||
272 | 273 023c C81B sub r28,r24 |
||
273 | 274 023e D90B sbc r29,r25 |
||
274 | 275 0240 D093 0000 sts (HoehenWert)+1,r29 |
||
275 | 276 0244 C093 0000 sts HoehenWert,r28 |
||
276 | 277 0248 8091 0000 lds r24,tmpLuftdruck |
||
277 | 278 024c 9091 0000 lds r25,(tmpLuftdruck)+1 |
||
278 | 279 0250 97FD sbrc r25,7 |
||
279 | 280 0252 00C0 rjmp .L64 |
||
280 | 281 .L56: |
||
281 | 282 0254 9595 asr r25 |
||
282 | 283 0256 8795 ror r24 |
||
283 | 284 0258 9093 0000 sts (tmpLuftdruck)+1,r25 |
||
284 | 285 025c 8093 0000 sts tmpLuftdruck,r24 |
||
285 | 286 .L52: |
||
286 | 287 0260 82E0 ldi r24,lo8(2) |
||
287 | 288 0262 8093 0000 sts kanal.2446,r24 |
||
288 | 289 0266 00C0 rjmp .L24 |
||
289 | 290 .L13: |
||
290 | 291 0268 6091 7800 lds r22,120 |
||
291 | 292 026c 7091 7900 lds r23,(120)+1 |
||
292 | 293 0270 E090 0000 lds r14,NeutralAccZ |
||
293 | 294 0274 F090 0000 lds r15,(NeutralAccZ)+1 |
||
294 | 295 0278 0091 0000 lds r16,(NeutralAccZ)+2 |
||
295 | 296 027c 1091 0000 lds r17,(NeutralAccZ)+3 |
||
296 | 297 0280 8827 clr r24 |
||
297 | 298 0282 77FD sbrc r23,7 |
||
298 | 299 0284 8095 com r24 |
||
299 | 300 0286 982F mov r25,r24 |
||
300 | 301 0288 0E94 0000 call __floatsisf |
||
301 | 302 028c A801 movw r20,r16 |
||
302 | 303 028e 9701 movw r18,r14 |
||
303 | 304 0290 0E94 0000 call __subsf3 |
||
304 | 305 0294 0E94 0000 call __fixsfsi |
||
305 | 306 0298 7093 0000 sts (AdWertAccHoch)+1,r23 |
||
306 | 307 029c 6093 0000 sts AdWertAccHoch,r22 |
||
307 | 308 02a0 8091 0000 lds r24,AdWertAccHoch |
||
308 | 309 02a4 9091 0000 lds r25,(AdWertAccHoch)+1 |
||
309 | 310 02a8 0297 sbiw r24,2 |
||
310 | 311 02aa 04F4 brge .+2 |
||
311 | 312 02ac 00C0 rjmp .L25 |
||
312 | 313 02ae 6091 0000 lds r22,NeutralAccZ |
||
313 | 314 02b2 7091 0000 lds r23,(NeutralAccZ)+1 |
||
314 | 315 02b6 8091 0000 lds r24,(NeutralAccZ)+2 |
||
315 | 316 02ba 9091 0000 lds r25,(NeutralAccZ)+3 |
||
316 | 317 02be 20E0 ldi r18,lo8(0x443b8000) |
||
317 | 318 02c0 30E8 ldi r19,hi8(0x443b8000) |
||
318 | 319 02c2 4BE3 ldi r20,hlo8(0x443b8000) |
||
319 | 320 02c4 54E4 ldi r21,hhi8(0x443b8000) |
||
320 | 321 02c6 0E94 0000 call __ltsf2 |
||
321 | 322 02ca 8823 tst r24 |
||
322 | 323 02cc 04F4 brge .L27 |
||
323 | 324 02ce 6091 0000 lds r22,NeutralAccZ |
||
324 | 325 02d2 7091 0000 lds r23,(NeutralAccZ)+1 |
||
325 | 326 02d6 8091 0000 lds r24,(NeutralAccZ)+2 |
||
326 | 327 02da 9091 0000 lds r25,(NeutralAccZ)+3 |
||
327 | 328 02de 2AE0 ldi r18,lo8(0x3ca3d70a) |
||
328 | 329 02e0 37ED ldi r19,hi8(0x3ca3d70a) |
||
329 | 330 02e2 43EA ldi r20,hlo8(0x3ca3d70a) |
||
330 | 331 02e4 5CE3 ldi r21,hhi8(0x3ca3d70a) |
||
331 | 332 02e6 0E94 0000 call __addsf3 |
||
332 | 333 02ea 6093 0000 sts NeutralAccZ,r22 |
||
333 | 334 02ee 7093 0000 sts (NeutralAccZ)+1,r23 |
||
334 | 335 02f2 8093 0000 sts (NeutralAccZ)+2,r24 |
||
335 | 336 02f6 9093 0000 sts (NeutralAccZ)+3,r25 |
||
336 | 337 02fa 8091 0000 lds r24,modell_fliegt |
||
337 | 338 02fe 9091 0000 lds r25,(modell_fliegt)+1 |
||
338 | 339 0302 845F subi r24,lo8(500) |
||
339 | 340 0304 9140 sbci r25,hi8(500) |
||
340 | 341 0306 00F4 brsh .L27 |
||
341 | 342 0308 6091 0000 lds r22,NeutralAccZ |
||
342 | 343 030c 7091 0000 lds r23,(NeutralAccZ)+1 |
||
343 | 344 0310 8091 0000 lds r24,(NeutralAccZ)+2 |
||
344 | 345 0314 9091 0000 lds r25,(NeutralAccZ)+3 |
||
345 | 346 0318 2DEC ldi r18,lo8(0x3dcccccd) |
||
346 | 347 031a 3CEC ldi r19,hi8(0x3dcccccd) |
||
347 | 348 031c 4CEC ldi r20,hlo8(0x3dcccccd) |
||
348 | 349 031e 5DE3 ldi r21,hhi8(0x3dcccccd) |
||
349 | 350 0320 0E94 0000 call __addsf3 |
||
350 | 351 0324 6093 0000 sts NeutralAccZ,r22 |
||
351 | 352 0328 7093 0000 sts (NeutralAccZ)+1,r23 |
||
352 | 353 032c 8093 0000 sts (NeutralAccZ)+2,r24 |
||
353 | 354 0330 9093 0000 sts (NeutralAccZ)+3,r25 |
||
354 | 355 .L27: |
||
355 | 356 0334 81E0 ldi r24,lo8(1) |
||
356 | 357 0336 8093 0000 sts messanzahl_AccHoch,r24 |
||
357 | 358 033a 8091 7800 lds r24,120 |
||
358 | 359 033e 9091 7900 lds r25,(120)+1 |
||
359 | 360 0342 9093 0000 sts (Aktuell_az)+1,r25 |
||
360 | 361 0346 8093 0000 sts Aktuell_az,r24 |
||
361 | 362 034a 8091 0000 lds r24,AdWertAccHoch |
||
362 | 363 034e 9091 0000 lds r25,(AdWertAccHoch)+1 |
||
363 | 364 0352 2091 0000 lds r18,Mess_Integral_Hoch |
||
364 | 365 0356 3091 0000 lds r19,(Mess_Integral_Hoch)+1 |
||
365 | 366 035a 4091 0000 lds r20,(Mess_Integral_Hoch)+2 |
||
366 | 367 035e 5091 0000 lds r21,(Mess_Integral_Hoch)+3 |
||
367 | 368 0362 AA27 clr r26 |
||
368 | 369 0364 97FD sbrc r25,7 |
||
369 | 370 0366 A095 com r26 |
||
370 | 371 0368 BA2F mov r27,r26 |
||
371 | 372 036a 820F add r24,r18 |
||
372 | 373 036c 931F adc r25,r19 |
||
373 | 374 036e A41F adc r26,r20 |
||
374 | 375 0370 B51F adc r27,r21 |
||
375 | 376 0372 8093 0000 sts Mess_Integral_Hoch,r24 |
||
376 | 377 0376 9093 0000 sts (Mess_Integral_Hoch)+1,r25 |
||
377 | 378 037a A093 0000 sts (Mess_Integral_Hoch)+2,r26 |
||
378 | 379 037e B093 0000 sts (Mess_Integral_Hoch)+3,r27 |
||
379 | 380 0382 E090 0000 lds r14,Mess_Integral_Hoch |
||
380 | 381 0386 F090 0000 lds r15,(Mess_Integral_Hoch)+1 |
||
381 | 382 038a 0091 0000 lds r16,(Mess_Integral_Hoch)+2 |
||
382 | 383 038e 1091 0000 lds r17,(Mess_Integral_Hoch)+3 |
||
383 | 384 0392 6091 0000 lds r22,Mess_Integral_Hoch |
||
384 | 385 0396 7091 0000 lds r23,(Mess_Integral_Hoch)+1 |
||
385 | 386 039a 8091 0000 lds r24,(Mess_Integral_Hoch)+2 |
||
386 | 387 039e 9091 0000 lds r25,(Mess_Integral_Hoch)+3 |
||
387 | 388 03a2 20E0 ldi r18,lo8(1024) |
||
388 | 389 03a4 34E0 ldi r19,hi8(1024) |
||
389 | 390 03a6 40E0 ldi r20,hlo8(1024) |
||
390 | 391 03a8 50E0 ldi r21,hhi8(1024) |
||
391 | 392 03aa 0E94 0000 call __divmodsi4 |
||
392 | 393 03ae E21A sub r14,r18 |
||
393 | 394 03b0 F30A sbc r15,r19 |
||
394 | 395 03b2 040B sbc r16,r20 |
||
395 | 396 03b4 150B sbc r17,r21 |
||
396 | 397 03b6 E092 0000 sts Mess_Integral_Hoch,r14 |
||
397 | 398 03ba F092 0000 sts (Mess_Integral_Hoch)+1,r15 |
||
398 | 399 03be 0093 0000 sts (Mess_Integral_Hoch)+2,r16 |
||
399 | 400 03c2 1093 0000 sts (Mess_Integral_Hoch)+3,r17 |
||
400 | 401 03c6 83E0 ldi r24,lo8(3) |
||
401 | 402 03c8 8093 0000 sts kanal.2446,r24 |
||
402 | 403 03cc 00C0 rjmp .L24 |
||
403 | 404 .L11: |
||
404 | 405 03ce 8091 7800 lds r24,120 |
||
405 | 406 03d2 9091 7900 lds r25,(120)+1 |
||
406 | 407 03d6 2091 0000 lds r18,roll1.2449 |
||
407 | 408 03da 3091 0000 lds r19,(roll1.2449)+1 |
||
408 | 409 03de 280F add r18,r24 |
||
409 | 410 03e0 391F adc r19,r25 |
||
410 | 411 03e2 3093 0000 sts (roll1.2449)+1,r19 |
||
411 | 412 03e6 2093 0000 sts roll1.2449,r18 |
||
412 | 413 03ea 84E0 ldi r24,lo8(4) |
||
413 | 414 03ec 8093 0000 sts kanal.2446,r24 |
||
414 | 415 03f0 00C0 rjmp .L24 |
||
415 | 416 .L12: |
||
416 | 417 03f2 4091 0000 lds r20,UBat |
||
417 | 418 03f6 5091 0000 lds r21,(UBat)+1 |
||
418 | 419 03fa 8091 7800 lds r24,120 |
||
419 | 420 03fe 9091 7900 lds r25,(120)+1 |
||
420 | 421 0402 9A01 movw r18,r20 |
||
421 | 422 0404 220F lsl r18 |
||
422 | 423 0406 331F rol r19 |
||
423 | 424 0408 240F add r18,r20 |
||
424 | 425 040a 351F adc r19,r21 |
||
425 | 426 040c 63E0 ldi r22,lo8(3) |
||
426 | 427 040e 70E0 ldi r23,hi8(3) |
||
427 | 428 0410 0E94 0000 call __udivmodhi4 |
||
428 | 429 0414 260F add r18,r22 |
||
429 | 430 0416 371F adc r19,r23 |
||
430 | 431 0418 3695 lsr r19 |
||
431 | 432 041a 2795 ror r18 |
||
432 | 433 041c 3695 lsr r19 |
||
433 | 434 041e 2795 ror r18 |
||
434 | 435 0420 3093 0000 sts (UBat)+1,r19 |
||
435 | 436 0424 2093 0000 sts UBat,r18 |
||
436 | 437 0428 85E0 ldi r24,lo8(5) |
||
437 | 438 042a 8093 0000 sts kanal.2446,r24 |
||
438 | 439 042e 00C0 rjmp .L24 |
||
439 | 440 .L7: |
||
440 | 441 0430 8091 7800 lds r24,120 |
||
441 | 442 0434 9091 7900 lds r25,(120)+1 |
||
442 | 443 0438 9093 0000 sts (gier1.2448)+1,r25 |
||
443 | 444 043c 8093 0000 sts gier1.2448,r24 |
||
444 | 445 0440 86E0 ldi r24,lo8(6) |
||
445 | 446 0442 8093 0000 sts kanal.2446,r24 |
||
446 | 447 0446 00C0 rjmp .L24 |
||
447 | 448 .L8: |
||
448 | 449 0448 2091 7800 lds r18,120 |
||
449 | 450 044c 3091 7900 lds r19,(120)+1 |
||
450 | 451 0450 8091 0000 lds r24,NeutralAccY |
||
451 | 452 0454 9091 0000 lds r25,(NeutralAccY)+1 |
||
452 | 453 0458 821B sub r24,r18 |
||
453 | 454 045a 930B sbc r25,r19 |
||
454 | 455 045c 9093 0000 sts (Aktuell_ay)+1,r25 |
||
455 | 456 0460 8093 0000 sts Aktuell_ay,r24 |
||
456 | 457 0464 8091 0000 lds r24,Aktuell_ay |
||
457 | 458 0468 9091 0000 lds r25,(Aktuell_ay)+1 |
||
458 | 459 046c 9093 0000 sts (accy.2453)+1,r25 |
||
459 | 460 0470 8093 0000 sts accy.2453,r24 |
||
460 | 461 0474 87E0 ldi r24,lo8(7) |
||
461 | 462 0476 8093 0000 sts kanal.2446,r24 |
||
462 | 463 047a 00C0 rjmp .L24 |
||
463 | 464 .L9: |
||
464 | 465 047c 8091 7800 lds r24,120 |
||
465 | 466 0480 9091 7900 lds r25,(120)+1 |
||
466 | 467 0484 2091 0000 lds r18,NeutralAccX |
||
467 | 468 0488 3091 0000 lds r19,(NeutralAccX)+1 |
||
468 | 469 048c 821B sub r24,r18 |
||
469 | 470 048e 930B sbc r25,r19 |
||
470 | 471 0490 9093 0000 sts (Aktuell_ax)+1,r25 |
||
471 | 472 0494 8093 0000 sts Aktuell_ax,r24 |
||
472 | 473 0498 8091 0000 lds r24,Aktuell_ax |
||
473 | 474 049c 9091 0000 lds r25,(Aktuell_ax)+1 |
||
474 | 475 04a0 9093 0000 sts (accx.2454)+1,r25 |
||
475 | 476 04a4 8093 0000 sts accx.2454,r24 |
||
476 | 477 04a8 82E0 ldi r24,lo8(2) |
||
477 | 478 04aa 8093 0000 sts kanal.2446,r24 |
||
478 | 479 04ae 00C0 rjmp .L24 |
||
479 | 480 .L16: |
||
480 | 481 04b0 2091 7800 lds r18,120 |
||
481 | 482 04b4 3091 7900 lds r19,(120)+1 |
||
482 | 483 04b8 8091 0000 lds r24,roll1.2449 |
||
483 | 484 04bc 9091 0000 lds r25,(roll1.2449)+1 |
||
484 | 485 04c0 820F add r24,r18 |
||
485 | 486 04c2 931F adc r25,r19 |
||
486 | 487 04c4 9093 0000 sts (roll1.2449)+1,r25 |
||
487 | 488 04c8 8093 0000 sts roll1.2449,r24 |
||
488 | 489 04cc 1092 0000 sts kanal.2446,__zero_reg__ |
||
489 | 490 04d0 00C0 rjmp .L24 |
||
490 | 491 .L17: |
||
491 | 492 04d2 8091 0000 lds r24,PlatinenVersion |
||
492 | 493 04d6 8A30 cpi r24,lo8(10) |
||
493 | 494 04d8 01F4 brne .+2 |
||
494 | 495 04da 00C0 rjmp .L65 |
||
495 | 496 04dc 8431 cpi r24,lo8(20) |
||
496 | 497 04de 01F4 brne .+2 |
||
497 | 498 04e0 00C0 rjmp .L66 |
||
498 | 499 04e2 8091 7800 lds r24,120 |
||
499 | 500 04e6 9091 7900 lds r25,(120)+1 |
||
500 | 501 04ea 2091 0000 lds r18,gier1.2448 |
||
501 | 502 04ee 3091 0000 lds r19,(gier1.2448)+1 |
||
502 | 503 04f2 820F add r24,r18 |
||
503 | 504 04f4 931F adc r25,r19 |
||
504 | 505 04f6 9093 0000 sts (AdWertGier)+1,r25 |
||
505 | 506 04fa 8093 0000 sts AdWertGier,r24 |
||
506 | 507 .L37: |
||
507 | 508 04fe 86E0 ldi r24,lo8(6) |
||
508 | 509 0500 8093 0000 sts kanal.2446,r24 |
||
509 | 510 0504 00C0 rjmp .L24 |
||
510 | 511 .L18: |
||
511 | 512 0506 2091 7800 lds r18,120 |
||
512 | 513 050a 3091 7900 lds r19,(120)+1 |
||
513 | 514 050e 8091 0000 lds r24,NeutralAccY |
||
514 | 515 0512 9091 0000 lds r25,(NeutralAccY)+1 |
||
515 | 516 0516 821B sub r24,r18 |
||
516 | 517 0518 930B sbc r25,r19 |
||
517 | 518 051a 9093 0000 sts (Aktuell_ay)+1,r25 |
||
518 | 519 051e 8093 0000 sts Aktuell_ay,r24 |
||
519 | 520 0522 8091 0000 lds r24,Aktuell_ay |
||
520 | 521 0526 9091 0000 lds r25,(Aktuell_ay)+1 |
||
521 | 522 052a 2091 0000 lds r18,accy.2453 |
||
522 | 523 052e 3091 0000 lds r19,(accy.2453)+1 |
||
523 | 524 0532 820F add r24,r18 |
||
524 | 525 0534 931F adc r25,r19 |
||
525 | 526 0536 9093 0000 sts (AdWertAccRoll)+1,r25 |
||
526 | 527 053a 8093 0000 sts AdWertAccRoll,r24 |
||
527 | 528 053e 87E0 ldi r24,lo8(7) |
||
528 | 529 0540 8093 0000 sts kanal.2446,r24 |
||
529 | 530 0544 00C0 rjmp .L24 |
||
530 | 531 .L19: |
||
531 | 532 0546 8091 7800 lds r24,120 |
||
532 | 533 054a 9091 7900 lds r25,(120)+1 |
||
533 | 534 054e 2091 0000 lds r18,NeutralAccX |
||
534 | 535 0552 3091 0000 lds r19,(NeutralAccX)+1 |
||
535 | 536 0556 821B sub r24,r18 |
||
536 | 537 0558 930B sbc r25,r19 |
||
537 | 538 055a 9093 0000 sts (Aktuell_ax)+1,r25 |
||
538 | 539 055e 8093 0000 sts Aktuell_ax,r24 |
||
539 | 540 0562 8091 0000 lds r24,Aktuell_ax |
||
540 | 541 0566 9091 0000 lds r25,(Aktuell_ax)+1 |
||
541 | 542 056a 2091 0000 lds r18,accx.2454 |
||
542 | 543 056e 3091 0000 lds r19,(accx.2454)+1 |
||
543 | 544 0572 820F add r24,r18 |
||
544 | 545 0574 931F adc r25,r19 |
||
545 | 546 0576 9093 0000 sts (AdWertAccNick)+1,r25 |
||
546 | 547 057a 8093 0000 sts AdWertAccNick,r24 |
||
547 | 548 057e 82E0 ldi r24,lo8(2) |
||
548 | 549 0580 8093 0000 sts kanal.2446,r24 |
||
549 | 550 0584 00C0 rjmp .L24 |
||
550 | 551 .L20: |
||
551 | 552 0586 2091 7800 lds r18,120 |
||
552 | 553 058a 3091 7900 lds r19,(120)+1 |
||
553 | 554 058e 8091 0000 lds r24,nick1.2450 |
||
554 | 555 0592 9091 0000 lds r25,(nick1.2450)+1 |
||
555 | 556 0596 280F add r18,r24 |
||
556 | 557 0598 391F adc r19,r25 |
||
557 | 558 059a 3093 0000 sts (nick1.2450)+1,r19 |
||
558 | 559 059e 2093 0000 sts nick1.2450,r18 |
||
559 | 560 05a2 8091 0000 lds r24,PlatinenVersion |
||
560 | 561 05a6 8A30 cpi r24,lo8(10) |
||
561 | 562 05a8 01F4 brne .+2 |
||
562 | 563 05aa 00C0 rjmp .L67 |
||
563 | 564 05ac 220F lsl r18 |
||
564 | 565 05ae 331F rol r19 |
||
565 | 566 05b0 220F lsl r18 |
||
566 | 567 05b2 331F rol r19 |
||
567 | 568 05b4 3093 0000 sts (nick1.2450)+1,r19 |
||
568 | 569 05b8 2093 0000 sts nick1.2450,r18 |
||
569 | 570 .L42: |
||
570 | 571 05bc 2091 0000 lds r18,nick1.2450 |
||
571 | 572 05c0 3091 0000 lds r19,(nick1.2450)+1 |
||
572 | 573 05c4 C901 movw r24,r18 |
||
573 | 574 05c6 37FD sbrc r19,7 |
||
574 | 575 05c8 00C0 rjmp .L68 |
||
575 | 576 .L43: |
||
576 | 577 05ca 9595 asr r25 |
||
577 | 578 05cc 8795 ror r24 |
||
578 | 579 05ce 9595 asr r25 |
||
579 | 580 05d0 8795 ror r24 |
||
580 | 581 05d2 9595 asr r25 |
||
581 | 582 05d4 8795 ror r24 |
||
582 | 583 05d6 9093 0000 sts (AdWertNick)+1,r25 |
||
583 | 584 05da 8093 0000 sts AdWertNick,r24 |
||
584 | 585 05de 8091 0000 lds r24,nick_filter.2451 |
||
585 | 586 05e2 9091 0000 lds r25,(nick_filter.2451)+1 |
||
586 | 587 05e6 820F add r24,r18 |
||
587 | 588 05e8 931F adc r25,r19 |
||
588 | 589 05ea 97FD sbrc r25,7 |
||
589 | 590 05ec 00C0 rjmp .L69 |
||
590 | 591 .L44: |
||
591 | 592 05ee 9595 asr r25 |
||
592 | 593 05f0 8795 ror r24 |
||
593 | 594 05f2 9093 0000 sts (nick_filter.2451)+1,r25 |
||
594 | 595 05f6 8093 0000 sts nick_filter.2451,r24 |
||
595 | 596 05fa 2091 0000 lds r18,AdNeutralNick |
||
596 | 597 05fe 3091 0000 lds r19,(AdNeutralNick)+1 |
||
597 | 598 0602 821B sub r24,r18 |
||
598 | 599 0604 930B sbc r25,r19 |
||
599 | 600 0606 9093 0000 sts (HiResNick)+1,r25 |
||
600 | 601 060a 8093 0000 sts HiResNick,r24 |
||
601 | 602 060e 8091 0000 lds r24,AdWertNickFilter |
||
602 | 603 0612 9091 0000 lds r25,(AdWertNickFilter)+1 |
||
603 | 604 0616 2091 0000 lds r18,HiResNick |
||
604 | 605 061a 3091 0000 lds r19,(HiResNick)+1 |
||
605 | 606 061e 280F add r18,r24 |
||
606 | 607 0620 391F adc r19,r25 |
||
607 | 608 0622 37FD sbrc r19,7 |
||
608 | 609 0624 00C0 rjmp .L70 |
||
609 | 610 .L45: |
||
610 | 611 0626 3595 asr r19 |
||
611 | 612 0628 2795 ror r18 |
||
612 | 613 062a 3093 0000 sts (AdWertNickFilter)+1,r19 |
||
613 | 614 062e 2093 0000 sts AdWertNickFilter,r18 |
||
614 | 615 0632 81E0 ldi r24,lo8(1) |
||
615 | 616 0634 8093 0000 sts kanal.2446,r24 |
||
616 | 617 0638 00C0 rjmp .L24 |
||
617 | 618 .L21: |
||
618 | 619 063a 2091 7800 lds r18,120 |
||
619 | 620 063e 3091 7900 lds r19,(120)+1 |
||
620 | 621 0642 8091 0000 lds r24,roll1.2449 |
||
621 | 622 0646 9091 0000 lds r25,(roll1.2449)+1 |
||
622 | 623 064a 280F add r18,r24 |
||
623 | 624 064c 391F adc r19,r25 |
||
624 | 625 064e 3093 0000 sts (roll1.2449)+1,r19 |
||
625 | 626 0652 2093 0000 sts roll1.2449,r18 |
||
626 | 627 0656 8091 0000 lds r24,PlatinenVersion |
||
627 | 628 065a 8A30 cpi r24,lo8(10) |
||
628 | 629 065c 01F4 brne .+2 |
||
629 | 630 065e 00C0 rjmp .L71 |
||
630 | 631 0660 220F lsl r18 |
||
631 | 632 0662 331F rol r19 |
||
632 | 633 0664 220F lsl r18 |
||
633 | 634 0666 331F rol r19 |
||
634 | 635 0668 3093 0000 sts (roll1.2449)+1,r19 |
||
635 | 636 066c 2093 0000 sts roll1.2449,r18 |
||
636 | 637 .L48: |
||
637 | 638 0670 2091 0000 lds r18,roll1.2449 |
||
638 | 639 0674 3091 0000 lds r19,(roll1.2449)+1 |
||
639 | 640 0678 C901 movw r24,r18 |
||
640 | 641 067a 37FD sbrc r19,7 |
||
641 | 642 067c 00C0 rjmp .L72 |
||
642 | 643 .L49: |
||
643 | 644 067e 9595 asr r25 |
||
644 | 645 0680 8795 ror r24 |
||
645 | 646 0682 9595 asr r25 |
||
646 | 647 0684 8795 ror r24 |
||
647 | 648 0686 9595 asr r25 |
||
648 | 649 0688 8795 ror r24 |
||
649 | 650 068a 9093 0000 sts (AdWertRoll)+1,r25 |
||
650 | 651 068e 8093 0000 sts AdWertRoll,r24 |
||
651 | 652 0692 8091 0000 lds r24,roll_filter.2452 |
||
652 | 653 0696 9091 0000 lds r25,(roll_filter.2452)+1 |
||
653 | 654 069a 820F add r24,r18 |
||
654 | 655 069c 931F adc r25,r19 |
||
655 | 656 069e 97FD sbrc r25,7 |
||
656 | 657 06a0 00C0 rjmp .L73 |
||
657 | 658 .L50: |
||
658 | 659 06a2 9595 asr r25 |
||
659 | 660 06a4 8795 ror r24 |
||
660 | 661 06a6 9093 0000 sts (roll_filter.2452)+1,r25 |
||
661 | 662 06aa 8093 0000 sts roll_filter.2452,r24 |
||
662 | 663 06ae 2091 0000 lds r18,AdNeutralRoll |
||
663 | 664 06b2 3091 0000 lds r19,(AdNeutralRoll)+1 |
||
664 | 665 06b6 821B sub r24,r18 |
||
665 | 666 06b8 930B sbc r25,r19 |
||
666 | 667 06ba 9093 0000 sts (HiResRoll)+1,r25 |
||
667 | 668 06be 8093 0000 sts HiResRoll,r24 |
||
668 | 669 06c2 8091 0000 lds r24,AdWertRollFilter |
||
669 | 670 06c6 9091 0000 lds r25,(AdWertRollFilter)+1 |
||
670 | 671 06ca 2091 0000 lds r18,HiResRoll |
||
671 | 672 06ce 3091 0000 lds r19,(HiResRoll)+1 |
||
672 | 673 06d2 280F add r18,r24 |
||
673 | 674 06d4 391F adc r19,r25 |
||
674 | 675 06d6 37FD sbrc r19,7 |
||
675 | 676 06d8 00C0 rjmp .L74 |
||
676 | 677 .L51: |
||
677 | 678 06da 3595 asr r19 |
||
678 | 679 06dc 2795 ror r18 |
||
679 | 680 06de 3093 0000 sts (AdWertRollFilter)+1,r19 |
||
680 | 681 06e2 2093 0000 sts AdWertRollFilter,r18 |
||
681 | 682 06e6 83E0 ldi r24,lo8(3) |
||
682 | 683 06e8 8093 0000 sts kanal.2446,r24 |
||
683 | 684 06ec 00C0 rjmp .L24 |
||
684 | 685 .L5: |
||
685 | 686 06ee 8091 7800 lds r24,120 |
||
686 | 687 06f2 9091 7900 lds r25,(120)+1 |
||
687 | 688 06f6 9093 0000 sts (nick1.2450)+1,r25 |
||
688 | 689 06fa 8093 0000 sts nick1.2450,r24 |
||
689 | 690 06fe 81E0 ldi r24,lo8(1) |
||
690 | 691 0700 8093 0000 sts kanal.2446,r24 |
||
691 | 692 0704 00C0 rjmp .L24 |
||
692 | 693 .L6: |
||
693 | 694 0706 8091 7800 lds r24,120 |
||
694 | 695 070a 9091 7900 lds r25,(120)+1 |
||
695 | 696 070e 9093 0000 sts (roll1.2449)+1,r25 |
||
696 | 697 0712 8093 0000 sts roll1.2449,r24 |
||
697 | 698 0716 1092 0000 sts kanal.2446,__zero_reg__ |
||
698 | 699 071a 00C0 rjmp .L24 |
||
699 | 700 .L65: |
||
700 | 701 071c 8091 7800 lds r24,120 |
||
701 | 702 0720 9091 7900 lds r25,(120)+1 |
||
702 | 703 0724 0196 adiw r24,1 |
||
703 | 704 0726 2091 0000 lds r18,gier1.2448 |
||
704 | 705 072a 3091 0000 lds r19,(gier1.2448)+1 |
||
705 | 706 072e 820F add r24,r18 |
||
706 | 707 0730 931F adc r25,r19 |
||
707 | 708 0732 9695 lsr r25 |
||
708 | 709 0734 8795 ror r24 |
||
709 | 710 0736 9093 0000 sts (AdWertGier)+1,r25 |
||
710 | 711 073a 8093 0000 sts AdWertGier,r24 |
||
711 | 712 073e 00C0 rjmp .L37 |
||
712 | 713 .L71: |
||
713 | 714 0740 220F lsl r18 |
||
714 | 715 0742 331F rol r19 |
||
715 | 716 0744 3093 0000 sts (roll1.2449)+1,r19 |
||
716 | 717 0748 2093 0000 sts roll1.2449,r18 |
||
717 | 718 074c 00C0 rjmp .L48 |
||
718 | 719 .L67: |
||
719 | 720 074e 220F lsl r18 |
||
720 | 721 0750 331F rol r19 |
||
721 | 722 0752 3093 0000 sts (nick1.2450)+1,r19 |
||
722 | 723 0756 2093 0000 sts nick1.2450,r18 |
||
723 | 724 075a 00C0 rjmp .L42 |
||
724 | 725 .L64: |
||
725 | 726 075c 0196 adiw r24,1 |
||
726 | 727 075e 00C0 rjmp .L56 |
||
727 | 728 .L63: |
||
728 | 729 0760 215E subi r18,lo8(-(31)) |
||
729 | 730 0762 3F4F sbci r19,hi8(-(31)) |
||
730 | 731 0764 00C0 rjmp .L55 |
||
731 | 732 .L25: |
||
732 | 733 0766 8091 0000 lds r24,AdWertAccHoch |
||
733 | 734 076a 9091 0000 lds r25,(AdWertAccHoch)+1 |
||
734 | 735 076e 8F5F subi r24,lo8(-1) |
||
735 | 736 0770 9F4F sbci r25,hi8(-1) |
||
736 | 737 0772 04F0 brlt .+2 |
||
737 | 738 0774 00C0 rjmp .L27 |
||
738 | 739 0776 6091 0000 lds r22,NeutralAccZ |
||
739 | 740 077a 7091 0000 lds r23,(NeutralAccZ)+1 |
||
740 | 741 077e 8091 0000 lds r24,(NeutralAccZ)+2 |
||
741 | 742 0782 9091 0000 lds r25,(NeutralAccZ)+3 |
||
742 | 743 0786 20E0 ldi r18,lo8(0x44098000) |
||
743 | 744 0788 30E8 ldi r19,hi8(0x44098000) |
||
744 | 745 078a 49E0 ldi r20,hlo8(0x44098000) |
||
745 | 746 078c 54E4 ldi r21,hhi8(0x44098000) |
||
746 | 747 078e 0E94 0000 call __gtsf2 |
||
747 | 748 0792 1816 cp __zero_reg__,r24 |
||
748 | 749 0794 04F0 brlt .+2 |
||
749 | 750 0796 00C0 rjmp .L27 |
||
750 | 751 0798 6091 0000 lds r22,NeutralAccZ |
||
751 | 752 079c 7091 0000 lds r23,(NeutralAccZ)+1 |
||
752 | 753 07a0 8091 0000 lds r24,(NeutralAccZ)+2 |
||
753 | 754 07a4 9091 0000 lds r25,(NeutralAccZ)+3 |
||
754 | 755 07a8 2AE0 ldi r18,lo8(0x3ca3d70a) |
||
755 | 756 07aa 37ED ldi r19,hi8(0x3ca3d70a) |
||
756 | 757 07ac 43EA ldi r20,hlo8(0x3ca3d70a) |
||
757 | 758 07ae 5CE3 ldi r21,hhi8(0x3ca3d70a) |
||
758 | 759 07b0 0E94 0000 call __subsf3 |
||
759 | 760 07b4 6093 0000 sts NeutralAccZ,r22 |
||
760 | 761 07b8 7093 0000 sts (NeutralAccZ)+1,r23 |
||
761 | 762 07bc 8093 0000 sts (NeutralAccZ)+2,r24 |
||
762 | 763 07c0 9093 0000 sts (NeutralAccZ)+3,r25 |
||
763 | 764 07c4 8091 0000 lds r24,modell_fliegt |
||
764 | 765 07c8 9091 0000 lds r25,(modell_fliegt)+1 |
||
765 | 766 07cc 845F subi r24,lo8(500) |
||
766 | 767 07ce 9140 sbci r25,hi8(500) |
||
767 | 768 07d0 00F0 brlo .+2 |
||
768 | 769 07d2 00C0 rjmp .L27 |
||
769 | 770 07d4 6091 0000 lds r22,NeutralAccZ |
||
770 | 771 07d8 7091 0000 lds r23,(NeutralAccZ)+1 |
||
771 | 772 07dc 8091 0000 lds r24,(NeutralAccZ)+2 |
||
772 | 773 07e0 9091 0000 lds r25,(NeutralAccZ)+3 |
||
773 | 774 07e4 2DEC ldi r18,lo8(0x3dcccccd) |
||
774 | 775 07e6 3CEC ldi r19,hi8(0x3dcccccd) |
||
775 | 776 07e8 4CEC ldi r20,hlo8(0x3dcccccd) |
||
776 | 777 07ea 5DE3 ldi r21,hhi8(0x3dcccccd) |
||
777 | 778 07ec 0E94 0000 call __subsf3 |
||
778 | 779 07f0 6093 0000 sts NeutralAccZ,r22 |
||
779 | 780 07f4 7093 0000 sts (NeutralAccZ)+1,r23 |
||
780 | 781 07f8 8093 0000 sts (NeutralAccZ)+2,r24 |
||
781 | 782 07fc 9093 0000 sts (NeutralAccZ)+3,r25 |
||
782 | 783 0800 00C0 rjmp .L27 |
||
783 | 784 .L62: |
||
784 | 785 0802 0196 adiw r24,1 |
||
785 | 786 0804 00C0 rjmp .L54 |
||
786 | 787 .L74: |
||
787 | 788 0806 2F5F subi r18,lo8(-(1)) |
||
788 | 789 0808 3F4F sbci r19,hi8(-(1)) |
||
789 | 790 080a 00C0 rjmp .L51 |
||
790 | 791 .L73: |
||
791 | 792 080c 0196 adiw r24,1 |
||
792 | 793 080e 00C0 rjmp .L50 |
||
793 | 794 .L72: |
||
794 | 795 0810 0796 adiw r24,7 |
||
795 | 796 0812 00C0 rjmp .L49 |
||
796 | 797 .L70: |
||
797 | 798 0814 2F5F subi r18,lo8(-(1)) |
||
798 | 799 0816 3F4F sbci r19,hi8(-(1)) |
||
799 | 800 0818 00C0 rjmp .L45 |
||
800 | 801 .L69: |
||
801 | 802 081a 0196 adiw r24,1 |
||
802 | 803 081c 00C0 rjmp .L44 |
||
803 | 804 .L68: |
||
804 | 805 081e 0796 adiw r24,7 |
||
805 | 806 0820 00C0 rjmp .L43 |
||
806 | 807 .L66: |
||
807 | 808 0822 8091 7800 lds r24,120 |
||
808 | 809 0826 9091 7900 lds r25,(120)+1 |
||
809 | 810 082a 2FEF ldi r18,lo8(2047) |
||
810 | 811 082c 37E0 ldi r19,hi8(2047) |
||
811 | 812 082e 281B sub r18,r24 |
||
812 | 813 0830 390B sbc r19,r25 |
||
813 | 814 0832 8091 0000 lds r24,gier1.2448 |
||
814 | 815 0836 9091 0000 lds r25,(gier1.2448)+1 |
||
815 | 816 083a 281B sub r18,r24 |
||
816 | 817 083c 390B sbc r19,r25 |
||
817 | 818 083e 3093 0000 sts (AdWertGier)+1,r19 |
||
818 | 819 0842 2093 0000 sts AdWertGier,r18 |
||
819 | 820 0846 00C0 rjmp .L37 |
||
820 | 821 .L59: |
||
821 | 822 /* epilogue: frame size=0 */ |
||
822 | 823 0848 FF91 pop r31 |
||
823 | 824 084a EF91 pop r30 |
||
824 | 825 084c DF91 pop r29 |
||
825 | 826 084e CF91 pop r28 |
||
826 | 827 0850 BF91 pop r27 |
||
827 | 828 0852 AF91 pop r26 |
||
828 | 829 0854 9F91 pop r25 |
||
829 | 830 0856 8F91 pop r24 |
||
830 | 831 0858 7F91 pop r23 |
||
831 | 832 085a 6F91 pop r22 |
||
832 | 833 085c 5F91 pop r21 |
||
833 | 834 085e 4F91 pop r20 |
||
834 | 835 0860 3F91 pop r19 |
||
835 | 836 0862 2F91 pop r18 |
||
836 | 837 0864 1F91 pop r17 |
||
837 | 838 0866 0F91 pop r16 |
||
838 | 839 0868 FF90 pop r15 |
||
839 | 840 086a EF90 pop r14 |
||
840 | 841 086c DF90 pop r13 |
||
841 | 842 086e 0F90 pop __tmp_reg__ |
||
842 | 843 0870 0FBE out __SREG__,__tmp_reg__ |
||
843 | 844 0872 0F90 pop __tmp_reg__ |
||
844 | 845 0874 1F90 pop __zero_reg__ |
||
845 | 846 0876 1895 reti |
||
846 | 847 /* epilogue end (size=24) */ |
||
847 | 848 /* function __vector_24 size 1102 (1054) */ |
||
848 | 850 .global SucheGyroOffset |
||
849 | 852 SucheGyroOffset: |
||
850 | 853 /* prologue: frame size=0 */ |
||
851 | 854 0878 0F93 push r16 |
||
852 | 855 087a 1F93 push r17 |
||
853 | 856 /* prologue end (size=2) */ |
||
854 | 857 087c 1092 0000 sts GyroDefektN,__zero_reg__ |
||
855 | 858 0880 1092 0000 sts GyroDefektR,__zero_reg__ |
||
856 | 859 0884 1092 0000 sts GyroDefektG,__zero_reg__ |
||
857 | 860 0888 1CE8 ldi r17,lo8(-116) |
||
858 | 861 088a 00E0 ldi r16,lo8(0) |
||
859 | 862 .L76: |
||
860 | 863 088c 0330 cpi r16,lo8(3) |
||
861 | 864 088e 01F4 brne .+2 |
||
862 | 865 0890 00C0 rjmp .L121 |
||
863 | 866 .L77: |
||
864 | 867 0892 8091 0000 lds r24,AdWertNick |
||
865 | 868 0896 9091 0000 lds r25,(AdWertNick)+1 |
||
866 | 869 089a 8C5F subi r24,lo8(1020) |
||
867 | 870 089c 9340 sbci r25,hi8(1020) |
||
868 | 871 089e 04F0 brlt .+2 |
||
869 | 872 08a0 00C0 rjmp .L80 |
||
870 | 873 08a2 8091 0000 lds r24,AnalogOffsetNick |
||
871 | 874 08a6 8150 subi r24,lo8(-(-1)) |
||
872 | 875 08a8 8093 0000 sts AnalogOffsetNick,r24 |
||
873 | 876 08ac 00E0 ldi r16,lo8(0) |
||
874 | 877 .L82: |
||
875 | 878 08ae 8091 0000 lds r24,AdWertRoll |
||
876 | 879 08b2 9091 0000 lds r25,(AdWertRoll)+1 |
||
877 | 880 08b6 8C5F subi r24,lo8(1020) |
||
878 | 881 08b8 9340 sbci r25,hi8(1020) |
||
879 | 882 08ba 04F0 brlt .+2 |
||
880 | 883 08bc 00C0 rjmp .L85 |
||
881 | 884 08be 8091 0000 lds r24,AnalogOffsetRoll |
||
882 | 885 08c2 8150 subi r24,lo8(-(-1)) |
||
883 | 886 08c4 8093 0000 sts AnalogOffsetRoll,r24 |
||
884 | 887 .L87: |
||
885 | 888 08c8 8091 0000 lds r24,AdWertGier |
||
886 | 889 08cc 9091 0000 lds r25,(AdWertGier)+1 |
||
887 | 890 08d0 8C5F subi r24,lo8(1020) |
||
888 | 891 08d2 9340 sbci r25,hi8(1020) |
||
889 | 892 08d4 04F0 brlt .+2 |
||
890 | 893 08d6 00C0 rjmp .L90 |
||
891 | 894 08d8 8091 0000 lds r24,AnalogOffsetGier |
||
892 | 895 08dc 8150 subi r24,lo8(-(-1)) |
||
893 | 896 08de 8093 0000 sts AnalogOffsetGier,r24 |
||
894 | 897 .L92: |
||
895 | 898 08e2 88E0 ldi r24,lo8(8) |
||
896 | 899 08e4 8093 0000 sts twi_state,r24 |
||
897 | 900 08e8 0E94 0000 call i2c_start |
||
898 | 901 08ec 8091 0000 lds r24,AnalogOffsetNick |
||
899 | 902 08f0 8A30 cpi r24,lo8(10) |
||
900 | 903 08f2 00F0 brlo .+2 |
||
901 | 904 08f4 00C0 rjmp .L95 |
||
902 | 905 08f6 81E0 ldi r24,lo8(1) |
||
903 | 906 08f8 8093 0000 sts GyroDefektN,r24 |
||
904 | 907 08fc 8AE0 ldi r24,lo8(10) |
||
905 | 908 08fe 8093 0000 sts AnalogOffsetNick,r24 |
||
906 | 909 .L97: |
||
907 | 910 0902 8091 0000 lds r24,AnalogOffsetRoll |
||
908 | 911 0906 8A30 cpi r24,lo8(10) |
||
909 | 912 0908 00F4 brsh .L99 |
||
910 | 913 090a 81E0 ldi r24,lo8(1) |
||
911 | 914 090c 8093 0000 sts GyroDefektR,r24 |
||
912 | 915 0910 8AE0 ldi r24,lo8(10) |
||
913 | 916 0912 8093 0000 sts AnalogOffsetRoll,r24 |
||
914 | 917 .L101: |
||
915 | 918 0916 8091 0000 lds r24,AnalogOffsetGier |
||
916 | 919 091a 8A30 cpi r24,lo8(10) |
||
917 | 920 091c 00F4 brsh .L103 |
||
918 | 921 091e 81E0 ldi r24,lo8(1) |
||
919 | 922 0920 8093 0000 sts GyroDefektG,r24 |
||
920 | 923 0924 8AE0 ldi r24,lo8(10) |
||
921 | 924 0926 8093 0000 sts AnalogOffsetGier,r24 |
||
922 | 925 .L114: |
||
923 | 926 092a 8091 0000 lds r24,twi_state |
||
924 | 927 092e 8823 tst r24 |
||
925 | 928 0930 01F4 brne .L114 |
||
926 | 929 0932 1092 0000 sts messanzahl_Druck,__zero_reg__ |
||
927 | 930 0936 8FEC ldi r24,lo8(-49) |
||
928 | 931 0938 8093 7A00 sts 122,r24 |
||
929 | 932 .L108: |
||
930 | 933 093c 8091 0000 lds r24,messanzahl_Druck |
||
931 | 934 0940 8823 tst r24 |
||
932 | 935 0942 01F0 breq .L108 |
||
933 | 936 0944 1A30 cpi r17,lo8(10) |
||
934 | 937 0946 00F4 brsh .+2 |
||
935 | 938 0948 00C0 rjmp .L122 |
||
936 | 939 .L110: |
||
937 | 940 094a 1150 subi r17,lo8(-(-1)) |
||
938 | 941 094c 01F0 breq .+2 |
||
939 | 942 094e 00C0 rjmp .L76 |
||
940 | 943 0950 00C0 rjmp .L124 |
||
941 | 944 .L103: |
||
942 | 945 0952 863F cpi r24,lo8(-10) |
||
943 | 946 0954 00F0 brlo .L114 |
||
944 | 947 0956 81E0 ldi r24,lo8(1) |
||
945 | 948 0958 8093 0000 sts GyroDefektG,r24 |
||
946 | 949 095c 85EF ldi r24,lo8(-11) |
||
947 | 950 095e 8093 0000 sts AnalogOffsetGier,r24 |
||
948 | 951 0962 00C0 rjmp .L114 |
||
949 | 952 .L99: |
||
950 | 953 0964 863F cpi r24,lo8(-10) |
||
951 | 954 0966 00F0 brlo .L101 |
||
952 | 955 0968 81E0 ldi r24,lo8(1) |
||
953 | 956 096a 8093 0000 sts GyroDefektR,r24 |
||
954 | 957 096e 85EF ldi r24,lo8(-11) |
||
955 | 958 0970 8093 0000 sts AnalogOffsetRoll,r24 |
||
956 | 959 0974 00C0 rjmp .L101 |
||
957 | 960 .L95: |
||
958 | 961 0976 863F cpi r24,lo8(-10) |
||
959 | 962 0978 00F0 brlo .L97 |
||
960 | 963 097a 81E0 ldi r24,lo8(1) |
||
961 | 964 097c 8093 0000 sts GyroDefektN,r24 |
||
962 | 965 0980 85EF ldi r24,lo8(-11) |
||
963 | 966 0982 8093 0000 sts AnalogOffsetNick,r24 |
||
964 | 967 0986 00C0 rjmp .L97 |
||
965 | 968 .L90: |
||
966 | 969 0988 8091 0000 lds r24,AdWertGier |
||
967 | 970 098c 9091 0000 lds r25,(AdWertGier)+1 |
||
968 | 971 0990 8750 subi r24,lo8(1031) |
||
969 | 972 0992 9440 sbci r25,hi8(1031) |
||
970 | 973 0994 04F0 brlt .L93 |
||
971 | 974 0996 8091 0000 lds r24,AnalogOffsetGier |
||
972 | 975 099a 8F5F subi r24,lo8(-(1)) |
||
973 | 976 099c 8093 0000 sts AnalogOffsetGier,r24 |
||
974 | 977 09a0 00C0 rjmp .L92 |
||
975 | 978 .L85: |
||
976 | 979 09a2 8091 0000 lds r24,AdWertRoll |
||
977 | 980 09a6 9091 0000 lds r25,(AdWertRoll)+1 |
||
978 | 981 09aa 8750 subi r24,lo8(1031) |
||
979 | 982 09ac 9440 sbci r25,hi8(1031) |
||
980 | 983 09ae 04F0 brlt .L88 |
||
981 | 984 09b0 8091 0000 lds r24,AnalogOffsetRoll |
||
982 | 985 09b4 8F5F subi r24,lo8(-(1)) |
||
983 | 986 09b6 8093 0000 sts AnalogOffsetRoll,r24 |
||
984 | 987 09ba 00C0 rjmp .L87 |
||
985 | 988 .L80: |
||
986 | 989 09bc 8091 0000 lds r24,AdWertNick |
||
987 | 990 09c0 9091 0000 lds r25,(AdWertNick)+1 |
||
988 | 991 09c4 8750 subi r24,lo8(1031) |
||
989 | 992 09c6 9440 sbci r25,hi8(1031) |
||
990 | 993 09c8 04F4 brge .L83 |
||
991 | 994 09ca 01E0 ldi r16,lo8(1) |
||
992 | 995 09cc 00C0 rjmp .L82 |
||
993 | 996 .L122: |
||
994 | 997 09ce 8AE0 ldi r24,lo8(10) |
||
995 | 998 09d0 90E0 ldi r25,hi8(10) |
||
996 | 999 09d2 0E94 0000 call Delay_ms_Mess |
||
997 | 1000 09d6 00C0 rjmp .L110 |
||
998 | 1001 .L121: |
||
999 | 1002 09d8 1B30 cpi r17,lo8(11) |
||
1000 | 1003 09da 00F4 brsh .+2 |
||
1001 | 1004 09dc 00C0 rjmp .L77 |
||
1002 | 1005 09de 19E0 ldi r17,lo8(9) |
||
1003 | 1006 09e0 00C0 rjmp .L77 |
||
1004 | 1007 .L88: |
||
1005 | 1008 09e2 0F5F subi r16,lo8(-(1)) |
||
1006 | 1009 09e4 00C0 rjmp .L87 |
||
1007 | 1010 .L93: |
||
1008 | 1011 09e6 0F5F subi r16,lo8(-(1)) |
||
1009 | 1012 09e8 00C0 rjmp .L92 |
||
1010 | 1013 .L83: |
||
1011 | 1014 09ea 8091 0000 lds r24,AnalogOffsetNick |
||
1012 | 1015 09ee 8F5F subi r24,lo8(-(1)) |
||
1013 | 1016 09f0 8093 0000 sts AnalogOffsetNick,r24 |
||
1014 | 1017 09f4 00E0 ldi r16,lo8(0) |
||
1015 | 1018 09f6 00C0 rjmp .L82 |
||
1016 | 1019 .L124: |
||
1017 | 1020 09f8 86E4 ldi r24,lo8(70) |
||
1018 | 1021 09fa 90E0 ldi r25,hi8(70) |
||
1019 | 1022 09fc 0E94 0000 call Delay_ms_Mess |
||
1020 | 1023 /* epilogue: frame size=0 */ |
||
1021 | 1024 0a00 1F91 pop r17 |
||
1022 | 1025 0a02 0F91 pop r16 |
||
1023 | 1026 0a04 0895 ret |
||
1024 | 1027 /* epilogue end (size=3) */ |
||
1025 | 1028 /* function SucheGyroOffset size 206 (201) */ |
||
1026 | 1030 .global SucheLuftruckOffset |
||
1027 | 1032 SucheLuftruckOffset: |
||
1028 | 1033 /* prologue: frame size=0 */ |
||
1029 | 1034 0a06 CF92 push r12 |
||
1030 | 1035 0a08 DF92 push r13 |
||
1031 | 1036 0a0a EF92 push r14 |
||
1032 | 1037 0a0c FF92 push r15 |
||
1033 | 1038 0a0e 1F93 push r17 |
||
1034 | 1039 0a10 CF93 push r28 |
||
1035 | 1040 0a12 DF93 push r29 |
||
1036 | 1041 /* prologue end (size=7) */ |
||
1037 | 1042 0a14 F0E0 ldi r31,lo8(EEPromArray+3) |
||
1038 | 1043 0a16 EF2E mov r14,r31 |
||
1039 | 1044 0a18 F0E0 ldi r31,hi8(EEPromArray+3) |
||
1040 | 1045 0a1a FF2E mov r15,r31 |
||
1041 | 1046 0a1c D701 movw r26,r14 |
||
1042 | 1047 /* #APP */ |
||
1043 | 1048 0a1e 0E94 0000 call __eeprom_read_byte_1F2021 |
||
1044 | 1049 0a22 802D mov r24,__tmp_reg__ |
||
1045 | 1050 /* #NOAPP */ |
||
1046 | 1051 0a24 C82F mov r28,r24 |
||
1047 | 1052 0a26 D0E0 ldi r29,lo8(0) |
||
1048 | 1053 0a28 C531 cpi r28,21 |
||
1049 | 1054 0a2a D105 cpc r29,__zero_reg__ |
||
1050 | 1055 0a2c 00F0 brlo .L126 |
||
1051 | 1056 0a2e 2A97 sbiw r28,10 |
||
1052 | 1057 .L126: |
||
1053 | 1058 0a30 C7BD out 71-0x20,r28 |
||
1054 | 1059 0a32 1092 0000 sts ExpandBaro,__zero_reg__ |
||
1055 | 1060 0a36 84E6 ldi r24,lo8(100) |
||
1056 | 1061 0a38 90E0 ldi r25,hi8(100) |
||
1057 | 1062 0a3a 0E94 0000 call Delay_ms_Mess |
||
1058 | 1063 0a3e 8091 0000 lds r24,MessLuftdruck |
||
1059 | 1064 0a42 9091 0000 lds r25,(MessLuftdruck)+1 |
||
1060 | 1065 0a46 8255 subi r24,lo8(850) |
||
1061 | 1066 0a48 9340 sbci r25,hi8(850) |
||
1062 | 1067 0a4a 00F4 brsh .L134 |
||
1063 | 1068 0a4c C0E0 ldi r28,lo8(0) |
||
1064 | 1069 0a4e D0E0 ldi r29,hi8(0) |
||
1065 | 1070 0a50 E0E0 ldi r30,lo8(__c.2396) |
||
1066 | 1071 0a52 CE2E mov r12,r30 |
||
1067 | 1072 0a54 E0E0 ldi r30,hi8(__c.2396) |
||
1068 | 1073 0a56 DE2E mov r13,r30 |
||
1069 | 1074 0a58 00C0 rjmp .L135 |
||
1070 | 1075 .L139: |
||
1071 | 1076 0a5a 2196 adiw r28,1 |
||
1072 | 1077 0a5c CA3F cpi r28,250 |
||
1073 | 1078 0a5e D105 cpc r29,__zero_reg__ |
||
1074 | 1079 0a60 00F4 brsh .L138 |
||
1075 | 1080 .L135: |
||
1076 | 1081 0a62 1C2F mov r17,r28 |
||
1077 | 1082 0a64 C7BD out 71-0x20,r28 |
||
1078 | 1083 0a66 82E3 ldi r24,lo8(50) |
||
1079 | 1084 0a68 90E0 ldi r25,hi8(50) |
||
1080 | 1085 0a6a 0E94 0000 call Delay_ms_Mess |
||
1081 | 1086 0a6e DF92 push r13 |
||
1082 | 1087 0a70 CF92 push r12 |
||
1083 | 1088 0a72 1F92 push __zero_reg__ |
||
1084 | 1089 0a74 0E94 0000 call _printf_P |
||
1085 | 1090 0a78 8091 0000 lds r24,MessLuftdruck |
||
1086 | 1091 0a7c 9091 0000 lds r25,(MessLuftdruck)+1 |
||
1087 | 1092 0a80 0F90 pop __tmp_reg__ |
||
1088 | 1093 0a82 0F90 pop __tmp_reg__ |
||
1089 | 1094 0a84 0F90 pop __tmp_reg__ |
||
1090 | 1095 0a86 8255 subi r24,lo8(850) |
||
1091 | 1096 0a88 9340 sbci r25,hi8(850) |
||
1092 | 1097 0a8a 00F4 brsh .L139 |
||
1093 | 1098 0a8c 00C0 rjmp .L130 |
||
1094 | 1099 .L134: |
||
1095 | 1100 0a8e 70E0 ldi r23,lo8(__c.2396) |
||
1096 | 1101 0a90 C72E mov r12,r23 |
||
1097 | 1102 0a92 70E0 ldi r23,hi8(__c.2396) |
||
1098 | 1103 0a94 D72E mov r13,r23 |
||
1099 | 1104 0a96 00C0 rjmp .L135 |
||
1100 | 1105 .L138: |
||
1101 | 1106 0a98 1C2F mov r17,r28 |
||
1102 | 1107 .L130: |
||
1103 | 1108 0a9a D701 movw r26,r14 |
||
1104 | 1109 /* #APP */ |
||
1105 | 1110 0a9c 012E mov __tmp_reg__,r17 |
||
1106 | 1111 0a9e 0E94 0000 call __eeprom_write_byte_1F2021 |
||
1107 | 1112 /* #NOAPP */ |
||
1108 | 1113 0aa2 1093 0000 sts DruckOffsetSetting,r17 |
||
1109 | 1114 0aa6 8CE2 ldi r24,lo8(300) |
||
1110 | 1115 0aa8 91E0 ldi r25,hi8(300) |
||
1111 | 1116 0aaa 0E94 0000 call Delay_ms_Mess |
||
1112 | 1117 /* epilogue: frame size=0 */ |
||
1113 | 1118 0aae DF91 pop r29 |
||
1114 | 1119 0ab0 CF91 pop r28 |
||
1115 | 1120 0ab2 1F91 pop r17 |
||
1116 | 1121 0ab4 FF90 pop r15 |
||
1117 | 1122 0ab6 EF90 pop r14 |
||
1118 | 1123 0ab8 DF90 pop r13 |
||
1119 | 1124 0aba CF90 pop r12 |
||
1120 | 1125 0abc 0895 ret |
||
1121 | 1126 /* epilogue end (size=8) */ |
||
1122 | 1127 /* function SucheLuftruckOffset size 96 (81) */ |
||
1123 | 1129 .global UBat |
||
1124 | 1130 .data |
||
1125 | 1133 UBat: |
||
1126 | 1134 0000 6400 .word 100 |
||
1127 | 1135 .global AdWertNickFilter |
||
1128 | 1136 .global AdWertNickFilter |
||
1129 | 1137 .section .bss |
||
1130 | 1140 AdWertNickFilter: |
||
1131 | 1141 0000 0000 .skip 2,0 |
||
1132 | 1142 .global AdWertRollFilter |
||
1133 | 1143 .global AdWertRollFilter |
||
1134 | 1146 AdWertRollFilter: |
||
1135 | 1147 0002 0000 .skip 2,0 |
||
1136 | 1148 .global AdWertGierFilter |
||
1137 | 1149 .global AdWertGierFilter |
||
1138 | 1152 AdWertGierFilter: |
||
1139 | 1153 0004 0000 .skip 2,0 |
||
1140 | 1154 .global HiResNick |
||
1141 | 1155 .data |
||
1142 | 1158 HiResNick: |
||
1143 | 1159 0002 C409 .word 2500 |
||
1144 | 1160 .global HiResRoll |
||
1145 | 1163 HiResRoll: |
||
1146 | 1164 0004 C409 .word 2500 |
||
1147 | 1165 .global AdWertNick |
||
1148 | 1166 .global AdWertNick |
||
1149 | 1167 .section .bss |
||
1150 | 1170 AdWertNick: |
||
1151 | 1171 0006 0000 .skip 2,0 |
||
1152 | 1172 .global AdWertRoll |
||
1153 | 1173 .global AdWertRoll |
||
1154 | 1176 AdWertRoll: |
||
1155 | 1177 0008 0000 .skip 2,0 |
||
1156 | 1178 .global AdWertGier |
||
1157 | 1179 .global AdWertGier |
||
1158 | 1182 AdWertGier: |
||
1159 | 1183 000a 0000 .skip 2,0 |
||
1160 | 1184 .global AdWertAccRoll |
||
1161 | 1185 .global AdWertAccRoll |
||
1162 | 1188 AdWertAccRoll: |
||
1163 | 1189 000c 0000 .skip 2,0 |
||
1164 | 1190 .global AdWertAccNick |
||
1165 | 1191 .global AdWertAccNick |
||
1166 | 1194 AdWertAccNick: |
||
1167 | 1195 000e 0000 .skip 2,0 |
||
1168 | 1196 .global AdWertAccHoch |
||
1169 | 1197 .global AdWertAccHoch |
||
1170 | 1200 AdWertAccHoch: |
||
1171 | 1201 0010 0000 .skip 2,0 |
||
1172 | 1202 .global messanzahl_AccHoch |
||
1173 | 1203 .global messanzahl_AccHoch |
||
1174 | 1206 messanzahl_AccHoch: |
||
1175 | 1207 0012 00 .skip 1,0 |
||
1176 | 1208 .global Luftdruck |
||
1177 | 1209 .data |
||
1178 | 1212 Luftdruck: |
||
1179 | 1213 0006 00 .byte 0 |
||
1180 | 1214 0007 7D .byte 125 |
||
1181 | 1215 0008 00 .byte 0 |
||
1182 | 1216 0009 00 .byte 0 |
||
1183 | 1217 .global MessLuftdruck |
||
1184 | 1220 MessLuftdruck: |
||
1185 | 1221 000a FF03 .word 1023 |
||
1186 | 1222 .global ExpandBaro |
||
1187 | 1223 .global ExpandBaro |
||
1188 | 1224 .section .bss |
||
1189 | 1227 ExpandBaro: |
||
1190 | 1228 0013 00 .skip 1,0 |
||
1191 | 1229 .global HoeheD |
||
1192 | 1230 .global HoeheD |
||
1193 | 1233 HoeheD: |
||
1194 | 1234 0014 0000 .skip 2,0 |
||
1195 | 1235 .global ZaehlMessungen |
||
1196 | 1236 .global ZaehlMessungen |
||
1197 | 1239 ZaehlMessungen: |
||
1198 | 1240 0016 0000 .skip 2,0 |
||
1199 | 1241 .global AnalogOffsetNick |
||
1200 | 1242 .data |
||
1201 | 1245 AnalogOffsetNick: |
||
1202 | 1246 000c 73 .byte 115 |
||
1203 | 1247 .global AnalogOffsetRoll |
||
1204 | 1250 AnalogOffsetRoll: |
||
1205 | 1251 000d 73 .byte 115 |
||
1206 | 1252 .global AnalogOffsetGier |
||
1207 | 1255 AnalogOffsetGier: |
||
1208 | 1256 000e 73 .byte 115 |
||
1209 | 1257 .global GyroDefektN |
||
1210 | 1258 .global GyroDefektN |
||
1211 | 1259 .section .bss |
||
1212 | 1262 GyroDefektN: |
||
1213 | 1263 0018 00 .skip 1,0 |
||
1214 | 1264 .global GyroDefektR |
||
1215 | 1265 .global GyroDefektR |
||
1216 | 1268 GyroDefektR: |
||
1217 | 1269 0019 00 .skip 1,0 |
||
1218 | 1270 .global GyroDefektG |
||
1219 | 1271 .global GyroDefektG |
||
1220 | 1274 GyroDefektG: |
||
1221 | 1275 001a 00 .skip 1,0 |
||
1222 | 1276 .global AdReady |
||
1223 | 1277 .data |
||
1224 | 1280 AdReady: |
||
1225 | 1281 000f 01 .byte 1 |
||
1226 | 1282 .lcomm accx.2454,2 |
||
1227 | 1283 .lcomm accy.2453,2 |
||
1228 | 1284 .lcomm roll_filter.2452,2 |
||
1229 | 1285 .lcomm nick_filter.2451,2 |
||
1230 | 1286 .lcomm nick1.2450,2 |
||
1231 | 1287 .lcomm roll1.2449,2 |
||
1232 | 1288 .lcomm gier1.2448,2 |
||
1233 | 1289 .lcomm state.2447,1 |
||
1234 | 1290 .lcomm kanal.2446,1 |
||
1235 | 1291 .section .progmem.data,"a",@progbits |
||
1236 | 1294 __c.2396: |
||
1237 | 1295 0000 2E00 .string "." |
||
1238 | 1296 .comm Aktuell_Nick,2,1 |
||
1239 | 1297 .comm Aktuell_Roll,2,1 |
||
1240 | 1298 .comm Aktuell_Gier,2,1 |
||
1241 | 1299 .comm Aktuell_ax,2,1 |
||
1242 | 1300 .comm Aktuell_ay,2,1 |
||
1243 | 1301 .comm Aktuell_az,2,1 |
||
1244 | 1302 .comm messanzahl_Druck,1,1 |
||
1245 | 1303 .comm DruckOffsetSetting,1,1 |
||
1246 | 1304 .comm StartLuftdruck,2,1 |
||
1247 | 1305 .comm tmpLuftdruck,2,1 |
||
1248 | 1306 /* File "analog.c": code 1410 = 0x0582 (1341), prologues 33, epilogues 36 */ |
||
1249 | DEFINED SYMBOLS |
||
1250 | *ABS*:00000000 analog.c |
||
1193 | kmpec | 1251 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:2 *ABS*:0000003f __SREG__ |
1252 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:3 *ABS*:0000003e __SP_H__ |
||
1253 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:4 *ABS*:0000003d __SP_L__ |
||
1254 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:5 *ABS*:00000000 __tmp_reg__ |
||
1255 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:6 *ABS*:00000001 __zero_reg__ |
||
1256 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:12 .text:00000000 ADC_Init |
||
1257 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:25 .text:0000000c __vector_24 |
||
1258 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:1288 .bss:00000029 state.2447 |
||
1259 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:1289 .bss:0000002a kanal.2446 |
||
1260 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:1285 .bss:00000023 nick1.2450 |
||
1261 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:1280 .data:0000000f AdReady |
||
1262 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:1239 .bss:00000016 ZaehlMessungen |
||
1189 | kmpec | 1263 | *COM*:00000002 tmpLuftdruck |
1264 | *COM*:00000001 messanzahl_Druck |
||
1193 | kmpec | 1265 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:1220 .data:0000000a MessLuftdruck |
1266 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:1233 .bss:00000014 HoeheD |
||
1267 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:1227 .bss:00000013 ExpandBaro |
||
1189 | kmpec | 1268 | *COM*:00000002 StartLuftdruck |
1193 | kmpec | 1269 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:1212 .data:00000006 Luftdruck |
1270 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:1200 .bss:00000010 AdWertAccHoch |
||
1271 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:1206 .bss:00000012 messanzahl_AccHoch |
||
1189 | kmpec | 1272 | *COM*:00000002 Aktuell_az |
1193 | kmpec | 1273 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:1286 .bss:00000025 roll1.2449 |
1274 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:1133 .data:00000000 UBat |
||
1275 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:1287 .bss:00000027 gier1.2448 |
||
1189 | kmpec | 1276 | *COM*:00000002 Aktuell_ay |
1193 | kmpec | 1277 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:1282 .bss:0000001d accy.2453 |
1189 | kmpec | 1278 | *COM*:00000002 Aktuell_ax |
1279 | .bss:0000001b accx.2454 |
||
1193 | kmpec | 1280 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:1182 .bss:0000000a AdWertGier |
1281 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:1188 .bss:0000000c AdWertAccRoll |
||
1282 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:1194 .bss:0000000e AdWertAccNick |
||
1283 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:1170 .bss:00000006 AdWertNick |
||
1284 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:1284 .bss:00000021 nick_filter.2451 |
||
1285 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:1158 .data:00000002 HiResNick |
||
1286 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:1140 .bss:00000000 AdWertNickFilter |
||
1287 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:1176 .bss:00000008 AdWertRoll |
||
1288 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:1283 .bss:0000001f roll_filter.2452 |
||
1289 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:1163 .data:00000004 HiResRoll |
||
1290 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:1146 .bss:00000002 AdWertRollFilter |
||
1291 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:852 .text:00000878 SucheGyroOffset |
||
1292 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:1262 .bss:00000018 GyroDefektN |
||
1293 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:1268 .bss:00000019 GyroDefektR |
||
1294 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:1274 .bss:0000001a GyroDefektG |
||
1295 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:1245 .data:0000000c AnalogOffsetNick |
||
1296 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:1250 .data:0000000d AnalogOffsetRoll |
||
1297 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:1255 .data:0000000e AnalogOffsetGier |
||
1298 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:1032 .text:00000a06 SucheLuftruckOffset |
||
1299 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:1294 .progmem.data:00000000 __c.2396 |
||
1189 | kmpec | 1300 | *COM*:00000001 DruckOffsetSetting |
1193 | kmpec | 1301 | C:\DOKUME~1\David\LOKALE~1\Temp/ccH12TJL.s:1152 .bss:00000004 AdWertGierFilter |
1189 | kmpec | 1302 | *COM*:00000002 Aktuell_Nick |
1303 | *COM*:00000002 Aktuell_Roll |
||
1304 | *COM*:00000002 Aktuell_Gier |
||
1305 | |||
1306 | UNDEFINED SYMBOLS |
||
1307 | __do_copy_data |
||
1308 | __do_clear_bss |
||
1309 | HoehenWert |
||
1310 | Parameter_Luftdruck_D |
||
1311 | __divmodsi4 |
||
1312 | NeutralAccZ |
||
1313 | __floatsisf |
||
1314 | __subsf3 |
||
1315 | __fixsfsi |
||
1316 | __ltsf2 |
||
1317 | __addsf3 |
||
1318 | modell_fliegt |
||
1319 | Mess_Integral_Hoch |
||
1320 | __udivmodhi4 |
||
1321 | NeutralAccY |
||
1322 | NeutralAccX |
||
1323 | PlatinenVersion |
||
1324 | AdNeutralNick |
||
1325 | AdNeutralRoll |
||
1326 | __gtsf2 |
||
1327 | twi_state |
||
1328 | i2c_start |
||
1329 | Delay_ms_Mess |
||
1330 | EEPromArray |
||
1331 | __eeprom_read_byte_1F2021 |
||
1332 | _printf_P |
||
1333 | __eeprom_write_byte_1F2021 |