Rev 1755 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1755 | - | 1 | 1 .file "fc.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 CopyDebugValues |
||
10 | 11 CopyDebugValues: |
||
11 | 12 0000 EF92 push r14 |
||
12 | 13 0002 FF92 push r15 |
||
13 | 14 0004 0F93 push r16 |
||
14 | 15 0006 1F93 push r17 |
||
15 | 16 /* prologue: function */ |
||
16 | 17 /* frame size = 0 */ |
||
17 | 18 0008 E090 0000 lds r14,EE_Parameter+28 |
||
18 | 19 000c FF24 clr r15 |
||
19 | 20 000e EE0C lsl r14 |
||
20 | 21 0010 FF1C rol r15 |
||
21 | 22 0012 EE0C lsl r14 |
||
22 | 23 0014 FF1C rol r15 |
||
23 | 24 0016 0027 clr r16 |
||
24 | 25 0018 F7FC sbrc r15,7 |
||
25 | 26 001a 0095 com r16 |
||
26 | 27 001c 102F mov r17,r16 |
||
27 | 28 001e 6091 0000 lds r22,IntegralNick |
||
28 | 29 0022 7091 0000 lds r23,(IntegralNick)+1 |
||
29 | 30 0026 8091 0000 lds r24,(IntegralNick)+2 |
||
30 | 31 002a 9091 0000 lds r25,(IntegralNick)+3 |
||
31 | 32 002e A801 movw r20,r16 |
||
32 | 33 0030 9701 movw r18,r14 |
||
33 | 34 0032 0E94 0000 call __divmodsi4 |
||
34 | 35 0036 3093 0000 sts (DebugOut+2)+1,r19 |
||
35 | 36 003a 2093 0000 sts DebugOut+2,r18 |
||
36 | 37 003e 6091 0000 lds r22,IntegralRoll |
||
37 | 38 0042 7091 0000 lds r23,(IntegralRoll)+1 |
||
38 | 39 0046 8091 0000 lds r24,(IntegralRoll)+2 |
||
39 | 40 004a 9091 0000 lds r25,(IntegralRoll)+3 |
||
40 | 41 004e A801 movw r20,r16 |
||
41 | 42 0050 9701 movw r18,r14 |
||
42 | 43 0052 0E94 0000 call __divmodsi4 |
||
43 | 44 0056 3093 0000 sts (DebugOut+4)+1,r19 |
||
44 | 45 005a 2093 0000 sts DebugOut+4,r18 |
||
45 | 46 005e 8091 0000 lds r24,Mittelwert_AccNick |
||
46 | 47 0062 9091 0000 lds r25,(Mittelwert_AccNick)+1 |
||
47 | 48 0066 64E0 ldi r22,lo8(4) |
||
48 | 49 0068 70E0 ldi r23,hi8(4) |
||
49 | 50 006a 0E94 0000 call __divmodhi4 |
||
50 | 51 006e 7093 0000 sts (DebugOut+6)+1,r23 |
||
51 | 52 0072 6093 0000 sts DebugOut+6,r22 |
||
52 | 53 0076 8091 0000 lds r24,Mittelwert_AccRoll |
||
53 | 54 007a 9091 0000 lds r25,(Mittelwert_AccRoll)+1 |
||
54 | 55 007e 64E0 ldi r22,lo8(4) |
||
55 | 56 0080 70E0 ldi r23,hi8(4) |
||
56 | 57 0082 0E94 0000 call __divmodhi4 |
||
57 | 58 0086 7093 0000 sts (DebugOut+8)+1,r23 |
||
58 | 59 008a 6093 0000 sts DebugOut+8,r22 |
||
59 | 60 008e 2091 0000 lds r18,AdWertGier |
||
60 | 61 0092 3091 0000 lds r19,(AdWertGier)+1 |
||
61 | 62 0096 8091 0000 lds r24,AdNeutralGier |
||
62 | 63 009a 9091 0000 lds r25,(AdNeutralGier)+1 |
||
63 | 64 009e 821B sub r24,r18 |
||
64 | 65 00a0 930B sbc r25,r19 |
||
65 | 66 00a2 9093 0000 sts (DebugOut+10)+1,r25 |
||
66 | 67 00a6 8093 0000 sts DebugOut+10,r24 |
||
67 | 68 00aa 6091 0000 lds r22,HoehenWert |
||
68 | 69 00ae 7091 0000 lds r23,(HoehenWert)+1 |
||
69 | 70 00b2 8091 0000 lds r24,(HoehenWert)+2 |
||
70 | 71 00b6 9091 0000 lds r25,(HoehenWert)+3 |
||
71 | 72 00ba 25E0 ldi r18,lo8(5) |
||
72 | 73 00bc 30E0 ldi r19,hi8(5) |
||
73 | 74 00be 40E0 ldi r20,hlo8(5) |
||
74 | 75 00c0 50E0 ldi r21,hhi8(5) |
||
75 | 76 00c2 0E94 0000 call __divmodsi4 |
||
76 | 77 00c6 3093 0000 sts (DebugOut+12)+1,r19 |
||
77 | 78 00ca 2093 0000 sts DebugOut+12,r18 |
||
78 | 79 00ce 8091 0000 lds r24,AdWertAccHoch |
||
79 | 80 00d2 9091 0000 lds r25,(AdWertAccHoch)+1 |
||
80 | 81 00d6 9093 0000 sts (DebugOut+14)+1,r25 |
||
81 | 82 00da 8093 0000 sts DebugOut+14,r24 |
||
82 | 83 00de 8091 0000 lds r24,KompassValue |
||
83 | 84 00e2 9091 0000 lds r25,(KompassValue)+1 |
||
84 | 85 00e6 9093 0000 sts (DebugOut+18)+1,r25 |
||
85 | 86 00ea 8093 0000 sts DebugOut+18,r24 |
||
86 | 87 00ee 8091 0000 lds r24,UBat |
||
87 | 88 00f2 9091 0000 lds r25,(UBat)+1 |
||
88 | 89 00f6 9093 0000 sts (DebugOut+20)+1,r25 |
||
89 | 90 00fa 8093 0000 sts DebugOut+20,r24 |
||
90 | 91 00fe 8091 0000 lds r24,SenderOkay |
||
91 | 92 0102 00E0 ldi r16,lo8(DebugOut+22) |
||
92 | 93 0104 10E0 ldi r17,hi8(DebugOut+22) |
||
93 | 94 0106 8093 0000 sts DebugOut+22,r24 |
||
94 | 95 010a 1092 0000 sts DebugOut+23,__zero_reg__ |
||
95 | 96 010e 6091 0000 lds r22,ErsatzKompass |
||
96 | 97 0112 7091 0000 lds r23,(ErsatzKompass)+1 |
||
97 | 98 0116 8091 0000 lds r24,(ErsatzKompass)+2 |
||
98 | 99 011a 9091 0000 lds r25,(ErsatzKompass)+3 |
||
99 | 100 011e 2091 0000 lds r18,GIER_GRAD_FAKTOR |
||
100 | 101 0122 3091 0000 lds r19,(GIER_GRAD_FAKTOR)+1 |
||
101 | 102 0126 4091 0000 lds r20,(GIER_GRAD_FAKTOR)+2 |
||
102 | 103 012a 5091 0000 lds r21,(GIER_GRAD_FAKTOR)+3 |
||
103 | 104 012e 0E94 0000 call __divmodsi4 |
||
104 | 105 0132 3093 0000 sts (DebugOut+24)+1,r19 |
||
105 | 106 0136 2093 0000 sts DebugOut+24,r18 |
||
106 | 107 013a 8091 0000 lds r24,Motor+1 |
||
107 | 108 013e 8093 0000 sts DebugOut+26,r24 |
||
108 | 109 0142 F801 movw r30,r16 |
||
109 | 110 0144 1582 std Z+5,__zero_reg__ |
||
110 | 111 0146 8091 0000 lds r24,Motor+9 |
||
111 | 112 014a 8093 0000 sts DebugOut+28,r24 |
||
112 | 113 014e 1782 std Z+7,__zero_reg__ |
||
113 | 114 0150 8091 0000 lds r24,Motor+17 |
||
114 | 115 0154 8093 0000 sts DebugOut+30,r24 |
||
115 | 116 0158 1186 std Z+9,__zero_reg__ |
||
116 | 117 015a 8091 0000 lds r24,Motor+25 |
||
117 | 118 015e 8093 0000 sts DebugOut+32,r24 |
||
118 | 119 0162 1386 std Z+11,__zero_reg__ |
||
119 | 120 0164 8091 0000 lds r24,ServoNickValue |
||
120 | 121 0168 9091 0000 lds r25,(ServoNickValue)+1 |
||
121 | 122 016c 9093 0000 sts (DebugOut+42)+1,r25 |
||
122 | 123 0170 8093 0000 sts DebugOut+42,r24 |
||
123 | 124 0174 8091 0000 lds r24,Capacity |
||
124 | 125 0178 9091 0000 lds r25,(Capacity)+1 |
||
125 | 126 017c 9093 0000 sts (DebugOut+46)+1,r25 |
||
126 | 127 0180 8093 0000 sts DebugOut+46,r24 |
||
127 | 128 0184 8091 0000 lds r24,Capacity+4 |
||
128 | 129 0188 9091 0000 lds r25,(Capacity+4)+1 |
||
129 | 130 018c 9093 0000 sts (DebugOut+48)+1,r25 |
||
130 | 131 0190 8093 0000 sts DebugOut+48,r24 |
||
131 | 132 0194 8091 0000 lds r24,Capacity+6 |
||
132 | 133 0198 8093 0000 sts DebugOut+60,r24 |
||
133 | 134 019c 17A2 std Z+39,__zero_reg__ |
||
134 | 135 019e 8091 0000 lds r24,GPS_Nick |
||
135 | 136 01a2 9091 0000 lds r25,(GPS_Nick)+1 |
||
136 | 137 01a6 9093 0000 sts (DebugOut+62)+1,r25 |
||
137 | 138 01aa 8093 0000 sts DebugOut+62,r24 |
||
138 | 139 01ae 8091 0000 lds r24,GPS_Roll |
||
139 | 140 01b2 9091 0000 lds r25,(GPS_Roll)+1 |
||
140 | 141 01b6 9093 0000 sts (DebugOut+64)+1,r25 |
||
141 | 142 01ba 8093 0000 sts DebugOut+64,r24 |
||
142 | 143 01be 8091 0000 lds r24,VersionInfo+5 |
||
143 | 144 01c2 8823 tst r24 |
||
144 | 145 01c4 01F4 brne .L2 |
||
145 | 146 01c6 8091 0000 lds r24,VersionInfo+6 |
||
146 | 147 01ca 8823 tst r24 |
||
147 | 148 01cc 01F0 breq .L3 |
||
148 | 149 .L2: |
||
149 | 150 01ce 8091 0000 lds r24,DebugOut+1 |
||
150 | 151 01d2 8160 ori r24,lo8(1) |
||
151 | 152 01d4 00C0 rjmp .L6 |
||
152 | 153 .L3: |
||
153 | 154 01d6 8091 0000 lds r24,DebugOut+1 |
||
154 | 155 01da 8E7F andi r24,lo8(-2) |
||
155 | 156 .L6: |
||
156 | 157 01dc 8093 0000 sts DebugOut+1,r24 |
||
157 | 158 /* epilogue start */ |
||
158 | 159 01e0 1F91 pop r17 |
||
159 | 160 01e2 0F91 pop r16 |
||
160 | 161 01e4 FF90 pop r15 |
||
161 | 162 01e6 EF90 pop r14 |
||
162 | 163 01e8 0895 ret |
||
163 | 165 .global Mittelwert |
||
164 | 167 Mittelwert: |
||
165 | 168 01ea ABE1 ldi r26,lo8(27) |
||
166 | 169 01ec B0E0 ldi r27,hi8(27) |
||
167 | 170 01ee E0E0 ldi r30,lo8(gs(1f)) |
||
168 | 171 01f0 F0E0 ldi r31,hi8(gs(1f)) |
||
169 | 172 01f2 0C94 0000 jmp __prologue_saves__+((18 - 18) * 2) |
||
170 | 173 1: |
||
171 | 174 /* prologue: function */ |
||
172 | 175 /* frame size = 27 */ |
||
173 | 176 01f6 8091 0000 lds r24,AdWertGier |
||
174 | 177 01fa 9091 0000 lds r25,(AdWertGier)+1 |
||
175 | 178 01fe 2091 0000 lds r18,AdNeutralGier |
||
176 | 179 0202 3091 0000 lds r19,(AdNeutralGier)+1 |
||
177 | 180 0206 281B sub r18,r24 |
||
178 | 181 0208 390B sbc r19,r25 |
||
179 | 182 020a 3B8F std Y+27,r19 |
||
180 | 183 020c 2A8F std Y+26,r18 |
||
181 | 184 020e 3093 0000 sts (MesswertGier)+1,r19 |
||
182 | 185 0212 2093 0000 sts MesswertGier,r18 |
||
183 | 186 0216 8091 0000 lds r24,AdWertNickFilter |
||
184 | 187 021a 9091 0000 lds r25,(AdWertNickFilter)+1 |
||
185 | 188 021e 68E0 ldi r22,lo8(8) |
||
186 | 189 0220 70E0 ldi r23,hi8(8) |
||
187 | 190 0222 0E94 0000 call __divmodhi4 |
||
188 | 191 0226 6E8B std Y+22,r22 |
||
189 | 192 0228 7F8B std Y+23,r23 |
||
190 | 193 022a 8091 0000 lds r24,AdWertRollFilter |
||
191 | 194 022e 9091 0000 lds r25,(AdWertRollFilter)+1 |
||
192 | 195 0232 68E0 ldi r22,lo8(8) |
||
193 | 196 0234 70E0 ldi r23,hi8(8) |
||
194 | 197 0236 0E94 0000 call __divmodhi4 |
||
195 | 198 023a 688F std Y+24,r22 |
||
196 | 199 023c 798F std Y+25,r23 |
||
197 | 200 023e 4E89 ldd r20,Y+22 |
||
198 | 201 0240 5F89 ldd r21,Y+23 |
||
199 | 202 0242 5093 0000 sts (RohMesswertNick)+1,r21 |
||
200 | 203 0246 4093 0000 sts RohMesswertNick,r20 |
||
201 | 204 024a 688D ldd r22,Y+24 |
||
202 | 205 024c 798D ldd r23,Y+25 |
||
203 | 206 024e 7093 0000 sts (RohMesswertRoll)+1,r23 |
||
204 | 207 0252 6093 0000 sts RohMesswertRoll,r22 |
||
205 | 208 0256 2091 0000 lds r18,AdWertAccNick |
||
206 | 209 025a 3091 0000 lds r19,(AdWertAccNick)+1 |
||
207 | 210 025e C901 movw r24,r18 |
||
208 | 211 0260 880F lsl r24 |
||
209 | 212 0262 991F rol r25 |
||
210 | 213 0264 820F add r24,r18 |
||
211 | 214 0266 931F adc r25,r19 |
||
212 | 215 0268 880F lsl r24 |
||
213 | 216 026a 991F rol r25 |
||
214 | 217 026c 4091 0000 lds r20,Mittelwert_AccNick |
||
215 | 218 0270 5091 0000 lds r21,(Mittelwert_AccNick)+1 |
||
216 | 219 0274 9A01 movw r18,r20 |
||
217 | 220 0276 220F lsl r18 |
||
218 | 221 0278 331F rol r19 |
||
219 | 222 027a 240F add r18,r20 |
||
220 | 223 027c 351F adc r19,r21 |
||
221 | 224 027e 820F add r24,r18 |
||
222 | 225 0280 931F adc r25,r19 |
||
223 | 226 0282 64E0 ldi r22,lo8(4) |
||
224 | 227 0284 70E0 ldi r23,hi8(4) |
||
225 | 228 0286 0E94 0000 call __divmodhi4 |
||
226 | 229 028a 7093 0000 sts (Mittelwert_AccNick)+1,r23 |
||
227 | 230 028e 6093 0000 sts Mittelwert_AccNick,r22 |
||
228 | 231 0292 2091 0000 lds r18,AdWertAccRoll |
||
229 | 232 0296 3091 0000 lds r19,(AdWertAccRoll)+1 |
||
230 | 233 029a C901 movw r24,r18 |
||
231 | 234 029c 880F lsl r24 |
||
232 | 235 029e 991F rol r25 |
||
233 | 236 02a0 820F add r24,r18 |
||
234 | 237 02a2 931F adc r25,r19 |
||
235 | 238 02a4 880F lsl r24 |
||
236 | 239 02a6 991F rol r25 |
||
237 | 240 02a8 4091 0000 lds r20,Mittelwert_AccRoll |
||
238 | 241 02ac 5091 0000 lds r21,(Mittelwert_AccRoll)+1 |
||
239 | 242 02b0 9A01 movw r18,r20 |
||
240 | 243 02b2 220F lsl r18 |
||
241 | 244 02b4 331F rol r19 |
||
242 | 245 02b6 240F add r18,r20 |
||
243 | 246 02b8 351F adc r19,r21 |
||
244 | 247 02ba 820F add r24,r18 |
||
245 | 248 02bc 931F adc r25,r19 |
||
246 | 249 02be 64E0 ldi r22,lo8(4) |
||
247 | 250 02c0 70E0 ldi r23,hi8(4) |
||
248 | 251 02c2 0E94 0000 call __divmodhi4 |
||
249 | 252 02c6 7093 0000 sts (Mittelwert_AccRoll)+1,r23 |
||
250 | 253 02ca 6093 0000 sts Mittelwert_AccRoll,r22 |
||
251 | 254 02ce 2091 0000 lds r18,AdWertAccNick |
||
252 | 255 02d2 3091 0000 lds r19,(AdWertAccNick)+1 |
||
253 | 256 02d6 C901 movw r24,r18 |
||
254 | 257 02d8 880F lsl r24 |
||
255 | 258 02da 991F rol r25 |
||
256 | 259 02dc 820F add r24,r18 |
||
257 | 260 02de 931F adc r25,r19 |
||
258 | 261 02e0 880F lsl r24 |
||
259 | 262 02e2 991F rol r25 |
||
260 | 263 02e4 AA27 clr r26 |
||
261 | 264 02e6 97FD sbrc r25,7 |
||
262 | 265 02e8 A095 com r26 |
||
263 | 266 02ea BA2F mov r27,r26 |
||
264 | 267 02ec 2091 0000 lds r18,IntegralAccNick |
||
265 | 268 02f0 3091 0000 lds r19,(IntegralAccNick)+1 |
||
266 | 269 02f4 4091 0000 lds r20,(IntegralAccNick)+2 |
||
267 | 270 02f8 5091 0000 lds r21,(IntegralAccNick)+3 |
||
268 | 271 02fc 280F add r18,r24 |
||
269 | 272 02fe 391F adc r19,r25 |
||
270 | 273 0300 4A1F adc r20,r26 |
||
271 | 274 0302 5B1F adc r21,r27 |
||
272 | 275 0304 2093 0000 sts IntegralAccNick,r18 |
||
273 | 276 0308 3093 0000 sts (IntegralAccNick)+1,r19 |
||
274 | 277 030c 4093 0000 sts (IntegralAccNick)+2,r20 |
||
275 | 278 0310 5093 0000 sts (IntegralAccNick)+3,r21 |
||
276 | 279 0314 2091 0000 lds r18,AdWertAccRoll |
||
277 | 280 0318 3091 0000 lds r19,(AdWertAccRoll)+1 |
||
278 | 281 031c C901 movw r24,r18 |
||
279 | 282 031e 880F lsl r24 |
||
280 | 283 0320 991F rol r25 |
||
281 | 284 0322 820F add r24,r18 |
||
282 | 285 0324 931F adc r25,r19 |
||
283 | 286 0326 880F lsl r24 |
||
284 | 287 0328 991F rol r25 |
||
285 | 288 032a AA27 clr r26 |
||
286 | 289 032c 97FD sbrc r25,7 |
||
287 | 290 032e A095 com r26 |
||
288 | 291 0330 BA2F mov r27,r26 |
||
289 | 292 0332 2091 0000 lds r18,IntegralAccRoll |
||
290 | 293 0336 3091 0000 lds r19,(IntegralAccRoll)+1 |
||
291 | 294 033a 4091 0000 lds r20,(IntegralAccRoll)+2 |
||
292 | 295 033e 5091 0000 lds r21,(IntegralAccRoll)+3 |
||
293 | 296 0342 280F add r18,r24 |
||
294 | 297 0344 391F adc r19,r25 |
||
295 | 298 0346 4A1F adc r20,r26 |
||
296 | 299 0348 5B1F adc r21,r27 |
||
297 | 300 034a 2093 0000 sts IntegralAccRoll,r18 |
||
298 | 301 034e 3093 0000 sts (IntegralAccRoll)+1,r19 |
||
299 | 302 0352 4093 0000 sts (IntegralAccRoll)+2,r20 |
||
300 | 303 0356 5093 0000 sts (IntegralAccRoll)+3,r21 |
||
301 | 304 035a 2091 0000 lds r18,AdWertAccNick |
||
302 | 305 035e 3091 0000 lds r19,(AdWertAccNick)+1 |
||
303 | 306 0362 8091 0000 lds r24,NaviAccNick |
||
304 | 307 0366 9091 0000 lds r25,(NaviAccNick)+1 |
||
305 | 308 036a 820F add r24,r18 |
||
306 | 309 036c 931F adc r25,r19 |
||
307 | 310 036e 9093 0000 sts (NaviAccNick)+1,r25 |
||
308 | 311 0372 8093 0000 sts NaviAccNick,r24 |
||
309 | 312 0376 2091 0000 lds r18,AdWertAccRoll |
||
310 | 313 037a 3091 0000 lds r19,(AdWertAccRoll)+1 |
||
311 | 314 037e 8091 0000 lds r24,NaviAccRoll |
||
312 | 315 0382 9091 0000 lds r25,(NaviAccRoll)+1 |
||
313 | 316 0386 820F add r24,r18 |
||
314 | 317 0388 931F adc r25,r19 |
||
315 | 318 038a 9093 0000 sts (NaviAccRoll)+1,r25 |
||
316 | 319 038e 8093 0000 sts NaviAccRoll,r24 |
||
317 | 320 0392 8091 0000 lds r24,NaviCntAcc |
||
318 | 321 0396 9091 0000 lds r25,(NaviCntAcc)+1 |
||
319 | 322 039a 0196 adiw r24,1 |
||
320 | 323 039c 9093 0000 sts (NaviCntAcc)+1,r25 |
||
321 | 324 03a0 8093 0000 sts NaviCntAcc,r24 |
||
322 | 325 03a4 2091 0000 lds r18,Aktuell_az |
||
323 | 326 03a8 3091 0000 lds r19,(Aktuell_az)+1 |
||
324 | 327 03ac 8091 0000 lds r24,NeutralAccZ |
||
325 | 328 03b0 9091 0000 lds r25,(NeutralAccZ)+1 |
||
326 | 329 03b4 281B sub r18,r24 |
||
327 | 330 03b6 390B sbc r19,r25 |
||
328 | 331 03b8 4427 clr r20 |
||
329 | 332 03ba 37FD sbrc r19,7 |
||
330 | 333 03bc 4095 com r20 |
||
331 | 334 03be 542F mov r21,r20 |
||
332 | 335 03c0 8091 0000 lds r24,IntegralAccZ |
||
333 | 336 03c4 9091 0000 lds r25,(IntegralAccZ)+1 |
||
334 | 337 03c8 A091 0000 lds r26,(IntegralAccZ)+2 |
||
335 | 338 03cc B091 0000 lds r27,(IntegralAccZ)+3 |
||
336 | 339 03d0 820F add r24,r18 |
||
337 | 340 03d2 931F adc r25,r19 |
||
338 | 341 03d4 A41F adc r26,r20 |
||
339 | 342 03d6 B51F adc r27,r21 |
||
340 | 343 03d8 8093 0000 sts IntegralAccZ,r24 |
||
341 | 344 03dc 9093 0000 sts (IntegralAccZ)+1,r25 |
||
342 | 345 03e0 A093 0000 sts (IntegralAccZ)+2,r26 |
||
343 | 346 03e4 B093 0000 sts (IntegralAccZ)+3,r27 |
||
344 | 347 03e8 8FEC ldi r24,lo8(-49) |
||
345 | 348 03ea 8093 7A00 sts 122,r24 |
||
346 | 349 03ee 1092 0000 sts AdReady,__zero_reg__ |
||
347 | 350 03f2 8091 0000 lds r24,Mess_IntegralRoll |
||
348 | 351 03f6 9091 0000 lds r25,(Mess_IntegralRoll)+1 |
||
349 | 352 03fa A091 0000 lds r26,(Mess_IntegralRoll)+2 |
||
350 | 353 03fe B091 0000 lds r27,(Mess_IntegralRoll)+3 |
||
351 | 354 0402 8A8B std Y+18,r24 |
||
352 | 355 0404 9B8B std Y+19,r25 |
||
353 | 356 0406 AC8B std Y+20,r26 |
||
354 | 357 0408 BD8B std Y+21,r27 |
||
355 | 358 040a 2091 0000 lds r18,Mess_IntegralNick |
||
356 | 359 040e 3091 0000 lds r19,(Mess_IntegralNick)+1 |
||
357 | 360 0412 4091 0000 lds r20,(Mess_IntegralNick)+2 |
||
358 | 361 0416 5091 0000 lds r21,(Mess_IntegralNick)+3 |
||
359 | 362 041a 2E87 std Y+14,r18 |
||
360 | 363 041c 3F87 std Y+15,r19 |
||
361 | 364 041e 488B std Y+16,r20 |
||
362 | 365 0420 598B std Y+17,r21 |
||
363 | 366 0422 4A8D ldd r20,Y+26 |
||
364 | 367 0424 5B8D ldd r21,Y+27 |
||
365 | 368 0426 6627 clr r22 |
||
366 | 369 0428 57FD sbrc r21,7 |
||
367 | 370 042a 6095 com r22 |
||
368 | 371 042c 762F mov r23,r22 |
||
369 | 372 042e 4A87 std Y+10,r20 |
||
370 | 373 0430 5B87 std Y+11,r21 |
||
371 | 374 0432 6C87 std Y+12,r22 |
||
372 | 375 0434 7D87 std Y+13,r23 |
||
373 | 376 0436 2090 0000 lds r2,Mess_Integral_Gier |
||
374 | 377 043a 3090 0000 lds r3,(Mess_Integral_Gier)+1 |
||
375 | 378 043e 4090 0000 lds r4,(Mess_Integral_Gier)+2 |
||
376 | 379 0442 5090 0000 lds r5,(Mess_Integral_Gier)+3 |
||
377 | 380 0446 240E add r2,r20 |
||
378 | 381 0448 351E adc r3,r21 |
||
379 | 382 044a 461E adc r4,r22 |
||
380 | 383 044c 571E adc r5,r23 |
||
381 | 384 044e 2092 0000 sts Mess_Integral_Gier,r2 |
||
382 | 385 0452 3092 0000 sts (Mess_Integral_Gier)+1,r3 |
||
383 | 386 0456 4092 0000 sts (Mess_Integral_Gier)+2,r4 |
||
384 | 387 045a 5092 0000 sts (Mess_Integral_Gier)+3,r5 |
||
385 | 388 045e 6090 0000 lds r6,ErsatzKompass |
||
386 | 389 0462 7090 0000 lds r7,(ErsatzKompass)+1 |
||
387 | 390 0466 8090 0000 lds r8,(ErsatzKompass)+2 |
||
388 | 391 046a 9090 0000 lds r9,(ErsatzKompass)+3 |
||
389 | 392 046e 640E add r6,r20 |
||
390 | 393 0470 751E adc r7,r21 |
||
391 | 394 0472 861E adc r8,r22 |
||
392 | 395 0474 971E adc r9,r23 |
||
393 | 396 0476 6092 0000 sts ErsatzKompass,r6 |
||
394 | 397 047a 7092 0000 sts (ErsatzKompass)+1,r7 |
||
395 | 398 047e 8092 0000 sts (ErsatzKompass)+2,r8 |
||
396 | 399 0482 9092 0000 sts (ErsatzKompass)+3,r9 |
||
397 | 400 0486 5091 0000 lds r21,Looping_Nick |
||
398 | 401 048a 5987 std Y+9,r21 |
||
399 | 402 048c 5523 tst r21 |
||
400 | 403 048e 01F0 breq .+2 |
||
401 | 404 0490 00C0 rjmp .L8 |
||
402 | 405 0492 8091 0000 lds r24,Looping_Roll |
||
403 | 406 0496 8823 tst r24 |
||
404 | 407 0498 01F0 breq .+2 |
||
405 | 408 049a 00C0 rjmp .L8 |
||
406 | 409 049c 8091 0000 lds r24,EE_Parameter+13 |
||
407 | 410 04a0 86FF sbrs r24,6 |
||
408 | 411 04a2 00C0 rjmp .L8 |
||
409 | 412 04a4 2A89 ldd r18,Y+18 |
||
410 | 413 04a6 3B89 ldd r19,Y+19 |
||
411 | 414 04a8 4C89 ldd r20,Y+20 |
||
412 | 415 04aa 5D89 ldd r21,Y+21 |
||
413 | 416 04ac 283B cpi r18,lo8(-93000) |
||
414 | 417 04ae 64E9 ldi r22,hi8(-93000) |
||
415 | 418 04b0 3607 cpc r19,r22 |
||
416 | 419 04b2 6EEF ldi r22,hlo8(-93000) |
||
417 | 420 04b4 4607 cpc r20,r22 |
||
418 | 421 04b6 6FEF ldi r22,hhi8(-93000) |
||
419 | 422 04b8 5607 cpc r21,r22 |
||
420 | 423 04ba 04F4 brge .L9 |
||
421 | 424 04bc 28EB ldi r18,lo8(-93000) |
||
422 | 425 04be 34E9 ldi r19,hi8(-93000) |
||
423 | 426 04c0 4EEF ldi r20,hlo8(-93000) |
||
424 | 427 04c2 5FEF ldi r21,hhi8(-93000) |
||
425 | 428 .L9: |
||
426 | 429 04c4 2983 std Y+1,r18 |
||
427 | 430 04c6 3A83 std Y+2,r19 |
||
428 | 431 04c8 4B83 std Y+3,r20 |
||
429 | 432 04ca 5C83 std Y+4,r21 |
||
430 | 433 04cc 2954 subi r18,lo8(93001) |
||
431 | 434 04ce 3B46 sbci r19,hi8(93001) |
||
432 | 435 04d0 4140 sbci r20,hlo8(93001) |
||
433 | 436 04d2 5040 sbci r21,hhi8(93001) |
||
434 | 437 04d4 04F0 brlt .L10 |
||
435 | 438 04d6 88E4 ldi r24,lo8(93000) |
||
436 | 439 04d8 9BE6 ldi r25,hi8(93000) |
||
437 | 440 04da A1E0 ldi r26,hlo8(93000) |
||
438 | 441 04dc B0E0 ldi r27,hhi8(93000) |
||
439 | 442 04de 8983 std Y+1,r24 |
||
440 | 443 04e0 9A83 std Y+2,r25 |
||
441 | 444 04e2 AB83 std Y+3,r26 |
||
442 | 445 04e4 BC83 std Y+4,r27 |
||
443 | 446 .L10: |
||
444 | 447 04e6 2E85 ldd r18,Y+14 |
||
445 | 448 04e8 3F85 ldd r19,Y+15 |
||
446 | 449 04ea 4889 ldd r20,Y+16 |
||
447 | 450 04ec 5989 ldd r21,Y+17 |
||
448 | 451 04ee 283B cpi r18,lo8(-93000) |
||
449 | 452 04f0 94E9 ldi r25,hi8(-93000) |
||
450 | 453 04f2 3907 cpc r19,r25 |
||
451 | 454 04f4 9EEF ldi r25,hlo8(-93000) |
||
452 | 455 04f6 4907 cpc r20,r25 |
||
453 | 456 04f8 9FEF ldi r25,hhi8(-93000) |
||
454 | 457 04fa 5907 cpc r21,r25 |
||
455 | 458 04fc 04F4 brge .L11 |
||
456 | 459 04fe 28EB ldi r18,lo8(-93000) |
||
457 | 460 0500 34E9 ldi r19,hi8(-93000) |
||
458 | 461 0502 4EEF ldi r20,hlo8(-93000) |
||
459 | 462 0504 5FEF ldi r21,hhi8(-93000) |
||
460 | 463 .L11: |
||
461 | 464 0506 2D83 std Y+5,r18 |
||
462 | 465 0508 3E83 std Y+6,r19 |
||
463 | 466 050a 4F83 std Y+7,r20 |
||
464 | 467 050c 5887 std Y+8,r21 |
||
465 | 468 050e 2954 subi r18,lo8(93001) |
||
466 | 469 0510 3B46 sbci r19,hi8(93001) |
||
467 | 470 0512 4140 sbci r20,hlo8(93001) |
||
468 | 471 0514 5040 sbci r21,hhi8(93001) |
||
469 | 472 0516 04F0 brlt .L12 |
||
470 | 473 0518 28E4 ldi r18,lo8(93000) |
||
471 | 474 051a 3BE6 ldi r19,hi8(93000) |
||
472 | 475 051c 41E0 ldi r20,hlo8(93000) |
||
473 | 476 051e 50E0 ldi r21,hhi8(93000) |
||
474 | 477 0520 2D83 std Y+5,r18 |
||
475 | 478 0522 3E83 std Y+6,r19 |
||
476 | 479 0524 4F83 std Y+7,r20 |
||
477 | 480 0526 5887 std Y+8,r21 |
||
478 | 481 .L12: |
||
479 | 482 0528 A090 0000 lds r10,Parameter_AchsKopplung2 |
||
480 | 483 052c BB24 clr r11 |
||
481 | 484 052e CC24 clr r12 |
||
482 | 485 0530 DD24 clr r13 |
||
483 | 486 0532 688D ldd r22,Y+24 |
||
484 | 487 0534 798D ldd r23,Y+25 |
||
485 | 488 0536 9B01 movw r18,r22 |
||
486 | 489 0538 4427 clr r20 |
||
487 | 490 053a 37FD sbrc r19,7 |
||
488 | 491 053c 4095 com r20 |
||
489 | 492 053e 542F mov r21,r20 |
||
490 | 493 0540 6D81 ldd r22,Y+5 |
||
491 | 494 0542 7E81 ldd r23,Y+6 |
||
492 | 495 0544 8F81 ldd r24,Y+7 |
||
493 | 496 0546 9885 ldd r25,Y+8 |
||
494 | 497 0548 0E94 0000 call __mulsi3 |
||
495 | 498 054c 20E0 ldi r18,lo8(2048) |
||
496 | 499 054e 38E0 ldi r19,hi8(2048) |
||
497 | 500 0550 40E0 ldi r20,hlo8(2048) |
||
498 | 501 0552 50E0 ldi r21,hhi8(2048) |
||
499 | 502 0554 0E94 0000 call __divmodsi4 |
||
500 | 503 0558 CA01 movw r24,r20 |
||
501 | 504 055a B901 movw r22,r18 |
||
502 | 505 055c A601 movw r20,r12 |
||
503 | 506 055e 9501 movw r18,r10 |
||
504 | 507 0560 0E94 0000 call __mulsi3 |
||
505 | 508 0564 20E0 ldi r18,lo8(4096) |
||
506 | 509 0566 30E1 ldi r19,hi8(4096) |
||
507 | 510 0568 40E0 ldi r20,hlo8(4096) |
||
508 | 511 056a 50E0 ldi r21,hhi8(4096) |
||
509 | 512 056c 0E94 0000 call __divmodsi4 |
||
510 | 513 0570 7901 movw r14,r18 |
||
511 | 514 0572 8A01 movw r16,r20 |
||
512 | 515 0574 E092 0000 sts tmpl3.2602,r14 |
||
513 | 516 0578 F092 0000 sts (tmpl3.2602)+1,r15 |
||
514 | 517 057c 0093 0000 sts (tmpl3.2602)+2,r16 |
||
515 | 518 0580 1093 0000 sts (tmpl3.2602)+3,r17 |
||
516 | 519 0584 8E89 ldd r24,Y+22 |
||
517 | 520 0586 9F89 ldd r25,Y+23 |
||
518 | 521 0588 9C01 movw r18,r24 |
||
519 | 522 058a 4427 clr r20 |
||
520 | 523 058c 37FD sbrc r19,7 |
||
521 | 524 058e 4095 com r20 |
||
522 | 525 0590 542F mov r21,r20 |
||
523 | 526 0592 6981 ldd r22,Y+1 |
||
524 | 527 0594 7A81 ldd r23,Y+2 |
||
525 | 528 0596 8B81 ldd r24,Y+3 |
||
526 | 529 0598 9C81 ldd r25,Y+4 |
||
527 | 530 059a 0E94 0000 call __mulsi3 |
||
528 | 531 059e 20E0 ldi r18,lo8(2048) |
||
529 | 532 05a0 38E0 ldi r19,hi8(2048) |
||
530 | 533 05a2 40E0 ldi r20,hlo8(2048) |
||
531 | 534 05a4 50E0 ldi r21,hhi8(2048) |
||
532 | 535 05a6 0E94 0000 call __divmodsi4 |
||
533 | 536 05aa CA01 movw r24,r20 |
||
534 | 537 05ac B901 movw r22,r18 |
||
535 | 538 05ae A601 movw r20,r12 |
||
536 | 539 05b0 9501 movw r18,r10 |
||
537 | 540 05b2 0E94 0000 call __mulsi3 |
||
538 | 541 05b6 20E0 ldi r18,lo8(4096) |
||
539 | 542 05b8 30E1 ldi r19,hi8(4096) |
||
540 | 543 05ba 40E0 ldi r20,hlo8(4096) |
||
541 | 544 05bc 50E0 ldi r21,hhi8(4096) |
||
542 | 545 05be 0E94 0000 call __divmodsi4 |
||
543 | 546 05c2 C901 movw r24,r18 |
||
544 | 547 05c4 DA01 movw r26,r20 |
||
545 | 548 05c6 F092 0000 sts (KopplungsteilNickRoll)+1,r15 |
||
546 | 549 05ca E092 0000 sts KopplungsteilNickRoll,r14 |
||
547 | 550 05ce 3093 0000 sts (KopplungsteilRollNick)+1,r19 |
||
548 | 551 05d2 2093 0000 sts KopplungsteilRollNick,r18 |
||
549 | 552 05d6 9C01 movw r18,r24 |
||
550 | 553 05d8 AD01 movw r20,r26 |
||
551 | 554 05da 2E19 sub r18,r14 |
||
552 | 555 05dc 3F09 sbc r19,r15 |
||
553 | 556 05de 400B sbc r20,r16 |
||
554 | 557 05e0 510B sbc r21,r17 |
||
555 | 558 05e2 7901 movw r14,r18 |
||
556 | 559 05e4 8A01 movw r16,r20 |
||
557 | 560 05e6 2093 0000 sts tmpl4.2603,r18 |
||
558 | 561 05ea 3093 0000 sts (tmpl4.2603)+1,r19 |
||
559 | 562 05ee 4093 0000 sts (tmpl4.2603)+2,r20 |
||
560 | 563 05f2 5093 0000 sts (tmpl4.2603)+3,r21 |
||
561 | 564 05f6 620E add r6,r18 |
||
562 | 565 05f8 731E adc r7,r19 |
||
563 | 566 05fa 841E adc r8,r20 |
||
564 | 567 05fc 951E adc r9,r21 |
||
565 | 568 05fe 6092 0000 sts ErsatzKompass,r6 |
||
566 | 569 0602 7092 0000 sts (ErsatzKompass)+1,r7 |
||
567 | 570 0606 8092 0000 sts (ErsatzKompass)+2,r8 |
||
568 | 571 060a 9092 0000 sts (ErsatzKompass)+3,r9 |
||
569 | 572 060e 8091 0000 lds r24,Parameter_CouplingYawCorrection |
||
570 | 573 0612 8823 tst r24 |
||
571 | 574 0614 01F4 brne .L13 |
||
572 | 575 0616 CA01 movw r24,r20 |
||
573 | 576 0618 B901 movw r22,r18 |
||
574 | 577 061a 22E0 ldi r18,lo8(2) |
||
575 | 578 061c 30E0 ldi r19,hi8(2) |
||
576 | 579 061e 40E0 ldi r20,hlo8(2) |
||
577 | 580 0620 50E0 ldi r21,hhi8(2) |
||
578 | 581 0622 0E94 0000 call __divmodsi4 |
||
579 | 582 0626 221A sub r2,r18 |
||
580 | 583 0628 330A sbc r3,r19 |
||
581 | 584 062a 440A sbc r4,r20 |
||
582 | 585 062c 550A sbc r5,r21 |
||
583 | 586 062e 2092 0000 sts Mess_Integral_Gier,r2 |
||
584 | 587 0632 3092 0000 sts (Mess_Integral_Gier)+1,r3 |
||
585 | 588 0636 4092 0000 sts (Mess_Integral_Gier)+2,r4 |
||
586 | 589 063a 5092 0000 sts (Mess_Integral_Gier)+3,r5 |
||
587 | 590 .L13: |
||
588 | 591 063e AA84 ldd r10,Y+10 |
||
589 | 592 0640 BB84 ldd r11,Y+11 |
||
590 | 593 0642 CC84 ldd r12,Y+12 |
||
591 | 594 0644 DD84 ldd r13,Y+13 |
||
592 | 595 0646 AE0C add r10,r14 |
||
593 | 596 0648 BF1C adc r11,r15 |
||
594 | 597 064a C01E adc r12,r16 |
||
595 | 598 064c D11E adc r13,r17 |
||
596 | 599 064e E090 0000 lds r14,Parameter_AchsKopplung1 |
||
597 | 600 0652 FF24 clr r15 |
||
598 | 601 0654 00E0 ldi r16,lo8(0) |
||
599 | 602 0656 10E0 ldi r17,hi8(0) |
||
600 | 603 0658 C601 movw r24,r12 |
||
601 | 604 065a B501 movw r22,r10 |
||
602 | 605 065c 2D81 ldd r18,Y+5 |
||
603 | 606 065e 3E81 ldd r19,Y+6 |
||
604 | 607 0660 4F81 ldd r20,Y+7 |
||
605 | 608 0662 5885 ldd r21,Y+8 |
||
606 | 609 0664 0E94 0000 call __mulsi3 |
||
607 | 610 0668 20E0 ldi r18,lo8(2048) |
||
608 | 611 066a 38E0 ldi r19,hi8(2048) |
||
609 | 612 066c 40E0 ldi r20,hlo8(2048) |
||
610 | 613 066e 50E0 ldi r21,hhi8(2048) |
||
611 | 614 0670 0E94 0000 call __divmodsi4 |
||
612 | 615 0674 CA01 movw r24,r20 |
||
613 | 616 0676 B901 movw r22,r18 |
||
614 | 617 0678 A801 movw r20,r16 |
||
615 | 618 067a 9701 movw r18,r14 |
||
616 | 619 067c 0E94 0000 call __mulsi3 |
||
617 | 620 0680 20E0 ldi r18,lo8(4096) |
||
618 | 621 0682 30E1 ldi r19,hi8(4096) |
||
619 | 622 0684 40E0 ldi r20,hlo8(4096) |
||
620 | 623 0686 50E0 ldi r21,hhi8(4096) |
||
621 | 624 0688 0E94 0000 call __divmodsi4 |
||
622 | 625 068c 922E mov r9,r18 |
||
623 | 626 068e 832E mov r8,r19 |
||
624 | 627 0690 742E mov r7,r20 |
||
625 | 628 0692 652E mov r6,r21 |
||
626 | 629 0694 2093 0000 sts tmpl.2600,r18 |
||
627 | 630 0698 3093 0000 sts tmpl.2600+1,r19 |
||
628 | 631 069c 4093 0000 sts tmpl.2600+2,r20 |
||
629 | 632 06a0 5093 0000 sts tmpl.2600+3,r21 |
||
630 | 633 06a4 C601 movw r24,r12 |
||
631 | 634 06a6 B501 movw r22,r10 |
||
632 | 635 06a8 2981 ldd r18,Y+1 |
||
633 | 636 06aa 3A81 ldd r19,Y+2 |
||
634 | 637 06ac 4B81 ldd r20,Y+3 |
||
635 | 638 06ae 5C81 ldd r21,Y+4 |
||
636 | 639 06b0 0E94 0000 call __mulsi3 |
||
637 | 640 06b4 20E0 ldi r18,lo8(2048) |
||
638 | 641 06b6 38E0 ldi r19,hi8(2048) |
||
639 | 642 06b8 40E0 ldi r20,hlo8(2048) |
||
640 | 643 06ba 50E0 ldi r21,hhi8(2048) |
||
641 | 644 06bc 0E94 0000 call __divmodsi4 |
||
642 | 645 06c0 CA01 movw r24,r20 |
||
643 | 646 06c2 B901 movw r22,r18 |
||
644 | 647 06c4 A801 movw r20,r16 |
||
645 | 648 06c6 9701 movw r18,r14 |
||
646 | 649 06c8 0E94 0000 call __mulsi3 |
||
647 | 650 06cc 20E0 ldi r18,lo8(4096) |
||
648 | 651 06ce 30E1 ldi r19,hi8(4096) |
||
649 | 652 06d0 40E0 ldi r20,hlo8(4096) |
||
650 | 653 06d2 50E0 ldi r21,hhi8(4096) |
||
651 | 654 06d4 0E94 0000 call __divmodsi4 |
||
652 | 655 06d8 B901 movw r22,r18 |
||
653 | 656 06da FA01 movw r30,r20 |
||
654 | 657 06dc 2093 0000 sts tmpl2.2601,r18 |
||
655 | 658 06e0 7093 0000 sts tmpl2.2601+1,r23 |
||
656 | 659 06e4 4093 0000 sts tmpl2.2601+2,r20 |
||
657 | 660 06e8 F093 0000 sts tmpl2.2601+3,r31 |
||
658 | 661 06ec 8A8D ldd r24,Y+26 |
||
659 | 662 06ee 9B8D ldd r25,Y+27 |
||
660 | 663 06f0 97FF sbrs r25,7 |
||
661 | 664 06f2 00C0 rjmp .L15 |
||
662 | 665 06f4 9095 com r25 |
||
663 | 666 06f6 8195 neg r24 |
||
664 | 667 06f8 9F4F sbci r25,lo8(-1) |
||
665 | 668 .L15: |
||
666 | 669 06fa 8134 cpi r24,65 |
||
667 | 670 06fc 9105 cpc r25,__zero_reg__ |
||
668 | 671 06fe 04F4 brge .+2 |
||
669 | 672 0700 00C0 rjmp .L14 |
||
670 | 673 0702 292D mov r18,r9 |
||
671 | 674 0704 382D mov r19,r8 |
||
672 | 675 0706 472D mov r20,r7 |
||
673 | 676 0708 562D mov r21,r6 |
||
674 | 677 070a C901 movw r24,r18 |
||
675 | 678 070c DA01 movw r26,r20 |
||
676 | 679 070e B7FF sbrs r27,7 |
||
677 | 680 0710 00C0 rjmp .L17 |
||
678 | 681 0712 B095 com r27 |
||
679 | 682 0714 A095 com r26 |
||
680 | 683 0716 9095 com r25 |
||
681 | 684 0718 8195 neg r24 |
||
682 | 685 071a 9F4F sbci r25,lo8(-1) |
||
683 | 686 071c AF4F sbci r26,lo8(-1) |
||
684 | 687 071e BF4F sbci r27,lo8(-1) |
||
685 | 688 .L17: |
||
686 | 689 0720 8138 cpi r24,lo8(129) |
||
687 | 690 0722 9105 cpc r25,__zero_reg__ |
||
688 | 691 0724 A105 cpc r26,__zero_reg__ |
||
689 | 692 0726 B105 cpc r27,__zero_reg__ |
||
690 | 693 0728 04F4 brge .L16 |
||
691 | 694 072a CB01 movw r24,r22 |
||
692 | 695 072c DF01 movw r26,r30 |
||
693 | 696 072e B7FF sbrs r27,7 |
||
694 | 697 0730 00C0 rjmp .L18 |
||
695 | 698 0732 B095 com r27 |
||
696 | 699 0734 A095 com r26 |
||
697 | 700 0736 9095 com r25 |
||
698 | 701 0738 8195 neg r24 |
||
699 | 702 073a 9F4F sbci r25,lo8(-1) |
||
700 | 703 073c AF4F sbci r26,lo8(-1) |
||
701 | 704 073e BF4F sbci r27,lo8(-1) |
||
702 | 705 .L18: |
||
703 | 706 0740 8138 cpi r24,lo8(129) |
||
704 | 707 0742 9105 cpc r25,__zero_reg__ |
||
705 | 708 0744 A105 cpc r26,__zero_reg__ |
||
706 | 709 0746 B105 cpc r27,__zero_reg__ |
||
707 | 710 0748 04F0 brlt .L14 |
||
708 | 711 .L16: |
||
709 | 712 074a 81E0 ldi r24,lo8(1) |
||
710 | 713 074c 8093 0000 sts TrichterFlug,r24 |
||
711 | 714 0750 00C0 rjmp .L14 |
||
712 | 715 .L8: |
||
713 | 716 0752 1092 0000 sts (KopplungsteilRollNick)+1,__zero_reg__ |
||
714 | 717 0756 1092 0000 sts KopplungsteilRollNick,__zero_reg__ |
||
715 | 718 075a 1092 0000 sts (KopplungsteilNickRoll)+1,__zero_reg__ |
||
716 | 719 075e 1092 0000 sts KopplungsteilNickRoll,__zero_reg__ |
||
717 | 720 0762 1092 0000 sts tmpl2.2601,__zero_reg__ |
||
718 | 721 0766 1092 0000 sts (tmpl2.2601)+1,__zero_reg__ |
||
719 | 722 076a 1092 0000 sts (tmpl2.2601)+2,__zero_reg__ |
||
720 | 723 076e 1092 0000 sts (tmpl2.2601)+3,__zero_reg__ |
||
721 | 724 0772 1092 0000 sts tmpl.2600,__zero_reg__ |
||
722 | 725 0776 1092 0000 sts (tmpl.2600)+1,__zero_reg__ |
||
723 | 726 077a 1092 0000 sts (tmpl.2600)+2,__zero_reg__ |
||
724 | 727 077e 1092 0000 sts (tmpl.2600)+3,__zero_reg__ |
||
725 | 728 .L14: |
||
726 | 729 0782 E090 0000 lds r14,tmpl.2600 |
||
727 | 730 0786 F090 0000 lds r15,(tmpl.2600)+1 |
||
728 | 731 078a 0091 0000 lds r16,(tmpl.2600)+2 |
||
729 | 732 078e 1091 0000 lds r17,(tmpl.2600)+3 |
||
730 | 733 0792 A090 0000 lds r10,tmpl2.2601 |
||
731 | 734 0796 B090 0000 lds r11,(tmpl2.2601)+1 |
||
732 | 735 079a C090 0000 lds r12,(tmpl2.2601)+2 |
||
733 | 736 079e D090 0000 lds r13,(tmpl2.2601)+3 |
||
734 | 737 07a2 C601 movw r24,r12 |
||
735 | 738 07a4 B501 movw r22,r10 |
||
736 | 739 07a6 2CE9 ldi r18,lo8(-100) |
||
737 | 740 07a8 3FEF ldi r19,hi8(-100) |
||
738 | 741 07aa 4FEF ldi r20,hlo8(-100) |
||
739 | 742 07ac 5FEF ldi r21,hhi8(-100) |
||
740 | 743 07ae 0E94 0000 call __divmodsi4 |
||
741 | 744 07b2 2901 movw r4,r18 |
||
742 | 745 07b4 4E0C add r4,r14 |
||
743 | 746 07b6 5F1C adc r5,r15 |
||
744 | 747 07b8 5092 0000 sts (TrimRoll)+1,r5 |
||
745 | 748 07bc 4092 0000 sts TrimRoll,r4 |
||
746 | 749 07c0 C801 movw r24,r16 |
||
747 | 750 07c2 B701 movw r22,r14 |
||
748 | 751 07c4 24E6 ldi r18,lo8(100) |
||
749 | 752 07c6 30E0 ldi r19,hi8(100) |
||
750 | 753 07c8 40E0 ldi r20,hlo8(100) |
||
751 | 754 07ca 50E0 ldi r21,hhi8(100) |
||
752 | 755 07cc 0E94 0000 call __divmodsi4 |
||
753 | 756 07d0 1901 movw r2,r18 |
||
754 | 757 07d2 2A18 sub r2,r10 |
||
755 | 758 07d4 3B08 sbc r3,r11 |
||
756 | 759 07d6 3092 0000 sts (TrimNick)+1,r3 |
||
757 | 760 07da 2092 0000 sts TrimNick,r2 |
||
758 | 761 07de E090 0000 lds r14,ErsatzKompass |
||
759 | 762 07e2 F090 0000 lds r15,(ErsatzKompass)+1 |
||
760 | 763 07e6 0091 0000 lds r16,(ErsatzKompass)+2 |
||
761 | 764 07ea 1091 0000 lds r17,(ErsatzKompass)+3 |
||
762 | 765 07ee A090 0000 lds r10,GIER_GRAD_FAKTOR |
||
763 | 766 07f2 B090 0000 lds r11,(GIER_GRAD_FAKTOR)+1 |
||
764 | 767 07f6 C090 0000 lds r12,(GIER_GRAD_FAKTOR)+2 |
||
765 | 768 07fa D090 0000 lds r13,(GIER_GRAD_FAKTOR)+3 |
||
766 | 769 07fe C601 movw r24,r12 |
||
767 | 770 0800 B501 movw r22,r10 |
||
768 | 771 0802 28E6 ldi r18,lo8(360) |
||
769 | 772 0804 31E0 ldi r19,hi8(360) |
||
770 | 773 0806 40E0 ldi r20,hlo8(360) |
||
771 | 774 0808 50E0 ldi r21,hhi8(360) |
||
772 | 775 080a 0E94 0000 call __mulsi3 |
||
773 | 776 080e 3B01 movw r6,r22 |
||
774 | 777 0810 4C01 movw r8,r24 |
||
775 | 778 0812 E616 cp r14,r22 |
||
776 | 779 0814 F706 cpc r15,r23 |
||
777 | 780 0816 0807 cpc r16,r24 |
||
778 | 781 0818 1907 cpc r17,r25 |
||
779 | 782 081a 04F0 brlt .L19 |
||
780 | 783 081c C601 movw r24,r12 |
||
781 | 784 081e B501 movw r22,r10 |
||
782 | 785 0820 28E9 ldi r18,lo8(-360) |
||
783 | 786 0822 3EEF ldi r19,hi8(-360) |
||
784 | 787 0824 4FEF ldi r20,hlo8(-360) |
||
785 | 788 0826 5FEF ldi r21,hhi8(-360) |
||
786 | 789 0828 0E94 0000 call __mulsi3 |
||
787 | 790 082c E60E add r14,r22 |
||
788 | 791 082e F71E adc r15,r23 |
||
789 | 792 0830 081F adc r16,r24 |
||
790 | 793 0832 191F adc r17,r25 |
||
791 | 794 0834 E092 0000 sts ErsatzKompass,r14 |
||
792 | 795 0838 F092 0000 sts (ErsatzKompass)+1,r15 |
||
793 | 796 083c 0093 0000 sts (ErsatzKompass)+2,r16 |
||
794 | 797 0840 1093 0000 sts (ErsatzKompass)+3,r17 |
||
795 | 798 .L19: |
||
796 | 799 0844 8091 0000 lds r24,ErsatzKompass |
||
797 | 800 0848 9091 0000 lds r25,(ErsatzKompass)+1 |
||
798 | 801 084c A091 0000 lds r26,(ErsatzKompass)+2 |
||
799 | 802 0850 B091 0000 lds r27,(ErsatzKompass)+3 |
||
800 | 803 0854 B7FF sbrs r27,7 |
||
801 | 804 0856 00C0 rjmp .L20 |
||
802 | 805 0858 860D add r24,r6 |
||
803 | 806 085a 971D adc r25,r7 |
||
804 | 807 085c A81D adc r26,r8 |
||
805 | 808 085e B91D adc r27,r9 |
||
806 | 809 0860 8093 0000 sts ErsatzKompass,r24 |
||
807 | 810 0864 9093 0000 sts (ErsatzKompass)+1,r25 |
||
808 | 811 0868 A093 0000 sts (ErsatzKompass)+2,r26 |
||
809 | 812 086c B093 0000 sts (ErsatzKompass)+3,r27 |
||
810 | 813 .L20: |
||
811 | 814 0870 288D ldd r18,Y+24 |
||
812 | 815 0872 398D ldd r19,Y+25 |
||
813 | 816 0874 240D add r18,r4 |
||
814 | 817 0876 351D adc r19,r5 |
||
815 | 818 0878 7901 movw r14,r18 |
||
816 | 819 087a 0027 clr r16 |
||
817 | 820 087c F7FC sbrc r15,7 |
||
818 | 821 087e 0095 com r16 |
||
819 | 822 0880 102F mov r17,r16 |
||
820 | 823 0882 8091 0000 lds r24,Mess_IntegralRoll2 |
||
821 | 824 0886 9091 0000 lds r25,(Mess_IntegralRoll2)+1 |
||
822 | 825 088a A091 0000 lds r26,(Mess_IntegralRoll2)+2 |
||
823 | 826 088e B091 0000 lds r27,(Mess_IntegralRoll2)+3 |
||
824 | 827 0892 8E0D add r24,r14 |
||
825 | 828 0894 9F1D adc r25,r15 |
||
826 | 829 0896 A01F adc r26,r16 |
||
827 | 830 0898 B11F adc r27,r17 |
||
828 | 831 089a 8093 0000 sts Mess_IntegralRoll2,r24 |
||
829 | 832 089e 9093 0000 sts (Mess_IntegralRoll2)+1,r25 |
||
830 | 833 08a2 A093 0000 sts (Mess_IntegralRoll2)+2,r26 |
||
831 | 834 08a6 B093 0000 sts (Mess_IntegralRoll2)+3,r27 |
||
832 | 835 08aa 8091 0000 lds r24,LageKorrekturRoll |
||
833 | 836 08ae 9091 0000 lds r25,(LageKorrekturRoll)+1 |
||
834 | 837 08b2 281B sub r18,r24 |
||
835 | 838 08b4 390B sbc r19,r25 |
||
836 | 839 08b6 4427 clr r20 |
||
837 | 840 08b8 37FD sbrc r19,7 |
||
838 | 841 08ba 4095 com r20 |
||
839 | 842 08bc 542F mov r21,r20 |
||
840 | 843 08be 6A89 ldd r22,Y+18 |
||
841 | 844 08c0 7B89 ldd r23,Y+19 |
||
842 | 845 08c2 8C89 ldd r24,Y+20 |
||
843 | 846 08c4 9D89 ldd r25,Y+21 |
||
844 | 847 08c6 260F add r18,r22 |
||
845 | 848 08c8 371F adc r19,r23 |
||
846 | 849 08ca 481F adc r20,r24 |
||
847 | 850 08cc 591F adc r21,r25 |
||
848 | 851 08ce 2093 0000 sts Mess_IntegralRoll,r18 |
||
849 | 852 08d2 3093 0000 sts (Mess_IntegralRoll)+1,r19 |
||
850 | 853 08d6 4093 0000 sts (Mess_IntegralRoll)+2,r20 |
||
851 | 854 08da 5093 0000 sts (Mess_IntegralRoll)+3,r21 |
||
852 | 855 08de E090 0000 lds r14,Umschlag180Roll |
||
853 | 856 08e2 F090 0000 lds r15,(Umschlag180Roll)+1 |
||
854 | 857 08e6 0091 0000 lds r16,(Umschlag180Roll)+2 |
||
855 | 858 08ea 1091 0000 lds r17,(Umschlag180Roll)+3 |
||
856 | 859 08ee E216 cp r14,r18 |
||
857 | 860 08f0 F306 cpc r15,r19 |
||
858 | 861 08f2 0407 cpc r16,r20 |
||
859 | 862 08f4 1507 cpc r17,r21 |
||
860 | 863 08f6 04F4 brge .L21 |
||
861 | 864 08f8 88EA ldi r24,lo8(25000) |
||
862 | 865 08fa 91E6 ldi r25,hi8(25000) |
||
863 | 866 08fc A0E0 ldi r26,hlo8(25000) |
||
864 | 867 08fe B0E0 ldi r27,hhi8(25000) |
||
865 | 868 0900 8E19 sub r24,r14 |
||
866 | 869 0902 9F09 sbc r25,r15 |
||
867 | 870 0904 A00B sbc r26,r16 |
||
868 | 871 0906 B10B sbc r27,r17 |
||
869 | 872 0908 8093 0000 sts Mess_IntegralRoll,r24 |
||
870 | 873 090c 9093 0000 sts (Mess_IntegralRoll)+1,r25 |
||
871 | 874 0910 A093 0000 sts (Mess_IntegralRoll)+2,r26 |
||
872 | 875 0914 B093 0000 sts (Mess_IntegralRoll)+3,r27 |
||
873 | 876 0918 8093 0000 sts Mess_IntegralRoll2,r24 |
||
874 | 877 091c 9093 0000 sts (Mess_IntegralRoll2)+1,r25 |
||
875 | 878 0920 A093 0000 sts (Mess_IntegralRoll2)+2,r26 |
||
876 | 879 0924 B093 0000 sts (Mess_IntegralRoll2)+3,r27 |
||
877 | 880 .L21: |
||
878 | 881 0928 2227 clr r18 |
||
879 | 882 092a 3327 clr r19 |
||
880 | 883 092c A901 movw r20,r18 |
||
881 | 884 092e 2E19 sub r18,r14 |
||
882 | 885 0930 3F09 sbc r19,r15 |
||
883 | 886 0932 400B sbc r20,r16 |
||
884 | 887 0934 510B sbc r21,r17 |
||
885 | 888 0936 8091 0000 lds r24,Mess_IntegralRoll |
||
886 | 889 093a 9091 0000 lds r25,(Mess_IntegralRoll)+1 |
||
887 | 890 093e A091 0000 lds r26,(Mess_IntegralRoll)+2 |
||
888 | 891 0942 B091 0000 lds r27,(Mess_IntegralRoll)+3 |
||
889 | 892 0946 8217 cp r24,r18 |
||
890 | 893 0948 9307 cpc r25,r19 |
||
891 | 894 094a A407 cpc r26,r20 |
||
892 | 895 094c B507 cpc r27,r21 |
||
893 | 896 094e 04F4 brge .L22 |
||
894 | 897 0950 D801 movw r26,r16 |
||
895 | 898 0952 C701 movw r24,r14 |
||
896 | 899 0954 885A subi r24,lo8(-(-25000)) |
||
897 | 900 0956 9146 sbci r25,hi8(-(-25000)) |
||
898 | 901 0958 A040 sbci r26,hlo8(-(-25000)) |
||
899 | 902 095a B040 sbci r27,hhi8(-(-25000)) |
||
900 | 903 095c 8093 0000 sts Mess_IntegralRoll,r24 |
||
901 | 904 0960 9093 0000 sts (Mess_IntegralRoll)+1,r25 |
||
902 | 905 0964 A093 0000 sts (Mess_IntegralRoll)+2,r26 |
||
903 | 906 0968 B093 0000 sts (Mess_IntegralRoll)+3,r27 |
||
904 | 907 096c 8093 0000 sts Mess_IntegralRoll2,r24 |
||
905 | 908 0970 9093 0000 sts (Mess_IntegralRoll2)+1,r25 |
||
906 | 909 0974 A093 0000 sts (Mess_IntegralRoll2)+2,r26 |
||
907 | 910 0978 B093 0000 sts (Mess_IntegralRoll2)+3,r27 |
||
908 | 911 .L22: |
||
909 | 912 097c 2E89 ldd r18,Y+22 |
||
910 | 913 097e 3F89 ldd r19,Y+23 |
||
911 | 914 0980 220D add r18,r2 |
||
912 | 915 0982 331D adc r19,r3 |
||
913 | 916 0984 7901 movw r14,r18 |
||
914 | 917 0986 0027 clr r16 |
||
915 | 918 0988 F7FC sbrc r15,7 |
||
916 | 919 098a 0095 com r16 |
||
917 | 920 098c 102F mov r17,r16 |
||
918 | 921 098e 8091 0000 lds r24,Mess_IntegralNick2 |
||
919 | 922 0992 9091 0000 lds r25,(Mess_IntegralNick2)+1 |
||
920 | 923 0996 A091 0000 lds r26,(Mess_IntegralNick2)+2 |
||
921 | 924 099a B091 0000 lds r27,(Mess_IntegralNick2)+3 |
||
922 | 925 099e 8E0D add r24,r14 |
||
923 | 926 09a0 9F1D adc r25,r15 |
||
924 | 927 09a2 A01F adc r26,r16 |
||
925 | 928 09a4 B11F adc r27,r17 |
||
926 | 929 09a6 8093 0000 sts Mess_IntegralNick2,r24 |
||
927 | 930 09aa 9093 0000 sts (Mess_IntegralNick2)+1,r25 |
||
928 | 931 09ae A093 0000 sts (Mess_IntegralNick2)+2,r26 |
||
929 | 932 09b2 B093 0000 sts (Mess_IntegralNick2)+3,r27 |
||
930 | 933 09b6 8091 0000 lds r24,LageKorrekturNick |
||
931 | 934 09ba 9091 0000 lds r25,(LageKorrekturNick)+1 |
||
932 | 935 09be 281B sub r18,r24 |
||
933 | 936 09c0 390B sbc r19,r25 |
||
934 | 937 09c2 4427 clr r20 |
||
935 | 938 09c4 37FD sbrc r19,7 |
||
936 | 939 09c6 4095 com r20 |
||
937 | 940 09c8 542F mov r21,r20 |
||
938 | 941 09ca 8E85 ldd r24,Y+14 |
||
939 | 942 09cc 9F85 ldd r25,Y+15 |
||
940 | 943 09ce A889 ldd r26,Y+16 |
||
941 | 944 09d0 B989 ldd r27,Y+17 |
||
942 | 945 09d2 280F add r18,r24 |
||
943 | 946 09d4 391F adc r19,r25 |
||
944 | 947 09d6 4A1F adc r20,r26 |
||
945 | 948 09d8 5B1F adc r21,r27 |
||
946 | 949 09da 2093 0000 sts Mess_IntegralNick,r18 |
||
947 | 950 09de 3093 0000 sts (Mess_IntegralNick)+1,r19 |
||
948 | 951 09e2 4093 0000 sts (Mess_IntegralNick)+2,r20 |
||
949 | 952 09e6 5093 0000 sts (Mess_IntegralNick)+3,r21 |
||
950 | 953 09ea E090 0000 lds r14,Umschlag180Nick |
||
951 | 954 09ee F090 0000 lds r15,(Umschlag180Nick)+1 |
||
952 | 955 09f2 0091 0000 lds r16,(Umschlag180Nick)+2 |
||
953 | 956 09f6 1091 0000 lds r17,(Umschlag180Nick)+3 |
||
954 | 957 09fa E216 cp r14,r18 |
||
955 | 958 09fc F306 cpc r15,r19 |
||
956 | 959 09fe 0407 cpc r16,r20 |
||
957 | 960 0a00 1507 cpc r17,r21 |
||
958 | 961 0a02 04F4 brge .L23 |
||
959 | 962 0a04 88EA ldi r24,lo8(25000) |
||
960 | 963 0a06 91E6 ldi r25,hi8(25000) |
||
961 | 964 0a08 A0E0 ldi r26,hlo8(25000) |
||
962 | 965 0a0a B0E0 ldi r27,hhi8(25000) |
||
963 | 966 0a0c 8E19 sub r24,r14 |
||
964 | 967 0a0e 9F09 sbc r25,r15 |
||
965 | 968 0a10 A00B sbc r26,r16 |
||
966 | 969 0a12 B10B sbc r27,r17 |
||
967 | 970 0a14 8093 0000 sts Mess_IntegralNick,r24 |
||
968 | 971 0a18 9093 0000 sts (Mess_IntegralNick)+1,r25 |
||
969 | 972 0a1c A093 0000 sts (Mess_IntegralNick)+2,r26 |
||
970 | 973 0a20 B093 0000 sts (Mess_IntegralNick)+3,r27 |
||
971 | 974 0a24 8093 0000 sts Mess_IntegralNick2,r24 |
||
972 | 975 0a28 9093 0000 sts (Mess_IntegralNick2)+1,r25 |
||
973 | 976 0a2c A093 0000 sts (Mess_IntegralNick2)+2,r26 |
||
974 | 977 0a30 B093 0000 sts (Mess_IntegralNick2)+3,r27 |
||
975 | 978 .L23: |
||
976 | 979 0a34 2227 clr r18 |
||
977 | 980 0a36 3327 clr r19 |
||
978 | 981 0a38 A901 movw r20,r18 |
||
979 | 982 0a3a 2E19 sub r18,r14 |
||
980 | 983 0a3c 3F09 sbc r19,r15 |
||
981 | 984 0a3e 400B sbc r20,r16 |
||
982 | 985 0a40 510B sbc r21,r17 |
||
983 | 986 0a42 8091 0000 lds r24,Mess_IntegralNick |
||
984 | 987 0a46 9091 0000 lds r25,(Mess_IntegralNick)+1 |
||
985 | 988 0a4a A091 0000 lds r26,(Mess_IntegralNick)+2 |
||
986 | 989 0a4e B091 0000 lds r27,(Mess_IntegralNick)+3 |
||
987 | 990 0a52 8217 cp r24,r18 |
||
988 | 991 0a54 9307 cpc r25,r19 |
||
989 | 992 0a56 A407 cpc r26,r20 |
||
990 | 993 0a58 B507 cpc r27,r21 |
||
991 | 994 0a5a 04F4 brge .L24 |
||
992 | 995 0a5c D801 movw r26,r16 |
||
993 | 996 0a5e C701 movw r24,r14 |
||
994 | 997 0a60 885A subi r24,lo8(-(-25000)) |
||
995 | 998 0a62 9146 sbci r25,hi8(-(-25000)) |
||
996 | 999 0a64 A040 sbci r26,hlo8(-(-25000)) |
||
997 | 1000 0a66 B040 sbci r27,hhi8(-(-25000)) |
||
998 | 1001 0a68 8093 0000 sts Mess_IntegralNick,r24 |
||
999 | 1002 0a6c 9093 0000 sts (Mess_IntegralNick)+1,r25 |
||
1000 | 1003 0a70 A093 0000 sts (Mess_IntegralNick)+2,r26 |
||
1001 | 1004 0a74 B093 0000 sts (Mess_IntegralNick)+3,r27 |
||
1002 | 1005 0a78 8093 0000 sts Mess_IntegralNick2,r24 |
||
1003 | 1006 0a7c 9093 0000 sts (Mess_IntegralNick2)+1,r25 |
||
1004 | 1007 0a80 A093 0000 sts (Mess_IntegralNick2)+2,r26 |
||
1005 | 1008 0a84 B093 0000 sts (Mess_IntegralNick2)+3,r27 |
||
1006 | 1009 .L24: |
||
1007 | 1010 0a88 8091 0000 lds r24,Mess_Integral_Gier |
||
1008 | 1011 0a8c 9091 0000 lds r25,(Mess_Integral_Gier)+1 |
||
1009 | 1012 0a90 A091 0000 lds r26,(Mess_Integral_Gier)+2 |
||
1010 | 1013 0a94 B091 0000 lds r27,(Mess_Integral_Gier)+3 |
||
1011 | 1014 0a98 8093 0000 sts Integral_Gier,r24 |
||
1012 | 1015 0a9c 9093 0000 sts (Integral_Gier)+1,r25 |
||
1013 | 1016 0aa0 A093 0000 sts (Integral_Gier)+2,r26 |
||
1014 | 1017 0aa4 B093 0000 sts (Integral_Gier)+3,r27 |
||
1015 | 1018 0aa8 8091 0000 lds r24,Mess_IntegralNick |
||
1016 | 1019 0aac 9091 0000 lds r25,(Mess_IntegralNick)+1 |
||
1017 | 1020 0ab0 A091 0000 lds r26,(Mess_IntegralNick)+2 |
||
1018 | 1021 0ab4 B091 0000 lds r27,(Mess_IntegralNick)+3 |
||
1019 | 1022 0ab8 8093 0000 sts IntegralNick,r24 |
||
1020 | 1023 0abc 9093 0000 sts (IntegralNick)+1,r25 |
||
1021 | 1024 0ac0 A093 0000 sts (IntegralNick)+2,r26 |
||
1022 | 1025 0ac4 B093 0000 sts (IntegralNick)+3,r27 |
||
1023 | 1026 0ac8 8091 0000 lds r24,Mess_IntegralRoll |
||
1024 | 1027 0acc 9091 0000 lds r25,(Mess_IntegralRoll)+1 |
||
1025 | 1028 0ad0 A091 0000 lds r26,(Mess_IntegralRoll)+2 |
||
1026 | 1029 0ad4 B091 0000 lds r27,(Mess_IntegralRoll)+3 |
||
1027 | 1030 0ad8 8093 0000 sts IntegralRoll,r24 |
||
1028 | 1031 0adc 9093 0000 sts (IntegralRoll)+1,r25 |
||
1029 | 1032 0ae0 A093 0000 sts (IntegralRoll)+2,r26 |
||
1030 | 1033 0ae4 B093 0000 sts (IntegralRoll)+3,r27 |
||
1031 | 1034 0ae8 8091 0000 lds r24,Mess_IntegralNick2 |
||
1032 | 1035 0aec 9091 0000 lds r25,(Mess_IntegralNick2)+1 |
||
1033 | 1036 0af0 A091 0000 lds r26,(Mess_IntegralNick2)+2 |
||
1034 | 1037 0af4 B091 0000 lds r27,(Mess_IntegralNick2)+3 |
||
1035 | 1038 0af8 8093 0000 sts IntegralNick2,r24 |
||
1036 | 1039 0afc 9093 0000 sts (IntegralNick2)+1,r25 |
||
1037 | 1040 0b00 A093 0000 sts (IntegralNick2)+2,r26 |
||
1038 | 1041 0b04 B093 0000 sts (IntegralNick2)+3,r27 |
||
1039 | 1042 0b08 8091 0000 lds r24,Mess_IntegralRoll2 |
||
1040 | 1043 0b0c 9091 0000 lds r25,(Mess_IntegralRoll2)+1 |
||
1041 | 1044 0b10 A091 0000 lds r26,(Mess_IntegralRoll2)+2 |
||
1042 | 1045 0b14 B091 0000 lds r27,(Mess_IntegralRoll2)+3 |
||
1043 | 1046 0b18 8093 0000 sts IntegralRoll2,r24 |
||
1044 | 1047 0b1c 9093 0000 sts (IntegralRoll2)+1,r25 |
||
1045 | 1048 0b20 A093 0000 sts (IntegralRoll2)+2,r26 |
||
1046 | 1049 0b24 B093 0000 sts (IntegralRoll2)+3,r27 |
||
1047 | 1050 0b28 8091 0000 lds r24,HiResNick |
||
1048 | 1051 0b2c 9091 0000 lds r25,(HiResNick)+1 |
||
1049 | 1052 0b30 68E0 ldi r22,lo8(8) |
||
1050 | 1053 0b32 70E0 ldi r23,hi8(8) |
||
1051 | 1054 0b34 0E94 0000 call __divmodhi4 |
||
1052 | 1055 0b38 7093 0000 sts (MesswertNick)+1,r23 |
||
1053 | 1056 0b3c 6093 0000 sts MesswertNick,r22 |
||
1054 | 1057 0b40 8091 0000 lds r24,HiResRoll |
||
1055 | 1058 0b44 9091 0000 lds r25,(HiResRoll)+1 |
||
1056 | 1059 0b48 68E0 ldi r22,lo8(8) |
||
1057 | 1060 0b4a 70E0 ldi r23,hi8(8) |
||
1058 | 1061 0b4c 0E94 0000 call __divmodhi4 |
||
1059 | 1062 0b50 7093 0000 sts (MesswertRoll)+1,r23 |
||
1060 | 1063 0b54 6093 0000 sts MesswertRoll,r22 |
||
1061 | 1064 0b58 8091 0000 lds r24,AdWertNick |
||
1062 | 1065 0b5c 9091 0000 lds r25,(AdWertNick)+1 |
||
1063 | 1066 0b60 0F97 sbiw r24,15 |
||
1064 | 1067 0b62 04F4 brge .L25 |
||
1065 | 1068 0b64 88E1 ldi r24,lo8(-1000) |
||
1066 | 1069 0b66 9CEF ldi r25,hi8(-1000) |
||
1067 | 1070 0b68 9093 0000 sts (MesswertNick)+1,r25 |
||
1068 | 1071 0b6c 8093 0000 sts MesswertNick,r24 |
||
1069 | 1072 .L25: |
||
1070 | 1073 0b70 8091 0000 lds r24,AdWertNick |
||
1071 | 1074 0b74 9091 0000 lds r25,(AdWertNick)+1 |
||
1072 | 1075 0b78 0797 sbiw r24,7 |
||
1073 | 1076 0b7a 04F4 brge .L26 |
||
1074 | 1077 0b7c 80E3 ldi r24,lo8(-2000) |
||
1075 | 1078 0b7e 98EF ldi r25,hi8(-2000) |
||
1076 | 1079 0b80 9093 0000 sts (MesswertNick)+1,r25 |
||
1077 | 1080 0b84 8093 0000 sts MesswertNick,r24 |
||
1078 | 1081 .L26: |
||
1079 | 1082 0b88 2091 0000 lds r18,PlatinenVersion |
||
1080 | 1083 0b8c 2A30 cpi r18,lo8(10) |
||
1081 | 1084 0b8e 01F4 brne .L27 |
||
1082 | 1085 0b90 8091 0000 lds r24,AdWertNick |
||
1083 | 1086 0b94 9091 0000 lds r25,(AdWertNick)+1 |
||
1084 | 1087 0b98 835F subi r24,lo8(1011) |
||
1085 | 1088 0b9a 9340 sbci r25,hi8(1011) |
||
1086 | 1089 0b9c 04F0 brlt .L28 |
||
1087 | 1090 0b9e 88EE ldi r24,lo8(1000) |
||
1088 | 1091 0ba0 93E0 ldi r25,hi8(1000) |
||
1089 | 1092 0ba2 9093 0000 sts (MesswertNick)+1,r25 |
||
1090 | 1093 0ba6 8093 0000 sts MesswertNick,r24 |
||
1091 | 1094 .L28: |
||
1092 | 1095 0baa 8091 0000 lds r24,AdWertNick |
||
1093 | 1096 0bae 9091 0000 lds r25,(AdWertNick)+1 |
||
1094 | 1097 0bb2 8A5F subi r24,lo8(1018) |
||
1095 | 1098 0bb4 9340 sbci r25,hi8(1018) |
||
1096 | 1099 0bb6 04F0 brlt .L29 |
||
1097 | 1100 0bb8 00C0 rjmp .L62 |
||
1098 | 1101 .L27: |
||
1099 | 1102 0bba 8091 0000 lds r24,AdWertNick |
||
1100 | 1103 0bbe 9091 0000 lds r25,(AdWertNick)+1 |
||
1101 | 1104 0bc2 815D subi r24,lo8(2001) |
||
1102 | 1105 0bc4 9740 sbci r25,hi8(2001) |
||
1103 | 1106 0bc6 04F0 brlt .L30 |
||
1104 | 1107 0bc8 88EE ldi r24,lo8(1000) |
||
1105 | 1108 0bca 93E0 ldi r25,hi8(1000) |
||
1106 | 1109 0bcc 9093 0000 sts (MesswertNick)+1,r25 |
||
1107 | 1110 0bd0 8093 0000 sts MesswertNick,r24 |
||
1108 | 1111 .L30: |
||
1109 | 1112 0bd4 8091 0000 lds r24,AdWertNick |
||
1110 | 1113 0bd8 9091 0000 lds r25,(AdWertNick)+1 |
||
1111 | 1114 0bdc 805E subi r24,lo8(2016) |
||
1112 | 1115 0bde 9740 sbci r25,hi8(2016) |
||
1113 | 1116 0be0 04F0 brlt .L29 |
||
1114 | 1117 .L62: |
||
1115 | 1118 0be2 80ED ldi r24,lo8(2000) |
||
1116 | 1119 0be4 97E0 ldi r25,hi8(2000) |
||
1117 | 1120 0be6 9093 0000 sts (MesswertNick)+1,r25 |
||
1118 | 1121 0bea 8093 0000 sts MesswertNick,r24 |
||
1119 | 1122 .L29: |
||
1120 | 1123 0bee 8091 0000 lds r24,AdWertRoll |
||
1121 | 1124 0bf2 9091 0000 lds r25,(AdWertRoll)+1 |
||
1122 | 1125 0bf6 0F97 sbiw r24,15 |
||
1123 | 1126 0bf8 04F4 brge .L31 |
||
1124 | 1127 0bfa 88E1 ldi r24,lo8(-1000) |
||
1125 | 1128 0bfc 9CEF ldi r25,hi8(-1000) |
||
1126 | 1129 0bfe 9093 0000 sts (MesswertRoll)+1,r25 |
||
1127 | 1130 0c02 8093 0000 sts MesswertRoll,r24 |
||
1128 | 1131 .L31: |
||
1129 | 1132 0c06 8091 0000 lds r24,AdWertRoll |
||
1130 | 1133 0c0a 9091 0000 lds r25,(AdWertRoll)+1 |
||
1131 | 1134 0c0e 0797 sbiw r24,7 |
||
1132 | 1135 0c10 04F4 brge .L32 |
||
1133 | 1136 0c12 80E3 ldi r24,lo8(-2000) |
||
1134 | 1137 0c14 98EF ldi r25,hi8(-2000) |
||
1135 | 1138 0c16 9093 0000 sts (MesswertRoll)+1,r25 |
||
1136 | 1139 0c1a 8093 0000 sts MesswertRoll,r24 |
||
1137 | 1140 .L32: |
||
1138 | 1141 0c1e 2A30 cpi r18,lo8(10) |
||
1139 | 1142 0c20 01F4 brne .L33 |
||
1140 | 1143 0c22 8091 0000 lds r24,AdWertRoll |
||
1141 | 1144 0c26 9091 0000 lds r25,(AdWertRoll)+1 |
||
1142 | 1145 0c2a 835F subi r24,lo8(1011) |
||
1143 | 1146 0c2c 9340 sbci r25,hi8(1011) |
||
1144 | 1147 0c2e 04F0 brlt .L34 |
||
1145 | 1148 0c30 88EE ldi r24,lo8(1000) |
||
1146 | 1149 0c32 93E0 ldi r25,hi8(1000) |
||
1147 | 1150 0c34 9093 0000 sts (MesswertRoll)+1,r25 |
||
1148 | 1151 0c38 8093 0000 sts MesswertRoll,r24 |
||
1149 | 1152 .L34: |
||
1150 | 1153 0c3c 8091 0000 lds r24,AdWertRoll |
||
1151 | 1154 0c40 9091 0000 lds r25,(AdWertRoll)+1 |
||
1152 | 1155 0c44 8A5F subi r24,lo8(1018) |
||
1153 | 1156 0c46 9340 sbci r25,hi8(1018) |
||
1154 | 1157 0c48 04F0 brlt .L35 |
||
1155 | 1158 0c4a 00C0 rjmp .L63 |
||
1156 | 1159 .L33: |
||
1157 | 1160 0c4c 8091 0000 lds r24,AdWertRoll |
||
1158 | 1161 0c50 9091 0000 lds r25,(AdWertRoll)+1 |
||
1159 | 1162 0c54 815D subi r24,lo8(2001) |
||
1160 | 1163 0c56 9740 sbci r25,hi8(2001) |
||
1161 | 1164 0c58 04F0 brlt .L36 |
||
1162 | 1165 0c5a 88EE ldi r24,lo8(1000) |
||
1163 | 1166 0c5c 93E0 ldi r25,hi8(1000) |
||
1164 | 1167 0c5e 9093 0000 sts (MesswertRoll)+1,r25 |
||
1165 | 1168 0c62 8093 0000 sts MesswertRoll,r24 |
||
1166 | 1169 .L36: |
||
1167 | 1170 0c66 8091 0000 lds r24,AdWertRoll |
||
1168 | 1171 0c6a 9091 0000 lds r25,(AdWertRoll)+1 |
||
1169 | 1172 0c6e 805E subi r24,lo8(2016) |
||
1170 | 1173 0c70 9740 sbci r25,hi8(2016) |
||
1171 | 1174 0c72 04F0 brlt .L35 |
||
1172 | 1175 .L63: |
||
1173 | 1176 0c74 80ED ldi r24,lo8(2000) |
||
1174 | 1177 0c76 97E0 ldi r25,hi8(2000) |
||
1175 | 1178 0c78 9093 0000 sts (MesswertRoll)+1,r25 |
||
1176 | 1179 0c7c 8093 0000 sts MesswertRoll,r24 |
||
1177 | 1180 .L35: |
||
1178 | 1181 0c80 4091 0000 lds r20,Parameter_Gyro_D |
||
1179 | 1182 0c84 4423 tst r20 |
||
1180 | 1183 0c86 01F4 brne .+2 |
||
1181 | 1184 0c88 00C0 rjmp .L37 |
||
1182 | 1185 0c8a E091 0000 lds r30,HiResNick |
||
1183 | 1186 0c8e F091 0000 lds r31,(HiResNick)+1 |
||
1184 | 1187 0c92 2091 0000 lds r18,oldNick.2604 |
||
1185 | 1188 0c96 3091 0000 lds r19,(oldNick.2604)+1 |
||
1186 | 1189 0c9a E21B sub r30,r18 |
||
1187 | 1190 0c9c F30B sbc r31,r19 |
||
1188 | 1191 0c9e F093 0000 sts (d2Nick.2607)+1,r31 |
||
1189 | 1192 0ca2 E093 0000 sts d2Nick.2607,r30 |
||
1190 | 1193 0ca6 8091 0000 lds r24,HiResNick |
||
1191 | 1194 0caa 9091 0000 lds r25,(HiResNick)+1 |
||
1192 | 1195 0cae 820F add r24,r18 |
||
1193 | 1196 0cb0 931F adc r25,r19 |
||
1194 | 1197 0cb2 62E0 ldi r22,lo8(2) |
||
1195 | 1198 0cb4 70E0 ldi r23,hi8(2) |
||
1196 | 1199 0cb6 0E94 0000 call __divmodhi4 |
||
1197 | 1200 0cba 7093 0000 sts (oldNick.2604)+1,r23 |
||
1198 | 1201 0cbe 6093 0000 sts oldNick.2604,r22 |
||
1199 | 1202 0cc2 E138 cpi r30,129 |
||
1200 | 1203 0cc4 F105 cpc r31,__zero_reg__ |
||
1201 | 1204 0cc6 04F0 brlt .L38 |
||
1202 | 1205 0cc8 80E8 ldi r24,lo8(128) |
||
1203 | 1206 0cca 90E0 ldi r25,hi8(128) |
||
1204 | 1207 0ccc 00C0 rjmp .L64 |
||
1205 | 1208 .L38: |
||
1206 | 1209 0cce E058 subi r30,lo8(-128) |
||
1207 | 1210 0cd0 FF4F sbci r31,hi8(-128) |
||
1208 | 1211 0cd2 04F4 brge .L39 |
||
1209 | 1212 0cd4 80E8 ldi r24,lo8(-128) |
||
1210 | 1213 0cd6 9FEF ldi r25,hi8(-128) |
||
1211 | 1214 .L64: |
||
1212 | 1215 0cd8 9093 0000 sts (d2Nick.2607)+1,r25 |
||
1213 | 1216 0cdc 8093 0000 sts d2Nick.2607,r24 |
||
1214 | 1217 .L39: |
||
1215 | 1218 0ce0 042F mov r16,r20 |
||
1216 | 1219 0ce2 10E0 ldi r17,lo8(0) |
||
1217 | 1220 0ce4 8091 0000 lds r24,d2Nick.2607 |
||
1218 | 1221 0ce8 9091 0000 lds r25,(d2Nick.2607)+1 |
||
1219 | 1222 0cec 089F mul r16,r24 |
||
1220 | 1223 0cee 7001 movw r14,r0 |
||
1221 | 1224 0cf0 099F mul r16,r25 |
||
1222 | 1225 0cf2 F00C add r15,r0 |
||
1223 | 1226 0cf4 189F mul r17,r24 |
||
1224 | 1227 0cf6 F00C add r15,r0 |
||
1225 | 1228 0cf8 1124 clr r1 |
||
1226 | 1229 0cfa C701 movw r24,r14 |
||
1227 | 1230 0cfc 60E1 ldi r22,lo8(16) |
||
1228 | 1231 0cfe 70E0 ldi r23,hi8(16) |
||
1229 | 1232 0d00 0E94 0000 call __divmodhi4 |
||
1230 | 1233 0d04 8091 0000 lds r24,MesswertNick |
||
1231 | 1234 0d08 9091 0000 lds r25,(MesswertNick)+1 |
||
1232 | 1235 0d0c 860F add r24,r22 |
||
1233 | 1236 0d0e 971F adc r25,r23 |
||
1234 | 1237 0d10 9093 0000 sts (MesswertNick)+1,r25 |
||
1235 | 1238 0d14 8093 0000 sts MesswertNick,r24 |
||
1236 | 1239 0d18 E091 0000 lds r30,HiResRoll |
||
1237 | 1240 0d1c F091 0000 lds r31,(HiResRoll)+1 |
||
1238 | 1241 0d20 2091 0000 lds r18,oldRoll.2605 |
||
1239 | 1242 0d24 3091 0000 lds r19,(oldRoll.2605)+1 |
||
1240 | 1243 0d28 E21B sub r30,r18 |
||
1241 | 1244 0d2a F30B sbc r31,r19 |
||
1242 | 1245 0d2c F093 0000 sts (d2Roll.2606)+1,r31 |
||
1243 | 1246 0d30 E093 0000 sts d2Roll.2606,r30 |
||
1244 | 1247 0d34 8091 0000 lds r24,HiResRoll |
||
1245 | 1248 0d38 9091 0000 lds r25,(HiResRoll)+1 |
||
1246 | 1249 0d3c 820F add r24,r18 |
||
1247 | 1250 0d3e 931F adc r25,r19 |
||
1248 | 1251 0d40 62E0 ldi r22,lo8(2) |
||
1249 | 1252 0d42 70E0 ldi r23,hi8(2) |
||
1250 | 1253 0d44 0E94 0000 call __divmodhi4 |
||
1251 | 1254 0d48 7093 0000 sts (oldRoll.2605)+1,r23 |
||
1252 | 1255 0d4c 6093 0000 sts oldRoll.2605,r22 |
||
1253 | 1256 0d50 E138 cpi r30,129 |
||
1254 | 1257 0d52 F105 cpc r31,__zero_reg__ |
||
1255 | 1258 0d54 04F0 brlt .L40 |
||
1256 | 1259 0d56 80E8 ldi r24,lo8(128) |
||
1257 | 1260 0d58 90E0 ldi r25,hi8(128) |
||
1258 | 1261 0d5a 00C0 rjmp .L65 |
||
1259 | 1262 .L40: |
||
1260 | 1263 0d5c E058 subi r30,lo8(-128) |
||
1261 | 1264 0d5e FF4F sbci r31,hi8(-128) |
||
1262 | 1265 0d60 04F4 brge .L41 |
||
1263 | 1266 0d62 80E8 ldi r24,lo8(-128) |
||
1264 | 1267 0d64 9FEF ldi r25,hi8(-128) |
||
1265 | 1268 .L65: |
||
1266 | 1269 0d66 9093 0000 sts (d2Roll.2606)+1,r25 |
||
1267 | 1270 0d6a 8093 0000 sts d2Roll.2606,r24 |
||
1268 | 1271 .L41: |
||
1269 | 1272 0d6e 8091 0000 lds r24,d2Roll.2606 |
||
1270 | 1273 0d72 9091 0000 lds r25,(d2Roll.2606)+1 |
||
1271 | 1274 0d76 089F mul r16,r24 |
||
1272 | 1275 0d78 9001 movw r18,r0 |
||
1273 | 1276 0d7a 099F mul r16,r25 |
||
1274 | 1277 0d7c 300D add r19,r0 |
||
1275 | 1278 0d7e 189F mul r17,r24 |
||
1276 | 1279 0d80 300D add r19,r0 |
||
1277 | 1280 0d82 1124 clr r1 |
||
1278 | 1281 0d84 C901 movw r24,r18 |
||
1279 | 1282 0d86 60E1 ldi r22,lo8(16) |
||
1280 | 1283 0d88 70E0 ldi r23,hi8(16) |
||
1281 | 1284 0d8a 0E94 0000 call __divmodhi4 |
||
1282 | 1285 0d8e 8091 0000 lds r24,MesswertRoll |
||
1283 | 1286 0d92 9091 0000 lds r25,(MesswertRoll)+1 |
||
1284 | 1287 0d96 860F add r24,r22 |
||
1285 | 1288 0d98 971F adc r25,r23 |
||
1286 | 1289 0d9a 9093 0000 sts (MesswertRoll)+1,r25 |
||
1287 | 1290 0d9e 8093 0000 sts MesswertRoll,r24 |
||
1288 | 1291 0da2 8091 0000 lds r24,HiResNick |
||
1289 | 1292 0da6 9091 0000 lds r25,(HiResNick)+1 |
||
1290 | 1293 0daa E80E add r14,r24 |
||
1291 | 1294 0dac F91E adc r15,r25 |
||
1292 | 1295 0dae F092 0000 sts (HiResNick)+1,r15 |
||
1293 | 1296 0db2 E092 0000 sts HiResNick,r14 |
||
1294 | 1297 0db6 8091 0000 lds r24,HiResRoll |
||
1295 | 1298 0dba 9091 0000 lds r25,(HiResRoll)+1 |
||
1296 | 1299 0dbe 280F add r18,r24 |
||
1297 | 1300 0dc0 391F adc r19,r25 |
||
1298 | 1301 0dc2 3093 0000 sts (HiResRoll)+1,r19 |
||
1299 | 1302 0dc6 2093 0000 sts HiResRoll,r18 |
||
1300 | 1303 .L37: |
||
1301 | 1304 0dca 2091 0000 lds r18,KopplungsteilNickRoll |
||
1302 | 1305 0dce 3091 0000 lds r19,KopplungsteilNickRoll+1 |
||
1303 | 1306 0dd2 888D ldd r24,Y+24 |
||
1304 | 1307 0dd4 998D ldd r25,Y+25 |
||
1305 | 1308 0dd6 1816 cp __zero_reg__,r24 |
||
1306 | 1309 0dd8 1906 cpc __zero_reg__,r25 |
||
1307 | 1310 0dda 04F4 brge .L42 |
||
1308 | 1311 0ddc C901 movw r24,r18 |
||
1309 | 1312 0dde 9C01 movw r18,r24 |
||
1310 | 1313 0de0 97FF sbrs r25,7 |
||
1311 | 1314 0de2 00C0 rjmp .L43 |
||
1312 | 1315 0de4 3095 com r19 |
||
1313 | 1316 0de6 2195 neg r18 |
||
1314 | 1317 0de8 3F4F sbci r19,lo8(-1) |
||
1315 | 1318 .L43: |
||
1316 | 1319 0dea B901 movw r22,r18 |
||
1317 | 1320 0dec 8827 clr r24 |
||
1318 | 1321 0dee 77FD sbrc r23,7 |
||
1319 | 1322 0df0 8095 com r24 |
||
1320 | 1323 0df2 982F mov r25,r24 |
||
1321 | 1324 0df4 2091 0000 lds r18,Parameter_CouplingYawCorrection |
||
1322 | 1325 0df8 30E0 ldi r19,lo8(0) |
||
1323 | 1326 0dfa 40E0 ldi r20,lo8(0) |
||
1324 | 1327 0dfc 50E0 ldi r21,hi8(0) |
||
1325 | 1328 0dfe 0E94 0000 call __mulsi3 |
||
1326 | 1329 0e02 20E4 ldi r18,lo8(64) |
||
1327 | 1330 0e04 30E0 ldi r19,hi8(64) |
||
1328 | 1331 0e06 40E0 ldi r20,hlo8(64) |
||
1329 | 1332 0e08 50E0 ldi r21,hhi8(64) |
||
1330 | 1333 0e0a 0E94 0000 call __divmodsi4 |
||
1331 | 1334 0e0e 00C0 rjmp .L66 |
||
1332 | 1335 .L42: |
||
1333 | 1336 0e10 C901 movw r24,r18 |
||
1334 | 1337 0e12 9C01 movw r18,r24 |
||
1335 | 1338 0e14 97FF sbrs r25,7 |
||
1336 | 1339 0e16 00C0 rjmp .L45 |
||
1337 | 1340 0e18 3095 com r19 |
||
1338 | 1341 0e1a 2195 neg r18 |
||
1339 | 1342 0e1c 3F4F sbci r19,lo8(-1) |
||
1340 | 1343 .L45: |
||
1341 | 1344 0e1e B901 movw r22,r18 |
||
1342 | 1345 0e20 8827 clr r24 |
||
1343 | 1346 0e22 77FD sbrc r23,7 |
||
1344 | 1347 0e24 8095 com r24 |
||
1345 | 1348 0e26 982F mov r25,r24 |
||
1346 | 1349 0e28 2091 0000 lds r18,Parameter_CouplingYawCorrection |
||
1347 | 1350 0e2c 30E0 ldi r19,lo8(0) |
||
1348 | 1351 0e2e 40E0 ldi r20,lo8(0) |
||
1349 | 1352 0e30 50E0 ldi r21,hi8(0) |
||
1350 | 1353 0e32 0E94 0000 call __mulsi3 |
||
1351 | 1354 0e36 20E4 ldi r18,lo8(64) |
||
1352 | 1355 0e38 30E0 ldi r19,hi8(64) |
||
1353 | 1356 0e3a 40E0 ldi r20,hlo8(64) |
||
1354 | 1357 0e3c 50E0 ldi r21,hhi8(64) |
||
1355 | 1358 0e3e 0E94 0000 call __divmodsi4 |
||
1356 | 1359 0e42 5095 com r21 |
||
1357 | 1360 0e44 4095 com r20 |
||
1358 | 1361 0e46 3095 com r19 |
||
1359 | 1362 0e48 2195 neg r18 |
||
1360 | 1363 0e4a 3F4F sbci r19,lo8(-1) |
||
1361 | 1364 0e4c 4F4F sbci r20,lo8(-1) |
||
1362 | 1365 0e4e 5F4F sbci r21,lo8(-1) |
||
1363 | 1366 .L66: |
||
1364 | 1367 0e50 420E add r4,r18 |
||
1365 | 1368 0e52 531E adc r5,r19 |
||
1366 | 1369 0e54 5092 0000 sts (TrimRoll)+1,r5 |
||
1367 | 1370 0e58 4092 0000 sts TrimRoll,r4 |
||
1368 | 1371 0e5c 2091 0000 lds r18,KopplungsteilRollNick |
||
1369 | 1372 0e60 3091 0000 lds r19,KopplungsteilRollNick+1 |
||
1370 | 1373 0e64 AE89 ldd r26,Y+22 |
||
1371 | 1374 0e66 BF89 ldd r27,Y+23 |
||
1372 | 1375 0e68 1A16 cp __zero_reg__,r26 |
||
1373 | 1376 0e6a 1B06 cpc __zero_reg__,r27 |
||
1374 | 1377 0e6c 04F4 brge .L46 |
||
1375 | 1378 0e6e C901 movw r24,r18 |
||
1376 | 1379 0e70 9C01 movw r18,r24 |
||
1377 | 1380 0e72 97FF sbrs r25,7 |
||
1378 | 1381 0e74 00C0 rjmp .L47 |
||
1379 | 1382 0e76 3095 com r19 |
||
1380 | 1383 0e78 2195 neg r18 |
||
1381 | 1384 0e7a 3F4F sbci r19,lo8(-1) |
||
1382 | 1385 .L47: |
||
1383 | 1386 0e7c B901 movw r22,r18 |
||
1384 | 1387 0e7e 8827 clr r24 |
||
1385 | 1388 0e80 77FD sbrc r23,7 |
||
1386 | 1389 0e82 8095 com r24 |
||
1387 | 1390 0e84 982F mov r25,r24 |
||
1388 | 1391 0e86 2091 0000 lds r18,Parameter_CouplingYawCorrection |
||
1389 | 1392 0e8a 30E0 ldi r19,lo8(0) |
||
1390 | 1393 0e8c 40E0 ldi r20,lo8(0) |
||
1391 | 1394 0e8e 50E0 ldi r21,hi8(0) |
||
1392 | 1395 0e90 0E94 0000 call __mulsi3 |
||
1393 | 1396 0e94 20E4 ldi r18,lo8(64) |
||
1394 | 1397 0e96 30E0 ldi r19,hi8(64) |
||
1395 | 1398 0e98 40E0 ldi r20,hlo8(64) |
||
1396 | 1399 0e9a 50E0 ldi r21,hhi8(64) |
||
1397 | 1400 0e9c 0E94 0000 call __divmodsi4 |
||
1398 | 1401 0ea0 00C0 rjmp .L67 |
||
1399 | 1402 .L46: |
||
1400 | 1403 0ea2 C901 movw r24,r18 |
||
1401 | 1404 0ea4 9C01 movw r18,r24 |
||
1402 | 1405 0ea6 97FF sbrs r25,7 |
||
1403 | 1406 0ea8 00C0 rjmp .L49 |
||
1404 | 1407 0eaa 3095 com r19 |
||
1405 | 1408 0eac 2195 neg r18 |
||
1406 | 1409 0eae 3F4F sbci r19,lo8(-1) |
||
1407 | 1410 .L49: |
||
1408 | 1411 0eb0 B901 movw r22,r18 |
||
1409 | 1412 0eb2 8827 clr r24 |
||
1410 | 1413 0eb4 77FD sbrc r23,7 |
||
1411 | 1414 0eb6 8095 com r24 |
||
1412 | 1415 0eb8 982F mov r25,r24 |
||
1413 | 1416 0eba 2091 0000 lds r18,Parameter_CouplingYawCorrection |
||
1414 | 1417 0ebe 30E0 ldi r19,lo8(0) |
||
1415 | 1418 0ec0 40E0 ldi r20,lo8(0) |
||
1416 | 1419 0ec2 50E0 ldi r21,hi8(0) |
||
1417 | 1420 0ec4 0E94 0000 call __mulsi3 |
||
1418 | 1421 0ec8 20E4 ldi r18,lo8(64) |
||
1419 | 1422 0eca 30E0 ldi r19,hi8(64) |
||
1420 | 1423 0ecc 40E0 ldi r20,hlo8(64) |
||
1421 | 1424 0ece 50E0 ldi r21,hhi8(64) |
||
1422 | 1425 0ed0 0E94 0000 call __divmodsi4 |
||
1423 | 1426 0ed4 5095 com r21 |
||
1424 | 1427 0ed6 4095 com r20 |
||
1425 | 1428 0ed8 3095 com r19 |
||
1426 | 1429 0eda 2195 neg r18 |
||
1427 | 1430 0edc 3F4F sbci r19,lo8(-1) |
||
1428 | 1431 0ede 4F4F sbci r20,lo8(-1) |
||
1429 | 1432 0ee0 5F4F sbci r21,lo8(-1) |
||
1430 | 1433 .L67: |
||
1431 | 1434 0ee2 220E add r2,r18 |
||
1432 | 1435 0ee4 331E adc r3,r19 |
||
1433 | 1436 0ee6 3092 0000 sts (TrimNick)+1,r3 |
||
1434 | 1437 0eea 2092 0000 sts TrimNick,r2 |
||
1435 | 1438 0eee 8091 0000 lds r24,EE_Parameter+13 |
||
1436 | 1439 0ef2 87FF sbrs r24,7 |
||
1437 | 1440 0ef4 00C0 rjmp .L50 |
||
1438 | 1441 0ef6 B985 ldd r27,Y+9 |
||
1439 | 1442 0ef8 BB23 tst r27 |
||
1440 | 1443 0efa 01F0 breq .L51 |
||
1441 | 1444 .L50: |
||
1442 | 1445 0efc 20E0 ldi r18,lo8(EE_Parameter+5) |
||
1443 | 1446 0efe 30E0 ldi r19,hi8(EE_Parameter+5) |
||
1444 | 1447 0f00 00E0 ldi r16,lo8(Poti) |
||
1445 | 1448 0f02 10E0 ldi r17,hi8(Poti) |
||
1446 | 1449 0f04 00C0 rjmp .L52 |
||
1447 | 1450 .L51: |
||
1448 | 1451 0f06 8091 0000 lds r24,Looping_Roll |
||
1449 | 1452 0f0a 8823 tst r24 |
||
1450 | 1453 0f0c 01F4 brne .L50 |
||
1451 | 1454 0f0e EE89 ldd r30,Y+22 |
||
1452 | 1455 0f10 FF89 ldd r31,Y+23 |
||
1453 | 1456 0f12 21E0 ldi r18,hi8(257) |
||
1454 | 1457 0f14 E130 cpi r30,lo8(257) |
||
1455 | 1458 0f16 F207 cpc r31,r18 |
||
1456 | 1459 0f18 04F0 brlt .L53 |
||
1457 | 1460 0f1a 8091 0000 lds r24,MesswertNick |
||
1458 | 1461 0f1e 9091 0000 lds r25,(MesswertNick)+1 |
||
1459 | 1462 0f22 8050 subi r24,lo8(-(-256)) |
||
1460 | 1463 0f24 9140 sbci r25,hi8(-(-256)) |
||
1461 | 1464 0f26 8E0F add r24,r30 |
||
1462 | 1465 0f28 9F1F adc r25,r31 |
||
1463 | 1466 0f2a 00C0 rjmp .L69 |
||
1464 | 1467 .L53: |
||
1465 | 1468 0f2c 4E89 ldd r20,Y+22 |
||
1466 | 1469 0f2e 5F89 ldd r21,Y+23 |
||
1467 | 1470 0f30 6FEF ldi r22,hi8(-256) |
||
1468 | 1471 0f32 4030 cpi r20,lo8(-256) |
||
1469 | 1472 0f34 5607 cpc r21,r22 |
||
1470 | 1473 0f36 04F4 brge .L54 |
||
1471 | 1474 0f38 8091 0000 lds r24,MesswertNick |
||
1472 | 1475 0f3c 9091 0000 lds r25,(MesswertNick)+1 |
||
1473 | 1476 0f40 8050 subi r24,lo8(-(256)) |
||
1474 | 1477 0f42 9F4F sbci r25,hi8(-(256)) |
||
1475 | 1478 0f44 840F add r24,r20 |
||
1476 | 1479 0f46 951F adc r25,r21 |
||
1477 | 1480 .L69: |
||
1478 | 1481 0f48 9093 0000 sts (MesswertNick)+1,r25 |
||
1479 | 1482 0f4c 8093 0000 sts MesswertNick,r24 |
||
1480 | 1483 .L54: |
||
1481 | 1484 0f50 888D ldd r24,Y+24 |
||
1482 | 1485 0f52 998D ldd r25,Y+25 |
||
1483 | 1486 0f54 8150 subi r24,lo8(257) |
||
1484 | 1487 0f56 9140 sbci r25,hi8(257) |
||
1485 | 1488 0f58 04F0 brlt .L55 |
||
1486 | 1489 0f5a 8091 0000 lds r24,MesswertRoll |
||
1487 | 1490 0f5e 9091 0000 lds r25,(MesswertRoll)+1 |
||
1488 | 1491 0f62 8050 subi r24,lo8(-(-256)) |
||
1489 | 1492 0f64 9140 sbci r25,hi8(-(-256)) |
||
1490 | 1493 0f66 E88D ldd r30,Y+24 |
||
1491 | 1494 0f68 F98D ldd r31,Y+25 |
||
1492 | 1495 0f6a 8E0F add r24,r30 |
||
1493 | 1496 0f6c 9F1F adc r25,r31 |
||
1494 | 1497 0f6e 00C0 rjmp .L68 |
||
1495 | 1498 .L55: |
||
1496 | 1499 0f70 288D ldd r18,Y+24 |
||
1497 | 1500 0f72 398D ldd r19,Y+25 |
||
1498 | 1501 0f74 4FEF ldi r20,hi8(-256) |
||
1499 | 1502 0f76 2030 cpi r18,lo8(-256) |
||
1500 | 1503 0f78 3407 cpc r19,r20 |
||
1501 | 1504 0f7a 04F0 brlt .+2 |
||
1502 | 1505 0f7c 00C0 rjmp .L50 |
||
1503 | 1506 0f7e 8091 0000 lds r24,MesswertRoll |
||
1504 | 1507 0f82 9091 0000 lds r25,(MesswertRoll)+1 |
||
1505 | 1508 0f86 8050 subi r24,lo8(-(256)) |
||
1506 | 1509 0f88 9F4F sbci r25,hi8(-(256)) |
||
1507 | 1510 0f8a 820F add r24,r18 |
||
1508 | 1511 0f8c 931F adc r25,r19 |
||
1509 | 1512 .L68: |
||
1510 | 1513 0f8e 9093 0000 sts (MesswertRoll)+1,r25 |
||
1511 | 1514 0f92 8093 0000 sts MesswertRoll,r24 |
||
1512 | 1515 0f96 00C0 rjmp .L50 |
||
1513 | 1516 .L52: |
||
1514 | 1517 0f98 D901 movw r26,r18 |
||
1515 | 1518 0f9a EC91 ld r30,X |
||
1516 | 1519 0f9c F0E0 ldi r31,lo8(0) |
||
1517 | 1520 0f9e EE0F lsl r30 |
||
1518 | 1521 0fa0 FF1F rol r31 |
||
1519 | 1522 0fa2 E050 subi r30,lo8(-(PPM_in)) |
||
1520 | 1523 0fa4 F040 sbci r31,hi8(-(PPM_in)) |
||
1521 | 1524 0fa6 8081 ld r24,Z |
||
1522 | 1525 0fa8 9181 ldd r25,Z+1 |
||
1523 | 1526 0faa 8259 subi r24,lo8(-(110)) |
||
1524 | 1527 0fac 9F4F sbci r25,hi8(-(110)) |
||
1525 | 1528 0fae 97FF sbrs r25,7 |
||
1526 | 1529 0fb0 00C0 rjmp .L56 |
||
1527 | 1530 0fb2 80E0 ldi r24,lo8(0) |
||
1528 | 1531 0fb4 90E0 ldi r25,hi8(0) |
||
1529 | 1532 .L56: |
||
1530 | 1533 0fb6 FC01 movw r30,r24 |
||
1531 | 1534 0fb8 8F3F cpi r24,255 |
||
1532 | 1535 0fba 9105 cpc r25,__zero_reg__ |
||
1533 | 1536 0fbc 01F0 breq .L57 |
||
1534 | 1537 0fbe 04F0 brlt .L57 |
||
1535 | 1538 0fc0 EFEF ldi r30,lo8(255) |
||
1536 | 1539 0fc2 F0E0 ldi r31,hi8(255) |
||
1537 | 1540 .L57: |
||
1538 | 1541 0fc4 D801 movw r26,r16 |
||
1539 | 1542 0fc6 4C91 ld r20,X |
||
1540 | 1543 0fc8 842F mov r24,r20 |
||
1541 | 1544 0fca 90E0 ldi r25,lo8(0) |
||
1542 | 1545 0fcc E817 cp r30,r24 |
||
1543 | 1546 0fce F907 cpc r31,r25 |
||
1544 | 1547 0fd0 01F0 breq .L58 |
||
1545 | 1548 0fd2 BF01 movw r22,r30 |
||
1546 | 1549 0fd4 681B sub r22,r24 |
||
1547 | 1550 0fd6 790B sbc r23,r25 |
||
1548 | 1551 0fd8 CB01 movw r24,r22 |
||
1549 | 1552 0fda 68E0 ldi r22,lo8(8) |
||
1550 | 1553 0fdc 70E0 ldi r23,hi8(8) |
||
1551 | 1554 0fde 0E94 0000 call __divmodhi4 |
||
1552 | 1555 0fe2 640F add r22,r20 |
||
1553 | 1556 0fe4 D801 movw r26,r16 |
||
1554 | 1557 0fe6 6C93 st X,r22 |
||
1555 | 1558 0fe8 862F mov r24,r22 |
||
1556 | 1559 0fea 90E0 ldi r25,lo8(0) |
||
1557 | 1560 0fec E817 cp r30,r24 |
||
1558 | 1561 0fee F907 cpc r31,r25 |
||
1559 | 1562 0ff0 04F4 brge .L59 |
||
1560 | 1563 0ff2 6150 subi r22,lo8(-(-1)) |
||
1561 | 1564 0ff4 6C93 st X,r22 |
||
1562 | 1565 0ff6 00C0 rjmp .L58 |
||
1563 | 1566 .L59: |
||
1564 | 1567 0ff8 6F5F subi r22,lo8(-(1)) |
||
1565 | 1568 0ffa F801 movw r30,r16 |
||
1566 | 1569 0ffc 6083 st Z,r22 |
||
1567 | 1570 .L58: |
||
1568 | 1571 0ffe 2F5F subi r18,lo8(-(1)) |
||
1569 | 1572 1000 3F4F sbci r19,hi8(-(1)) |
||
1570 | 1573 1002 0F5F subi r16,lo8(-(1)) |
||
1571 | 1574 1004 1F4F sbci r17,hi8(-(1)) |
||
1572 | 1575 1006 F0E0 ldi r31,hi8(EE_Parameter+13) |
||
1573 | 1576 1008 2030 cpi r18,lo8(EE_Parameter+13) |
||
1574 | 1577 100a 3F07 cpc r19,r31 |
||
1575 | 1578 100c 01F4 brne .L52 |
||
1576 | 1579 /* epilogue start */ |
||
1577 | 1580 100e 6B96 adiw r28,27 |
||
1578 | 1581 1010 E2E1 ldi r30, lo8(18) |
||
1579 | 1582 1012 0C94 0000 jmp __epilogue_restores__ + ((18 - 18) * 2) |
||
1580 | 1584 .global SendMotorData |
||
1581 | 1586 SendMotorData: |
||
1582 | 1587 /* prologue: function */ |
||
1583 | 1588 /* frame size = 0 */ |
||
1584 | 1589 1016 8091 0000 lds r24,MotorenEin |
||
1585 | 1590 101a 8823 tst r24 |
||
1586 | 1591 101c 01F4 brne .L71 |
||
1587 | 1592 101e 8091 0000 lds r24,FCFlags |
||
1588 | 1593 1022 8C7F andi r24,lo8(-4) |
||
1589 | 1594 1024 8093 0000 sts FCFlags,r24 |
||
1590 | 1595 1028 A0E0 ldi r26,lo8(MotorTest) |
||
1591 | 1596 102a B0E0 ldi r27,hi8(MotorTest) |
||
1592 | 1597 102c E0E0 ldi r30,lo8(Motor+1) |
||
1593 | 1598 102e F0E0 ldi r31,hi8(Motor+1) |
||
1594 | 1599 .L73: |
||
1595 | 1600 1030 8091 0000 lds r24,PC_MotortestActive |
||
1596 | 1601 1034 8823 tst r24 |
||
1597 | 1602 1036 01F4 brne .L72 |
||
1598 | 1603 1038 1C92 st X,__zero_reg__ |
||
1599 | 1604 .L72: |
||
1600 | 1605 103a 8D91 ld r24,X+ |
||
1601 | 1606 103c 8083 st Z,r24 |
||
1602 | 1607 103e 1182 std Z+1,__zero_reg__ |
||
1603 | 1608 1040 3896 adiw r30,8 |
||
1604 | 1609 1042 80E0 ldi r24,hi8(MotorTest+12) |
||
1605 | 1610 1044 A030 cpi r26,lo8(MotorTest+12) |
||
1606 | 1611 1046 B807 cpc r27,r24 |
||
1607 | 1612 1048 01F4 brne .L73 |
||
1608 | 1613 104a 8091 0000 lds r24,PC_MotortestActive |
||
1609 | 1614 104e 8823 tst r24 |
||
1610 | 1615 1050 01F0 breq .L74 |
||
1611 | 1616 1052 8091 0000 lds r24,PC_MotortestActive |
||
1612 | 1617 1056 8150 subi r24,lo8(-(-1)) |
||
1613 | 1618 1058 8093 0000 sts PC_MotortestActive,r24 |
||
1614 | 1619 105c 00C0 rjmp .L74 |
||
1615 | 1620 .L71: |
||
1616 | 1621 105e 8091 0000 lds r24,FCFlags |
||
1617 | 1622 1062 8160 ori r24,lo8(1) |
||
1618 | 1623 1064 8093 0000 sts FCFlags,r24 |
||
1619 | 1624 .L74: |
||
1620 | 1625 1068 1092 0000 sts motor_write,__zero_reg__ |
||
1621 | 1626 106c 1092 0000 sts twi_state,__zero_reg__ |
||
1622 | 1627 1070 8091 0000 lds r24,BLFlags |
||
1623 | 1628 1074 8E7F andi r24,lo8(-2) |
||
1624 | 1629 1076 8093 0000 sts BLFlags,r24 |
||
1625 | 1630 107a 85EA ldi r24,lo8(-91) |
||
1626 | 1631 107c 8093 BC00 sts 188,r24 |
||
1627 | 1632 /* epilogue start */ |
||
1628 | 1633 1080 0895 ret |
||
1629 | 1635 .global ParameterZuordnung |
||
1630 | 1637 ParameterZuordnung: |
||
1631 | 1638 /* prologue: function */ |
||
1632 | 1639 /* frame size = 0 */ |
||
1633 | 1640 1082 8091 0000 lds r24,EE_Parameter+15 |
||
1634 | 1641 1086 883F cpi r24,lo8(-8) |
||
1635 | 1642 1088 00F0 brlo .L161 |
||
1636 | 1643 .L78: |
||
1637 | 1644 108a EFEF ldi r30,lo8(255) |
||
1638 | 1645 108c F0E0 ldi r31,hi8(255) |
||
1639 | 1646 108e E81B sub r30,r24 |
||
1640 | 1647 1090 F109 sbc r31,__zero_reg__ |
||
1641 | 1648 1092 E050 subi r30,lo8(-(Poti)) |
||
1642 | 1649 1094 F040 sbci r31,hi8(-(Poti)) |
||
1643 | 1650 1096 8081 ld r24,Z |
||
1644 | 1651 .L161: |
||
1645 | 1652 1098 8093 0000 sts Parameter_Luftdruck_D,r24 |
||
1646 | 1653 109c 8091 0000 lds r24,Parameter_Luftdruck_D |
||
1647 | 1654 10a0 8823 tst r24 |
||
1648 | 1655 10a2 01F4 brne .L80 |
||
1649 | 1656 10a4 1092 0000 sts Parameter_Luftdruck_D,__zero_reg__ |
||
1650 | 1657 10a8 00C0 rjmp .L81 |
||
1651 | 1658 .L80: |
||
1652 | 1659 10aa 8436 cpi r24,lo8(100) |
||
1653 | 1660 10ac 00F0 brlo .L81 |
||
1654 | 1661 10ae 84E6 ldi r24,lo8(100) |
||
1655 | 1662 10b0 8093 0000 sts Parameter_Luftdruck_D,r24 |
||
1656 | 1663 .L81: |
||
1657 | 1664 10b4 8091 0000 lds r24,EE_Parameter+17 |
||
1658 | 1665 10b8 883F cpi r24,lo8(-8) |
||
1659 | 1666 10ba 00F0 brlo .L162 |
||
1660 | 1667 .L82: |
||
1661 | 1668 10bc EFEF ldi r30,lo8(255) |
||
1662 | 1669 10be F0E0 ldi r31,hi8(255) |
||
1663 | 1670 10c0 E81B sub r30,r24 |
||
1664 | 1671 10c2 F109 sbc r31,__zero_reg__ |
||
1665 | 1672 10c4 E050 subi r30,lo8(-(Poti)) |
||
1666 | 1673 10c6 F040 sbci r31,hi8(-(Poti)) |
||
1667 | 1674 10c8 8081 ld r24,Z |
||
1668 | 1675 .L162: |
||
1669 | 1676 10ca 8093 0000 sts Parameter_Hoehe_P,r24 |
||
1670 | 1677 10ce 8091 0000 lds r24,Parameter_Hoehe_P |
||
1671 | 1678 10d2 8823 tst r24 |
||
1672 | 1679 10d4 01F4 brne .L84 |
||
1673 | 1680 10d6 1092 0000 sts Parameter_Hoehe_P,__zero_reg__ |
||
1674 | 1681 10da 00C0 rjmp .L85 |
||
1675 | 1682 .L84: |
||
1676 | 1683 10dc 8436 cpi r24,lo8(100) |
||
1677 | 1684 10de 00F0 brlo .L85 |
||
1678 | 1685 10e0 84E6 ldi r24,lo8(100) |
||
1679 | 1686 10e2 8093 0000 sts Parameter_Hoehe_P,r24 |
||
1680 | 1687 .L85: |
||
1681 | 1688 10e6 8091 0000 lds r24,EE_Parameter+30 |
||
1682 | 1689 10ea 883F cpi r24,lo8(-8) |
||
1683 | 1690 10ec 00F0 brlo .L163 |
||
1684 | 1691 .L86: |
||
1685 | 1692 10ee EFEF ldi r30,lo8(255) |
||
1686 | 1693 10f0 F0E0 ldi r31,hi8(255) |
||
1687 | 1694 10f2 E81B sub r30,r24 |
||
1688 | 1695 10f4 F109 sbc r31,__zero_reg__ |
||
1689 | 1696 10f6 E050 subi r30,lo8(-(Poti)) |
||
1690 | 1697 10f8 F040 sbci r31,hi8(-(Poti)) |
||
1691 | 1698 10fa 8081 ld r24,Z |
||
1692 | 1699 .L163: |
||
1693 | 1700 10fc 8093 0000 sts Parameter_Gyro_P,r24 |
||
1694 | 1701 1100 8091 0000 lds r24,Parameter_Gyro_P |
||
1695 | 1702 1104 8B30 cpi r24,lo8(11) |
||
1696 | 1703 1106 00F4 brsh .L88 |
||
1697 | 1704 1108 8AE0 ldi r24,lo8(10) |
||
1698 | 1705 110a 00C0 rjmp .L164 |
||
1699 | 1706 .L88: |
||
1700 | 1707 110c 8F3F cpi r24,lo8(-1) |
||
1701 | 1708 110e 01F4 brne .L89 |
||
1702 | 1709 .L164: |
||
1703 | 1710 1110 8093 0000 sts Parameter_Gyro_P,r24 |
||
1704 | 1711 .L89: |
||
1705 | 1712 1114 8091 0000 lds r24,EE_Parameter+73 |
||
1706 | 1713 1118 883F cpi r24,lo8(-8) |
||
1707 | 1714 111a 00F0 brlo .L165 |
||
1708 | 1715 .L90: |
||
1709 | 1716 111c EFEF ldi r30,lo8(255) |
||
1710 | 1717 111e F0E0 ldi r31,hi8(255) |
||
1711 | 1718 1120 E81B sub r30,r24 |
||
1712 | 1719 1122 F109 sbc r31,__zero_reg__ |
||
1713 | 1720 1124 E050 subi r30,lo8(-(Poti)) |
||
1714 | 1721 1126 F040 sbci r31,hi8(-(Poti)) |
||
1715 | 1722 1128 8081 ld r24,Z |
||
1716 | 1723 .L165: |
||
1717 | 1724 112a 8093 0000 sts Parameter_J16Timing,r24 |
||
1718 | 1725 112e 8091 0000 lds r24,Parameter_J16Timing |
||
1719 | 1726 1132 8230 cpi r24,lo8(2) |
||
1720 | 1727 1134 00F4 brsh .L92 |
||
1721 | 1728 1136 81E0 ldi r24,lo8(1) |
||
1722 | 1729 1138 00C0 rjmp .L166 |
||
1723 | 1730 .L92: |
||
1724 | 1731 113a 8F3F cpi r24,lo8(-1) |
||
1725 | 1732 113c 01F4 brne .L93 |
||
1726 | 1733 .L166: |
||
1727 | 1734 113e 8093 0000 sts Parameter_J16Timing,r24 |
||
1728 | 1735 .L93: |
||
1729 | 1736 1142 8091 0000 lds r24,EE_Parameter+75 |
||
1730 | 1737 1146 883F cpi r24,lo8(-8) |
||
1731 | 1738 1148 00F0 brlo .L167 |
||
1732 | 1739 .L94: |
||
1733 | 1740 114a EFEF ldi r30,lo8(255) |
||
1734 | 1741 114c F0E0 ldi r31,hi8(255) |
||
1735 | 1742 114e E81B sub r30,r24 |
||
1736 | 1743 1150 F109 sbc r31,__zero_reg__ |
||
1737 | 1744 1152 E050 subi r30,lo8(-(Poti)) |
||
1738 | 1745 1154 F040 sbci r31,hi8(-(Poti)) |
||
1739 | 1746 1156 8081 ld r24,Z |
||
1740 | 1747 .L167: |
||
1741 | 1748 1158 8093 0000 sts Parameter_J17Timing,r24 |
||
1742 | 1749 115c 8091 0000 lds r24,Parameter_J17Timing |
||
1743 | 1750 1160 8230 cpi r24,lo8(2) |
||
1744 | 1751 1162 00F4 brsh .L96 |
||
1745 | 1752 1164 81E0 ldi r24,lo8(1) |
||
1746 | 1753 1166 00C0 rjmp .L168 |
||
1747 | 1754 .L96: |
||
1748 | 1755 1168 8F3F cpi r24,lo8(-1) |
||
1749 | 1756 116a 01F4 brne .L97 |
||
1750 | 1757 .L168: |
||
1751 | 1758 116c 8093 0000 sts Parameter_J17Timing,r24 |
||
1752 | 1759 .L97: |
||
1753 | 1760 1170 8091 0000 lds r24,EE_Parameter+54 |
||
1754 | 1761 1174 883F cpi r24,lo8(-8) |
||
1755 | 1762 1176 00F0 brlo .L169 |
||
1756 | 1763 .L98: |
||
1757 | 1764 1178 EFEF ldi r30,lo8(255) |
||
1758 | 1765 117a F0E0 ldi r31,hi8(255) |
||
1759 | 1766 117c E81B sub r30,r24 |
||
1760 | 1767 117e F109 sbc r31,__zero_reg__ |
||
1761 | 1768 1180 E050 subi r30,lo8(-(Poti)) |
||
1762 | 1769 1182 F040 sbci r31,hi8(-(Poti)) |
||
1763 | 1770 1184 8081 ld r24,Z |
||
1764 | 1771 .L169: |
||
1765 | 1772 1186 8093 0000 sts Parameter_Servo3,r24 |
||
1766 | 1773 118a 8091 0000 lds r24,EE_Parameter+55 |
||
1767 | 1774 118e 883F cpi r24,lo8(-8) |
||
1768 | 1775 1190 00F0 brlo .L170 |
||
1769 | 1776 .L100: |
||
1770 | 1777 1192 EFEF ldi r30,lo8(255) |
||
1771 | 1778 1194 F0E0 ldi r31,hi8(255) |
||
1772 | 1779 1196 E81B sub r30,r24 |
||
1773 | 1780 1198 F109 sbc r31,__zero_reg__ |
||
1774 | 1781 119a E050 subi r30,lo8(-(Poti)) |
||
1775 | 1782 119c F040 sbci r31,hi8(-(Poti)) |
||
1776 | 1783 119e 8081 ld r24,Z |
||
1777 | 1784 .L170: |
||
1778 | 1785 11a0 8093 0000 sts Parameter_Servo4,r24 |
||
1779 | 1786 11a4 8091 0000 lds r24,EE_Parameter+56 |
||
1780 | 1787 11a8 883F cpi r24,lo8(-8) |
||
1781 | 1788 11aa 00F0 brlo .L171 |
||
1782 | 1789 .L102: |
||
1783 | 1790 11ac EFEF ldi r30,lo8(255) |
||
1784 | 1791 11ae F0E0 ldi r31,hi8(255) |
||
1785 | 1792 11b0 E81B sub r30,r24 |
||
1786 | 1793 11b2 F109 sbc r31,__zero_reg__ |
||
1787 | 1794 11b4 E050 subi r30,lo8(-(Poti)) |
||
1788 | 1795 11b6 F040 sbci r31,hi8(-(Poti)) |
||
1789 | 1796 11b8 8081 ld r24,Z |
||
1790 | 1797 .L171: |
||
1791 | 1798 11ba 8093 0000 sts Parameter_Servo5,r24 |
||
1792 | 1799 11be 8091 0000 lds r24,EE_Parameter+16 |
||
1793 | 1800 11c2 883F cpi r24,lo8(-8) |
||
1794 | 1801 11c4 00F0 brlo .L172 |
||
1795 | 1802 .L104: |
||
1796 | 1803 11c6 EFEF ldi r30,lo8(255) |
||
1797 | 1804 11c8 F0E0 ldi r31,hi8(255) |
||
1798 | 1805 11ca E81B sub r30,r24 |
||
1799 | 1806 11cc F109 sbc r31,__zero_reg__ |
||
1800 | 1807 11ce E050 subi r30,lo8(-(Poti)) |
||
1801 | 1808 11d0 F040 sbci r31,hi8(-(Poti)) |
||
1802 | 1809 11d2 8081 ld r24,Z |
||
1803 | 1810 .L172: |
||
1804 | 1811 11d4 8093 0000 sts Parameter_MaxHoehe,r24 |
||
1805 | 1812 11d8 8091 0000 lds r24,EE_Parameter+19 |
||
1806 | 1813 11dc 883F cpi r24,lo8(-8) |
||
1807 | 1814 11de 00F0 brlo .L173 |
||
1808 | 1815 .L106: |
||
1809 | 1816 11e0 EFEF ldi r30,lo8(255) |
||
1810 | 1817 11e2 F0E0 ldi r31,hi8(255) |
||
1811 | 1818 11e4 E81B sub r30,r24 |
||
1812 | 1819 11e6 F109 sbc r31,__zero_reg__ |
||
1813 | 1820 11e8 E050 subi r30,lo8(-(Poti)) |
||
1814 | 1821 11ea F040 sbci r31,hi8(-(Poti)) |
||
1815 | 1822 11ec 8081 ld r24,Z |
||
1816 | 1823 .L173: |
||
1817 | 1824 11ee 8093 0000 sts Parameter_Hoehe_ACC_Wirkung,r24 |
||
1818 | 1825 11f2 8091 0000 lds r24,EE_Parameter+21 |
||
1819 | 1826 11f6 883F cpi r24,lo8(-8) |
||
1820 | 1827 11f8 00F0 brlo .L174 |
||
1821 | 1828 .L108: |
||
1822 | 1829 11fa EFEF ldi r30,lo8(255) |
||
1823 | 1830 11fc F0E0 ldi r31,hi8(255) |
||
1824 | 1831 11fe E81B sub r30,r24 |
||
1825 | 1832 1200 F109 sbc r31,__zero_reg__ |
||
1826 | 1833 1202 E050 subi r30,lo8(-(Poti)) |
||
1827 | 1834 1204 F040 sbci r31,hi8(-(Poti)) |
||
1828 | 1835 1206 8081 ld r24,Z |
||
1829 | 1836 .L174: |
||
1830 | 1837 1208 8093 0000 sts Parameter_Hoehe_GPS_Z,r24 |
||
1831 | 1838 120c 8091 0000 lds r24,EE_Parameter+29 |
||
1832 | 1839 1210 883F cpi r24,lo8(-8) |
||
1833 | 1840 1212 00F0 brlo .L175 |
||
1834 | 1841 .L110: |
||
1835 | 1842 1214 EFEF ldi r30,lo8(255) |
||
1836 | 1843 1216 F0E0 ldi r31,hi8(255) |
||
1837 | 1844 1218 E81B sub r30,r24 |
||
1838 | 1845 121a F109 sbc r31,__zero_reg__ |
||
1839 | 1846 121c E050 subi r30,lo8(-(Poti)) |
||
1840 | 1847 121e F040 sbci r31,hi8(-(Poti)) |
||
1841 | 1848 1220 8081 ld r24,Z |
||
1842 | 1849 .L175: |
||
1843 | 1850 1222 8093 0000 sts Parameter_KompassWirkung,r24 |
||
1844 | 1851 1226 8091 0000 lds r24,EE_Parameter+31 |
||
1845 | 1852 122a 883F cpi r24,lo8(-8) |
||
1846 | 1853 122c 00F0 brlo .L176 |
||
1847 | 1854 .L112: |
||
1848 | 1855 122e EFEF ldi r30,lo8(255) |
||
1849 | 1856 1230 F0E0 ldi r31,hi8(255) |
||
1850 | 1857 1232 E81B sub r30,r24 |
||
1851 | 1858 1234 F109 sbc r31,__zero_reg__ |
||
1852 | 1859 1236 E050 subi r30,lo8(-(Poti)) |
||
1853 | 1860 1238 F040 sbci r31,hi8(-(Poti)) |
||
1854 | 1861 123a 8081 ld r24,Z |
||
1855 | 1862 .L176: |
||
1856 | 1863 123c 8093 0000 sts Parameter_Gyro_I,r24 |
||
1857 | 1864 1240 8091 0000 lds r24,EE_Parameter+32 |
||
1858 | 1865 1244 883F cpi r24,lo8(-8) |
||
1859 | 1866 1246 00F0 brlo .L177 |
||
1860 | 1867 .L114: |
||
1861 | 1868 1248 EFEF ldi r30,lo8(255) |
||
1862 | 1869 124a F0E0 ldi r31,hi8(255) |
||
1863 | 1870 124c E81B sub r30,r24 |
||
1864 | 1871 124e F109 sbc r31,__zero_reg__ |
||
1865 | 1872 1250 E050 subi r30,lo8(-(Poti)) |
||
1866 | 1873 1252 F040 sbci r31,hi8(-(Poti)) |
||
1867 | 1874 1254 8081 ld r24,Z |
||
1868 | 1875 .L177: |
||
1869 | 1876 1256 8093 0000 sts Parameter_Gyro_D,r24 |
||
1870 | 1877 125a 8091 0000 lds r24,EE_Parameter+33 |
||
1871 | 1878 125e 883F cpi r24,lo8(-8) |
||
1872 | 1879 1260 00F0 brlo .L178 |
||
1873 | 1880 .L116: |
||
1874 | 1881 1262 EFEF ldi r30,lo8(255) |
||
1875 | 1882 1264 F0E0 ldi r31,hi8(255) |
||
1876 | 1883 1266 E81B sub r30,r24 |
||
1877 | 1884 1268 F109 sbc r31,__zero_reg__ |
||
1878 | 1885 126a E050 subi r30,lo8(-(Poti)) |
||
1879 | 1886 126c F040 sbci r31,hi8(-(Poti)) |
||
1880 | 1887 126e 8081 ld r24,Z |
||
1881 | 1888 .L178: |
||
1882 | 1889 1270 8093 0000 sts Parameter_Gyro_Gier_P,r24 |
||
1883 | 1890 1274 8091 0000 lds r24,EE_Parameter+34 |
||
1884 | 1891 1278 883F cpi r24,lo8(-8) |
||
1885 | 1892 127a 00F0 brlo .L179 |
||
1886 | 1893 .L118: |
||
1887 | 1894 127c EFEF ldi r30,lo8(255) |
||
1888 | 1895 127e F0E0 ldi r31,hi8(255) |
||
1889 | 1896 1280 E81B sub r30,r24 |
||
1890 | 1897 1282 F109 sbc r31,__zero_reg__ |
||
1891 | 1898 1284 E050 subi r30,lo8(-(Poti)) |
||
1892 | 1899 1286 F040 sbci r31,hi8(-(Poti)) |
||
1893 | 1900 1288 8081 ld r24,Z |
||
1894 | 1901 .L179: |
||
1895 | 1902 128a 8093 0000 sts Parameter_Gyro_Gier_I,r24 |
||
1896 | 1903 128e 8091 0000 lds r24,EE_Parameter+40 |
||
1897 | 1904 1292 883F cpi r24,lo8(-8) |
||
1898 | 1905 1294 00F0 brlo .L180 |
||
1899 | 1906 .L120: |
||
1900 | 1907 1296 EFEF ldi r30,lo8(255) |
||
1901 | 1908 1298 F0E0 ldi r31,hi8(255) |
||
1902 | 1909 129a E81B sub r30,r24 |
||
1903 | 1910 129c F109 sbc r31,__zero_reg__ |
||
1904 | 1911 129e E050 subi r30,lo8(-(Poti)) |
||
1905 | 1912 12a0 F040 sbci r31,hi8(-(Poti)) |
||
1906 | 1913 12a2 8081 ld r24,Z |
||
1907 | 1914 .L180: |
||
1908 | 1915 12a4 8093 0000 sts Parameter_I_Faktor,r24 |
||
1909 | 1916 12a8 8091 0000 lds r24,EE_Parameter+41 |
||
1910 | 1917 12ac 883F cpi r24,lo8(-8) |
||
1911 | 1918 12ae 00F0 brlo .L181 |
||
1912 | 1919 .L122: |
||
1913 | 1920 12b0 EFEF ldi r30,lo8(255) |
||
1914 | 1921 12b2 F0E0 ldi r31,hi8(255) |
||
1915 | 1922 12b4 E81B sub r30,r24 |
||
1916 | 1923 12b6 F109 sbc r31,__zero_reg__ |
||
1917 | 1924 12b8 E050 subi r30,lo8(-(Poti)) |
||
1918 | 1925 12ba F040 sbci r31,hi8(-(Poti)) |
||
1919 | 1926 12bc 8081 ld r24,Z |
||
1920 | 1927 .L181: |
||
1921 | 1928 12be 8093 0000 sts Parameter_UserParam1,r24 |
||
1922 | 1929 12c2 8091 0000 lds r24,EE_Parameter+42 |
||
1923 | 1930 12c6 883F cpi r24,lo8(-8) |
||
1924 | 1931 12c8 00F0 brlo .L182 |
||
1925 | 1932 .L124: |
||
1926 | 1933 12ca EFEF ldi r30,lo8(255) |
||
1927 | 1934 12cc F0E0 ldi r31,hi8(255) |
||
1928 | 1935 12ce E81B sub r30,r24 |
||
1929 | 1936 12d0 F109 sbc r31,__zero_reg__ |
||
1930 | 1937 12d2 E050 subi r30,lo8(-(Poti)) |
||
1931 | 1938 12d4 F040 sbci r31,hi8(-(Poti)) |
||
1932 | 1939 12d6 8081 ld r24,Z |
||
1933 | 1940 .L182: |
||
1934 | 1941 12d8 8093 0000 sts Parameter_UserParam2,r24 |
||
1935 | 1942 12dc 8091 0000 lds r24,EE_Parameter+43 |
||
1936 | 1943 12e0 883F cpi r24,lo8(-8) |
||
1937 | 1944 12e2 00F0 brlo .L183 |
||
1938 | 1945 .L126: |
||
1939 | 1946 12e4 EFEF ldi r30,lo8(255) |
||
1940 | 1947 12e6 F0E0 ldi r31,hi8(255) |
||
1941 | 1948 12e8 E81B sub r30,r24 |
||
1942 | 1949 12ea F109 sbc r31,__zero_reg__ |
||
1943 | 1950 12ec E050 subi r30,lo8(-(Poti)) |
||
1944 | 1951 12ee F040 sbci r31,hi8(-(Poti)) |
||
1945 | 1952 12f0 8081 ld r24,Z |
||
1946 | 1953 .L183: |
||
1947 | 1954 12f2 8093 0000 sts Parameter_UserParam3,r24 |
||
1948 | 1955 12f6 8091 0000 lds r24,EE_Parameter+44 |
||
1949 | 1956 12fa 883F cpi r24,lo8(-8) |
||
1950 | 1957 12fc 00F0 brlo .L184 |
||
1951 | 1958 .L128: |
||
1952 | 1959 12fe EFEF ldi r30,lo8(255) |
||
1953 | 1960 1300 F0E0 ldi r31,hi8(255) |
||
1954 | 1961 1302 E81B sub r30,r24 |
||
1955 | 1962 1304 F109 sbc r31,__zero_reg__ |
||
1956 | 1963 1306 E050 subi r30,lo8(-(Poti)) |
||
1957 | 1964 1308 F040 sbci r31,hi8(-(Poti)) |
||
1958 | 1965 130a 8081 ld r24,Z |
||
1959 | 1966 .L184: |
||
1960 | 1967 130c 8093 0000 sts Parameter_UserParam4,r24 |
||
1961 | 1968 1310 8091 0000 lds r24,EE_Parameter+68 |
||
1962 | 1969 1314 883F cpi r24,lo8(-8) |
||
1963 | 1970 1316 00F0 brlo .L185 |
||
1964 | 1971 .L130: |
||
1965 | 1972 1318 EFEF ldi r30,lo8(255) |
||
1966 | 1973 131a F0E0 ldi r31,hi8(255) |
||
1967 | 1974 131c E81B sub r30,r24 |
||
1968 | 1975 131e F109 sbc r31,__zero_reg__ |
||
1969 | 1976 1320 E050 subi r30,lo8(-(Poti)) |
||
1970 | 1977 1322 F040 sbci r31,hi8(-(Poti)) |
||
1971 | 1978 1324 8081 ld r24,Z |
||
1972 | 1979 .L185: |
||
1973 | 1980 1326 8093 0000 sts Parameter_UserParam5,r24 |
||
1974 | 1981 132a 8091 0000 lds r24,EE_Parameter+69 |
||
1975 | 1982 132e 883F cpi r24,lo8(-8) |
||
1976 | 1983 1330 00F0 brlo .L186 |
||
1977 | 1984 .L132: |
||
1978 | 1985 1332 EFEF ldi r30,lo8(255) |
||
1979 | 1986 1334 F0E0 ldi r31,hi8(255) |
||
1980 | 1987 1336 E81B sub r30,r24 |
||
1981 | 1988 1338 F109 sbc r31,__zero_reg__ |
||
1982 | 1989 133a E050 subi r30,lo8(-(Poti)) |
||
1983 | 1990 133c F040 sbci r31,hi8(-(Poti)) |
||
1984 | 1991 133e 8081 ld r24,Z |
||
1985 | 1992 .L186: |
||
1986 | 1993 1340 8093 0000 sts Parameter_UserParam6,r24 |
||
1987 | 1994 1344 8091 0000 lds r24,EE_Parameter+70 |
||
1988 | 1995 1348 883F cpi r24,lo8(-8) |
||
1989 | 1996 134a 00F0 brlo .L187 |
||
1990 | 1997 .L134: |
||
1991 | 1998 134c EFEF ldi r30,lo8(255) |
||
1992 | 1999 134e F0E0 ldi r31,hi8(255) |
||
1993 | 2000 1350 E81B sub r30,r24 |
||
1994 | 2001 1352 F109 sbc r31,__zero_reg__ |
||
1995 | 2002 1354 E050 subi r30,lo8(-(Poti)) |
||
1996 | 2003 1356 F040 sbci r31,hi8(-(Poti)) |
||
1997 | 2004 1358 8081 ld r24,Z |
||
1998 | 2005 .L187: |
||
1999 | 2006 135a 8093 0000 sts Parameter_UserParam7,r24 |
||
2000 | 2007 135e 8091 0000 lds r24,EE_Parameter+71 |
||
2001 | 2008 1362 883F cpi r24,lo8(-8) |
||
2002 | 2009 1364 00F0 brlo .L188 |
||
2003 | 2010 .L136: |
||
2004 | 2011 1366 EFEF ldi r30,lo8(255) |
||
2005 | 2012 1368 F0E0 ldi r31,hi8(255) |
||
2006 | 2013 136a E81B sub r30,r24 |
||
2007 | 2014 136c F109 sbc r31,__zero_reg__ |
||
2008 | 2015 136e E050 subi r30,lo8(-(Poti)) |
||
2009 | 2016 1370 F040 sbci r31,hi8(-(Poti)) |
||
2010 | 2017 1372 8081 ld r24,Z |
||
2011 | 2018 .L188: |
||
2012 | 2019 1374 8093 0000 sts Parameter_UserParam8,r24 |
||
2013 | 2020 1378 8091 0000 lds r24,EE_Parameter+45 |
||
2014 | 2021 137c 883F cpi r24,lo8(-8) |
||
2015 | 2022 137e 00F0 brlo .L189 |
||
2016 | 2023 .L138: |
||
2017 | 2024 1380 EFEF ldi r30,lo8(255) |
||
2018 | 2025 1382 F0E0 ldi r31,hi8(255) |
||
2019 | 2026 1384 E81B sub r30,r24 |
||
2020 | 2027 1386 F109 sbc r31,__zero_reg__ |
||
2021 | 2028 1388 E050 subi r30,lo8(-(Poti)) |
||
2022 | 2029 138a F040 sbci r31,hi8(-(Poti)) |
||
2023 | 2030 138c 8081 ld r24,Z |
||
2024 | 2031 .L189: |
||
2025 | 2032 138e 8093 0000 sts Parameter_ServoNickControl,r24 |
||
2026 | 2033 1392 8091 0000 lds r24,EE_Parameter+49 |
||
2027 | 2034 1396 883F cpi r24,lo8(-8) |
||
2028 | 2035 1398 00F0 brlo .L190 |
||
2029 | 2036 .L140: |
||
2030 | 2037 139a EFEF ldi r30,lo8(255) |
||
2031 | 2038 139c F0E0 ldi r31,hi8(255) |
||
2032 | 2039 139e E81B sub r30,r24 |
||
2033 | 2040 13a0 F109 sbc r31,__zero_reg__ |
||
2034 | 2041 13a2 E050 subi r30,lo8(-(Poti)) |
||
2035 | 2042 13a4 F040 sbci r31,hi8(-(Poti)) |
||
2036 | 2043 13a6 8081 ld r24,Z |
||
2037 | 2044 .L190: |
||
2038 | 2045 13a8 8093 0000 sts Parameter_ServoRollControl,r24 |
||
2039 | 2046 13ac 8091 0000 lds r24,EE_Parameter+57 |
||
2040 | 2047 13b0 883F cpi r24,lo8(-8) |
||
2041 | 2048 13b2 00F0 brlo .L191 |
||
2042 | 2049 .L142: |
||
2043 | 2050 13b4 EFEF ldi r30,lo8(255) |
||
2044 | 2051 13b6 F0E0 ldi r31,hi8(255) |
||
2045 | 2052 13b8 E81B sub r30,r24 |
||
2046 | 2053 13ba F109 sbc r31,__zero_reg__ |
||
2047 | 2054 13bc E050 subi r30,lo8(-(Poti)) |
||
2048 | 2055 13be F040 sbci r31,hi8(-(Poti)) |
||
2049 | 2056 13c0 8081 ld r24,Z |
||
2050 | 2057 .L191: |
||
2051 | 2058 13c2 8093 0000 sts Parameter_LoopGasLimit,r24 |
||
2052 | 2059 13c6 8091 0000 lds r24,EE_Parameter+60 |
||
2053 | 2060 13ca 883F cpi r24,lo8(-8) |
||
2054 | 2061 13cc 00F0 brlo .L192 |
||
2055 | 2062 .L144: |
||
2056 | 2063 13ce EFEF ldi r30,lo8(255) |
||
2057 | 2064 13d0 F0E0 ldi r31,hi8(255) |
||
2058 | 2065 13d2 E81B sub r30,r24 |
||
2059 | 2066 13d4 F109 sbc r31,__zero_reg__ |
||
2060 | 2067 13d6 E050 subi r30,lo8(-(Poti)) |
||
2061 | 2068 13d8 F040 sbci r31,hi8(-(Poti)) |
||
2062 | 2069 13da 8081 ld r24,Z |
||
2063 | 2070 .L192: |
||
2064 | 2071 13dc 8093 0000 sts Parameter_AchsKopplung1,r24 |
||
2065 | 2072 13e0 8091 0000 lds r24,EE_Parameter+61 |
||
2066 | 2073 13e4 883F cpi r24,lo8(-8) |
||
2067 | 2074 13e6 00F0 brlo .L193 |
||
2068 | 2075 .L146: |
||
2069 | 2076 13e8 EFEF ldi r30,lo8(255) |
||
2070 | 2077 13ea F0E0 ldi r31,hi8(255) |
||
2071 | 2078 13ec E81B sub r30,r24 |
||
2072 | 2079 13ee F109 sbc r31,__zero_reg__ |
||
2073 | 2080 13f0 E050 subi r30,lo8(-(Poti)) |
||
2074 | 2081 13f2 F040 sbci r31,hi8(-(Poti)) |
||
2075 | 2082 13f4 8081 ld r24,Z |
||
2076 | 2083 .L193: |
||
2077 | 2084 13f6 8093 0000 sts Parameter_AchsKopplung2,r24 |
||
2078 | 2085 13fa 8091 0000 lds r24,EE_Parameter+62 |
||
2079 | 2086 13fe 883F cpi r24,lo8(-8) |
||
2080 | 2087 1400 00F0 brlo .L194 |
||
2081 | 2088 .L148: |
||
2082 | 2089 1402 EFEF ldi r30,lo8(255) |
||
2083 | 2090 1404 F0E0 ldi r31,hi8(255) |
||
2084 | 2091 1406 E81B sub r30,r24 |
||
2085 | 2092 1408 F109 sbc r31,__zero_reg__ |
||
2086 | 2093 140a E050 subi r30,lo8(-(Poti)) |
||
2087 | 2094 140c F040 sbci r31,hi8(-(Poti)) |
||
2088 | 2095 140e 8081 ld r24,Z |
||
2089 | 2096 .L194: |
||
2090 | 2097 1410 8093 0000 sts Parameter_CouplingYawCorrection,r24 |
||
2091 | 2098 1414 8091 0000 lds r24,EE_Parameter+67 |
||
2092 | 2099 1418 883F cpi r24,lo8(-8) |
||
2093 | 2100 141a 00F0 brlo .L195 |
||
2094 | 2101 .L150: |
||
2095 | 2102 141c EFEF ldi r30,lo8(255) |
||
2096 | 2103 141e F0E0 ldi r31,hi8(255) |
||
2097 | 2104 1420 E81B sub r30,r24 |
||
2098 | 2105 1422 F109 sbc r31,__zero_reg__ |
||
2099 | 2106 1424 E050 subi r30,lo8(-(Poti)) |
||
2100 | 2107 1426 F040 sbci r31,hi8(-(Poti)) |
||
2101 | 2108 1428 8081 ld r24,Z |
||
2102 | 2109 .L195: |
||
2103 | 2110 142a 8093 0000 sts Parameter_DynamicStability,r24 |
||
2104 | 2111 142e 8091 0000 lds r24,EE_Parameter+94 |
||
2105 | 2112 1432 883F cpi r24,lo8(-8) |
||
2106 | 2113 1434 00F0 brlo .L196 |
||
2107 | 2114 .L152: |
||
2108 | 2115 1436 EFEF ldi r30,lo8(255) |
||
2109 | 2116 1438 F0E0 ldi r31,hi8(255) |
||
2110 | 2117 143a E81B sub r30,r24 |
||
2111 | 2118 143c F109 sbc r31,__zero_reg__ |
||
2112 | 2119 143e E050 subi r30,lo8(-(Poti)) |
||
2113 | 2120 1440 F040 sbci r31,hi8(-(Poti)) |
||
2114 | 2121 1442 8081 ld r24,Z |
||
2115 | 2122 .L196: |
||
2116 | 2123 1444 8093 0000 sts Parameter_ExternalControl,r24 |
||
2117 | 2124 1448 6091 0000 lds r22,Parameter_I_Faktor |
||
2118 | 2125 144c 70E0 ldi r23,lo8(0) |
||
2119 | 2126 144e 6F5F subi r22,lo8(-(1)) |
||
2120 | 2127 1450 7F4F sbci r23,hi8(-(1)) |
||
2121 | 2128 1452 8CE3 ldi r24,lo8(10300) |
||
2122 | 2129 1454 98E2 ldi r25,hi8(10300) |
||
2123 | 2130 1456 0E94 0000 call __divmodhi4 |
||
2124 | 2131 145a 7093 0000 sts (Ki)+1,r23 |
||
2125 | 2132 145e 6093 0000 sts Ki,r22 |
||
2126 | 2133 1462 8091 0000 lds r24,EE_Parameter+27 |
||
2127 | 2134 1466 8093 0000 sts MAX_GAS,r24 |
||
2128 | 2135 146a 8091 0000 lds r24,EE_Parameter+26 |
||
2129 | 2136 146e 8093 0000 sts MIN_GAS,r24 |
||
2130 | 2137 1472 9091 0000 lds r25,EE_Parameter+96 |
||
2131 | 2138 1476 9333 cpi r25,lo8(51) |
||
2132 | 2139 1478 00F0 brlo .L154 |
||
2133 | 2140 147a 81E0 ldi r24,lo8(1) |
||
2134 | 2141 147c 8093 0000 sts CareFree,r24 |
||
2135 | 2142 1480 983F cpi r25,lo8(-8) |
||
2136 | 2143 1482 00F0 brlo .L155 |
||
2137 | 2144 1484 EFEF ldi r30,lo8(255) |
||
2138 | 2145 1486 F0E0 ldi r31,hi8(255) |
||
2139 | 2146 1488 E91B sub r30,r25 |
||
2140 | 2147 148a F109 sbc r31,__zero_reg__ |
||
2141 | 2148 148c E050 subi r30,lo8(-(Poti)) |
||
2142 | 2149 148e F040 sbci r31,hi8(-(Poti)) |
||
2143 | 2150 1490 8081 ld r24,Z |
||
2144 | 2151 1492 8233 cpi r24,lo8(50) |
||
2145 | 2152 1494 00F4 brsh .L155 |
||
2146 | 2153 1496 1092 0000 sts CareFree,__zero_reg__ |
||
2147 | 2154 .L155: |
||
2148 | 2155 149a 8091 0000 lds r24,FromNaviCtrl+7 |
||
2149 | 2156 149e 9091 0000 lds r25,(FromNaviCtrl+7)+1 |
||
2150 | 2157 14a2 97FF sbrs r25,7 |
||
2151 | 2158 14a4 00C0 rjmp .L156 |
||
2152 | 2159 14a6 8091 0000 lds r24,CareFree |
||
2153 | 2160 14aa 8823 tst r24 |
||
2154 | 2161 14ac 01F0 breq .L156 |
||
2155 | 2162 14ae 8091 0000 lds r24,VersionInfo+5 |
||
2156 | 2163 14b2 8068 ori r24,lo8(-128) |
||
2157 | 2164 14b4 00C0 rjmp .L197 |
||
2158 | 2165 .L156: |
||
2159 | 2166 14b6 8091 0000 lds r24,VersionInfo+5 |
||
2160 | 2167 14ba 8F77 andi r24,lo8(127) |
||
2161 | 2168 .L197: |
||
2162 | 2169 14bc 8093 0000 sts VersionInfo+5,r24 |
||
2163 | 2170 14c0 00C0 rjmp .L157 |
||
2164 | 2171 .L154: |
||
2165 | 2172 14c2 1092 0000 sts CareFree,__zero_reg__ |
||
2166 | 2173 .L157: |
||
2167 | 2174 14c6 8091 0000 lds r24,FromNaviCtrl+7 |
||
2168 | 2175 14ca 9091 0000 lds r25,(FromNaviCtrl+7)+1 |
||
2169 | 2176 14ce 97FF sbrs r25,7 |
||
2170 | 2177 14d0 00C0 rjmp .L158 |
||
2171 | 2178 14d2 8091 0000 lds r24,MotorenEin |
||
2172 | 2179 14d6 8823 tst r24 |
||
2173 | 2180 14d8 01F0 breq .L158 |
||
2174 | 2181 14da 8091 0000 lds r24,CareFree |
||
2175 | 2182 14de 8823 tst r24 |
||
2176 | 2183 14e0 01F0 breq .L158 |
||
2177 | 2184 14e2 8091 0000 lds r24,BeepMuster |
||
2178 | 2185 14e6 9091 0000 lds r25,(BeepMuster)+1 |
||
2179 | 2186 14ea 8F5F subi r24,lo8(-1) |
||
2180 | 2187 14ec 9F4F sbci r25,hi8(-1) |
||
2181 | 2188 14ee 01F4 brne .L158 |
||
2182 | 2189 14f0 88E9 ldi r24,lo8(15000) |
||
2183 | 2190 14f2 9AE3 ldi r25,hi8(15000) |
||
2184 | 2191 14f4 9093 0000 sts (beeptime)+1,r25 |
||
2185 | 2192 14f8 8093 0000 sts beeptime,r24 |
||
2186 | 2193 14fc 80E0 ldi r24,lo8(-23552) |
||
2187 | 2194 14fe 94EA ldi r25,hi8(-23552) |
||
2188 | 2195 1500 9093 0000 sts (BeepMuster)+1,r25 |
||
2189 | 2196 1504 8093 0000 sts BeepMuster,r24 |
||
2190 | 2197 1508 1092 0000 sts CareFree,__zero_reg__ |
||
2191 | 2198 .L158: |
||
2192 | 2199 150c 8091 0000 lds r24,CareFree |
||
2193 | 2200 1510 8823 tst r24 |
||
2194 | 2201 1512 01F0 breq .L160 |
||
2195 | 2202 1514 8091 0000 lds r24,Parameter_AchsKopplung1 |
||
2196 | 2203 1518 823D cpi r24,lo8(-46) |
||
2197 | 2204 151a 00F4 brsh .L160 |
||
2198 | 2205 151c 825E subi r24,lo8(-(30)) |
||
2199 | 2206 151e 8093 0000 sts Parameter_AchsKopplung1,r24 |
||
2200 | 2207 .L160: |
||
2201 | 2208 1522 0895 ret |
||
2202 | 2210 .global CalibrierMittelwert |
||
2203 | 2212 CalibrierMittelwert: |
||
2204 | 2213 1524 CF93 push r28 |
||
2205 | 2214 1526 DF93 push r29 |
||
2206 | 2215 /* prologue: function */ |
||
2207 | 2216 /* frame size = 0 */ |
||
2208 | 2217 1528 8091 0000 lds r24,PlatinenVersion |
||
2209 | 2218 152c 8D30 cpi r24,lo8(13) |
||
2210 | 2219 152e 01F4 brne .L199 |
||
2211 | 2220 1530 0E94 0000 call SucheGyroOffset |
||
2212 | 2221 .L199: |
||
2213 | 2222 1534 1092 7A00 sts 122,__zero_reg__ |
||
2214 | 2223 1538 8091 0000 lds r24,AdWertNick |
||
2215 | 2224 153c 9091 0000 lds r25,(AdWertNick)+1 |
||
2216 | 2225 1540 9093 0000 sts (MesswertNick)+1,r25 |
||
2217 | 2226 1544 8093 0000 sts MesswertNick,r24 |
||
2218 | 2227 1548 8091 0000 lds r24,AdWertRoll |
||
2219 | 2228 154c 9091 0000 lds r25,(AdWertRoll)+1 |
||
2220 | 2229 1550 9093 0000 sts (MesswertRoll)+1,r25 |
||
2221 | 2230 1554 8093 0000 sts MesswertRoll,r24 |
||
2222 | 2231 1558 8091 0000 lds r24,AdWertGier |
||
2223 | 2232 155c 9091 0000 lds r25,(AdWertGier)+1 |
||
2224 | 2233 1560 9093 0000 sts (MesswertGier)+1,r25 |
||
2225 | 2234 1564 8093 0000 sts MesswertGier,r24 |
||
2226 | 2235 1568 2091 0000 lds r18,AdWertAccNick |
||
2227 | 2236 156c 3091 0000 lds r19,(AdWertAccNick)+1 |
||
2228 | 2237 1570 C901 movw r24,r18 |
||
2229 | 2238 1572 880F lsl r24 |
||
2230 | 2239 1574 991F rol r25 |
||
2231 | 2240 1576 820F add r24,r18 |
||
2232 | 2241 1578 931F adc r25,r19 |
||
2233 | 2242 157a 880F lsl r24 |
||
2234 | 2243 157c 991F rol r25 |
||
2235 | 2244 157e 9093 0000 sts (Mittelwert_AccNick)+1,r25 |
||
2236 | 2245 1582 8093 0000 sts Mittelwert_AccNick,r24 |
||
2237 | 2246 1586 2091 0000 lds r18,AdWertAccRoll |
||
2238 | 2247 158a 3091 0000 lds r19,(AdWertAccRoll)+1 |
||
2239 | 2248 158e C901 movw r24,r18 |
||
2240 | 2249 1590 880F lsl r24 |
||
2241 | 2250 1592 991F rol r25 |
||
2242 | 2251 1594 820F add r24,r18 |
||
2243 | 2252 1596 931F adc r25,r19 |
||
2244 | 2253 1598 880F lsl r24 |
||
2245 | 2254 159a 991F rol r25 |
||
2246 | 2255 159c 9093 0000 sts (Mittelwert_AccRoll)+1,r25 |
||
2247 | 2256 15a0 8093 0000 sts Mittelwert_AccRoll,r24 |
||
2248 | 2257 15a4 8FEC ldi r24,lo8(-49) |
||
2249 | 2258 15a6 8093 7A00 sts 122,r24 |
||
2250 | 2259 15aa C0E0 ldi r28,lo8(EE_Parameter+5) |
||
2251 | 2260 15ac D0E0 ldi r29,hi8(EE_Parameter+5) |
||
2252 | 2261 15ae A0E0 ldi r26,lo8(Poti) |
||
2253 | 2262 15b0 B0E0 ldi r27,hi8(Poti) |
||
2254 | 2263 .L204: |
||
2255 | 2264 15b2 E881 ld r30,Y |
||
2256 | 2265 15b4 F0E0 ldi r31,lo8(0) |
||
2257 | 2266 15b6 EE0F lsl r30 |
||
2258 | 2267 15b8 FF1F rol r31 |
||
2259 | 2268 15ba E050 subi r30,lo8(-(PPM_in)) |
||
2260 | 2269 15bc F040 sbci r31,hi8(-(PPM_in)) |
||
2261 | 2270 15be 0190 ld __tmp_reg__,Z+ |
||
2262 | 2271 15c0 F081 ld r31,Z |
||
2263 | 2272 15c2 E02D mov r30,__tmp_reg__ |
||
2264 | 2273 15c4 E259 subi r30,lo8(-(110)) |
||
2265 | 2274 15c6 FF4F sbci r31,hi8(-(110)) |
||
2266 | 2275 15c8 1E16 cp __zero_reg__,r30 |
||
2267 | 2276 15ca 1F06 cpc __zero_reg__,r31 |
||
2268 | 2277 15cc 04F0 brlt .L200 |
||
2269 | 2278 15ce E0E0 ldi r30,lo8(0) |
||
2270 | 2279 15d0 F0E0 ldi r31,hi8(0) |
||
2271 | 2280 15d2 00C0 rjmp .L201 |
||
2272 | 2281 .L200: |
||
2273 | 2282 15d4 EF3F cpi r30,255 |
||
2274 | 2283 15d6 F105 cpc r31,__zero_reg__ |
||
2275 | 2284 15d8 04F0 brlt .L201 |
||
2276 | 2285 15da EFEF ldi r30,lo8(255) |
||
2277 | 2286 15dc F0E0 ldi r31,hi8(255) |
||
2278 | 2287 .L201: |
||
2279 | 2288 15de 8C91 ld r24,X |
||
2280 | 2289 15e0 282F mov r18,r24 |
||
2281 | 2290 15e2 30E0 ldi r19,lo8(0) |
||
2282 | 2291 15e4 E217 cp r30,r18 |
||
2283 | 2292 15e6 F307 cpc r31,r19 |
||
2284 | 2293 15e8 04F4 brge .L202 |
||
2285 | 2294 15ea 8150 subi r24,lo8(-(-1)) |
||
2286 | 2295 15ec 00C0 rjmp .L207 |
||
2287 | 2296 .L202: |
||
2288 | 2297 15ee 2E17 cp r18,r30 |
||
2289 | 2298 15f0 3F07 cpc r19,r31 |
||
2290 | 2299 15f2 04F4 brge .L203 |
||
2291 | 2300 15f4 8F5F subi r24,lo8(-(1)) |
||
2292 | 2301 .L207: |
||
2293 | 2302 15f6 8C93 st X,r24 |
||
2294 | 2303 .L203: |
||
2295 | 2304 15f8 2196 adiw r28,1 |
||
2296 | 2305 15fa 1196 adiw r26,1 |
||
2297 | 2306 15fc 80E0 ldi r24,hi8(EE_Parameter+13) |
||
2298 | 2307 15fe C030 cpi r28,lo8(EE_Parameter+13) |
||
2299 | 2308 1600 D807 cpc r29,r24 |
||
2300 | 2309 1602 01F4 brne .L204 |
||
2301 | 2310 1604 6AA9 ldd r22,Y+50 |
||
2302 | 2311 1606 70E0 ldi r23,lo8(0) |
||
2303 | 2312 1608 80E0 ldi r24,lo8(0) |
||
2304 | 2313 160a 90E0 ldi r25,hi8(0) |
||
2305 | 2314 160c 24EC ldi r18,lo8(2500) |
||
2306 | 2315 160e 39E0 ldi r19,hi8(2500) |
||
2307 | 2316 1610 40E0 ldi r20,hlo8(2500) |
||
2308 | 2317 1612 50E0 ldi r21,hhi8(2500) |
||
2309 | 2318 1614 0E94 0000 call __mulsi3 |
||
2310 | 2319 1618 6093 0000 sts Umschlag180Nick,r22 |
||
2311 | 2320 161c 7093 0000 sts (Umschlag180Nick)+1,r23 |
||
2312 | 2321 1620 8093 0000 sts (Umschlag180Nick)+2,r24 |
||
2313 | 2322 1624 9093 0000 sts (Umschlag180Nick)+3,r25 |
||
2314 | 2323 1628 6BA9 ldd r22,Y+51 |
||
2315 | 2324 162a 70E0 ldi r23,lo8(0) |
||
2316 | 2325 162c 80E0 ldi r24,lo8(0) |
||
2317 | 2326 162e 90E0 ldi r25,hi8(0) |
||
2318 | 2327 1630 0E94 0000 call __mulsi3 |
||
2319 | 2328 1634 6093 0000 sts Umschlag180Roll,r22 |
||
2320 | 2329 1638 7093 0000 sts (Umschlag180Roll)+1,r23 |
||
2321 | 2330 163c 8093 0000 sts (Umschlag180Roll)+2,r24 |
||
2322 | 2331 1640 9093 0000 sts (Umschlag180Roll)+3,r25 |
||
2323 | 2332 /* epilogue start */ |
||
2324 | 2333 1644 DF91 pop r29 |
||
2325 | 2334 1646 CF91 pop r28 |
||
2326 | 2335 1648 0895 ret |
||
2327 | 2337 .global SetNeutral |
||
2328 | 2339 SetNeutral: |
||
2329 | 2340 164a A0E0 ldi r26,lo8(0) |
||
2330 | 2341 164c B0E0 ldi r27,hi8(0) |
||
2331 | 2342 164e E0E0 ldi r30,lo8(gs(1f)) |
||
2332 | 2343 1650 F0E0 ldi r31,hi8(gs(1f)) |
||
2333 | 2344 1652 0C94 0000 jmp __prologue_saves__+((18 - 14) * 2) |
||
2334 | 2345 1: |
||
2335 | 2346 /* prologue: function */ |
||
2336 | 2347 /* frame size = 0 */ |
||
2337 | 2348 1656 682E mov r6,r24 |
||
2338 | 2349 1658 1092 0000 sts VersionInfo+5,__zero_reg__ |
||
2339 | 2350 165c 469A sbi 40-32,6 |
||
2340 | 2351 165e 1092 0000 sts (NeutralAccX)+1,__zero_reg__ |
||
2341 | 2352 1662 1092 0000 sts NeutralAccX,__zero_reg__ |
||
2342 | 2353 1666 1092 0000 sts (NeutralAccY)+1,__zero_reg__ |
||
2343 | 2354 166a 1092 0000 sts NeutralAccY,__zero_reg__ |
||
2344 | 2355 166e 1092 0000 sts (NeutralAccZ)+1,__zero_reg__ |
||
2345 | 2356 1672 1092 0000 sts NeutralAccZ,__zero_reg__ |
||
2346 | 2357 1676 1092 0000 sts (AdNeutralNick)+1,__zero_reg__ |
||
2347 | 2358 167a 1092 0000 sts AdNeutralNick,__zero_reg__ |
||
2348 | 2359 167e 1092 0000 sts (AdNeutralRoll)+1,__zero_reg__ |
||
2349 | 2360 1682 1092 0000 sts AdNeutralRoll,__zero_reg__ |
||
2350 | 2361 1686 1092 0000 sts (AdNeutralGier)+1,__zero_reg__ |
||
2351 | 2362 168a 1092 0000 sts AdNeutralGier,__zero_reg__ |
||
2352 | 2363 168e 1092 0000 sts Parameter_AchsKopplung1,__zero_reg__ |
||
2353 | 2364 1692 1092 0000 sts Parameter_AchsKopplung2,__zero_reg__ |
||
2354 | 2365 1696 1092 0000 sts ExpandBaro,__zero_reg__ |
||
2355 | 2366 169a 0E94 0000 call CalibrierMittelwert |
||
2356 | 2367 169e 84E6 ldi r24,lo8(100) |
||
2357 | 2368 16a0 90E0 ldi r25,hi8(100) |
||
2358 | 2369 16a2 0E94 0000 call Delay_ms_Mess |
||
2359 | 2370 16a6 0E94 0000 call CalibrierMittelwert |
||
2360 | 2371 16aa 8091 0000 lds r24,EE_Parameter+13 |
||
2361 | 2372 16ae 80FF sbrs r24,0 |
||
2362 | 2373 16b0 00C0 rjmp .L209 |
||
2363 | 2374 16b2 8091 0000 lds r24,MessLuftdruck |
||
2364 | 2375 16b6 9091 0000 lds r25,(MessLuftdruck)+1 |
||
2365 | 2376 16ba 875B subi r24,lo8(951) |
||
2366 | 2377 16bc 9340 sbci r25,hi8(951) |
||
2367 | 2378 16be 00F4 brsh .L210 |
||
2368 | 2379 16c0 8091 0000 lds r24,MessLuftdruck |
||
2369 | 2380 16c4 9091 0000 lds r25,(MessLuftdruck)+1 |
||
2370 | 2381 16c8 8E5E subi r24,lo8(750) |
||
2371 | 2382 16ca 9240 sbci r25,hi8(750) |
||
2372 | 2383 16cc 00F4 brsh .L209 |
||
2373 | 2384 .L210: |
||
2374 | 2385 16ce 0E94 0000 call SucheLuftruckOffset |
||
2375 | 2386 .L209: |
||
2376 | 2387 16d2 AA24 clr r10 |
||
2377 | 2388 16d4 C0E0 ldi r28,lo8(0) |
||
2378 | 2389 16d6 D0E0 ldi r29,hi8(0) |
||
2379 | 2390 16d8 00E0 ldi r16,lo8(0) |
||
2380 | 2391 16da 10E0 ldi r17,hi8(0) |
||
2381 | 2392 16dc EE24 clr r14 |
||
2382 | 2393 16de FF24 clr r15 |
||
2383 | 2394 .L211: |
||
2384 | 2395 16e0 8AE0 ldi r24,lo8(10) |
||
2385 | 2396 16e2 90E0 ldi r25,hi8(10) |
||
2386 | 2397 16e4 0E94 0000 call Delay_ms_Mess |
||
2387 | 2398 16e8 8091 0000 lds r24,AdWertGier |
||
2388 | 2399 16ec 9091 0000 lds r25,(AdWertGier)+1 |
||
2389 | 2400 16f0 C80F add r28,r24 |
||
2390 | 2401 16f2 D91F adc r29,r25 |
||
2391 | 2402 16f4 8091 0000 lds r24,AdWertNick |
||
2392 | 2403 16f8 9091 0000 lds r25,(AdWertNick)+1 |
||
2393 | 2404 16fc 080F add r16,r24 |
||
2394 | 2405 16fe 191F adc r17,r25 |
||
2395 | 2406 1700 8091 0000 lds r24,AdWertRoll |
||
2396 | 2407 1704 9091 0000 lds r25,(AdWertRoll)+1 |
||
2397 | 2408 1708 E80E add r14,r24 |
||
2398 | 2409 170a F91E adc r15,r25 |
||
2399 | 2410 170c A394 inc r10 |
||
2400 | 2411 170e 80E2 ldi r24,lo8(32) |
||
2401 | 2412 1710 A816 cp r10,r24 |
||
2402 | 2413 1712 01F4 brne .L211 |
||
2403 | 2414 1714 9801 movw r18,r16 |
||
2404 | 2415 1716 205F subi r18,lo8(-(16)) |
||
2405 | 2416 1718 3F4F sbci r19,hi8(-(16)) |
||
2406 | 2417 171a 3695 lsr r19 |
||
2407 | 2418 171c 2795 ror r18 |
||
2408 | 2419 171e 3695 lsr r19 |
||
2409 | 2420 1720 2795 ror r18 |
||
2410 | 2421 1722 3093 0000 sts (AdNeutralNick)+1,r19 |
||
2411 | 2422 1726 2093 0000 sts AdNeutralNick,r18 |
||
2412 | 2423 172a C701 movw r24,r14 |
||
2413 | 2424 172c 4096 adiw r24,16 |
||
2414 | 2425 172e 9695 lsr r25 |
||
2415 | 2426 1730 8795 ror r24 |
||
2416 | 2427 1732 9695 lsr r25 |
||
2417 | 2428 1734 8795 ror r24 |
||
2418 | 2429 1736 9093 0000 sts (AdNeutralRoll)+1,r25 |
||
2419 | 2430 173a 8093 0000 sts AdNeutralRoll,r24 |
||
2420 | 2431 173e 6096 adiw r28,16 |
||
2421 | 2432 1740 15E0 ldi r17,5 |
||
2422 | 2433 1742 D695 1: lsr r29 |
||
2423 | 2434 1744 C795 ror r28 |
||
2424 | 2435 1746 1A95 dec r17 |
||
2425 | 2436 1748 01F4 brne 1b |
||
2426 | 2437 174a D093 0000 sts (AdNeutralGier)+1,r29 |
||
2427 | 2438 174e C093 0000 sts AdNeutralGier,r28 |
||
2428 | 2439 1752 9093 0000 sts (StartNeutralRoll)+1,r25 |
||
2429 | 2440 1756 8093 0000 sts StartNeutralRoll,r24 |
||
2430 | 2441 175a 3093 0000 sts (StartNeutralNick)+1,r19 |
||
2431 | 2442 175e 2093 0000 sts StartNeutralNick,r18 |
||
2432 | 2443 1762 6620 tst r6 |
||
2433 | 2444 1764 01F4 brne .+2 |
||
2434 | 2445 1766 00C0 rjmp .L212 |
||
2435 | 2446 1768 8091 0000 lds r24,Mittelwert_AccNick |
||
2436 | 2447 176c 9091 0000 lds r25,(Mittelwert_AccNick)+1 |
||
2437 | 2448 1770 97FF sbrs r25,7 |
||
2438 | 2449 1772 00C0 rjmp .L213 |
||
2439 | 2450 1774 9095 com r25 |
||
2440 | 2451 1776 8195 neg r24 |
||
2441 | 2452 1778 9F4F sbci r25,lo8(-1) |
||
2442 | 2453 .L213: |
||
2443 | 2454 177a 6CE0 ldi r22,lo8(12) |
||
2444 | 2455 177c 70E0 ldi r23,hi8(12) |
||
2445 | 2456 177e 0E94 0000 call __divmodhi4 |
||
2446 | 2457 1782 9B01 movw r18,r22 |
||
2447 | 2458 1784 6093 0000 sts NeutralAccX,r22 |
||
2448 | 2459 1788 3093 0000 sts NeutralAccX+1,r19 |
||
2449 | 2460 178c 8091 0000 lds r24,Mittelwert_AccRoll |
||
2450 | 2461 1790 9091 0000 lds r25,(Mittelwert_AccRoll)+1 |
||
2451 | 2462 1794 97FF sbrs r25,7 |
||
2452 | 2463 1796 00C0 rjmp .L214 |
||
2453 | 2464 1798 9095 com r25 |
||
2454 | 2465 179a 8195 neg r24 |
||
2455 | 2466 179c 9F4F sbci r25,lo8(-1) |
||
2456 | 2467 .L214: |
||
2457 | 2468 179e 6CE0 ldi r22,lo8(12) |
||
2458 | 2469 17a0 70E0 ldi r23,hi8(12) |
||
2459 | 2470 17a2 0E94 0000 call __divmodhi4 |
||
2460 | 2471 17a6 7093 0000 sts (NeutralAccY)+1,r23 |
||
2461 | 2472 17aa 6093 0000 sts NeutralAccY,r22 |
||
2462 | 2473 17ae 8091 0000 lds r24,Aktuell_az |
||
2463 | 2474 17b2 9091 0000 lds r25,(Aktuell_az)+1 |
||
2464 | 2475 17b6 9093 0000 sts (NeutralAccZ)+1,r25 |
||
2465 | 2476 17ba 8093 0000 sts NeutralAccZ,r24 |
||
2466 | 2477 17be 84E0 ldi r24,lo8(4) |
||
2467 | 2478 17c0 90E0 ldi r25,hi8(4) |
||
2468 | 2479 17c2 B901 movw r22,r18 |
||
2469 | 2480 17c4 0E94 0000 call SetParamWord |
||
2470 | 2481 17c8 6091 0000 lds r22,NeutralAccY |
||
2471 | 2482 17cc 7091 0000 lds r23,(NeutralAccY)+1 |
||
2472 | 2483 17d0 86E0 ldi r24,lo8(6) |
||
2473 | 2484 17d2 90E0 ldi r25,hi8(6) |
||
2474 | 2485 17d4 0E94 0000 call SetParamWord |
||
2475 | 2486 17d8 6091 0000 lds r22,NeutralAccZ |
||
2476 | 2487 17dc 7091 0000 lds r23,(NeutralAccZ)+1 |
||
2477 | 2488 17e0 88E0 ldi r24,lo8(8) |
||
2478 | 2489 17e2 90E0 ldi r25,hi8(8) |
||
2479 | 2490 17e4 0E94 0000 call SetParamWord |
||
2480 | 2491 17e8 00C0 rjmp .L215 |
||
2481 | 2492 .L212: |
||
2482 | 2493 17ea 84E0 ldi r24,lo8(4) |
||
2483 | 2494 17ec 90E0 ldi r25,hi8(4) |
||
2484 | 2495 17ee 0E94 0000 call GetParamWord |
||
2485 | 2496 17f2 9093 0000 sts (NeutralAccX)+1,r25 |
||
2486 | 2497 17f6 8093 0000 sts NeutralAccX,r24 |
||
2487 | 2498 17fa 86E0 ldi r24,lo8(6) |
||
2488 | 2499 17fc 90E0 ldi r25,hi8(6) |
||
2489 | 2500 17fe 0E94 0000 call GetParamWord |
||
2490 | 2501 1802 9093 0000 sts (NeutralAccY)+1,r25 |
||
2491 | 2502 1806 8093 0000 sts NeutralAccY,r24 |
||
2492 | 2503 180a 88E0 ldi r24,lo8(8) |
||
2493 | 2504 180c 90E0 ldi r25,hi8(8) |
||
2494 | 2505 180e 0E94 0000 call GetParamWord |
||
2495 | 2506 1812 9C01 movw r18,r24 |
||
2496 | 2507 1814 9093 0000 sts (NeutralAccZ)+1,r25 |
||
2497 | 2508 1818 8093 0000 sts NeutralAccZ,r24 |
||
2498 | 2509 181c 8091 0000 lds r24,NeutralAccX |
||
2499 | 2510 1820 9091 0000 lds r25,(NeutralAccX)+1 |
||
2500 | 2511 1824 8150 subi r24,lo8(2049) |
||
2501 | 2512 1826 9840 sbci r25,hi8(2049) |
||
2502 | 2513 1828 00F4 brsh .L216 |
||
2503 | 2514 182a 8091 0000 lds r24,NeutralAccY |
||
2504 | 2515 182e 9091 0000 lds r25,(NeutralAccY)+1 |
||
2505 | 2516 1832 8150 subi r24,lo8(2049) |
||
2506 | 2517 1834 9840 sbci r25,hi8(2049) |
||
2507 | 2518 1836 00F4 brsh .L216 |
||
2508 | 2519 1838 2150 subi r18,lo8(1025) |
||
2509 | 2520 183a 3440 sbci r19,hi8(1025) |
||
2510 | 2521 183c 00F4 brsh .+2 |
||
2511 | 2522 183e 00C0 rjmp .L215 |
||
2512 | 2523 .L216: |
||
2513 | 2524 1840 00D0 rcall . |
||
2514 | 2525 1842 00D0 rcall . |
||
2515 | 2526 1844 80E0 ldi r24,lo8(gs(uart_putchar)) |
||
2516 | 2527 1846 90E0 ldi r25,hi8(gs(uart_putchar)) |
||
2517 | 2528 1848 EDB7 in r30,__SP_L__ |
||
2518 | 2529 184a FEB7 in r31,__SP_H__ |
||
2519 | 2530 184c 9283 std Z+2,r25 |
||
2520 | 2531 184e 8183 std Z+1,r24 |
||
2521 | 2532 1850 80E0 ldi r24,lo8(__c.2485) |
||
2522 | 2533 1852 90E0 ldi r25,hi8(__c.2485) |
||
2523 | 2534 1854 9483 std Z+4,r25 |
||
2524 | 2535 1856 8383 std Z+3,r24 |
||
2525 | 2536 1858 E091 0000 lds r30,_printf_P |
||
2526 | 2537 185c F091 0000 lds r31,(_printf_P)+1 |
||
2527 | 2538 1860 0995 icall |
||
2528 | 2539 1862 8091 0000 lds r24,Mittelwert_AccNick |
||
2529 | 2540 1866 9091 0000 lds r25,(Mittelwert_AccNick)+1 |
||
2530 | 2541 186a 97FF sbrs r25,7 |
||
2531 | 2542 186c 00C0 rjmp .L217 |
||
2532 | 2543 186e 9095 com r25 |
||
2533 | 2544 1870 8195 neg r24 |
||
2534 | 2545 1872 9F4F sbci r25,lo8(-1) |
||
2535 | 2546 .L217: |
||
2536 | 2547 1874 6CE0 ldi r22,lo8(12) |
||
2537 | 2548 1876 70E0 ldi r23,hi8(12) |
||
2538 | 2549 1878 0E94 0000 call __divmodhi4 |
||
2539 | 2550 187c 7093 0000 sts (NeutralAccX)+1,r23 |
||
2540 | 2551 1880 6093 0000 sts NeutralAccX,r22 |
||
2541 | 2552 1884 8091 0000 lds r24,Mittelwert_AccRoll |
||
2542 | 2553 1888 9091 0000 lds r25,(Mittelwert_AccRoll)+1 |
||
2543 | 2554 188c 97FF sbrs r25,7 |
||
2544 | 2555 188e 00C0 rjmp .L218 |
||
2545 | 2556 1890 9095 com r25 |
||
2546 | 2557 1892 8195 neg r24 |
||
2547 | 2558 1894 9F4F sbci r25,lo8(-1) |
||
2548 | 2559 .L218: |
||
2549 | 2560 1896 6CE0 ldi r22,lo8(12) |
||
2550 | 2561 1898 70E0 ldi r23,hi8(12) |
||
2551 | 2562 189a 0E94 0000 call __divmodhi4 |
||
2552 | 2563 189e 7093 0000 sts (NeutralAccY)+1,r23 |
||
2553 | 2564 18a2 6093 0000 sts NeutralAccY,r22 |
||
2554 | 2565 18a6 8091 0000 lds r24,Aktuell_az |
||
2555 | 2566 18aa 9091 0000 lds r25,(Aktuell_az)+1 |
||
2556 | 2567 18ae 9093 0000 sts (NeutralAccZ)+1,r25 |
||
2557 | 2568 18b2 8093 0000 sts NeutralAccZ,r24 |
||
2558 | 2569 18b6 0F90 pop __tmp_reg__ |
||
2559 | 2570 18b8 0F90 pop __tmp_reg__ |
||
2560 | 2571 18ba 0F90 pop __tmp_reg__ |
||
2561 | 2572 18bc 0F90 pop __tmp_reg__ |
||
2562 | 2573 .L215: |
||
2563 | 2574 18be 1092 0000 sts (MesswertNick)+1,__zero_reg__ |
||
2564 | 2575 18c2 1092 0000 sts MesswertNick,__zero_reg__ |
||
2565 | 2576 18c6 1092 0000 sts (MesswertRoll)+1,__zero_reg__ |
||
2566 | 2577 18ca 1092 0000 sts MesswertRoll,__zero_reg__ |
||
2567 | 2578 18ce 1092 0000 sts (MesswertGier)+1,__zero_reg__ |
||
2568 | 2579 18d2 1092 0000 sts MesswertGier,__zero_reg__ |
||
2569 | 2580 18d6 84E6 ldi r24,lo8(100) |
||
2570 | 2581 18d8 90E0 ldi r25,hi8(100) |
||
2571 | 2582 18da 0E94 0000 call Delay_ms_Mess |
||
2572 | 2583 18de 2091 0000 lds r18,AdWertAccNick |
||
2573 | 2584 18e2 3091 0000 lds r19,(AdWertAccNick)+1 |
||
2574 | 2585 18e6 B901 movw r22,r18 |
||
2575 | 2586 18e8 660F lsl r22 |
||
2576 | 2587 18ea 771F rol r23 |
||
2577 | 2588 18ec 620F add r22,r18 |
||
2578 | 2589 18ee 731F adc r23,r19 |
||
2579 | 2590 18f0 660F lsl r22 |
||
2580 | 2591 18f2 771F rol r23 |
||
2581 | 2592 18f4 7093 0000 sts (Mittelwert_AccNick)+1,r23 |
||
2582 | 2593 18f8 6093 0000 sts Mittelwert_AccNick,r22 |
||
2583 | 2594 18fc 2091 0000 lds r18,AdWertAccRoll |
||
2584 | 2595 1900 3091 0000 lds r19,(AdWertAccRoll)+1 |
||
2585 | 2596 1904 7901 movw r14,r18 |
||
2586 | 2597 1906 EE0C lsl r14 |
||
2587 | 2598 1908 FF1C rol r15 |
||
2588 | 2599 190a E20E add r14,r18 |
||
2589 | 2600 190c F31E adc r15,r19 |
||
2590 | 2601 190e EE0C lsl r14 |
||
2591 | 2602 1910 FF1C rol r15 |
||
2592 | 2603 1912 F092 0000 sts (Mittelwert_AccRoll)+1,r15 |
||
2593 | 2604 1916 E092 0000 sts Mittelwert_AccRoll,r14 |
||
2594 | 2605 191a A090 0000 lds r10,EE_Parameter+28 |
||
2595 | 2606 191e BB24 clr r11 |
||
2596 | 2607 1920 CC24 clr r12 |
||
2597 | 2608 1922 DD24 clr r13 |
||
2598 | 2609 1924 8827 clr r24 |
||
2599 | 2610 1926 77FD sbrc r23,7 |
||
2600 | 2611 1928 8095 com r24 |
||
2601 | 2612 192a 982F mov r25,r24 |
||
2602 | 2613 192c A601 movw r20,r12 |
||
2603 | 2614 192e 9501 movw r18,r10 |
||
2604 | 2615 1930 0E94 0000 call __mulsi3 |
||
2605 | 2616 1934 3B01 movw r6,r22 |
||
2606 | 2617 1936 4C01 movw r8,r24 |
||
2607 | 2618 1938 6093 0000 sts IntegralNick,r22 |
||
2608 | 2619 193c 7093 0000 sts (IntegralNick)+1,r23 |
||
2609 | 2620 1940 8093 0000 sts (IntegralNick)+2,r24 |
||
2610 | 2621 1944 9093 0000 sts (IntegralNick)+3,r25 |
||
2611 | 2622 1948 0027 clr r16 |
||
2612 | 2623 194a F7FC sbrc r15,7 |
||
2613 | 2624 194c 0095 com r16 |
||
2614 | 2625 194e 102F mov r17,r16 |
||
2615 | 2626 1950 C801 movw r24,r16 |
||
2616 | 2627 1952 B701 movw r22,r14 |
||
2617 | 2628 1954 0E94 0000 call __mulsi3 |
||
2618 | 2629 1958 6093 0000 sts IntegralRoll,r22 |
||
2619 | 2630 195c 7093 0000 sts (IntegralRoll)+1,r23 |
||
2620 | 2631 1960 8093 0000 sts (IntegralRoll)+2,r24 |
||
2621 | 2632 1964 9093 0000 sts (IntegralRoll)+3,r25 |
||
2622 | 2633 1968 6092 0000 sts Mess_IntegralNick2,r6 |
||
2623 | 2634 196c 7092 0000 sts (Mess_IntegralNick2)+1,r7 |
||
2624 | 2635 1970 8092 0000 sts (Mess_IntegralNick2)+2,r8 |
||
2625 | 2636 1974 9092 0000 sts (Mess_IntegralNick2)+3,r9 |
||
2626 | 2637 1978 6093 0000 sts Mess_IntegralRoll2,r22 |
||
2627 | 2638 197c 7093 0000 sts (Mess_IntegralRoll2)+1,r23 |
||
2628 | 2639 1980 8093 0000 sts (Mess_IntegralRoll2)+2,r24 |
||
2629 | 2640 1984 9093 0000 sts (Mess_IntegralRoll2)+3,r25 |
||
2630 | 2641 1988 1092 0000 sts Mess_Integral_Gier,__zero_reg__ |
||
2631 | 2642 198c 1092 0000 sts (Mess_Integral_Gier)+1,__zero_reg__ |
||
2632 | 2643 1990 1092 0000 sts (Mess_Integral_Gier)+2,__zero_reg__ |
||
2633 | 2644 1994 1092 0000 sts (Mess_Integral_Gier)+3,__zero_reg__ |
||
2634 | 2645 1998 8091 0000 lds r24,Luftdruck |
||
2635 | 2646 199c 9091 0000 lds r25,(Luftdruck)+1 |
||
2636 | 2647 19a0 A091 0000 lds r26,(Luftdruck)+2 |
||
2637 | 2648 19a4 B091 0000 lds r27,(Luftdruck)+3 |
||
2638 | 2649 19a8 9093 0000 sts (StartLuftdruck)+1,r25 |
||
2639 | 2650 19ac 8093 0000 sts StartLuftdruck,r24 |
||
2640 | 2651 19b0 1092 0000 sts (VarioMeter)+1,__zero_reg__ |
||
2641 | 2652 19b4 1092 0000 sts VarioMeter,__zero_reg__ |
||
2642 | 2653 19b8 1092 0000 sts Mess_Integral_Hoch,__zero_reg__ |
||
2643 | 2654 19bc 1092 0000 sts (Mess_Integral_Hoch)+1,__zero_reg__ |
||
2644 | 2655 19c0 1092 0000 sts (Mess_Integral_Hoch)+2,__zero_reg__ |
||
2645 | 2656 19c4 1092 0000 sts (Mess_Integral_Hoch)+3,__zero_reg__ |
||
2646 | 2657 19c8 8091 0000 lds r24,KompassValue |
||
2647 | 2658 19cc 9091 0000 lds r25,(KompassValue)+1 |
||
2648 | 2659 19d0 9093 0000 sts (KompassStartwert)+1,r25 |
||
2649 | 2660 19d4 8093 0000 sts KompassStartwert,r24 |
||
2650 | 2661 19d8 0E94 0000 call GPS_Neutral |
||
2651 | 2662 19dc 82E3 ldi r24,lo8(50) |
||
2652 | 2663 19de 90E0 ldi r25,hi8(50) |
||
2653 | 2664 19e0 9093 0000 sts (beeptime)+1,r25 |
||
2654 | 2665 19e4 8093 0000 sts beeptime,r24 |
||
2655 | 2666 19e8 6091 0000 lds r22,EE_Parameter+63 |
||
2656 | 2667 19ec 70E0 ldi r23,lo8(0) |
||
2657 | 2668 19ee 80E0 ldi r24,lo8(0) |
||
2658 | 2669 19f0 90E0 ldi r25,hi8(0) |
||
2659 | 2670 19f2 24EC ldi r18,lo8(2500) |
||
2660 | 2671 19f4 39E0 ldi r19,hi8(2500) |
||
2661 | 2672 19f6 40E0 ldi r20,hlo8(2500) |
||
2662 | 2673 19f8 50E0 ldi r21,hhi8(2500) |
||
2663 | 2674 19fa 0E94 0000 call __mulsi3 |
||
2664 | 2675 19fe 6856 subi r22,lo8(-(15000)) |
||
2665 | 2676 1a00 754C sbci r23,hi8(-(15000)) |
||
2666 | 2677 1a02 8F4F sbci r24,hlo8(-(15000)) |
||
2667 | 2678 1a04 9F4F sbci r25,hhi8(-(15000)) |
||
2668 | 2679 1a06 6093 0000 sts Umschlag180Nick,r22 |
||
2669 | 2680 1a0a 7093 0000 sts (Umschlag180Nick)+1,r23 |
||
2670 | 2681 1a0e 8093 0000 sts (Umschlag180Nick)+2,r24 |
||
2671 | 2682 1a12 9093 0000 sts (Umschlag180Nick)+3,r25 |
||
2672 | 2683 1a16 6091 0000 lds r22,EE_Parameter+64 |
||
2673 | 2684 1a1a 70E0 ldi r23,lo8(0) |
||
2674 | 2685 1a1c 80E0 ldi r24,lo8(0) |
||
2675 | 2686 1a1e 90E0 ldi r25,hi8(0) |
||
2676 | 2687 1a20 0E94 0000 call __mulsi3 |
||
2677 | 2688 1a24 6856 subi r22,lo8(-(15000)) |
||
2678 | 2689 1a26 754C sbci r23,hi8(-(15000)) |
||
2679 | 2690 1a28 8F4F sbci r24,hlo8(-(15000)) |
||
2680 | 2691 1a2a 9F4F sbci r25,hhi8(-(15000)) |
||
2681 | 2692 1a2c 6093 0000 sts Umschlag180Roll,r22 |
||
2682 | 2693 1a30 7093 0000 sts (Umschlag180Roll)+1,r23 |
||
2683 | 2694 1a34 8093 0000 sts (Umschlag180Roll)+2,r24 |
||
2684 | 2695 1a38 9093 0000 sts (Umschlag180Roll)+3,r25 |
||
2685 | 2696 1a3c 1092 0000 sts (ExternHoehenValue)+1,__zero_reg__ |
||
2686 | 2697 1a40 1092 0000 sts ExternHoehenValue,__zero_reg__ |
||
2687 | 2698 1a44 6091 0000 lds r22,KompassValue |
||
2688 | 2699 1a48 7091 0000 lds r23,(KompassValue)+1 |
||
2689 | 2700 1a4c 8827 clr r24 |
||
2690 | 2701 1a4e 77FD sbrc r23,7 |
||
2691 | 2702 1a50 8095 com r24 |
||
2692 | 2703 1a52 982F mov r25,r24 |
||
2693 | 2704 1a54 2091 0000 lds r18,GIER_GRAD_FAKTOR |
||
2694 | 2705 1a58 3091 0000 lds r19,(GIER_GRAD_FAKTOR)+1 |
||
2695 | 2706 1a5c 4091 0000 lds r20,(GIER_GRAD_FAKTOR)+2 |
||
2696 | 2707 1a60 5091 0000 lds r21,(GIER_GRAD_FAKTOR)+3 |
||
2697 | 2708 1a64 0E94 0000 call __mulsi3 |
||
2698 | 2709 1a68 6093 0000 sts ErsatzKompass,r22 |
||
2699 | 2710 1a6c 7093 0000 sts (ErsatzKompass)+1,r23 |
||
2700 | 2711 1a70 8093 0000 sts (ErsatzKompass)+2,r24 |
||
2701 | 2712 1a74 9093 0000 sts (ErsatzKompass)+3,r25 |
||
2702 | 2713 1a78 1092 0000 sts (GierGyroFehler)+1,__zero_reg__ |
||
2703 | 2714 1a7c 1092 0000 sts GierGyroFehler,__zero_reg__ |
||
2704 | 2715 1a80 81E0 ldi r24,lo8(1) |
||
2705 | 2716 1a82 8093 0000 sts SendVersionToNavi,r24 |
||
2706 | 2717 1a86 0E94 0000 call LED_Init |
||
2707 | 2718 1a8a 8091 0000 lds r24,FCFlags |
||
2708 | 2719 1a8e 8460 ori r24,lo8(4) |
||
2709 | 2720 1a90 8093 0000 sts FCFlags,r24 |
||
2710 | 2721 1a94 8FEF ldi r24,lo8(-1) |
||
2711 | 2722 1a96 8093 0000 sts FromNaviCtrl_Value,r24 |
||
2712 | 2723 1a9a 1092 0000 sts FromNaviCtrl_Value+1,__zero_reg__ |
||
2713 | 2724 1a9e 80E2 ldi r24,lo8(32) |
||
2714 | 2725 1aa0 8093 0000 sts FromNaviCtrl_Value+2,r24 |
||
2715 | 2726 1aa4 A0E0 ldi r26,lo8(EE_Parameter+5) |
||
2716 | 2727 1aa6 B0E0 ldi r27,hi8(EE_Parameter+5) |
||
2717 | 2728 1aa8 C0E0 ldi r28,lo8(Poti) |
||
2718 | 2729 1aaa D0E0 ldi r29,hi8(Poti) |
||
2719 | 2730 .L219: |
||
2720 | 2731 1aac ED91 ld r30,X+ |
||
2721 | 2732 1aae F0E0 ldi r31,lo8(0) |
||
2722 | 2733 1ab0 EE0F lsl r30 |
||
2723 | 2734 1ab2 FF1F rol r31 |
||
2724 | 2735 1ab4 E050 subi r30,lo8(-(PPM_in)) |
||
2725 | 2736 1ab6 F040 sbci r31,hi8(-(PPM_in)) |
||
2726 | 2737 1ab8 8081 ld r24,Z |
||
2727 | 2738 1aba 9181 ldd r25,Z+1 |
||
2728 | 2739 1abc 8259 subi r24,lo8(-(110)) |
||
2729 | 2740 1abe 8993 st Y+,r24 |
||
2730 | 2741 1ac0 F0E0 ldi r31,hi8(EE_Parameter+13) |
||
2731 | 2742 1ac2 A030 cpi r26,lo8(EE_Parameter+13) |
||
2732 | 2743 1ac4 BF07 cpc r27,r31 |
||
2733 | 2744 1ac6 01F4 brne .L219 |
||
2734 | 2745 1ac8 84E6 ldi r24,lo8(100) |
||
2735 | 2746 1aca 8093 0000 sts SenderOkay,r24 |
||
2736 | 2747 1ace 8091 0000 lds r24,ServoActive |
||
2737 | 2748 1ad2 8823 tst r24 |
||
2738 | 2749 1ad4 01F0 breq .L220 |
||
2739 | 2750 1ad6 469A sbi 40-32,6 |
||
2740 | 2751 1ad8 579A sbi 42-32,7 |
||
2741 | 2752 .L220: |
||
2742 | 2753 1ada 8091 0000 lds r24,AdNeutralNick |
||
2743 | 2754 1ade 9091 0000 lds r25,(AdNeutralNick)+1 |
||
2744 | 2755 1ae2 8056 subi r24,lo8(-(-2400)) |
||
2745 | 2756 1ae4 9940 sbci r25,hi8(-(-2400)) |
||
2746 | 2757 1ae6 815C subi r24,lo8(11201) |
||
2747 | 2758 1ae8 9B42 sbci r25,hi8(11201) |
||
2748 | 2759 1aea 00F0 brlo .L221 |
||
2749 | 2760 1aec 8091 0000 lds r24,VersionInfo+5 |
||
2750 | 2761 1af0 8160 ori r24,lo8(1) |
||
2751 | 2762 1af2 8093 0000 sts VersionInfo+5,r24 |
||
2752 | 2763 .L221: |
||
2753 | 2764 1af6 8091 0000 lds r24,AdNeutralRoll |
||
2754 | 2765 1afa 9091 0000 lds r25,(AdNeutralRoll)+1 |
||
2755 | 2766 1afe 8056 subi r24,lo8(-(-2400)) |
||
2756 | 2767 1b00 9940 sbci r25,hi8(-(-2400)) |
||
2757 | 2768 1b02 815C subi r24,lo8(11201) |
||
2758 | 2769 1b04 9B42 sbci r25,hi8(11201) |
||
2759 | 2770 1b06 00F0 brlo .L222 |
||
2760 | 2771 1b08 8091 0000 lds r24,VersionInfo+5 |
||
2761 | 2772 1b0c 8260 ori r24,lo8(2) |
||
2762 | 2773 1b0e 8093 0000 sts VersionInfo+5,r24 |
||
2763 | 2774 .L222: |
||
2764 | 2775 1b12 8091 0000 lds r24,AdNeutralGier |
||
2765 | 2776 1b16 9091 0000 lds r25,(AdNeutralGier)+1 |
||
2766 | 2777 1b1a 8C52 subi r24,lo8(-(-300)) |
||
2767 | 2778 1b1c 9140 sbci r25,hi8(-(-300)) |
||
2768 | 2779 1b1e 8957 subi r24,lo8(1401) |
||
2769 | 2780 1b20 9540 sbci r25,hi8(1401) |
||
2770 | 2781 1b22 00F0 brlo .L223 |
||
2771 | 2782 1b24 8091 0000 lds r24,VersionInfo+5 |
||
2772 | 2783 1b28 8460 ori r24,lo8(4) |
||
2773 | 2784 1b2a 8093 0000 sts VersionInfo+5,r24 |
||
2774 | 2785 .L223: |
||
2775 | 2786 1b2e 8091 0000 lds r24,NeutralAccX |
||
2776 | 2787 1b32 9091 0000 lds r25,(NeutralAccX)+1 |
||
2777 | 2788 1b36 8C52 subi r24,lo8(-(-300)) |
||
2778 | 2789 1b38 9140 sbci r25,hi8(-(-300)) |
||
2779 | 2790 1b3a 835C subi r24,lo8(451) |
||
2780 | 2791 1b3c 9140 sbci r25,hi8(451) |
||
2781 | 2792 1b3e 00F0 brlo .L224 |
||
2782 | 2793 1b40 8091 0000 lds r24,VersionInfo+5 |
||
2783 | 2794 1b44 8860 ori r24,lo8(8) |
||
2784 | 2795 1b46 8093 0000 sts VersionInfo+5,r24 |
||
2785 | 2796 .L224: |
||
2786 | 2797 1b4a 8091 0000 lds r24,NeutralAccY |
||
2787 | 2798 1b4e 9091 0000 lds r25,(NeutralAccY)+1 |
||
2788 | 2799 1b52 8C52 subi r24,lo8(-(-300)) |
||
2789 | 2800 1b54 9140 sbci r25,hi8(-(-300)) |
||
2790 | 2801 1b56 835C subi r24,lo8(451) |
||
2791 | 2802 1b58 9140 sbci r25,hi8(451) |
||
2792 | 2803 1b5a 00F0 brlo .L225 |
||
2793 | 2804 1b5c 8091 0000 lds r24,VersionInfo+5 |
||
2794 | 2805 1b60 8061 ori r24,lo8(16) |
||
2795 | 2806 1b62 8093 0000 sts VersionInfo+5,r24 |
||
2796 | 2807 .L225: |
||
2797 | 2808 1b66 8091 0000 lds r24,NeutralAccZ |
||
2798 | 2809 1b6a 9091 0000 lds r25,(NeutralAccZ)+1 |
||
2799 | 2810 1b6e 8050 subi r24,lo8(-(-512)) |
||
2800 | 2811 1b70 9240 sbci r25,hi8(-(-512)) |
||
2801 | 2812 1b72 8355 subi r24,lo8(339) |
||
2802 | 2813 1b74 9140 sbci r25,hi8(339) |
||
2803 | 2814 1b76 00F0 brlo .L227 |
||
2804 | 2815 1b78 8091 0000 lds r24,VersionInfo+5 |
||
2805 | 2816 1b7c 8062 ori r24,lo8(32) |
||
2806 | 2817 1b7e 8093 0000 sts VersionInfo+5,r24 |
||
2807 | 2818 .L227: |
||
2808 | 2819 /* epilogue start */ |
||
2809 | 2820 1b82 CDB7 in r28,__SP_L__ |
||
2810 | 2821 1b84 DEB7 in r29,__SP_H__ |
||
2811 | 2822 1b86 EEE0 ldi r30, lo8(14) |
||
2812 | 2823 1b88 0C94 0000 jmp __epilogue_restores__ + ((18 - 14) * 2) |
||
2813 | 2825 .global Piep |
||
2814 | 2827 Piep: |
||
2815 | 2828 1b8c EF92 push r14 |
||
2816 | 2829 1b8e FF92 push r15 |
||
2817 | 2830 1b90 1F93 push r17 |
||
2818 | 2831 1b92 CF93 push r28 |
||
2819 | 2832 1b94 DF93 push r29 |
||
2820 | 2833 /* prologue: function */ |
||
2821 | 2834 /* frame size = 0 */ |
||
2822 | 2835 1b96 182F mov r17,r24 |
||
2823 | 2836 1b98 EB01 movw r28,r22 |
||
2824 | 2837 1b9a 8091 0000 lds r24,MotorenEin |
||
2825 | 2838 1b9e 8823 tst r24 |
||
2826 | 2839 1ba0 01F4 brne .L235 |
||
2827 | 2840 1ba2 7B01 movw r14,r22 |
||
2828 | 2841 1ba4 EE0C lsl r14 |
||
2829 | 2842 1ba6 FF1C rol r15 |
||
2830 | 2843 1ba8 00C0 rjmp .L232 |
||
2831 | 2844 .L234: |
||
2832 | 2845 1baa D093 0000 sts (beeptime)+1,r29 |
||
2833 | 2846 1bae C093 0000 sts beeptime,r28 |
||
2834 | 2847 .L233: |
||
2835 | 2848 1bb2 8091 0000 lds r24,beeptime |
||
2836 | 2849 1bb6 9091 0000 lds r25,(beeptime)+1 |
||
2837 | 2850 1bba 892B or r24,r25 |
||
2838 | 2851 1bbc 01F4 brne .L233 |
||
2839 | 2852 1bbe C701 movw r24,r14 |
||
2840 | 2853 1bc0 0E94 0000 call Delay_ms |
||
2841 | 2854 1bc4 1150 subi r17,lo8(-(-1)) |
||
2842 | 2855 .L232: |
||
2843 | 2856 1bc6 1123 tst r17 |
||
2844 | 2857 1bc8 01F4 brne .L234 |
||
2845 | 2858 .L235: |
||
2846 | 2859 /* epilogue start */ |
||
2847 | 2860 1bca DF91 pop r29 |
||
2848 | 2861 1bcc CF91 pop r28 |
||
2849 | 2862 1bce 1F91 pop r17 |
||
2850 | 2863 1bd0 FF90 pop r15 |
||
2851 | 2864 1bd2 EF90 pop r14 |
||
2852 | 2865 1bd4 0895 ret |
||
2853 | 2867 .global MotorRegler |
||
2854 | 2869 MotorRegler: |
||
2855 | 2870 1bd6 A5E4 ldi r26,lo8(69) |
||
2856 | 2871 1bd8 B0E0 ldi r27,hi8(69) |
||
2857 | 2872 1bda E0E0 ldi r30,lo8(gs(1f)) |
||
2858 | 2873 1bdc F0E0 ldi r31,hi8(gs(1f)) |
||
2859 | 2874 1bde 0C94 0000 jmp __prologue_saves__+((18 - 18) * 2) |
||
2860 | 2875 1: |
||
2861 | 2876 /* prologue: function */ |
||
2862 | 2877 /* frame size = 69 */ |
||
2863 | 2878 1be2 0E94 0000 call Mittelwert |
||
2864 | 2879 1be6 8091 0000 lds r24,PlatinenVersion |
||
2865 | 2880 1bea 8C30 cpi r24,lo8(12) |
||
2866 | 2881 1bec 00F4 brsh .L238 |
||
2867 | 2882 1bee 299A sbi 37-32,1 |
||
2868 | 2883 1bf0 00C0 rjmp .L239 |
||
2869 | 2884 .L238: |
||
2870 | 2885 1bf2 2998 cbi 37-32,1 |
||
2871 | 2886 .L239: |
||
2872 | 2887 1bf4 2091 0000 lds r18,StickGas |
||
2873 | 2888 1bf8 3091 0000 lds r19,(StickGas)+1 |
||
2874 | 2889 1bfc 3FA3 std Y+39,r19 |
||
2875 | 2890 1bfe 2EA3 std Y+38,r18 |
||
2876 | 2891 1c00 8091 0000 lds r24,MIN_GAS |
||
2877 | 2892 1c04 282F mov r18,r24 |
||
2878 | 2893 1c06 30E0 ldi r19,lo8(0) |
||
2879 | 2894 1c08 C901 movw r24,r18 |
||
2880 | 2895 1c0a 0996 adiw r24,9 |
||
2881 | 2896 1c0c 4EA1 ldd r20,Y+38 |
||
2882 | 2897 1c0e 5FA1 ldd r21,Y+39 |
||
2883 | 2898 1c10 8417 cp r24,r20 |
||
2884 | 2899 1c12 9507 cpc r25,r21 |
||
2885 | 2900 1c14 04F0 brlt .L240 |
||
2886 | 2901 1c16 B901 movw r22,r18 |
||
2887 | 2902 1c18 665F subi r22,lo8(-(10)) |
||
2888 | 2903 1c1a 7F4F sbci r23,hi8(-(10)) |
||
2889 | 2904 1c1c 7FA3 std Y+39,r23 |
||
2890 | 2905 1c1e 6EA3 std Y+38,r22 |
||
2891 | 2906 .L240: |
||
2892 | 2907 1c20 8091 0000 lds r24,SenderOkay |
||
2893 | 2908 1c24 8436 cpi r24,lo8(100) |
||
2894 | 2909 1c26 00F0 brlo .+2 |
||
2895 | 2910 1c28 00C0 rjmp .L241 |
||
2896 | 2911 1c2a 8091 0000 lds r24,RcLostTimer.3047 |
||
2897 | 2912 1c2e 9091 0000 lds r25,(RcLostTimer.3047)+1 |
||
2898 | 2913 1c32 0097 sbiw r24,0 |
||
2899 | 2914 1c34 01F0 breq .L242 |
||
2900 | 2915 1c36 0197 sbiw r24,1 |
||
2901 | 2916 1c38 9093 0000 sts (RcLostTimer.3047)+1,r25 |
||
2902 | 2917 1c3c 8093 0000 sts RcLostTimer.3047,r24 |
||
2903 | 2918 1c40 00C0 rjmp .L243 |
||
2904 | 2919 .L242: |
||
2905 | 2920 1c42 1092 0000 sts MotorenEin,__zero_reg__ |
||
2906 | 2921 1c46 8091 0000 lds r24,FCFlags |
||
2907 | 2922 1c4a 8F7E andi r24,lo8(-17) |
||
2908 | 2923 1c4c 8093 0000 sts FCFlags,r24 |
||
2909 | 2924 .L243: |
||
2910 | 2925 1c50 8091 0000 lds r24,PlatinenVersion |
||
2911 | 2926 1c54 8A30 cpi r24,lo8(10) |
||
2912 | 2927 1c56 01F0 breq .L244 |
||
2913 | 2928 1c58 8431 cpi r24,lo8(20) |
||
2914 | 2929 1c5a 00F0 brlo .L245 |
||
2915 | 2930 .L244: |
||
2916 | 2931 1c5c 289A sbi 37-32,0 |
||
2917 | 2932 1c5e 00C0 rjmp .L246 |
||
2918 | 2933 .L245: |
||
2919 | 2934 1c60 2898 cbi 37-32,0 |
||
2920 | 2935 .L246: |
||
2921 | 2936 1c62 8091 0000 lds r24,modell_fliegt |
||
2922 | 2937 1c66 9091 0000 lds r25,(modell_fliegt)+1 |
||
2923 | 2938 1c6a 895E subi r24,lo8(1001) |
||
2924 | 2939 1c6c 9340 sbci r25,hi8(1001) |
||
2925 | 2940 1c6e 00F0 brlo .L247 |
||
2926 | 2941 1c70 8091 0000 lds r24,EE_Parameter+37 |
||
2927 | 2942 1c74 A82F mov r26,r24 |
||
2928 | 2943 1c76 B0E0 ldi r27,lo8(0) |
||
2929 | 2944 1c78 BFA3 std Y+39,r27 |
||
2930 | 2945 1c7a AEA3 std Y+38,r26 |
||
2931 | 2946 1c7c 8091 0000 lds r24,FCFlags |
||
2932 | 2947 1c80 8061 ori r24,lo8(16) |
||
2933 | 2948 1c82 8093 0000 sts FCFlags,r24 |
||
2934 | 2949 1c86 A091 0000 lds r26,EE_Parameter+1 |
||
2935 | 2950 1c8a B0E0 ldi r27,lo8(0) |
||
2936 | 2951 1c8c AA0F lsl r26 |
||
2937 | 2952 1c8e BB1F rol r27 |
||
2938 | 2953 1c90 FD01 movw r30,r26 |
||
2939 | 2954 1c92 E050 subi r30,lo8(-(PPM_diff)) |
||
2940 | 2955 1c94 F040 sbci r31,hi8(-(PPM_diff)) |
||
2941 | 2956 1c96 1182 std Z+1,__zero_reg__ |
||
2942 | 2957 1c98 1082 st Z,__zero_reg__ |
||
2943 | 2958 1c9a E091 0000 lds r30,EE_Parameter+2 |
||
2944 | 2959 1c9e 2E2F mov r18,r30 |
||
2945 | 2960 1ca0 30E0 ldi r19,lo8(0) |
||
2946 | 2961 1ca2 220F lsl r18 |
||
2947 | 2962 1ca4 331F rol r19 |
||
2948 | 2963 1ca6 C901 movw r24,r18 |
||
2949 | 2964 1ca8 8050 subi r24,lo8(-(PPM_diff)) |
||
2950 | 2965 1caa 9040 sbci r25,hi8(-(PPM_diff)) |
||
2951 | 2966 1cac FC01 movw r30,r24 |
||
2952 | 2967 1cae 1182 std Z+1,__zero_reg__ |
||
2953 | 2968 1cb0 1082 st Z,__zero_reg__ |
||
2954 | 2969 1cb2 A050 subi r26,lo8(-(PPM_in)) |
||
2955 | 2970 1cb4 B040 sbci r27,hi8(-(PPM_in)) |
||
2956 | 2971 1cb6 1196 adiw r26,1 |
||
2957 | 2972 1cb8 1C92 st X,__zero_reg__ |
||
2958 | 2973 1cba 1E92 st -X,__zero_reg__ |
||
2959 | 2974 1cbc 2050 subi r18,lo8(-(PPM_in)) |
||
2960 | 2975 1cbe 3040 sbci r19,hi8(-(PPM_in)) |
||
2961 | 2976 1cc0 D901 movw r26,r18 |
||
2962 | 2977 1cc2 1196 adiw r26,1 |
||
2963 | 2978 1cc4 1C92 st X,__zero_reg__ |
||
2964 | 2979 1cc6 1E92 st -X,__zero_reg__ |
||
2965 | 2980 1cc8 E091 0000 lds r30,EE_Parameter+4 |
||
2966 | 2981 1ccc F0E0 ldi r31,lo8(0) |
||
2967 | 2982 1cce EE0F lsl r30 |
||
2968 | 2983 1cd0 FF1F rol r31 |
||
2969 | 2984 1cd2 E050 subi r30,lo8(-(PPM_in)) |
||
2970 | 2985 1cd4 F040 sbci r31,hi8(-(PPM_in)) |
||
2971 | 2986 1cd6 1182 std Z+1,__zero_reg__ |
||
2972 | 2987 1cd8 1082 st Z,__zero_reg__ |
||
2973 | 2988 1cda 00C0 rjmp .L248 |
||
2974 | 2989 .L247: |
||
2975 | 2990 1cdc 1092 0000 sts MotorenEin,__zero_reg__ |
||
2976 | 2991 1ce0 00C0 rjmp .L248 |
||
2977 | 2992 .L241: |
||
2978 | 2993 1ce2 8091 0000 lds r24,SenderOkay |
||
2979 | 2994 1ce6 8D38 cpi r24,lo8(-115) |
||
2980 | 2995 1ce8 00F4 brsh .+2 |
||
2981 | 2996 1cea 00C0 rjmp .L248 |
||
2982 | 2997 1cec 8091 0000 lds r24,FCFlags |
||
2983 | 2998 1cf0 8F7E andi r24,lo8(-17) |
||
2984 | 2999 1cf2 8093 0000 sts FCFlags,r24 |
||
2985 | 3000 1cf6 8091 0000 lds r24,EE_Parameter+38 |
||
2986 | 3001 1cfa 22E3 ldi r18,lo8(50) |
||
2987 | 3002 1cfc 829F mul r24,r18 |
||
2988 | 3003 1cfe C001 movw r24,r0 |
||
2989 | 3004 1d00 1124 clr r1 |
||
2990 | 3005 1d02 9093 0000 sts (RcLostTimer.3047)+1,r25 |
||
2991 | 3006 1d06 8093 0000 sts RcLostTimer.3047,r24 |
||
2992 | 3007 1d0a EEA1 ldd r30,Y+38 |
||
2993 | 3008 1d0c FFA1 ldd r31,Y+39 |
||
2994 | 3009 1d0e B997 sbiw r30,41 |
||
2995 | 3010 1d10 04F0 brlt .L249 |
||
2996 | 3011 1d12 8091 0000 lds r24,MotorenEin |
||
2997 | 3012 1d16 8823 tst r24 |
||
2998 | 3013 1d18 01F0 breq .L249 |
||
2999 | 3014 1d1a 8091 0000 lds r24,modell_fliegt |
||
3000 | 3015 1d1e 9091 0000 lds r25,(modell_fliegt)+1 |
||
3001 | 3016 1d22 FFEF ldi r31,hi8(-1) |
||
3002 | 3017 1d24 8F3F cpi r24,lo8(-1) |
||
3003 | 3018 1d26 9F07 cpc r25,r31 |
||
3004 | 3019 1d28 01F0 breq .L249 |
||
3005 | 3020 1d2a 0196 adiw r24,1 |
||
3006 | 3021 1d2c 9093 0000 sts (modell_fliegt)+1,r25 |
||
3007 | 3022 1d30 8093 0000 sts modell_fliegt,r24 |
||
3008 | 3023 .L249: |
||
3009 | 3024 1d34 8091 0000 lds r24,modell_fliegt |
||
3010 | 3025 1d38 9091 0000 lds r25,(modell_fliegt)+1 |
||
3011 | 3026 1d3c 8F3F cpi r24,255 |
||
3012 | 3027 1d3e 9105 cpc r25,__zero_reg__ |
||
3013 | 3028 1d40 01F0 breq .+2 |
||
3014 | 3029 1d42 00F4 brsh .L250 |
||
3015 | 3030 1d44 1092 0000 sts SummeNick,__zero_reg__ |
||
3016 | 3031 1d48 1092 0000 sts (SummeNick)+1,__zero_reg__ |
||
3017 | 3032 1d4c 1092 0000 sts (SummeNick)+2,__zero_reg__ |
||
3018 | 3033 1d50 1092 0000 sts (SummeNick)+3,__zero_reg__ |
||
3019 | 3034 1d54 1092 0000 sts SummeRoll,__zero_reg__ |
||
3020 | 3035 1d58 1092 0000 sts (SummeRoll)+1,__zero_reg__ |
||
3021 | 3036 1d5c 1092 0000 sts (SummeRoll)+2,__zero_reg__ |
||
3022 | 3037 1d60 1092 0000 sts (SummeRoll)+3,__zero_reg__ |
||
3023 | 3038 1d64 1092 0000 sts sollGier.3042,__zero_reg__ |
||
3024 | 3039 1d68 1092 0000 sts (sollGier.3042)+1,__zero_reg__ |
||
3025 | 3040 1d6c 1092 0000 sts (sollGier.3042)+2,__zero_reg__ |
||
3026 | 3041 1d70 1092 0000 sts (sollGier.3042)+3,__zero_reg__ |
||
3027 | 3042 1d74 1092 0000 sts Mess_Integral_Gier,__zero_reg__ |
||
3028 | 3043 1d78 1092 0000 sts (Mess_Integral_Gier)+1,__zero_reg__ |
||
3029 | 3044 1d7c 1092 0000 sts (Mess_Integral_Gier)+2,__zero_reg__ |
||
3030 | 3045 1d80 1092 0000 sts (Mess_Integral_Gier)+3,__zero_reg__ |
||
3031 | 3046 1d84 8A3F cpi r24,250 |
||
3032 | 3047 1d86 9105 cpc r25,__zero_reg__ |
||
3033 | 3048 1d88 01F4 brne .L251 |
||
3034 | 3049 1d8a 81E0 ldi r24,lo8(1) |
||
3035 | 3050 1d8c 8093 0000 sts NeueKompassRichtungMerken.3052,r24 |
||
3036 | 3051 1d90 00C0 rjmp .L251 |
||
3037 | 3052 .L250: |
||
3038 | 3053 1d92 8091 0000 lds r24,FCFlags |
||
3039 | 3054 1d96 8260 ori r24,lo8(2) |
||
3040 | 3055 1d98 8093 0000 sts FCFlags,r24 |
||
3041 | 3056 .L251: |
||
3042 | 3057 1d9c E091 0000 lds r30,EE_Parameter+3 |
||
3043 | 3058 1da0 F0E0 ldi r31,lo8(0) |
||
3044 | 3059 1da2 EE0F lsl r30 |
||
3045 | 3060 1da4 FF1F rol r31 |
||
3046 | 3061 1da6 E050 subi r30,lo8(-(PPM_in)) |
||
3047 | 3062 1da8 F040 sbci r31,hi8(-(PPM_in)) |
||
3048 | 3063 1daa 8081 ld r24,Z |
||
3049 | 3064 1dac 9181 ldd r25,Z+1 |
||
3050 | 3065 1dae 8135 cpi r24,81 |
||
3051 | 3066 1db0 9105 cpc r25,__zero_reg__ |
||
3052 | 3067 1db2 04F4 brge .+2 |
||
3053 | 3068 1db4 00C0 rjmp .L252 |
||
3054 | 3069 1db6 8091 0000 lds r24,MotorenEin |
||
3055 | 3070 1dba 8823 tst r24 |
||
3056 | 3071 1dbc 01F0 breq .+2 |
||
3057 | 3072 1dbe 00C0 rjmp .L252 |
||
3058 | 3073 1dc0 8091 0000 lds r24,EE_Parameter+4 |
||
3059 | 3074 1dc4 E82F mov r30,r24 |
||
3060 | 3075 1dc6 F0E0 ldi r31,lo8(0) |
||
3061 | 3076 1dc8 EE0F lsl r30 |
||
3062 | 3077 1dca FF1F rol r31 |
||
3063 | 3078 1dcc E050 subi r30,lo8(-(PPM_in)) |
||
3064 | 3079 1dce F040 sbci r31,hi8(-(PPM_in)) |
||
3065 | 3080 1dd0 8081 ld r24,Z |
||
3066 | 3081 1dd2 9181 ldd r25,Z+1 |
||
3067 | 3082 1dd4 8C34 cpi r24,76 |
||
3068 | 3083 1dd6 9105 cpc r25,__zero_reg__ |
||
3069 | 3084 1dd8 04F4 brge .+2 |
||
3070 | 3085 1dda 00C0 rjmp .L253 |
||
3071 | 3086 1ddc 8091 0000 lds r24,delay_neutral.3048 |
||
3072 | 3087 1de0 8F5F subi r24,lo8(-(1)) |
||
3073 | 3088 1de2 8093 0000 sts delay_neutral.3048,r24 |
||
3074 | 3089 1de6 893C cpi r24,lo8(-55) |
||
3075 | 3090 1de8 00F4 brsh .+2 |
||
3076 | 3091 1dea 00C0 rjmp .L252 |
||
3077 | 3092 1dec 8091 0000 lds r24,PlatinenVersion |
||
3078 | 3093 1df0 8C30 cpi r24,lo8(12) |
||
3079 | 3094 1df2 00F4 brsh .L254 |
||
3080 | 3095 1df4 2998 cbi 37-32,1 |
||
3081 | 3096 1df6 00C0 rjmp .L255 |
||
3082 | 3097 .L254: |
||
3083 | 3098 1df8 299A sbi 37-32,1 |
||
3084 | 3099 .L255: |
||
3085 | 3100 1dfa 1092 0000 sts MotorenEin,__zero_reg__ |
||
3086 | 3101 1dfe 1092 0000 sts delay_neutral.3048,__zero_reg__ |
||
3087 | 3102 1e02 1092 0000 sts (modell_fliegt)+1,__zero_reg__ |
||
3088 | 3103 1e06 1092 0000 sts modell_fliegt,__zero_reg__ |
||
3089 | 3104 1e0a 8091 0000 lds r24,EE_Parameter+1 |
||
3090 | 3105 1e0e 282F mov r18,r24 |
||
3091 | 3106 1e10 30E0 ldi r19,lo8(0) |
||
3092 | 3107 1e12 F901 movw r30,r18 |
||
3093 | 3108 1e14 EE0F lsl r30 |
||
3094 | 3109 1e16 FF1F rol r31 |
||
3095 | 3110 1e18 E050 subi r30,lo8(-(PPM_in)) |
||
3096 | 3111 1e1a F040 sbci r31,hi8(-(PPM_in)) |
||
3097 | 3112 1e1c 8081 ld r24,Z |
||
3098 | 3113 1e1e 9181 ldd r25,Z+1 |
||
3099 | 3114 1e20 8734 cpi r24,71 |
||
3100 | 3115 1e22 9105 cpc r25,__zero_reg__ |
||
3101 | 3116 1e24 04F4 brge .L256 |
||
3102 | 3117 1e26 E091 0000 lds r30,EE_Parameter+2 |
||
3103 | 3118 1e2a F0E0 ldi r31,lo8(0) |
||
3104 | 3119 1e2c EE0F lsl r30 |
||
3105 | 3120 1e2e FF1F rol r31 |
||
3106 | 3121 1e30 E050 subi r30,lo8(-(PPM_in)) |
||
3107 | 3122 1e32 F040 sbci r31,hi8(-(PPM_in)) |
||
3108 | 3123 1e34 0190 ld __tmp_reg__,Z+ |
||
3109 | 3124 1e36 F081 ld r31,Z |
||
3110 | 3125 1e38 E02D mov r30,__tmp_reg__ |
||
3111 | 3126 1e3a F7FF sbrs r31,7 |
||
3112 | 3127 1e3c 00C0 rjmp .L258 |
||
3113 | 3128 1e3e F095 com r31 |
||
3114 | 3129 1e40 E195 neg r30 |
||
3115 | 3130 1e42 FF4F sbci r31,lo8(-1) |
||
3116 | 3131 .L258: |
||
3117 | 3132 1e44 E734 cpi r30,71 |
||
3118 | 3133 1e46 F105 cpc r31,__zero_reg__ |
||
3119 | 3134 1e48 04F4 brge .+2 |
||
3120 | 3135 1e4a 00C0 rjmp .L257 |
||
3121 | 3136 .L256: |
||
3122 | 3137 1e4c 8091 0000 lds r24,EE_Parameter+2 |
||
3123 | 3138 1e50 A82F mov r26,r24 |
||
3124 | 3139 1e52 B0E0 ldi r27,lo8(0) |
||
3125 | 3140 1e54 FD01 movw r30,r26 |
||
3126 | 3141 1e56 EE0F lsl r30 |
||
3127 | 3142 1e58 FF1F rol r31 |
||
3128 | 3143 1e5a E050 subi r30,lo8(-(PPM_in)) |
||
3129 | 3144 1e5c F040 sbci r31,hi8(-(PPM_in)) |
||
3130 | 3145 1e5e 8081 ld r24,Z |
||
3131 | 3146 1e60 9181 ldd r25,Z+1 |
||
3132 | 3147 1e62 8734 cpi r24,71 |
||
3133 | 3148 1e64 9105 cpc r25,__zero_reg__ |
||
3134 | 3149 1e66 04F0 brlt .L259 |
||
3135 | 3150 1e68 F901 movw r30,r18 |
||
3136 | 3151 1e6a EE0F lsl r30 |
||
3137 | 3152 1e6c FF1F rol r31 |
||
3138 | 3153 1e6e E050 subi r30,lo8(-(PPM_in)) |
||
3139 | 3154 1e70 F040 sbci r31,hi8(-(PPM_in)) |
||
3140 | 3155 1e72 0190 ld __tmp_reg__,Z+ |
||
3141 | 3156 1e74 F081 ld r31,Z |
||
3142 | 3157 1e76 E02D mov r30,__tmp_reg__ |
||
3143 | 3158 .L259: |
||
3144 | 3159 1e78 FD01 movw r30,r26 |
||
3145 | 3160 1e7a EE0F lsl r30 |
||
3146 | 3161 1e7c FF1F rol r31 |
||
3147 | 3162 1e7e E050 subi r30,lo8(-(PPM_in)) |
||
3148 | 3163 1e80 F040 sbci r31,hi8(-(PPM_in)) |
||
3149 | 3164 1e82 8081 ld r24,Z |
||
3150 | 3165 1e84 9181 ldd r25,Z+1 |
||
3151 | 3166 1e86 8734 cpi r24,71 |
||
3152 | 3167 1e88 9105 cpc r25,__zero_reg__ |
||
3153 | 3168 1e8a 04F0 brlt .L260 |
||
3154 | 3169 1e8c F901 movw r30,r18 |
||
3155 | 3170 1e8e EE0F lsl r30 |
||
3156 | 3171 1e90 FF1F rol r31 |
||
3157 | 3172 1e92 E050 subi r30,lo8(-(PPM_in)) |
||
3158 | 3173 1e94 F040 sbci r31,hi8(-(PPM_in)) |
||
3159 | 3174 1e96 8081 ld r24,Z |
||
3160 | 3175 1e98 9181 ldd r25,Z+1 |
||
3161 | 3176 1e9a 8734 cpi r24,71 |
||
3162 | 3177 1e9c 9105 cpc r25,__zero_reg__ |
||
3163 | 3178 1e9e 04F0 brlt .L260 |
||
3164 | 3179 1ea0 42E0 ldi r20,lo8(2) |
||
3165 | 3180 1ea2 00C0 rjmp .L261 |
||
3166 | 3181 .L260: |
||
3167 | 3182 1ea4 41E0 ldi r20,lo8(1) |
||
3168 | 3183 .L261: |
||
3169 | 3184 1ea6 FD01 movw r30,r26 |
||
3170 | 3185 1ea8 EE0F lsl r30 |
||
3171 | 3186 1eaa FF1F rol r31 |
||
3172 | 3187 1eac E050 subi r30,lo8(-(PPM_in)) |
||
3173 | 3188 1eae F040 sbci r31,hi8(-(PPM_in)) |
||
3174 | 3189 1eb0 8081 ld r24,Z |
||
3175 | 3190 1eb2 9181 ldd r25,Z+1 |
||
3176 | 3191 1eb4 8634 cpi r24,70 |
||
3177 | 3192 1eb6 9105 cpc r25,__zero_reg__ |
||
3178 | 3193 1eb8 04F4 brge .L262 |
||
3179 | 3194 1eba F901 movw r30,r18 |
||
3180 | 3195 1ebc EE0F lsl r30 |
||
3181 | 3196 1ebe FF1F rol r31 |
||
3182 | 3197 1ec0 E050 subi r30,lo8(-(PPM_in)) |
||
3183 | 3198 1ec2 F040 sbci r31,hi8(-(PPM_in)) |
||
3184 | 3199 1ec4 8081 ld r24,Z |
||
3185 | 3200 1ec6 9181 ldd r25,Z+1 |
||
3186 | 3201 1ec8 8734 cpi r24,71 |
||
3187 | 3202 1eca 9105 cpc r25,__zero_reg__ |
||
3188 | 3203 1ecc 04F0 brlt .L262 |
||
3189 | 3204 1ece 43E0 ldi r20,lo8(3) |
||
3190 | 3205 .L262: |
||
3191 | 3206 1ed0 FD01 movw r30,r26 |
||
3192 | 3207 1ed2 EE0F lsl r30 |
||
3193 | 3208 1ed4 FF1F rol r31 |
||
3194 | 3209 1ed6 E050 subi r30,lo8(-(PPM_in)) |
||
3195 | 3210 1ed8 F040 sbci r31,hi8(-(PPM_in)) |
||
3196 | 3211 1eda 8081 ld r24,Z |
||
3197 | 3212 1edc 9181 ldd r25,Z+1 |
||
3198 | 3213 1ede 8A5B subi r24,lo8(-70) |
||
3199 | 3214 1ee0 9F4F sbci r25,hi8(-70) |
||
3200 | 3215 1ee2 04F4 brge .L263 |
||
3201 | 3216 1ee4 F901 movw r30,r18 |
||
3202 | 3217 1ee6 EE0F lsl r30 |
||
3203 | 3218 1ee8 FF1F rol r31 |
||
3204 | 3219 1eea E050 subi r30,lo8(-(PPM_in)) |
||
3205 | 3220 1eec F040 sbci r31,hi8(-(PPM_in)) |
||
3206 | 3221 1eee 8081 ld r24,Z |
||
3207 | 3222 1ef0 9181 ldd r25,Z+1 |
||
3208 | 3223 1ef2 8734 cpi r24,71 |
||
3209 | 3224 1ef4 9105 cpc r25,__zero_reg__ |
||
3210 | 3225 1ef6 04F0 brlt .L263 |
||
3211 | 3226 1ef8 44E0 ldi r20,lo8(4) |
||
3212 | 3227 .L263: |
||
3213 | 3228 1efa AA0F lsl r26 |
||
3214 | 3229 1efc BB1F rol r27 |
||
3215 | 3230 1efe A050 subi r26,lo8(-(PPM_in)) |
||
3216 | 3231 1f00 B040 sbci r27,hi8(-(PPM_in)) |
||
3217 | 3232 1f02 8D91 ld r24,X+ |
||
3218 | 3233 1f04 9C91 ld r25,X |
||
3219 | 3234 1f06 8A5B subi r24,lo8(-70) |
||
3220 | 3235 1f08 9F4F sbci r25,hi8(-70) |
||
3221 | 3236 1f0a 04F4 brge .L264 |
||
3222 | 3237 1f0c 220F lsl r18 |
||
3223 | 3238 1f0e 331F rol r19 |
||
3224 | 3239 1f10 2050 subi r18,lo8(-(PPM_in)) |
||
3225 | 3240 1f12 3040 sbci r19,hi8(-(PPM_in)) |
||
3226 | 3241 1f14 D901 movw r26,r18 |
||
3227 | 3242 1f16 8D91 ld r24,X+ |
||
3228 | 3243 1f18 9C91 ld r25,X |
||
3229 | 3244 1f1a 8634 cpi r24,70 |
||
3230 | 3245 1f1c 9105 cpc r25,__zero_reg__ |
||
3231 | 3246 1f1e 04F4 brge .L264 |
||
3232 | 3247 1f20 45E0 ldi r20,lo8(5) |
||
3233 | 3248 .L264: |
||
3234 | 3249 1f22 842F mov r24,r20 |
||
3235 | 3250 1f24 0E94 0000 call SetActiveParamSet |
||
3236 | 3251 .L257: |
||
3237 | 3252 1f28 E091 0000 lds r30,EE_Parameter+2 |
||
3238 | 3253 1f2c F0E0 ldi r31,lo8(0) |
||
3239 | 3254 1f2e EE0F lsl r30 |
||
3240 | 3255 1f30 FF1F rol r31 |
||
3241 | 3256 1f32 E050 subi r30,lo8(-(PPM_in)) |
||
3242 | 3257 1f34 F040 sbci r31,hi8(-(PPM_in)) |
||
3243 | 3258 1f36 0190 ld __tmp_reg__,Z+ |
||
3244 | 3259 1f38 F081 ld r31,Z |
||
3245 | 3260 1f3a E02D mov r30,__tmp_reg__ |
||
3246 | 3261 1f3c F7FF sbrs r31,7 |
||
3247 | 3262 1f3e 00C0 rjmp .L266 |
||
3248 | 3263 1f40 F095 com r31 |
||
3249 | 3264 1f42 E195 neg r30 |
||
3250 | 3265 1f44 FF4F sbci r31,lo8(-1) |
||
3251 | 3266 .L266: |
||
3252 | 3267 1f46 7E97 sbiw r30,30 |
||
3253 | 3268 1f48 04F4 brge .L265 |
||
3254 | 3269 1f4a E091 0000 lds r30,EE_Parameter+1 |
||
3255 | 3270 1f4e F0E0 ldi r31,lo8(0) |
||
3256 | 3271 1f50 EE0F lsl r30 |
||
3257 | 3272 1f52 FF1F rol r31 |
||
3258 | 3273 1f54 E050 subi r30,lo8(-(PPM_in)) |
||
3259 | 3274 1f56 F040 sbci r31,hi8(-(PPM_in)) |
||
3260 | 3275 1f58 8081 ld r24,Z |
||
3261 | 3276 1f5a 9181 ldd r25,Z+1 |
||
3262 | 3277 1f5c 8A5B subi r24,lo8(-70) |
||
3263 | 3278 1f5e 9F4F sbci r25,hi8(-70) |
||
3264 | 3279 1f60 04F4 brge .L265 |
||
3265 | 3280 1f62 81E0 ldi r24,lo8(1) |
||
3266 | 3281 1f64 8093 0000 sts WinkelOut+6,r24 |
||
3267 | 3282 1f68 88EE ldi r24,lo8(1000) |
||
3268 | 3283 1f6a 93E0 ldi r25,hi8(1000) |
||
3269 | 3284 1f6c 9093 0000 sts (beeptime)+1,r25 |
||
3270 | 3285 1f70 8093 0000 sts beeptime,r24 |
||
3271 | 3286 1f74 00C0 rjmp .L252 |
||
3272 | 3287 .L265: |
||
3273 | 3288 1f76 0E94 0000 call GetActiveParamSet |
||
3274 | 3289 1f7a 0E94 0000 call ParamSet_ReadFromEEProm |
||
3275 | 3290 1f7e 80E0 ldi r24,lo8(0) |
||
3276 | 3291 1f80 0E94 0000 call LipoDetection |
||
3277 | 3292 1f84 8091 0000 lds r24,EE_Parameter+39 |
||
3278 | 3293 1f88 0E94 0000 call LIBFC_ReceiverInit |
||
3279 | 3294 1f8c 8091 0000 lds r24,EE_Parameter+13 |
||
3280 | 3295 1f90 80FF sbrs r24,0 |
||
3281 | 3296 1f92 00C0 rjmp .L267 |
||
3282 | 3297 1f94 8091 0000 lds r24,MessLuftdruck |
||
3283 | 3298 1f98 9091 0000 lds r25,(MessLuftdruck)+1 |
||
3284 | 3299 1f9c 875B subi r24,lo8(951) |
||
3285 | 3300 1f9e 9340 sbci r25,hi8(951) |
||
3286 | 3301 1fa0 00F4 brsh .L268 |
||
3287 | 3302 1fa2 8091 0000 lds r24,MessLuftdruck |
||
3288 | 3303 1fa6 9091 0000 lds r25,(MessLuftdruck)+1 |
||
3289 | 3304 1faa 8E5E subi r24,lo8(750) |
||
3290 | 3305 1fac 9240 sbci r25,hi8(750) |
||
3291 | 3306 1fae 00F4 brsh .L267 |
||
3292 | 3307 .L268: |
||
3293 | 3308 1fb0 0E94 0000 call SucheLuftruckOffset |
||
3294 | 3309 .L267: |
||
3295 | 3310 1fb4 1092 0000 sts ServoActive,__zero_reg__ |
||
3296 | 3311 1fb8 80E0 ldi r24,lo8(0) |
||
3297 | 3312 1fba 0E94 0000 call SetNeutral |
||
3298 | 3313 1fbe 81E0 ldi r24,lo8(1) |
||
3299 | 3314 1fc0 8093 0000 sts calibration_done.3051,r24 |
||
3300 | 3315 1fc4 8093 0000 sts ServoActive,r24 |
||
3301 | 3316 1fc8 579A sbi 42-32,7 |
||
3302 | 3317 1fca 00C0 rjmp .L529 |
||
3303 | 3318 .L253: |
||
3304 | 3319 1fcc 8081 ld r24,Z |
||
3305 | 3320 1fce 9181 ldd r25,Z+1 |
||
3306 | 3321 1fd0 855B subi r24,lo8(-75) |
||
3307 | 3322 1fd2 9F4F sbci r25,hi8(-75) |
||
3308 | 3323 1fd4 04F4 brge .L269 |
||
3309 | 3324 1fd6 8091 0000 lds r24,delay_neutral.3048 |
||
3310 | 3325 1fda 8F5F subi r24,lo8(-(1)) |
||
3311 | 3326 1fdc 8093 0000 sts delay_neutral.3048,r24 |
||
3312 | 3327 1fe0 893C cpi r24,lo8(-55) |
||
3313 | 3328 1fe2 00F0 brlo .L252 |
||
3314 | 3329 1fe4 8091 0000 lds r24,PlatinenVersion |
||
3315 | 3330 1fe8 8C30 cpi r24,lo8(12) |
||
3316 | 3331 1fea 00F4 brsh .L270 |
||
3317 | 3332 1fec 2998 cbi 37-32,1 |
||
3318 | 3333 1fee 00C0 rjmp .L271 |
||
3319 | 3334 .L270: |
||
3320 | 3335 1ff0 299A sbi 37-32,1 |
||
3321 | 3336 .L271: |
||
3322 | 3337 1ff2 1092 0000 sts MotorenEin,__zero_reg__ |
||
3323 | 3338 1ff6 1092 0000 sts delay_neutral.3048,__zero_reg__ |
||
3324 | 3339 1ffa 1092 0000 sts (modell_fliegt)+1,__zero_reg__ |
||
3325 | 3340 1ffe 1092 0000 sts modell_fliegt,__zero_reg__ |
||
3326 | 3341 2002 81E0 ldi r24,lo8(1) |
||
3327 | 3342 2004 0E94 0000 call SetNeutral |
||
3328 | 3343 2008 81E0 ldi r24,lo8(1) |
||
3329 | 3344 200a 8093 0000 sts calibration_done.3051,r24 |
||
3330 | 3345 .L529: |
||
3331 | 3346 200e 0E94 0000 call GetActiveParamSet |
||
3332 | 3347 2012 68E7 ldi r22,lo8(120) |
||
3333 | 3348 2014 70E0 ldi r23,hi8(120) |
||
3334 | 3349 2016 0E94 0000 call Piep |
||
3335 | 3350 201a 00C0 rjmp .L252 |
||
3336 | 3351 .L269: |
||
3337 | 3352 201c 1092 0000 sts delay_neutral.3048,__zero_reg__ |
||
3338 | 3353 .L252: |
||
3339 | 3354 2020 E091 0000 lds r30,EE_Parameter+3 |
||
3340 | 3355 2024 F0E0 ldi r31,lo8(0) |
||
3341 | 3356 2026 EE0F lsl r30 |
||
3342 | 3357 2028 FF1F rol r31 |
||
3343 | 3358 202a E050 subi r30,lo8(-(PPM_in)) |
||
3344 | 3359 202c F040 sbci r31,hi8(-(PPM_in)) |
||
3345 | 3360 202e 8081 ld r24,Z |
||
3346 | 3361 2030 9181 ldd r25,Z+1 |
||
3347 | 3362 2032 8B5A subi r24,lo8(-85) |
||
3348 | 3363 2034 9F4F sbci r25,hi8(-85) |
||
3349 | 3364 2036 04F0 brlt .+2 |
||
3350 | 3365 2038 00C0 rjmp .L248 |
||
3351 | 3366 203a 8091 0000 lds r24,MotorenEin |
||
3352 | 3367 203e 8823 tst r24 |
||
3353 | 3368 2040 01F0 breq .+2 |
||
3354 | 3369 2042 00C0 rjmp .L272 |
||
3355 | 3370 2044 E091 0000 lds r30,EE_Parameter+4 |
||
3356 | 3371 2048 F0E0 ldi r31,lo8(0) |
||
3357 | 3372 204a EE0F lsl r30 |
||
3358 | 3373 204c FF1F rol r31 |
||
3359 | 3374 204e E050 subi r30,lo8(-(PPM_in)) |
||
3360 | 3375 2050 F040 sbci r31,hi8(-(PPM_in)) |
||
3361 | 3376 2052 8081 ld r24,Z |
||
3362 | 3377 2054 9181 ldd r25,Z+1 |
||
3363 | 3378 2056 855B subi r24,lo8(-75) |
||
3364 | 3379 2058 9F4F sbci r25,hi8(-75) |
||
3365 | 3380 205a 04F0 brlt .+2 |
||
3366 | 3381 205c 00C0 rjmp .L273 |
||
3367 | 3382 205e 8091 0000 lds r24,delay_einschalten.3049 |
||
3368 | 3383 2062 8F5F subi r24,lo8(-(1)) |
||
3369 | 3384 2064 8093 0000 sts delay_einschalten.3049,r24 |
||
3370 | 3385 2068 893C cpi r24,lo8(-55) |
||
3371 | 3386 206a 00F4 brsh .+2 |
||
3372 | 3387 206c 00C0 rjmp .L248 |
||
3373 | 3388 206e 1092 0000 sts delay_einschalten.3049,__zero_reg__ |
||
3374 | 3389 2072 8091 0000 lds r24,VersionInfo+5 |
||
3375 | 3390 2076 8823 tst r24 |
||
3376 | 3391 2078 01F0 breq .+2 |
||
3377 | 3392 207a 00C0 rjmp .L274 |
||
3378 | 3393 207c 8091 0000 lds r24,calibration_done.3051 |
||
3379 | 3394 2080 8823 tst r24 |
||
3380 | 3395 2082 01F4 brne .+2 |
||
3381 | 3396 2084 00C0 rjmp .L274 |
||
3382 | 3397 2086 81E0 ldi r24,lo8(1) |
||
3383 | 3398 2088 90E0 ldi r25,hi8(1) |
||
3384 | 3399 208a 9093 0000 sts (modell_fliegt)+1,r25 |
||
3385 | 3400 208e 8093 0000 sts modell_fliegt,r24 |
||
3386 | 3401 2092 81E0 ldi r24,lo8(1) |
||
3387 | 3402 2094 8093 0000 sts MotorenEin,r24 |
||
3388 | 3403 2098 1092 0000 sts sollGier.3042,__zero_reg__ |
||
3389 | 3404 209c 1092 0000 sts (sollGier.3042)+1,__zero_reg__ |
||
3390 | 3405 20a0 1092 0000 sts (sollGier.3042)+2,__zero_reg__ |
||
3391 | 3406 20a4 1092 0000 sts (sollGier.3042)+3,__zero_reg__ |
||
3392 | 3407 20a8 1092 0000 sts Mess_Integral_Gier,__zero_reg__ |
||
3393 | 3408 20ac 1092 0000 sts (Mess_Integral_Gier)+1,__zero_reg__ |
||
3394 | 3409 20b0 1092 0000 sts (Mess_Integral_Gier)+2,__zero_reg__ |
||
3395 | 3410 20b4 1092 0000 sts (Mess_Integral_Gier)+3,__zero_reg__ |
||
3396 | 3411 20b8 1092 0000 sts Mess_Integral_Gier2,__zero_reg__ |
||
3397 | 3412 20bc 1092 0000 sts (Mess_Integral_Gier2)+1,__zero_reg__ |
||
3398 | 3413 20c0 1092 0000 sts (Mess_Integral_Gier2)+2,__zero_reg__ |
||
3399 | 3414 20c4 1092 0000 sts (Mess_Integral_Gier2)+3,__zero_reg__ |
||
3400 | 3415 20c8 6091 0000 lds r22,Mittelwert_AccNick |
||
3401 | 3416 20cc 7091 0000 lds r23,(Mittelwert_AccNick)+1 |
||
3402 | 3417 20d0 8827 clr r24 |
||
3403 | 3418 20d2 77FD sbrc r23,7 |
||
3404 | 3419 20d4 8095 com r24 |
||
3405 | 3420 20d6 982F mov r25,r24 |
||
3406 | 3421 20d8 E090 0000 lds r14,EE_Parameter+28 |
||
3407 | 3422 20dc FF24 clr r15 |
||
3408 | 3423 20de 00E0 ldi r16,lo8(0) |
||
3409 | 3424 20e0 10E0 ldi r17,hi8(0) |
||
3410 | 3425 20e2 A801 movw r20,r16 |
||
3411 | 3426 20e4 9701 movw r18,r14 |
||
3412 | 3427 20e6 0E94 0000 call __mulsi3 |
||
3413 | 3428 20ea 6093 0000 sts Mess_IntegralNick,r22 |
||
3414 | 3429 20ee 7093 0000 sts (Mess_IntegralNick)+1,r23 |
||
3415 | 3430 20f2 8093 0000 sts (Mess_IntegralNick)+2,r24 |
||
3416 | 3431 20f6 9093 0000 sts (Mess_IntegralNick)+3,r25 |
||
3417 | 3432 20fa 6091 0000 lds r22,Mittelwert_AccRoll |
||
3418 | 3433 20fe 7091 0000 lds r23,(Mittelwert_AccRoll)+1 |
||
3419 | 3434 2102 8827 clr r24 |
||
3420 | 3435 2104 77FD sbrc r23,7 |
||
3421 | 3436 2106 8095 com r24 |
||
3422 | 3437 2108 982F mov r25,r24 |
||
3423 | 3438 210a 0E94 0000 call __mulsi3 |
||
3424 | 3439 210e 6093 0000 sts Mess_IntegralRoll,r22 |
||
3425 | 3440 2112 7093 0000 sts (Mess_IntegralRoll)+1,r23 |
||
3426 | 3441 2116 8093 0000 sts (Mess_IntegralRoll)+2,r24 |
||
3427 | 3442 211a 9093 0000 sts (Mess_IntegralRoll)+3,r25 |
||
3428 | 3443 211e 8091 0000 lds r24,IntegralNick |
||
3429 | 3444 2122 9091 0000 lds r25,(IntegralNick)+1 |
||
3430 | 3445 2126 A091 0000 lds r26,(IntegralNick)+2 |
||
3431 | 3446 212a B091 0000 lds r27,(IntegralNick)+3 |
||
3432 | 3447 212e 8093 0000 sts Mess_IntegralNick2,r24 |
||
3433 | 3448 2132 9093 0000 sts (Mess_IntegralNick2)+1,r25 |
||
3434 | 3449 2136 A093 0000 sts (Mess_IntegralNick2)+2,r26 |
||
3435 | 3450 213a B093 0000 sts (Mess_IntegralNick2)+3,r27 |
||
3436 | 3451 213e 8091 0000 lds r24,IntegralRoll |
||
3437 | 3452 2142 9091 0000 lds r25,(IntegralRoll)+1 |
||
3438 | 3453 2146 A091 0000 lds r26,(IntegralRoll)+2 |
||
3439 | 3454 214a B091 0000 lds r27,(IntegralRoll)+3 |
||
3440 | 3455 214e 8093 0000 sts Mess_IntegralRoll2,r24 |
||
3441 | 3456 2152 9093 0000 sts (Mess_IntegralRoll2)+1,r25 |
||
3442 | 3457 2156 A093 0000 sts (Mess_IntegralRoll2)+2,r26 |
||
3443 | 3458 215a B093 0000 sts (Mess_IntegralRoll2)+3,r27 |
||
3444 | 3459 215e 1092 0000 sts SummeNick,__zero_reg__ |
||
3445 | 3460 2162 1092 0000 sts (SummeNick)+1,__zero_reg__ |
||
3446 | 3461 2166 1092 0000 sts (SummeNick)+2,__zero_reg__ |
||
3447 | 3462 216a 1092 0000 sts (SummeNick)+3,__zero_reg__ |
||
3448 | 3463 216e 1092 0000 sts SummeRoll,__zero_reg__ |
||
3449 | 3464 2172 1092 0000 sts (SummeRoll)+1,__zero_reg__ |
||
3450 | 3465 2176 1092 0000 sts (SummeRoll)+2,__zero_reg__ |
||
3451 | 3466 217a 1092 0000 sts (SummeRoll)+3,__zero_reg__ |
||
3452 | 3467 217e 8091 0000 lds r24,FCFlags |
||
3453 | 3468 2182 8860 ori r24,lo8(8) |
||
3454 | 3469 2184 8093 0000 sts FCFlags,r24 |
||
3455 | 3470 2188 8091 0000 lds r24,EE_Parameter+95 |
||
3456 | 3471 218c 2FE0 ldi r18,lo8(15) |
||
3457 | 3472 218e 829F mul r24,r18 |
||
3458 | 3473 2190 C001 movw r24,r0 |
||
3459 | 3474 2192 1124 clr r1 |
||
3460 | 3475 2194 2091 0000 lds r18,KompassValue |
||
3461 | 3476 2198 3091 0000 lds r19,(KompassValue)+1 |
||
3462 | 3477 219c 820F add r24,r18 |
||
3463 | 3478 219e 931F adc r25,r19 |
||
3464 | 3479 21a0 68E6 ldi r22,lo8(360) |
||
3465 | 3480 21a2 71E0 ldi r23,hi8(360) |
||
3466 | 3481 21a4 0E94 0000 call __divmodhi4 |
||
3467 | 3482 21a8 62E0 ldi r22,lo8(2) |
||
3468 | 3483 21aa 70E0 ldi r23,hi8(2) |
||
3469 | 3484 21ac 0E94 0000 call __divmodhi4 |
||
3470 | 3485 21b0 6093 0000 sts ControlHeading,r22 |
||
3471 | 3486 21b4 00C0 rjmp .L248 |
||
3472 | 3487 .L274: |
||
3473 | 3488 21b6 8CED ldi r24,lo8(1500) |
||
3474 | 3489 21b8 95E0 ldi r25,hi8(1500) |
||
3475 | 3490 21ba 9093 0000 sts (beeptime)+1,r25 |
||
3476 | 3491 21be 8093 0000 sts beeptime,r24 |
||
3477 | 3492 21c2 00C0 rjmp .L248 |
||
3478 | 3493 .L273: |
||
3479 | 3494 21c4 1092 0000 sts delay_einschalten.3049,__zero_reg__ |
||
3480 | 3495 21c8 00C0 rjmp .L248 |
||
3481 | 3496 .L272: |
||
3482 | 3497 21ca E091 0000 lds r30,EE_Parameter+4 |
||
3483 | 3498 21ce F0E0 ldi r31,lo8(0) |
||
3484 | 3499 21d0 EE0F lsl r30 |
||
3485 | 3500 21d2 FF1F rol r31 |
||
3486 | 3501 21d4 E050 subi r30,lo8(-(PPM_in)) |
||
3487 | 3502 21d6 F040 sbci r31,hi8(-(PPM_in)) |
||
3488 | 3503 21d8 8081 ld r24,Z |
||
3489 | 3504 21da 9181 ldd r25,Z+1 |
||
3490 | 3505 21dc 8C34 cpi r24,76 |
||
3491 | 3506 21de 9105 cpc r25,__zero_reg__ |
||
3492 | 3507 21e0 04F0 brlt .L275 |
||
3493 | 3508 21e2 8091 0000 lds r24,delay_ausschalten.3050 |
||
3494 | 3509 21e6 8F5F subi r24,lo8(-(1)) |
||
3495 | 3510 21e8 8093 0000 sts delay_ausschalten.3050,r24 |
||
3496 | 3511 21ec 893C cpi r24,lo8(-55) |
||
3497 | 3512 21ee 00F0 brlo .L248 |
||
3498 | 3513 21f0 1092 0000 sts MotorenEin,__zero_reg__ |
||
3499 | 3514 21f4 1092 0000 sts delay_ausschalten.3050,__zero_reg__ |
||
3500 | 3515 21f8 1092 0000 sts (modell_fliegt)+1,__zero_reg__ |
||
3501 | 3516 21fc 1092 0000 sts modell_fliegt,__zero_reg__ |
||
3502 | 3517 2200 00C0 rjmp .L248 |
||
3503 | 3518 .L275: |
||
3504 | 3519 2202 1092 0000 sts delay_ausschalten.3050,__zero_reg__ |
||
3505 | 3520 .L248: |
||
3506 | 3521 2206 8091 0000 lds r24,NewPpmData |
||
3507 | 3522 220a 8150 subi r24,lo8(-(-1)) |
||
3508 | 3523 220c 8093 0000 sts NewPpmData,r24 |
||
3509 | 3524 2210 8F5F subi r24,lo8(-(1)) |
||
3510 | 3525 2212 01F0 breq .L276 |
||
3511 | 3526 2214 8091 0000 lds r24,FCFlags |
||
3512 | 3527 2218 84FF sbrs r24,4 |
||
3513 | 3528 221a 00C0 rjmp .L277 |
||
3514 | 3529 .L276: |
||
3515 | 3530 221c 0E94 0000 call ParameterZuordnung |
||
3516 | 3531 2220 2091 0000 lds r18,EE_Parameter+1 |
||
3517 | 3532 2224 022F mov r16,r18 |
||
3518 | 3533 2226 10E0 ldi r17,lo8(0) |
||
3519 | 3534 2228 000F lsl r16 |
||
3520 | 3535 222a 111F rol r17 |
||
3521 | 3536 222c F801 movw r30,r16 |
||
3522 | 3537 222e E050 subi r30,lo8(-(PPM_in)) |
||
3523 | 3538 2230 F040 sbci r31,hi8(-(PPM_in)) |
||
3524 | 3539 2232 8081 ld r24,Z |
||
3525 | 3540 2234 9181 ldd r25,Z+1 |
||
3526 | 3541 2236 E090 0000 lds r14,EE_Parameter+23 |
||
3527 | 3542 223a FF24 clr r15 |
||
3528 | 3543 223c BC01 movw r22,r24 |
||
3529 | 3544 223e 6E9D mul r22,r14 |
||
3530 | 3545 2240 C001 movw r24,r0 |
||
3531 | 3546 2242 6F9D mul r22,r15 |
||
3532 | 3547 2244 900D add r25,r0 |
||
3533 | 3548 2246 7E9D mul r23,r14 |
||
3534 | 3549 2248 900D add r25,r0 |
||
3535 | 3550 224a 1124 clr r1 |
||
3536 | 3551 224c 4091 0000 lds r20,stick_nick.3059 |
||
3537 | 3552 2250 5091 0000 lds r21,(stick_nick.3059)+1 |
||
3538 | 3553 2254 9A01 movw r18,r20 |
||
3539 | 3554 2256 220F lsl r18 |
||
3540 | 3555 2258 331F rol r19 |
||
3541 | 3556 225a 240F add r18,r20 |
||
3542 | 3557 225c 351F adc r19,r21 |
||
3543 | 3558 225e 820F add r24,r18 |
||
3544 | 3559 2260 931F adc r25,r19 |
||
3545 | 3560 2262 64E0 ldi r22,lo8(4) |
||
3546 | 3561 2264 70E0 ldi r23,hi8(4) |
||
3547 | 3562 2266 0E94 0000 call __divmodhi4 |
||
3548 | 3563 226a CB01 movw r24,r22 |
||
3549 | 3564 226c 7093 0000 sts (stick_nick.3059)+1,r23 |
||
3550 | 3565 2270 6093 0000 sts stick_nick.3059,r22 |
||
3551 | 3566 2274 0050 subi r16,lo8(-(PPM_diff)) |
||
3552 | 3567 2276 1040 sbci r17,hi8(-(PPM_diff)) |
||
3553 | 3568 2278 D801 movw r26,r16 |
||
3554 | 3569 227a 2D91 ld r18,X+ |
||
3555 | 3570 227c 3C91 ld r19,X |
||
3556 | 3571 227e 0091 0000 lds r16,EE_Parameter+24 |
||
3557 | 3572 2282 10E0 ldi r17,lo8(0) |
||
3558 | 3573 2284 F901 movw r30,r18 |
||
3559 | 3574 2286 E09F mul r30,r16 |
||
3560 | 3575 2288 9001 movw r18,r0 |
||
3561 | 3576 228a E19F mul r30,r17 |
||
3562 | 3577 228c 300D add r19,r0 |
||
3563 | 3578 228e F09F mul r31,r16 |
||
3564 | 3579 2290 300D add r19,r0 |
||
3565 | 3580 2292 1124 clr r1 |
||
3566 | 3581 2294 820F add r24,r18 |
||
3567 | 3582 2296 931F adc r25,r19 |
||
3568 | 3583 2298 9093 0000 sts (stick_nick.3059)+1,r25 |
||
3569 | 3584 229c 8093 0000 sts stick_nick.3059,r24 |
||
3570 | 3585 22a0 8091 0000 lds r24,EE_Parameter+2 |
||
3571 | 3586 22a4 C82E mov r12,r24 |
||
3572 | 3587 22a6 DD24 clr r13 |
||
3573 | 3588 22a8 CC0C lsl r12 |
||
3574 | 3589 22aa DD1C rol r13 |
||
3575 | 3590 22ac F601 movw r30,r12 |
||
3576 | 3591 22ae E050 subi r30,lo8(-(PPM_in)) |
||
3577 | 3592 22b0 F040 sbci r31,hi8(-(PPM_in)) |
||
3578 | 3593 22b2 8081 ld r24,Z |
||
3579 | 3594 22b4 9181 ldd r25,Z+1 |
||
3580 | 3595 22b6 9C01 movw r18,r24 |
||
3581 | 3596 22b8 2E9D mul r18,r14 |
||
3582 | 3597 22ba C001 movw r24,r0 |
||
3583 | 3598 22bc 2F9D mul r18,r15 |
||
3584 | 3599 22be 900D add r25,r0 |
||
3585 | 3600 22c0 3E9D mul r19,r14 |
||
3586 | 3601 22c2 900D add r25,r0 |
||
3587 | 3602 22c4 1124 clr r1 |
||
3588 | 3603 22c6 4091 0000 lds r20,stick_roll.3060 |
||
3589 | 3604 22ca 5091 0000 lds r21,(stick_roll.3060)+1 |
||
3590 | 3605 22ce 9A01 movw r18,r20 |
||
3591 | 3606 22d0 220F lsl r18 |
||
3592 | 3607 22d2 331F rol r19 |
||
3593 | 3608 22d4 240F add r18,r20 |
||
3594 | 3609 22d6 351F adc r19,r21 |
||
3595 | 3610 22d8 820F add r24,r18 |
||
3596 | 3611 22da 931F adc r25,r19 |
||
3597 | 3612 22dc 64E0 ldi r22,lo8(4) |
||
3598 | 3613 22de 70E0 ldi r23,hi8(4) |
||
3599 | 3614 22e0 0E94 0000 call __divmodhi4 |
||
3600 | 3615 22e4 7093 0000 sts (stick_roll.3060)+1,r23 |
||
3601 | 3616 22e8 6093 0000 sts stick_roll.3060,r22 |
||
3602 | 3617 22ec 40E0 ldi r20,lo8(PPM_diff) |
||
3603 | 3618 22ee 50E0 ldi r21,hi8(PPM_diff) |
||
3604 | 3619 22f0 C40E add r12,r20 |
||
3605 | 3620 22f2 D51E adc r13,r21 |
||
3606 | 3621 22f4 D601 movw r26,r12 |
||
3607 | 3622 22f6 8D91 ld r24,X+ |
||
3608 | 3623 22f8 9C91 ld r25,X |
||
3609 | 3624 22fa 809F mul r24,r16 |
||
3610 | 3625 22fc F001 movw r30,r0 |
||
3611 | 3626 22fe 819F mul r24,r17 |
||
3612 | 3627 2300 F00D add r31,r0 |
||
3613 | 3628 2302 909F mul r25,r16 |
||
3614 | 3629 2304 F00D add r31,r0 |
||
3615 | 3630 2306 1124 clr r1 |
||
3616 | 3631 2308 E60F add r30,r22 |
||
3617 | 3632 230a F71F adc r31,r23 |
||
3618 | 3633 230c F093 0000 sts (stick_roll.3060)+1,r31 |
||
3619 | 3634 2310 E093 0000 sts stick_roll.3060,r30 |
||
3620 | 3635 2314 9E01 movw r18,r28 |
||
3621 | 3636 2316 2F5F subi r18,lo8(-(1)) |
||
3622 | 3637 2318 3F4F sbci r19,hi8(-(1)) |
||
3623 | 3638 231a 40E0 ldi r20,lo8(C.354.3251) |
||
3624 | 3639 231c 50E0 ldi r21,hi8(C.354.3251) |
||
3625 | 3640 231e 8FE1 ldi r24,lo8(31) |
||
3626 | 3641 .L278: |
||
3627 | 3642 2320 DA01 movw r26,r20 |
||
3628 | 3643 2322 0D90 ld r0,X+ |
||
3629 | 3644 2324 AD01 movw r20,r26 |
||
3630 | 3645 2326 D901 movw r26,r18 |
||
3631 | 3646 2328 0D92 st X+,r0 |
||
3632 | 3647 232a 9D01 movw r18,r26 |
||
3633 | 3648 232c 8150 subi r24,lo8(-(-1)) |
||
3634 | 3649 232e 01F4 brne .L278 |
||
3635 | 3650 2330 8091 0000 lds r24,CareFree |
||
3636 | 3651 2334 C090 0000 lds r12,stick_nick.3059 |
||
3637 | 3652 2338 D090 0000 lds r13,(stick_nick.3059)+1 |
||
3638 | 3653 233c 8823 tst r24 |
||
3639 | 3654 233e 01F0 breq .L279 |
||
3640 | 3655 2340 C601 movw r24,r12 |
||
3641 | 3656 2342 64E0 ldi r22,lo8(4) |
||
3642 | 3657 2344 70E0 ldi r23,hi8(4) |
||
3643 | 3658 2346 0E94 0000 call __divmodhi4 |
||
3644 | 3659 234a 6B01 movw r12,r22 |
||
3645 | 3660 234c CF01 movw r24,r30 |
||
3646 | 3661 234e 64E0 ldi r22,lo8(4) |
||
3647 | 3662 2350 70E0 ldi r23,hi8(4) |
||
3648 | 3663 2352 0E94 0000 call __divmodhi4 |
||
3649 | 3664 2356 8B01 movw r16,r22 |
||
3650 | 3665 2358 E090 0000 lds r14,FromNC_Rotate_S |
||
3651 | 3666 235c FF24 clr r15 |
||
3652 | 3667 235e E7FC sbrc r14,7 |
||
3653 | 3668 2360 F094 com r15 |
||
3654 | 3669 2362 6E9D mul r22,r14 |
||
3655 | 3670 2364 C001 movw r24,r0 |
||
3656 | 3671 2366 6F9D mul r22,r15 |
||
3657 | 3672 2368 900D add r25,r0 |
||
3658 | 3673 236a 7E9D mul r23,r14 |
||
3659 | 3674 236c 900D add r25,r0 |
||
3660 | 3675 236e 1124 clr r1 |
||
3661 | 3676 2370 E091 0000 lds r30,FromNC_Rotate_C |
||
3662 | 3677 2374 FF27 clr r31 |
||
3663 | 3678 2376 E7FD sbrc r30,7 |
||
3664 | 3679 2378 F095 com r31 |
||
3665 | 3680 237a EC9D mul r30,r12 |
||
3666 | 3681 237c 9001 movw r18,r0 |
||
3667 | 3682 237e ED9D mul r30,r13 |
||
3668 | 3683 2380 300D add r19,r0 |
||
3669 | 3684 2382 FC9D mul r31,r12 |
||
3670 | 3685 2384 300D add r19,r0 |
||
3671 | 3686 2386 1124 clr r1 |
||
3672 | 3687 2388 820F add r24,r18 |
||
3673 | 3688 238a 931F adc r25,r19 |
||
3674 | 3689 238c 68E0 ldi r22,lo8(8) |
||
3675 | 3690 238e 70E0 ldi r23,hi8(8) |
||
3676 | 3691 2390 0E94 0000 call __divmodhi4 |
||
3677 | 3692 2394 7093 0000 sts (StickNick)+1,r23 |
||
3678 | 3693 2398 6093 0000 sts StickNick,r22 |
||
3679 | 3694 239c 0E9F mul r16,r30 |
||
3680 | 3695 239e C001 movw r24,r0 |
||
3681 | 3696 23a0 0F9F mul r16,r31 |
||
3682 | 3697 23a2 900D add r25,r0 |
||
3683 | 3698 23a4 1E9F mul r17,r30 |
||
3684 | 3699 23a6 900D add r25,r0 |
||
3685 | 3700 23a8 1124 clr r1 |
||
3686 | 3701 23aa EC9C mul r14,r12 |
||
3687 | 3702 23ac 9001 movw r18,r0 |
||
3688 | 3703 23ae ED9C mul r14,r13 |
||
3689 | 3704 23b0 300D add r19,r0 |
||
3690 | 3705 23b2 FC9C mul r15,r12 |
||
3691 | 3706 23b4 300D add r19,r0 |
||
3692 | 3707 23b6 1124 clr r1 |
||
3693 | 3708 23b8 00C0 rjmp .L530 |
||
3694 | 3709 .L279: |
||
3695 | 3710 23ba E091 0000 lds r30,EE_Parameter+95 |
||
3696 | 3711 23be F0E0 ldi r31,lo8(0) |
||
3697 | 3712 23c0 DE01 movw r26,r28 |
||
3698 | 3713 23c2 AE0F add r26,r30 |
||
3699 | 3714 23c4 BF1F adc r27,r31 |
||
3700 | 3715 23c6 1796 adiw r26,7 |
||
3701 | 3716 23c8 0C91 ld r16,X |
||
3702 | 3717 23ca 1797 sbiw r26,7 |
||
3703 | 3718 23cc 0093 0000 sts FromNC_Rotate_C,r16 |
||
3704 | 3719 23d0 FD01 movw r30,r26 |
||
3705 | 3720 23d2 E181 ldd r30,Z+1 |
||
3706 | 3721 23d4 E093 0000 sts FromNC_Rotate_S,r30 |
||
3707 | 3722 23d8 FF27 clr r31 |
||
3708 | 3723 23da E7FD sbrc r30,7 |
||
3709 | 3724 23dc F095 com r31 |
||
3710 | 3725 23de E090 0000 lds r14,stick_roll.3060 |
||
3711 | 3726 23e2 F090 0000 lds r15,(stick_roll.3060)+1 |
||
3712 | 3727 23e6 EE9D mul r30,r14 |
||
3713 | 3728 23e8 C001 movw r24,r0 |
||
3714 | 3729 23ea EF9D mul r30,r15 |
||
3715 | 3730 23ec 900D add r25,r0 |
||
3716 | 3731 23ee FE9D mul r31,r14 |
||
3717 | 3732 23f0 900D add r25,r0 |
||
3718 | 3733 23f2 1124 clr r1 |
||
3719 | 3734 23f4 1127 clr r17 |
||
3720 | 3735 23f6 07FD sbrc r16,7 |
||
3721 | 3736 23f8 1095 com r17 |
||
3722 | 3737 23fa 0C9D mul r16,r12 |
||
3723 | 3738 23fc 9001 movw r18,r0 |
||
3724 | 3739 23fe 0D9D mul r16,r13 |
||
3725 | 3740 2400 300D add r19,r0 |
||
3726 | 3741 2402 1C9D mul r17,r12 |
||
3727 | 3742 2404 300D add r19,r0 |
||
3728 | 3743 2406 1124 clr r1 |
||
3729 | 3744 2408 820F add r24,r18 |
||
3730 | 3745 240a 931F adc r25,r19 |
||
3731 | 3746 240c 68E0 ldi r22,lo8(8) |
||
3732 | 3747 240e 70E0 ldi r23,hi8(8) |
||
3733 | 3748 2410 0E94 0000 call __divmodhi4 |
||
3734 | 3749 2414 7093 0000 sts (StickNick)+1,r23 |
||
3735 | 3750 2418 6093 0000 sts StickNick,r22 |
||
3736 | 3751 241c 0E9D mul r16,r14 |
||
3737 | 3752 241e C001 movw r24,r0 |
||
3738 | 3753 2420 0F9D mul r16,r15 |
||
3739 | 3754 2422 900D add r25,r0 |
||
3740 | 3755 2424 1E9D mul r17,r14 |
||
3741 | 3756 2426 900D add r25,r0 |
||
3742 | 3757 2428 1124 clr r1 |
||
3743 | 3758 242a EC9D mul r30,r12 |
||
3744 | 3759 242c 9001 movw r18,r0 |
||
3745 | 3760 242e ED9D mul r30,r13 |
||
3746 | 3761 2430 300D add r19,r0 |
||
3747 | 3762 2432 FC9D mul r31,r12 |
||
3748 | 3763 2434 300D add r19,r0 |
||
3749 | 3764 2436 1124 clr r1 |
||
3750 | 3765 .L530: |
||
3751 | 3766 2438 821B sub r24,r18 |
||
3752 | 3767 243a 930B sbc r25,r19 |
||
3753 | 3768 243c 68E0 ldi r22,lo8(8) |
||
3754 | 3769 243e 70E0 ldi r23,hi8(8) |
||
3755 | 3770 2440 0E94 0000 call __divmodhi4 |
||
3756 | 3771 2444 7093 0000 sts (StickRoll)+1,r23 |
||
3757 | 3772 2448 6093 0000 sts StickRoll,r22 |
||
3758 | 3773 244c E091 0000 lds r30,EE_Parameter+4 |
||
3759 | 3774 2450 F0E0 ldi r31,lo8(0) |
||
3760 | 3775 2452 EE0F lsl r30 |
||
3761 | 3776 2454 FF1F rol r31 |
||
3762 | 3777 2456 E050 subi r30,lo8(-(PPM_in)) |
||
3763 | 3778 2458 F040 sbci r31,hi8(-(PPM_in)) |
||
3764 | 3779 245a 8081 ld r24,Z |
||
3765 | 3780 245c 9181 ldd r25,Z+1 |
||
3766 | 3781 245e 2227 clr r18 |
||
3767 | 3782 2460 3327 clr r19 |
||
3768 | 3783 2462 281B sub r18,r24 |
||
3769 | 3784 2464 390B sbc r19,r25 |
||
3770 | 3785 2466 2330 cpi r18,3 |
||
3771 | 3786 2468 3105 cpc r19,__zero_reg__ |
||
3772 | 3787 246a 04F0 brlt .L281 |
||
3773 | 3788 246c 2250 subi r18,lo8(-(-2)) |
||
3774 | 3789 246e 3040 sbci r19,hi8(-(-2)) |
||
3775 | 3790 2470 00C0 rjmp .L531 |
||
3776 | 3791 .L281: |
||
3777 | 3792 2472 BFEF ldi r27,hi8(-2) |
||
3778 | 3793 2474 2E3F cpi r18,lo8(-2) |
||
3779 | 3794 2476 3B07 cpc r19,r27 |
||
3780 | 3795 2478 04F4 brge .L283 |
||
3781 | 3796 247a 2E5F subi r18,lo8(-(2)) |
||
3782 | 3797 247c 3F4F sbci r19,hi8(-(2)) |
||
3783 | 3798 .L531: |
||
3784 | 3799 247e 3093 0000 sts (StickGier)+1,r19 |
||
3785 | 3800 2482 2093 0000 sts StickGier,r18 |
||
3786 | 3801 2486 00C0 rjmp .L282 |
||
3787 | 3802 .L283: |
||
3788 | 3803 2488 1092 0000 sts (StickGier)+1,__zero_reg__ |
||
3789 | 3804 248c 1092 0000 sts StickGier,__zero_reg__ |
||
3790 | 3805 .L282: |
||
3791 | 3806 2490 8091 0000 lds r24,GPS_Nick2 |
||
3792 | 3807 2494 9091 0000 lds r25,(GPS_Nick2)+1 |
||
3793 | 3808 2498 9095 com r25 |
||
3794 | 3809 249a 8195 neg r24 |
||
3795 | 3810 249c 9F4F sbci r25,lo8(-1) |
||
3796 | 3811 249e 2091 0000 lds r18,GPS_Nick |
||
3797 | 3812 24a2 3091 0000 lds r19,(GPS_Nick)+1 |
||
3798 | 3813 24a6 821B sub r24,r18 |
||
3799 | 3814 24a8 930B sbc r25,r19 |
||
3800 | 3815 24aa E090 0000 lds r14,StickNick |
||
3801 | 3816 24ae F090 0000 lds r15,(StickNick)+1 |
||
3802 | 3817 24b2 E80E add r14,r24 |
||
3803 | 3818 24b4 F91E adc r15,r25 |
||
3804 | 3819 24b6 F092 0000 sts (StickNick)+1,r15 |
||
3805 | 3820 24ba E092 0000 sts StickNick,r14 |
||
3806 | 3821 24be 8091 0000 lds r24,GPS_Roll2 |
||
3807 | 3822 24c2 9091 0000 lds r25,(GPS_Roll2)+1 |
||
3808 | 3823 24c6 9095 com r25 |
||
3809 | 3824 24c8 8195 neg r24 |
||
3810 | 3825 24ca 9F4F sbci r25,lo8(-1) |
||
3811 | 3826 24cc 2091 0000 lds r18,GPS_Roll |
||
3812 | 3827 24d0 3091 0000 lds r19,(GPS_Roll)+1 |
||
3813 | 3828 24d4 821B sub r24,r18 |
||
3814 | 3829 24d6 930B sbc r25,r19 |
||
3815 | 3830 24d8 0091 0000 lds r16,StickRoll |
||
3816 | 3831 24dc 1091 0000 lds r17,(StickRoll)+1 |
||
3817 | 3832 24e0 080F add r16,r24 |
||
3818 | 3833 24e2 191F adc r17,r25 |
||
3819 | 3834 24e4 1093 0000 sts (StickRoll)+1,r17 |
||
3820 | 3835 24e8 0093 0000 sts StickRoll,r16 |
||
3821 | 3836 24ec E091 0000 lds r30,EE_Parameter+3 |
||
3822 | 3837 24f0 F0E0 ldi r31,lo8(0) |
||
3823 | 3838 24f2 EE0F lsl r30 |
||
3824 | 3839 24f4 FF1F rol r31 |
||
3825 | 3840 24f6 E050 subi r30,lo8(-(PPM_in)) |
||
3826 | 3841 24f8 F040 sbci r31,hi8(-(PPM_in)) |
||
3827 | 3842 24fa C080 ld r12,Z |
||
3828 | 3843 24fc D180 ldd r13,Z+1 |
||
3829 | 3844 24fe E8E7 ldi r30,lo8(120) |
||
3830 | 3845 2500 F0E0 ldi r31,hi8(120) |
||
3831 | 3846 2502 CE0E add r12,r30 |
||
3832 | 3847 2504 DF1E adc r13,r31 |
||
3833 | 3848 2506 D092 0000 sts (StickGas)+1,r13 |
||
3834 | 3849 250a C092 0000 sts StickGas,r12 |
||
3835 | 3850 250e 6091 0000 lds r22,Parameter_Gyro_P |
||
3836 | 3851 2512 70E0 ldi r23,lo8(0) |
||
3837 | 3852 2514 8827 clr r24 |
||
3838 | 3853 2516 77FD sbrc r23,7 |
||
3839 | 3854 2518 8095 com r24 |
||
3840 | 3855 251a 982F mov r25,r24 |
||
3841 | 3856 251c 0E94 0000 call __floatsisf |
||
3842 | 3857 2520 20E0 ldi r18,lo8(0x41200000) |
||
3843 | 3858 2522 30E0 ldi r19,hi8(0x41200000) |
||
3844 | 3859 2524 40E2 ldi r20,hlo8(0x41200000) |
||
3845 | 3860 2526 51E4 ldi r21,hhi8(0x41200000) |
||
3846 | 3861 2528 0E94 0000 call __addsf3 |
||
3847 | 3862 252c 0E94 0000 call __fixunssfsi |
||
3848 | 3863 2530 6093 0000 sts GyroFaktor,r22 |
||
3849 | 3864 2534 8091 0000 lds r24,Parameter_Gyro_I |
||
3850 | 3865 2538 8093 0000 sts IntegralFaktor,r24 |
||
3851 | 3866 253c 6091 0000 lds r22,Parameter_Gyro_Gier_P |
||
3852 | 3867 2540 70E0 ldi r23,lo8(0) |
||
3853 | 3868 2542 8827 clr r24 |
||
3854 | 3869 2544 77FD sbrc r23,7 |
||
3855 | 3870 2546 8095 com r24 |
||
3856 | 3871 2548 982F mov r25,r24 |
||
3857 | 3872 254a 0E94 0000 call __floatsisf |
||
3858 | 3873 254e 20E0 ldi r18,lo8(0x41200000) |
||
3859 | 3874 2550 30E0 ldi r19,hi8(0x41200000) |
||
3860 | 3875 2552 40E2 ldi r20,hlo8(0x41200000) |
||
3861 | 3876 2554 51E4 ldi r21,hhi8(0x41200000) |
||
3862 | 3877 2556 0E94 0000 call __addsf3 |
||
3863 | 3878 255a 0E94 0000 call __fixunssfsi |
||
3864 | 3879 255e 6093 0000 sts GyroFaktorGier,r22 |
||
3865 | 3880 2562 8091 0000 lds r24,Parameter_Gyro_Gier_I |
||
3866 | 3881 2566 8093 0000 sts IntegralFaktorGier,r24 |
||
3867 | 3882 256a 8091 0000 lds r24,ExternControl+10 |
||
3868 | 3883 256e 80FF sbrs r24,0 |
||
3869 | 3884 2570 00C0 rjmp .L284 |
||
3870 | 3885 2572 8091 0000 lds r24,Parameter_ExternalControl |
||
3871 | 3886 2576 8138 cpi r24,lo8(-127) |
||
3872 | 3887 2578 00F4 brsh .+2 |
||
3873 | 3888 257a 00C0 rjmp .L284 |
||
3874 | 3889 257c 2091 0000 lds r18,EE_Parameter+23 |
||
3875 | 3890 2580 30E0 ldi r19,lo8(0) |
||
3876 | 3891 2582 8091 0000 lds r24,ExternControl+3 |
||
3877 | 3892 2586 9927 clr r25 |
||
3878 | 3893 2588 87FD sbrc r24,7 |
||
3879 | 3894 258a 9095 com r25 |
||
3880 | 3895 258c AC01 movw r20,r24 |
||
3881 | 3896 258e 249F mul r18,r20 |
||
3882 | 3897 2590 C001 movw r24,r0 |
||
3883 | 3898 2592 259F mul r18,r21 |
||
3884 | 3899 2594 900D add r25,r0 |
||
3885 | 3900 2596 349F mul r19,r20 |
||
3886 | 3901 2598 900D add r25,r0 |
||
3887 | 3902 259a 1124 clr r1 |
||
3888 | 3903 259c E80E add r14,r24 |
||
3889 | 3904 259e F91E adc r15,r25 |
||
3890 | 3905 25a0 F092 0000 sts (StickNick)+1,r15 |
||
3891 | 3906 25a4 E092 0000 sts StickNick,r14 |
||
3892 | 3907 25a8 8091 0000 lds r24,ExternControl+4 |
||
3893 | 3908 25ac 9927 clr r25 |
||
3894 | 3909 25ae 87FD sbrc r24,7 |
||
3895 | 3910 25b0 9095 com r25 |
||
3896 | 3911 25b2 BC01 movw r22,r24 |
||
3897 | 3912 25b4 269F mul r18,r22 |
||
3898 | 3913 25b6 C001 movw r24,r0 |
||
3899 | 3914 25b8 279F mul r18,r23 |
||
3900 | 3915 25ba 900D add r25,r0 |
||
3901 | 3916 25bc 369F mul r19,r22 |
||
3902 | 3917 25be 900D add r25,r0 |
||
3903 | 3918 25c0 1124 clr r1 |
||
3904 | 3919 25c2 080F add r16,r24 |
||
3905 | 3920 25c4 191F adc r17,r25 |
||
3906 | 3921 25c6 1093 0000 sts (StickRoll)+1,r17 |
||
3907 | 3922 25ca 0093 0000 sts StickRoll,r16 |
||
3908 | 3923 25ce 2091 0000 lds r18,ExternControl+5 |
||
3909 | 3924 25d2 3327 clr r19 |
||
3910 | 3925 25d4 27FD sbrc r18,7 |
||
3911 | 3926 25d6 3095 com r19 |
||
3912 | 3927 25d8 8091 0000 lds r24,StickGier |
||
3913 | 3928 25dc 9091 0000 lds r25,(StickGier)+1 |
||
3914 | 3929 25e0 820F add r24,r18 |
||
3915 | 3930 25e2 931F adc r25,r19 |
||
3916 | 3931 25e4 9093 0000 sts (StickGier)+1,r25 |
||
3917 | 3932 25e8 8093 0000 sts StickGier,r24 |
||
3918 | 3933 25ec 2091 0000 lds r18,EE_Parameter+18 |
||
3919 | 3934 25f0 30E0 ldi r19,lo8(0) |
||
3920 | 3935 25f2 8091 0000 lds r24,ExternControl+7 |
||
3921 | 3936 25f6 9927 clr r25 |
||
3922 | 3937 25f8 87FD sbrc r24,7 |
||
3923 | 3938 25fa 9095 com r25 |
||
3924 | 3939 25fc DC01 movw r26,r24 |
||
3925 | 3940 25fe 2A9F mul r18,r26 |
||
3926 | 3941 2600 C001 movw r24,r0 |
||
3927 | 3942 2602 2B9F mul r18,r27 |
||
3928 | 3943 2604 900D add r25,r0 |
||
3929 | 3944 2606 3A9F mul r19,r26 |
||
3930 | 3945 2608 900D add r25,r0 |
||
3931 | 3946 260a 1124 clr r1 |
||
3932 | 3947 260c 9093 0000 sts (ExternHoehenValue)+1,r25 |
||
3933 | 3948 2610 8093 0000 sts ExternHoehenValue,r24 |
||
3934 | 3949 2614 8091 0000 lds r24,ExternControl+6 |
||
3935 | 3950 2618 90E0 ldi r25,lo8(0) |
||
3936 | 3951 261a 8C15 cp r24,r12 |
||
3937 | 3952 261c 9D05 cpc r25,r13 |
||
3938 | 3953 261e 04F4 brge .L284 |
||
3939 | 3954 2620 9093 0000 sts (StickGas)+1,r25 |
||
3940 | 3955 2624 8093 0000 sts StickGas,r24 |
||
3941 | 3956 .L284: |
||
3942 | 3957 2628 8091 0000 lds r24,StickGas |
||
3943 | 3958 262c 9091 0000 lds r25,(StickGas)+1 |
||
3944 | 3959 2630 97FF sbrs r25,7 |
||
3945 | 3960 2632 00C0 rjmp .L285 |
||
3946 | 3961 2634 1092 0000 sts (StickGas)+1,__zero_reg__ |
||
3947 | 3962 2638 1092 0000 sts StickGas,__zero_reg__ |
||
3948 | 3963 .L285: |
||
3949 | 3964 263c 8091 0000 lds r24,EE_Parameter+13 |
||
3950 | 3965 2640 82FF sbrs r24,2 |
||
3951 | 3966 2642 00C0 rjmp .L286 |
||
3952 | 3967 2644 1092 0000 sts IntegralFaktor,__zero_reg__ |
||
3953 | 3968 .L286: |
||
3954 | 3969 2648 4091 0000 lds r20,StickNick |
||
3955 | 3970 264c 1091 0000 lds r17,StickNick+1 |
||
3956 | 3971 2650 E091 0000 lds r30,MaxStickNick |
||
3957 | 3972 2654 F091 0000 lds r31,(MaxStickNick)+1 |
||
3958 | 3973 2658 842F mov r24,r20 |
||
3959 | 3974 265a 912F mov r25,r17 |
||
3960 | 3975 265c 64E0 ldi r22,lo8(4) |
||
3961 | 3976 265e 70E0 ldi r23,hi8(4) |
||
3962 | 3977 2660 0E94 0000 call __divmodhi4 |
||
3963 | 3978 2664 CB01 movw r24,r22 |
||
3964 | 3979 2666 77FF sbrs r23,7 |
||
3965 | 3980 2668 00C0 rjmp .L288 |
||
3966 | 3981 266a 9095 com r25 |
||
3967 | 3982 266c 8195 neg r24 |
||
3968 | 3983 266e 9F4F sbci r25,lo8(-1) |
||
3969 | 3984 .L288: |
||
3970 | 3985 2670 E817 cp r30,r24 |
||
3971 | 3986 2672 F907 cpc r31,r25 |
||
3972 | 3987 2674 04F4 brge .L287 |
||
3973 | 3988 2676 842F mov r24,r20 |
||
3974 | 3989 2678 912F mov r25,r17 |
||
3975 | 3990 267a 9C01 movw r18,r24 |
||
3976 | 3991 267c 37FF sbrs r19,7 |
||
3977 | 3992 267e 00C0 rjmp .L289 |
||
3978 | 3993 2680 3095 com r19 |
||
3979 | 3994 2682 2195 neg r18 |
||
3980 | 3995 2684 3F4F sbci r19,lo8(-1) |
||
3981 | 3996 .L289: |
||
3982 | 3997 2686 C901 movw r24,r18 |
||
3983 | 3998 2688 9595 asr r25 |
||
3984 | 3999 268a 8795 ror r24 |
||
3985 | 4000 268c 9595 asr r25 |
||
3986 | 4001 268e 8795 ror r24 |
||
3987 | 4002 2690 9093 0000 sts (MaxStickNick)+1,r25 |
||
3988 | 4003 2694 8093 0000 sts MaxStickNick,r24 |
||
3989 | 4004 2698 8536 cpi r24,101 |
||
3990 | 4005 269a 9105 cpc r25,__zero_reg__ |
||
3991 | 4006 269c 04F0 brlt .L290 |
||
3992 | 4007 269e 84E6 ldi r24,lo8(100) |
||
3993 | 4008 26a0 90E0 ldi r25,hi8(100) |
||
3994 | 4009 26a2 9093 0000 sts (MaxStickNick)+1,r25 |
||
3995 | 4010 26a6 8093 0000 sts MaxStickNick,r24 |
||
3996 | 4011 26aa 00C0 rjmp .L290 |
||
3997 | 4012 .L287: |
||
3998 | 4013 26ac 3197 sbiw r30,1 |
||
3999 | 4014 26ae F093 0000 sts (MaxStickNick)+1,r31 |
||
4000 | 4015 26b2 E093 0000 sts MaxStickNick,r30 |
||
4001 | 4016 .L290: |
||
4002 | 4017 26b6 4091 0000 lds r20,StickRoll |
||
4003 | 4018 26ba 1091 0000 lds r17,StickRoll+1 |
||
4004 | 4019 26be E091 0000 lds r30,MaxStickRoll |
||
4005 | 4020 26c2 F091 0000 lds r31,(MaxStickRoll)+1 |
||
4006 | 4021 26c6 842F mov r24,r20 |
||
4007 | 4022 26c8 912F mov r25,r17 |
||
4008 | 4023 26ca 64E0 ldi r22,lo8(4) |
||
4009 | 4024 26cc 70E0 ldi r23,hi8(4) |
||
4010 | 4025 26ce 0E94 0000 call __divmodhi4 |
||
4011 | 4026 26d2 CB01 movw r24,r22 |
||
4012 | 4027 26d4 77FF sbrs r23,7 |
||
4013 | 4028 26d6 00C0 rjmp .L292 |
||
4014 | 4029 26d8 9095 com r25 |
||
4015 | 4030 26da 8195 neg r24 |
||
4016 | 4031 26dc 9F4F sbci r25,lo8(-1) |
||
4017 | 4032 .L292: |
||
4018 | 4033 26de E817 cp r30,r24 |
||
4019 | 4034 26e0 F907 cpc r31,r25 |
||
4020 | 4035 26e2 04F4 brge .L291 |
||
4021 | 4036 26e4 842F mov r24,r20 |
||
4022 | 4037 26e6 912F mov r25,r17 |
||
4023 | 4038 26e8 9C01 movw r18,r24 |
||
4024 | 4039 26ea 37FF sbrs r19,7 |
||
4025 | 4040 26ec 00C0 rjmp .L293 |
||
4026 | 4041 26ee 3095 com r19 |
||
4027 | 4042 26f0 2195 neg r18 |
||
4028 | 4043 26f2 3F4F sbci r19,lo8(-1) |
||
4029 | 4044 .L293: |
||
4030 | 4045 26f4 C901 movw r24,r18 |
||
4031 | 4046 26f6 9595 asr r25 |
||
4032 | 4047 26f8 8795 ror r24 |
||
4033 | 4048 26fa 9595 asr r25 |
||
4034 | 4049 26fc 8795 ror r24 |
||
4035 | 4050 26fe 9093 0000 sts (MaxStickRoll)+1,r25 |
||
4036 | 4051 2702 8093 0000 sts MaxStickRoll,r24 |
||
4037 | 4052 2706 8536 cpi r24,101 |
||
4038 | 4053 2708 9105 cpc r25,__zero_reg__ |
||
4039 | 4054 270a 04F0 brlt .L294 |
||
4040 | 4055 270c 84E6 ldi r24,lo8(100) |
||
4041 | 4056 270e 90E0 ldi r25,hi8(100) |
||
4042 | 4057 2710 9093 0000 sts (MaxStickRoll)+1,r25 |
||
4043 | 4058 2714 8093 0000 sts MaxStickRoll,r24 |
||
4044 | 4059 2718 00C0 rjmp .L294 |
||
4045 | 4060 .L291: |
||
4046 | 4061 271a 3197 sbiw r30,1 |
||
4047 | 4062 271c F093 0000 sts (MaxStickRoll)+1,r31 |
||
4048 | 4063 2720 E093 0000 sts MaxStickRoll,r30 |
||
4049 | 4064 .L294: |
||
4050 | 4065 2724 8091 0000 lds r24,FCFlags |
||
4051 | 4066 2728 84FF sbrs r24,4 |
||
4052 | 4067 272a 00C0 rjmp .L295 |
||
4053 | 4068 272c 1092 0000 sts (MaxStickNick)+1,__zero_reg__ |
||
4054 | 4069 2730 1092 0000 sts MaxStickNick,__zero_reg__ |
||
4055 | 4070 2734 1092 0000 sts (MaxStickRoll)+1,__zero_reg__ |
||
4056 | 4071 2738 1092 0000 sts MaxStickRoll,__zero_reg__ |
||
4057 | 4072 .L295: |
||
4058 | 4073 273c 8091 0000 lds r24,EE_Parameter+2 |
||
4059 | 4074 2740 A82F mov r26,r24 |
||
4060 | 4075 2742 B0E0 ldi r27,lo8(0) |
||
4061 | 4076 2744 FD01 movw r30,r26 |
||
4062 | 4077 2746 EE0F lsl r30 |
||
4063 | 4078 2748 FF1F rol r31 |
||
4064 | 4079 274a E050 subi r30,lo8(-(PPM_in)) |
||
4065 | 4080 274c F040 sbci r31,hi8(-(PPM_in)) |
||
4066 | 4081 274e 2081 ld r18,Z |
||
4067 | 4082 2750 3181 ldd r19,Z+1 |
||
4068 | 4083 2752 8091 0000 lds r24,EE_Parameter+58 |
||
4069 | 4084 2756 482F mov r20,r24 |
||
4070 | 4085 2758 50E0 ldi r21,lo8(0) |
||
4071 | 4086 275a 4217 cp r20,r18 |
||
4072 | 4087 275c 5307 cpc r21,r19 |
||
4073 | 4088 275e 04F4 brge .L296 |
||
4074 | 4089 2760 8091 0000 lds r24,EE_Parameter+97 |
||
4075 | 4090 2764 82FF sbrs r24,2 |
||
4076 | 4091 2766 00C0 rjmp .L296 |
||
4077 | 4092 2768 81E0 ldi r24,lo8(1) |
||
4078 | 4093 276a 8093 0000 sts Looping_Links,r24 |
||
4079 | 4094 276e 00C0 rjmp .L297 |
||
4080 | 4095 .L296: |
||
4081 | 4096 2770 AA0F lsl r26 |
||
4082 | 4097 2772 BB1F rol r27 |
||
4083 | 4098 2774 A050 subi r26,lo8(-(PPM_in)) |
||
4084 | 4099 2776 B040 sbci r27,hi8(-(PPM_in)) |
||
4085 | 4100 2778 2D91 ld r18,X+ |
||
4086 | 4101 277a 3C91 ld r19,X |
||
4087 | 4102 277c 8091 0000 lds r24,EE_Parameter+59 |
||
4088 | 4103 2780 481B sub r20,r24 |
||
4089 | 4104 2782 5109 sbc r21,__zero_reg__ |
||
4090 | 4105 2784 2417 cp r18,r20 |
||
4091 | 4106 2786 3507 cpc r19,r21 |
||
4092 | 4107 2788 04F4 brge .L297 |
||
4093 | 4108 278a 1092 0000 sts Looping_Links,__zero_reg__ |
||
4094 | 4109 .L297: |
||
4095 | 4110 278e 8091 0000 lds r24,EE_Parameter+2 |
||
4096 | 4111 2792 A82F mov r26,r24 |
||
4097 | 4112 2794 B0E0 ldi r27,lo8(0) |
||
4098 | 4113 2796 FD01 movw r30,r26 |
||
4099 | 4114 2798 EE0F lsl r30 |
||
4100 | 4115 279a FF1F rol r31 |
||
4101 | 4116 279c E050 subi r30,lo8(-(PPM_in)) |
||
4102 | 4117 279e F040 sbci r31,hi8(-(PPM_in)) |
||
4103 | 4118 27a0 2081 ld r18,Z |
||
4104 | 4119 27a2 3181 ldd r19,Z+1 |
||
4105 | 4120 27a4 8091 0000 lds r24,EE_Parameter+58 |
||
4106 | 4121 27a8 482F mov r20,r24 |
||
4107 | 4122 27aa 50E0 ldi r21,lo8(0) |
||
4108 | 4123 27ac 8827 clr r24 |
||
4109 | 4124 27ae 9927 clr r25 |
||
4110 | 4125 27b0 841B sub r24,r20 |
||
4111 | 4126 27b2 950B sbc r25,r21 |
||
4112 | 4127 27b4 2817 cp r18,r24 |
||
4113 | 4128 27b6 3907 cpc r19,r25 |
||
4114 | 4129 27b8 04F4 brge .L298 |
||
4115 | 4130 27ba 8091 0000 lds r24,EE_Parameter+97 |
||
4116 | 4131 27be 83FF sbrs r24,3 |
||
4117 | 4132 27c0 00C0 rjmp .L298 |
||
4118 | 4133 27c2 81E0 ldi r24,lo8(1) |
||
4119 | 4134 27c4 8093 0000 sts Looping_Rechts,r24 |
||
4120 | 4135 27c8 00C0 rjmp .L299 |
||
4121 | 4136 .L298: |
||
4122 | 4137 27ca 8091 0000 lds r24,Looping_Rechts |
||
4123 | 4138 27ce 8823 tst r24 |
||
4124 | 4139 27d0 01F0 breq .L299 |
||
4125 | 4140 27d2 AA0F lsl r26 |
||
4126 | 4141 27d4 BB1F rol r27 |
||
4127 | 4142 27d6 A050 subi r26,lo8(-(PPM_in)) |
||
4128 | 4143 27d8 B040 sbci r27,hi8(-(PPM_in)) |
||
4129 | 4144 27da 2D91 ld r18,X+ |
||
4130 | 4145 27dc 3C91 ld r19,X |
||
4131 | 4146 27de 8091 0000 lds r24,EE_Parameter+59 |
||
4132 | 4147 27e2 90E0 ldi r25,lo8(0) |
||
4133 | 4148 27e4 841B sub r24,r20 |
||
4134 | 4149 27e6 950B sbc r25,r21 |
||
4135 | 4150 27e8 8217 cp r24,r18 |
||
4136 | 4151 27ea 9307 cpc r25,r19 |
||
4137 | 4152 27ec 04F4 brge .L299 |
||
4138 | 4153 27ee 1092 0000 sts Looping_Rechts,__zero_reg__ |
||
4139 | 4154 .L299: |
||
4140 | 4155 27f2 8091 0000 lds r24,EE_Parameter+1 |
||
4141 | 4156 27f6 A82F mov r26,r24 |
||
4142 | 4157 27f8 B0E0 ldi r27,lo8(0) |
||
4143 | 4158 27fa FD01 movw r30,r26 |
||
4144 | 4159 27fc EE0F lsl r30 |
||
4145 | 4160 27fe FF1F rol r31 |
||
4146 | 4161 2800 E050 subi r30,lo8(-(PPM_in)) |
||
4147 | 4162 2802 F040 sbci r31,hi8(-(PPM_in)) |
||
4148 | 4163 2804 2081 ld r18,Z |
||
4149 | 4164 2806 3181 ldd r19,Z+1 |
||
4150 | 4165 2808 8091 0000 lds r24,EE_Parameter+58 |
||
4151 | 4166 280c 482F mov r20,r24 |
||
4152 | 4167 280e 50E0 ldi r21,lo8(0) |
||
4153 | 4168 2810 4217 cp r20,r18 |
||
4154 | 4169 2812 5307 cpc r21,r19 |
||
4155 | 4170 2814 04F4 brge .L300 |
||
4156 | 4171 2816 8091 0000 lds r24,EE_Parameter+97 |
||
4157 | 4172 281a 80FF sbrs r24,0 |
||
4158 | 4173 281c 00C0 rjmp .L300 |
||
4159 | 4174 281e 81E0 ldi r24,lo8(1) |
||
4160 | 4175 2820 8093 0000 sts Looping_Oben,r24 |
||
4161 | 4176 2824 00C0 rjmp .L301 |
||
4162 | 4177 .L300: |
||
4163 | 4178 2826 8091 0000 lds r24,Looping_Oben |
||
4164 | 4179 282a 8823 tst r24 |
||
4165 | 4180 282c 01F0 breq .L301 |
||
4166 | 4181 282e AA0F lsl r26 |
||
4167 | 4182 2830 BB1F rol r27 |
||
4168 | 4183 2832 A050 subi r26,lo8(-(PPM_in)) |
||
4169 | 4184 2834 B040 sbci r27,hi8(-(PPM_in)) |
||
4170 | 4185 2836 2D91 ld r18,X+ |
||
4171 | 4186 2838 3C91 ld r19,X |
||
4172 | 4187 283a 8091 0000 lds r24,EE_Parameter+59 |
||
4173 | 4188 283e 481B sub r20,r24 |
||
4174 | 4189 2840 5109 sbc r21,__zero_reg__ |
||
4175 | 4190 2842 2417 cp r18,r20 |
||
4176 | 4191 2844 3507 cpc r19,r21 |
||
4177 | 4192 2846 04F4 brge .L301 |
||
4178 | 4193 2848 1092 0000 sts Looping_Oben,__zero_reg__ |
||
4179 | 4194 .L301: |
||
4180 | 4195 284c 8091 0000 lds r24,EE_Parameter+1 |
||
4181 | 4196 2850 A82F mov r26,r24 |
||
4182 | 4197 2852 B0E0 ldi r27,lo8(0) |
||
4183 | 4198 2854 FD01 movw r30,r26 |
||
4184 | 4199 2856 EE0F lsl r30 |
||
4185 | 4200 2858 FF1F rol r31 |
||
4186 | 4201 285a E050 subi r30,lo8(-(PPM_in)) |
||
4187 | 4202 285c F040 sbci r31,hi8(-(PPM_in)) |
||
4188 | 4203 285e 2081 ld r18,Z |
||
4189 | 4204 2860 3181 ldd r19,Z+1 |
||
4190 | 4205 2862 8091 0000 lds r24,EE_Parameter+58 |
||
4191 | 4206 2866 482F mov r20,r24 |
||
4192 | 4207 2868 50E0 ldi r21,lo8(0) |
||
4193 | 4208 286a 8827 clr r24 |
||
4194 | 4209 286c 9927 clr r25 |
||
4195 | 4210 286e 841B sub r24,r20 |
||
4196 | 4211 2870 950B sbc r25,r21 |
||
4197 | 4212 2872 2817 cp r18,r24 |
||
4198 | 4213 2874 3907 cpc r19,r25 |
||
4199 | 4214 2876 04F4 brge .L302 |
||
4200 | 4215 2878 8091 0000 lds r24,EE_Parameter+97 |
||
4201 | 4216 287c 81FF sbrs r24,1 |
||
4202 | 4217 287e 00C0 rjmp .L302 |
||
4203 | 4218 2880 81E0 ldi r24,lo8(1) |
||
4204 | 4219 2882 8093 0000 sts Looping_Unten,r24 |
||
4205 | 4220 2886 00C0 rjmp .L303 |
||
4206 | 4221 .L302: |
||
4207 | 4222 2888 8091 0000 lds r24,Looping_Unten |
||
4208 | 4223 288c 8823 tst r24 |
||
4209 | 4224 288e 01F0 breq .L303 |
||
4210 | 4225 2890 AA0F lsl r26 |
||
4211 | 4226 2892 BB1F rol r27 |
||
4212 | 4227 2894 A050 subi r26,lo8(-(PPM_in)) |
||
4213 | 4228 2896 B040 sbci r27,hi8(-(PPM_in)) |
||
4214 | 4229 2898 2D91 ld r18,X+ |
||
4215 | 4230 289a 3C91 ld r19,X |
||
4216 | 4231 289c 8091 0000 lds r24,EE_Parameter+59 |
||
4217 | 4232 28a0 90E0 ldi r25,lo8(0) |
||
4218 | 4233 28a2 841B sub r24,r20 |
||
4219 | 4234 28a4 950B sbc r25,r21 |
||
4220 | 4235 28a6 8217 cp r24,r18 |
||
4221 | 4236 28a8 9307 cpc r25,r19 |
||
4222 | 4237 28aa 04F4 brge .L303 |
||
4223 | 4238 28ac 1092 0000 sts Looping_Unten,__zero_reg__ |
||
4224 | 4239 .L303: |
||
4225 | 4240 28b0 8091 0000 lds r24,Looping_Links |
||
4226 | 4241 28b4 8823 tst r24 |
||
4227 | 4242 28b6 01F4 brne .L304 |
||
4228 | 4243 28b8 8091 0000 lds r24,Looping_Rechts |
||
4229 | 4244 28bc 8823 tst r24 |
||
4230 | 4245 28be 01F0 breq .L305 |
||
4231 | 4246 .L304: |
||
4232 | 4247 28c0 81E0 ldi r24,lo8(1) |
||
4233 | 4248 28c2 8093 0000 sts Looping_Roll,r24 |
||
4234 | 4249 28c6 00C0 rjmp .L306 |
||
4235 | 4250 .L305: |
||
4236 | 4251 28c8 1092 0000 sts Looping_Roll,__zero_reg__ |
||
4237 | 4252 .L306: |
||
4238 | 4253 28cc 8091 0000 lds r24,Looping_Oben |
||
4239 | 4254 28d0 8823 tst r24 |
||
4240 | 4255 28d2 01F4 brne .L307 |
||
4241 | 4256 28d4 8091 0000 lds r24,Looping_Unten |
||
4242 | 4257 28d8 8823 tst r24 |
||
4243 | 4258 28da 01F0 breq .L308 |
||
4244 | 4259 .L307: |
||
4245 | 4260 28dc 81E0 ldi r24,lo8(1) |
||
4246 | 4261 28de 8093 0000 sts Looping_Nick,r24 |
||
4247 | 4262 28e2 1092 0000 sts Looping_Roll,__zero_reg__ |
||
4248 | 4263 28e6 1092 0000 sts Looping_Links,__zero_reg__ |
||
4249 | 4264 28ea 1092 0000 sts Looping_Rechts,__zero_reg__ |
||
4250 | 4265 28ee 00C0 rjmp .L277 |
||
4251 | 4266 .L308: |
||
4252 | 4267 28f0 1092 0000 sts Looping_Nick,__zero_reg__ |
||
4253 | 4268 .L277: |
||
4254 | 4269 28f4 8091 0000 lds r24,Looping_Roll |
||
4255 | 4270 28f8 8823 tst r24 |
||
4256 | 4271 28fa 01F4 brne .L309 |
||
4257 | 4272 28fc 8091 0000 lds r24,Looping_Nick |
||
4258 | 4273 2900 8823 tst r24 |
||
4259 | 4274 2902 01F0 breq .L310 |
||
4260 | 4275 .L309: |
||
4261 | 4276 2904 8091 0000 lds r24,EE_Parameter+57 |
||
4262 | 4277 2908 90E0 ldi r25,lo8(0) |
||
4263 | 4278 290a EEA1 ldd r30,Y+38 |
||
4264 | 4279 290c FFA1 ldd r31,Y+39 |
||
4265 | 4280 290e 8E17 cp r24,r30 |
||
4266 | 4281 2910 9F07 cpc r25,r31 |
||
4267 | 4282 2912 04F4 brge .L311 |
||
4268 | 4283 2914 9FA3 std Y+39,r25 |
||
4269 | 4284 2916 8EA3 std Y+38,r24 |
||
4270 | 4285 .L311: |
||
4271 | 4286 2918 81E0 ldi r24,lo8(1) |
||
4272 | 4287 291a 8093 0000 sts TrichterFlug,r24 |
||
4273 | 4288 .L310: |
||
4274 | 4289 291e 8091 0000 lds r24,FCFlags |
||
4275 | 4290 2922 84FF sbrs r24,4 |
||
4276 | 4291 2924 00C0 rjmp .L312 |
||
4277 | 4292 2926 1092 0000 sts (StickGier)+1,__zero_reg__ |
||
4278 | 4293 292a 1092 0000 sts StickGier,__zero_reg__ |
||
4279 | 4294 292e 1092 0000 sts (StickNick)+1,__zero_reg__ |
||
4280 | 4295 2932 1092 0000 sts StickNick,__zero_reg__ |
||
4281 | 4296 2936 1092 0000 sts (StickRoll)+1,__zero_reg__ |
||
4282 | 4297 293a 1092 0000 sts StickRoll,__zero_reg__ |
||
4283 | 4298 293e 9AE5 ldi r25,lo8(90) |
||
4284 | 4299 2940 9093 0000 sts GyroFaktor,r25 |
||
4285 | 4300 2944 88E7 ldi r24,lo8(120) |
||
4286 | 4301 2946 8093 0000 sts IntegralFaktor,r24 |
||
4287 | 4302 294a 9093 0000 sts GyroFaktorGier,r25 |
||
4288 | 4303 294e 8093 0000 sts IntegralFaktorGier,r24 |
||
4289 | 4304 2952 1092 0000 sts Looping_Roll,__zero_reg__ |
||
4290 | 4305 2956 1092 0000 sts Looping_Nick,__zero_reg__ |
||
4291 | 4306 .L312: |
||
4292 | 4307 295a 8091 0000 lds r24,MittelIntegralNick |
||
4293 | 4308 295e 9091 0000 lds r25,(MittelIntegralNick)+1 |
||
4294 | 4309 2962 A091 0000 lds r26,(MittelIntegralNick)+2 |
||
4295 | 4310 2966 B091 0000 lds r27,(MittelIntegralNick)+3 |
||
4296 | 4311 296a 2091 0000 lds r18,IntegralNick |
||
4297 | 4312 296e 3091 0000 lds r19,(IntegralNick)+1 |
||
4298 | 4313 2972 4091 0000 lds r20,(IntegralNick)+2 |
||
4299 | 4314 2976 5091 0000 lds r21,(IntegralNick)+3 |
||
4300 | 4315 297a 820F add r24,r18 |
||
4301 | 4316 297c 931F adc r25,r19 |
||
4302 | 4317 297e A41F adc r26,r20 |
||
4303 | 4318 2980 B51F adc r27,r21 |
||
4304 | 4319 2982 8093 0000 sts MittelIntegralNick,r24 |
||
4305 | 4320 2986 9093 0000 sts (MittelIntegralNick)+1,r25 |
||
4306 | 4321 298a A093 0000 sts (MittelIntegralNick)+2,r26 |
||
4307 | 4322 298e B093 0000 sts (MittelIntegralNick)+3,r27 |
||
4308 | 4323 2992 8091 0000 lds r24,MittelIntegralRoll |
||
4309 | 4324 2996 9091 0000 lds r25,(MittelIntegralRoll)+1 |
||
4310 | 4325 299a A091 0000 lds r26,(MittelIntegralRoll)+2 |
||
4311 | 4326 299e B091 0000 lds r27,(MittelIntegralRoll)+3 |
||
4312 | 4327 29a2 2091 0000 lds r18,IntegralRoll |
||
4313 | 4328 29a6 3091 0000 lds r19,(IntegralRoll)+1 |
||
4314 | 4329 29aa 4091 0000 lds r20,(IntegralRoll)+2 |
||
4315 | 4330 29ae 5091 0000 lds r21,(IntegralRoll)+3 |
||
4316 | 4331 29b2 820F add r24,r18 |
||
4317 | 4332 29b4 931F adc r25,r19 |
||
4318 | 4333 29b6 A41F adc r26,r20 |
||
4319 | 4334 29b8 B51F adc r27,r21 |
||
4320 | 4335 29ba 8093 0000 sts MittelIntegralRoll,r24 |
||
4321 | 4336 29be 9093 0000 sts (MittelIntegralRoll)+1,r25 |
||
4322 | 4337 29c2 A093 0000 sts (MittelIntegralRoll)+2,r26 |
||
4323 | 4338 29c6 B093 0000 sts (MittelIntegralRoll)+3,r27 |
||
4324 | 4339 29ca 8091 0000 lds r24,MittelIntegralNick2 |
||
4325 | 4340 29ce 9091 0000 lds r25,(MittelIntegralNick2)+1 |
||
4326 | 4341 29d2 A091 0000 lds r26,(MittelIntegralNick2)+2 |
||
4327 | 4342 29d6 B091 0000 lds r27,(MittelIntegralNick2)+3 |
||
4328 | 4343 29da 2091 0000 lds r18,IntegralNick2 |
||
4329 | 4344 29de 3091 0000 lds r19,(IntegralNick2)+1 |
||
4330 | 4345 29e2 4091 0000 lds r20,(IntegralNick2)+2 |
||
4331 | 4346 29e6 5091 0000 lds r21,(IntegralNick2)+3 |
||
4332 | 4347 29ea 820F add r24,r18 |
||
4333 | 4348 29ec 931F adc r25,r19 |
||
4334 | 4349 29ee A41F adc r26,r20 |
||
4335 | 4350 29f0 B51F adc r27,r21 |
||
4336 | 4351 29f2 8093 0000 sts MittelIntegralNick2,r24 |
||
4337 | 4352 29f6 9093 0000 sts (MittelIntegralNick2)+1,r25 |
||
4338 | 4353 29fa A093 0000 sts (MittelIntegralNick2)+2,r26 |
||
4339 | 4354 29fe B093 0000 sts (MittelIntegralNick2)+3,r27 |
||
4340 | 4355 2a02 8091 0000 lds r24,MittelIntegralRoll2 |
||
4341 | 4356 2a06 9091 0000 lds r25,(MittelIntegralRoll2)+1 |
||
4342 | 4357 2a0a A091 0000 lds r26,(MittelIntegralRoll2)+2 |
||
4343 | 4358 2a0e B091 0000 lds r27,(MittelIntegralRoll2)+3 |
||
4344 | 4359 2a12 2091 0000 lds r18,IntegralRoll2 |
||
4345 | 4360 2a16 3091 0000 lds r19,(IntegralRoll2)+1 |
||
4346 | 4361 2a1a 4091 0000 lds r20,(IntegralRoll2)+2 |
||
4347 | 4362 2a1e 5091 0000 lds r21,(IntegralRoll2)+3 |
||
4348 | 4363 2a22 820F add r24,r18 |
||
4349 | 4364 2a24 931F adc r25,r19 |
||
4350 | 4365 2a26 A41F adc r26,r20 |
||
4351 | 4366 2a28 B51F adc r27,r21 |
||
4352 | 4367 2a2a 8093 0000 sts MittelIntegralRoll2,r24 |
||
4353 | 4368 2a2e 9093 0000 sts (MittelIntegralRoll2)+1,r25 |
||
4354 | 4369 2a32 A093 0000 sts (MittelIntegralRoll2)+2,r26 |
||
4355 | 4370 2a36 B093 0000 sts (MittelIntegralRoll2)+3,r27 |
||
4356 | 4371 2a3a 8091 0000 lds r24,Looping_Nick |
||
4357 | 4372 2a3e 8823 tst r24 |
||
4358 | 4373 2a40 01F4 brne .L313 |
||
4359 | 4374 2a42 8091 0000 lds r24,Looping_Roll |
||
4360 | 4375 2a46 8823 tst r24 |
||
4361 | 4376 2a48 01F4 brne .+2 |
||
4362 | 4377 2a4a 00C0 rjmp .L314 |
||
4363 | 4378 .L313: |
||
4364 | 4379 2a4c 1092 0000 sts IntegralAccNick,__zero_reg__ |
||
4365 | 4380 2a50 1092 0000 sts (IntegralAccNick)+1,__zero_reg__ |
||
4366 | 4381 2a54 1092 0000 sts (IntegralAccNick)+2,__zero_reg__ |
||
4367 | 4382 2a58 1092 0000 sts (IntegralAccNick)+3,__zero_reg__ |
||
4368 | 4383 2a5c 1092 0000 sts IntegralAccRoll,__zero_reg__ |
||
4369 | 4384 2a60 1092 0000 sts (IntegralAccRoll)+1,__zero_reg__ |
||
4370 | 4385 2a64 1092 0000 sts (IntegralAccRoll)+2,__zero_reg__ |
||
4371 | 4386 2a68 1092 0000 sts (IntegralAccRoll)+3,__zero_reg__ |
||
4372 | 4387 2a6c 1092 0000 sts MittelIntegralNick,__zero_reg__ |
||
4373 | 4388 2a70 1092 0000 sts (MittelIntegralNick)+1,__zero_reg__ |
||
4374 | 4389 2a74 1092 0000 sts (MittelIntegralNick)+2,__zero_reg__ |
||
4375 | 4390 2a78 1092 0000 sts (MittelIntegralNick)+3,__zero_reg__ |
||
4376 | 4391 2a7c 1092 0000 sts MittelIntegralRoll,__zero_reg__ |
||
4377 | 4392 2a80 1092 0000 sts (MittelIntegralRoll)+1,__zero_reg__ |
||
4378 | 4393 2a84 1092 0000 sts (MittelIntegralRoll)+2,__zero_reg__ |
||
4379 | 4394 2a88 1092 0000 sts (MittelIntegralRoll)+3,__zero_reg__ |
||
4380 | 4395 2a8c 1092 0000 sts MittelIntegralNick2,__zero_reg__ |
||
4381 | 4396 2a90 1092 0000 sts (MittelIntegralNick2)+1,__zero_reg__ |
||
4382 | 4397 2a94 1092 0000 sts (MittelIntegralNick2)+2,__zero_reg__ |
||
4383 | 4398 2a98 1092 0000 sts (MittelIntegralNick2)+3,__zero_reg__ |
||
4384 | 4399 2a9c 1092 0000 sts MittelIntegralRoll2,__zero_reg__ |
||
4385 | 4400 2aa0 1092 0000 sts (MittelIntegralRoll2)+1,__zero_reg__ |
||
4386 | 4401 2aa4 1092 0000 sts (MittelIntegralRoll2)+2,__zero_reg__ |
||
4387 | 4402 2aa8 1092 0000 sts (MittelIntegralRoll2)+3,__zero_reg__ |
||
4388 | 4403 2aac 8091 0000 lds r24,Mess_IntegralNick |
||
4389 | 4404 2ab0 9091 0000 lds r25,(Mess_IntegralNick)+1 |
||
4390 | 4405 2ab4 A091 0000 lds r26,(Mess_IntegralNick)+2 |
||
4391 | 4406 2ab8 B091 0000 lds r27,(Mess_IntegralNick)+3 |
||
4392 | 4407 2abc 8093 0000 sts Mess_IntegralNick2,r24 |
||
4393 | 4408 2ac0 9093 0000 sts (Mess_IntegralNick2)+1,r25 |
||
4394 | 4409 2ac4 A093 0000 sts (Mess_IntegralNick2)+2,r26 |
||
4395 | 4410 2ac8 B093 0000 sts (Mess_IntegralNick2)+3,r27 |
||
4396 | 4411 2acc 8091 0000 lds r24,Mess_IntegralRoll |
||
4397 | 4412 2ad0 9091 0000 lds r25,(Mess_IntegralRoll)+1 |
||
4398 | 4413 2ad4 A091 0000 lds r26,(Mess_IntegralRoll)+2 |
||
4399 | 4414 2ad8 B091 0000 lds r27,(Mess_IntegralRoll)+3 |
||
4400 | 4415 2adc 8093 0000 sts Mess_IntegralRoll2,r24 |
||
4401 | 4416 2ae0 9093 0000 sts (Mess_IntegralRoll2)+1,r25 |
||
4402 | 4417 2ae4 A093 0000 sts (Mess_IntegralRoll2)+2,r26 |
||
4403 | 4418 2ae8 B093 0000 sts (Mess_IntegralRoll2)+3,r27 |
||
4404 | 4419 2aec 1092 0000 sts (ZaehlMessungen)+1,__zero_reg__ |
||
4405 | 4420 2af0 1092 0000 sts ZaehlMessungen,__zero_reg__ |
||
4406 | 4421 2af4 1092 0000 sts (LageKorrekturNick)+1,__zero_reg__ |
||
4407 | 4422 2af8 1092 0000 sts LageKorrekturNick,__zero_reg__ |
||
4408 | 4423 2afc 1092 0000 sts (LageKorrekturRoll)+1,__zero_reg__ |
||
4409 | 4424 2b00 1092 0000 sts LageKorrekturRoll,__zero_reg__ |
||
4410 | 4425 .L314: |
||
4411 | 4426 2b04 8091 0000 lds r24,Looping_Nick |
||
4412 | 4427 2b08 8823 tst r24 |
||
4413 | 4428 2b0a 01F0 breq .+2 |
||
4414 | 4429 2b0c 00C0 rjmp .L315 |
||
4415 | 4430 2b0e 8091 0000 lds r24,Looping_Roll |
||
4416 | 4431 2b12 8823 tst r24 |
||
4417 | 4432 2b14 01F0 breq .+2 |
||
4418 | 4433 2b16 00C0 rjmp .L315 |
||
4419 | 4434 2b18 8091 0000 lds r24,Aktuell_az |
||
4420 | 4435 2b1c 9091 0000 lds r25,(Aktuell_az)+1 |
||
4421 | 4436 2b20 8150 subi r24,lo8(513) |
||
4422 | 4437 2b22 9240 sbci r25,hi8(513) |
||
4423 | 4438 2b24 04F4 brge .L316 |
||
4424 | 4439 2b26 8091 0000 lds r24,MotorenEin |
||
4425 | 4440 2b2a 8823 tst r24 |
||
4426 | 4441 2b2c 01F4 brne .+2 |
||
4427 | 4442 2b2e 00C0 rjmp .L315 |
||
4428 | 4443 .L316: |
||
4429 | 4444 2b30 2091 0000 lds r18,FromNaviCtrl_Value |
||
4430 | 4445 2b34 4090 0000 lds r4,Mittelwert_AccNick |
||
4431 | 4446 2b38 5090 0000 lds r5,(Mittelwert_AccNick)+1 |
||
4432 | 4447 2b3c 2090 0000 lds r2,Mittelwert_AccRoll |
||
4433 | 4448 2b40 3090 0000 lds r3,(Mittelwert_AccRoll)+1 |
||
4434 | 4449 2b44 6091 0000 lds r22,IntegralNick |
||
4435 | 4450 2b48 7091 0000 lds r23,(IntegralNick)+1 |
||
4436 | 4451 2b4c 8091 0000 lds r24,(IntegralNick)+2 |
||
4437 | 4452 2b50 9091 0000 lds r25,(IntegralNick)+3 |
||
4438 | 4453 2b54 6090 0000 lds r6,IntegralRoll |
||
4439 | 4454 2b58 7090 0000 lds r7,(IntegralRoll)+1 |
||
4440 | 4455 2b5c 8090 0000 lds r8,(IntegralRoll)+2 |
||
4441 | 4456 2b60 9090 0000 lds r9,(IntegralRoll)+3 |
||
4442 | 4457 2b64 4091 0000 lds r20,MaxStickNick |
||
4443 | 4458 2b68 5091 0000 lds r21,(MaxStickNick)+1 |
||
4444 | 4459 2b6c 5DAB std Y+53,r21 |
||
4445 | 4460 2b6e 4CAB std Y+52,r20 |
||
4446 | 4461 2b70 2F3F cpi r18,lo8(-1) |
||
4447 | 4462 2b72 01F4 brne .+2 |
||
4448 | 4463 2b74 00C0 rjmp .L317 |
||
4449 | 4464 2b76 E090 0000 lds r14,EE_Parameter+28 |
||
4450 | 4465 2b7a FF24 clr r15 |
||
4451 | 4466 2b7c 00E0 ldi r16,lo8(0) |
||
4452 | 4467 2b7e 10E0 ldi r17,hi8(0) |
||
4453 | 4468 2b80 A22E mov r10,r18 |
||
4454 | 4469 2b82 BB24 clr r11 |
||
4455 | 4470 2b84 A7FC sbrc r10,7 |
||
4456 | 4471 2b86 B094 com r11 |
||
4457 | 4472 2b88 CB2C mov r12,r11 |
||
4458 | 4473 2b8a DB2C mov r13,r11 |
||
4459 | 4474 2b8c A801 movw r20,r16 |
||
4460 | 4475 2b8e 9701 movw r18,r14 |
||
4461 | 4476 2b90 0E94 0000 call __divmodsi4 |
||
4462 | 4477 2b94 C201 movw r24,r4 |
||
4463 | 4478 2b96 AA27 clr r26 |
||
4464 | 4479 2b98 97FD sbrc r25,7 |
||
4465 | 4480 2b9a A095 com r26 |
||
4466 | 4481 2b9c BA2F mov r27,r26 |
||
4467 | 4482 2b9e 281B sub r18,r24 |
||
4468 | 4483 2ba0 390B sbc r19,r25 |
||
4469 | 4484 2ba2 4A0B sbc r20,r26 |
||
4470 | 4485 2ba4 5B0B sbc r21,r27 |
||
4471 | 4486 2ba6 CA01 movw r24,r20 |
||
4472 | 4487 2ba8 B901 movw r22,r18 |
||
4473 | 4488 2baa A601 movw r20,r12 |
||
4474 | 4489 2bac 9501 movw r18,r10 |
||
4475 | 4490 2bae 0E94 0000 call __mulsi3 |
||
4476 | 4491 2bb2 20E0 ldi r18,lo8(512) |
||
4477 | 4492 2bb4 32E0 ldi r19,hi8(512) |
||
4478 | 4493 2bb6 40E0 ldi r20,hlo8(512) |
||
4479 | 4494 2bb8 50E0 ldi r21,hhi8(512) |
||
4480 | 4495 2bba 0E94 0000 call __divmodsi4 |
||
4481 | 4496 2bbe 28AB std Y+48,r18 |
||
4482 | 4497 2bc0 39AB std Y+49,r19 |
||
4483 | 4498 2bc2 4AAB std Y+50,r20 |
||
4484 | 4499 2bc4 5BAB std Y+51,r21 |
||
4485 | 4500 2bc6 2CA7 std Y+44,r18 |
||
4486 | 4501 2bc8 3DA7 std Y+45,r19 |
||
4487 | 4502 2bca 4EA7 std Y+46,r20 |
||
4488 | 4503 2bcc 5FA7 std Y+47,r21 |
||
4489 | 4504 2bce C401 movw r24,r8 |
||
4490 | 4505 2bd0 B301 movw r22,r6 |
||
4491 | 4506 2bd2 A801 movw r20,r16 |
||
4492 | 4507 2bd4 9701 movw r18,r14 |
||
4493 | 4508 2bd6 0E94 0000 call __divmodsi4 |
||
4494 | 4509 2bda C101 movw r24,r2 |
||
4495 | 4510 2bdc AA27 clr r26 |
||
4496 | 4511 2bde 97FD sbrc r25,7 |
||
4497 | 4512 2be0 A095 com r26 |
||
4498 | 4513 2be2 BA2F mov r27,r26 |
||
4499 | 4514 2be4 281B sub r18,r24 |
||
4500 | 4515 2be6 390B sbc r19,r25 |
||
4501 | 4516 2be8 4A0B sbc r20,r26 |
||
4502 | 4517 2bea 5B0B sbc r21,r27 |
||
4503 | 4518 2bec CA01 movw r24,r20 |
||
4504 | 4519 2bee B901 movw r22,r18 |
||
4505 | 4520 2bf0 A601 movw r20,r12 |
||
4506 | 4521 2bf2 9501 movw r18,r10 |
||
4507 | 4522 2bf4 0E94 0000 call __mulsi3 |
||
4508 | 4523 2bf8 20E0 ldi r18,lo8(512) |
||
4509 | 4524 2bfa 32E0 ldi r19,hi8(512) |
||
4510 | 4525 2bfc 40E0 ldi r20,hlo8(512) |
||
4511 | 4526 2bfe 50E0 ldi r21,hhi8(512) |
||
4512 | 4527 2c00 0E94 0000 call __divmodsi4 |
||
4513 | 4528 2c04 122F mov r17,r18 |
||
4514 | 4529 2c06 032F mov r16,r19 |
||
4515 | 4530 2c08 F42E mov r15,r20 |
||
4516 | 4531 2c0a E52E mov r14,r21 |
||
4517 | 4532 2c0c 222E mov r2,r18 |
||
4518 | 4533 2c0e 332E mov r3,r19 |
||
4519 | 4534 2c10 442E mov r4,r20 |
||
4520 | 4535 2c12 552E mov r5,r21 |
||
4521 | 4536 2c14 6CA9 ldd r22,Y+52 |
||
4522 | 4537 2c16 7DA9 ldd r23,Y+53 |
||
4523 | 4538 2c18 6134 cpi r22,65 |
||
4524 | 4539 2c1a 7105 cpc r23,__zero_reg__ |
||
4525 | 4540 2c1c 04F4 brge .L318 |
||
4526 | 4541 2c1e 8091 0000 lds r24,MaxStickRoll |
||
4527 | 4542 2c22 9091 0000 lds r25,(MaxStickRoll)+1 |
||
4528 | 4543 2c26 8134 cpi r24,65 |
||
4529 | 4544 2c28 9105 cpc r25,__zero_reg__ |
||
4530 | 4545 2c2a 04F0 brlt .L319 |
||
4531 | 4546 .L318: |
||
4532 | 4547 2c2c 68A9 ldd r22,Y+48 |
||
4533 | 4548 2c2e 79A9 ldd r23,Y+49 |
||
4534 | 4549 2c30 8AA9 ldd r24,Y+50 |
||
4535 | 4550 2c32 9BA9 ldd r25,Y+51 |
||
4536 | 4551 2c34 22E0 ldi r18,lo8(2) |
||
4537 | 4552 2c36 30E0 ldi r19,hi8(2) |
||
4538 | 4553 2c38 40E0 ldi r20,hlo8(2) |
||
4539 | 4554 2c3a 50E0 ldi r21,hhi8(2) |
||
4540 | 4555 2c3c 0E94 0000 call __divmodsi4 |
||
4541 | 4556 2c40 2CA7 std Y+44,r18 |
||
4542 | 4557 2c42 3DA7 std Y+45,r19 |
||
4543 | 4558 2c44 4EA7 std Y+46,r20 |
||
4544 | 4559 2c46 5FA7 std Y+47,r21 |
||
4545 | 4560 2c48 612F mov r22,r17 |
||
4546 | 4561 2c4a 702F mov r23,r16 |
||
4547 | 4562 2c4c 8F2D mov r24,r15 |
||
4548 | 4563 2c4e 9E2D mov r25,r14 |
||
4549 | 4564 2c50 22E0 ldi r18,lo8(2) |
||
4550 | 4565 2c52 30E0 ldi r19,hi8(2) |
||
4551 | 4566 2c54 40E0 ldi r20,hlo8(2) |
||
4552 | 4567 2c56 50E0 ldi r21,hhi8(2) |
||
4553 | 4568 2c58 0E94 0000 call __divmodsi4 |
||
4554 | 4569 2c5c 1901 movw r2,r18 |
||
4555 | 4570 2c5e 2A01 movw r4,r20 |
||
4556 | 4571 .L319: |
||
4557 | 4572 2c60 E091 0000 lds r30,EE_Parameter+4 |
||
4558 | 4573 2c64 F0E0 ldi r31,lo8(0) |
||
4559 | 4574 2c66 EE0F lsl r30 |
||
4560 | 4575 2c68 FF1F rol r31 |
||
4561 | 4576 2c6a E050 subi r30,lo8(-(PPM_in)) |
||
4562 | 4577 2c6c F040 sbci r31,hi8(-(PPM_in)) |
||
4563 | 4578 2c6e 0190 ld __tmp_reg__,Z+ |
||
4564 | 4579 2c70 F081 ld r31,Z |
||
4565 | 4580 2c72 E02D mov r30,__tmp_reg__ |
||
4566 | 4581 2c74 F7FF sbrs r31,7 |
||
4567 | 4582 2c76 00C0 rjmp .L321 |
||
4568 | 4583 2c78 F095 com r31 |
||
4569 | 4584 2c7a E195 neg r30 |
||
4570 | 4585 2c7c FF4F sbci r31,lo8(-1) |
||
4571 | 4586 .L321: |
||
4572 | 4587 2c7e 7A97 sbiw r30,26 |
||
4573 | 4588 2c80 04F0 brlt .L320 |
||
4574 | 4589 2c82 6CA5 ldd r22,Y+44 |
||
4575 | 4590 2c84 7DA5 ldd r23,Y+45 |
||
4576 | 4591 2c86 8EA5 ldd r24,Y+46 |
||
4577 | 4592 2c88 9FA5 ldd r25,Y+47 |
||
4578 | 4593 2c8a 23E0 ldi r18,lo8(3) |
||
4579 | 4594 2c8c 30E0 ldi r19,hi8(3) |
||
4580 | 4595 2c8e 40E0 ldi r20,hlo8(3) |
||
4581 | 4596 2c90 50E0 ldi r21,hhi8(3) |
||
4582 | 4597 2c92 0E94 0000 call __divmodsi4 |
||
4583 | 4598 2c96 2CA7 std Y+44,r18 |
||
4584 | 4599 2c98 3DA7 std Y+45,r19 |
||
4585 | 4600 2c9a 4EA7 std Y+46,r20 |
||
4586 | 4601 2c9c 5FA7 std Y+47,r21 |
||
4587 | 4602 2c9e B101 movw r22,r2 |
||
4588 | 4603 2ca0 C201 movw r24,r4 |
||
4589 | 4604 2ca2 23E0 ldi r18,lo8(3) |
||
4590 | 4605 2ca4 30E0 ldi r19,hi8(3) |
||
4591 | 4606 2ca6 40E0 ldi r20,hlo8(3) |
||
4592 | 4607 2ca8 50E0 ldi r21,hhi8(3) |
||
4593 | 4608 2caa 0E94 0000 call __divmodsi4 |
||
4594 | 4609 2cae 1901 movw r2,r18 |
||
4595 | 4610 2cb0 2A01 movw r4,r20 |
||
4596 | 4611 .L320: |
||
4597 | 4612 2cb2 6091 0000 lds r22,FromNaviCtrl_Value+2 |
||
4598 | 4613 2cb6 662E mov r6,r22 |
||
4599 | 4614 2cb8 7724 clr r7 |
||
4600 | 4615 2cba 67FC sbrc r6,7 |
||
4601 | 4616 2cbc 7094 com r7 |
||
4602 | 4617 2cbe 872C mov r8,r7 |
||
4603 | 4618 2cc0 972C mov r9,r7 |
||
4604 | 4619 2cc2 2CA5 ldd r18,Y+44 |
||
4605 | 4620 2cc4 3DA5 ldd r19,Y+45 |
||
4606 | 4621 2cc6 4EA5 ldd r20,Y+46 |
||
4607 | 4622 2cc8 5FA5 ldd r21,Y+47 |
||
4608 | 4623 2cca C901 movw r24,r18 |
||
4609 | 4624 2ccc DA01 movw r26,r20 |
||
4610 | 4625 2cce 9C01 movw r18,r24 |
||
4611 | 4626 2cd0 AD01 movw r20,r26 |
||
4612 | 4627 2cd2 6216 cp r6,r18 |
||
4613 | 4628 2cd4 7306 cpc r7,r19 |
||
4614 | 4629 2cd6 8406 cpc r8,r20 |
||
4615 | 4630 2cd8 9506 cpc r9,r21 |
||
4616 | 4631 2cda 04F4 brge .L322 |
||
4617 | 4632 2cdc A401 movw r20,r8 |
||
4618 | 4633 2cde 9301 movw r18,r6 |
||
4619 | 4634 .L322: |
||
4620 | 4635 2ce0 862F mov r24,r22 |
||
4621 | 4636 2ce2 9927 clr r25 |
||
4622 | 4637 2ce4 87FD sbrc r24,7 |
||
4623 | 4638 2ce6 9095 com r25 |
||
4624 | 4639 2ce8 9095 com r25 |
||
4625 | 4640 2cea 8195 neg r24 |
||
4626 | 4641 2cec 9F4F sbci r25,lo8(-1) |
||
4627 | 4642 2cee 7C01 movw r14,r24 |
||
4628 | 4643 2cf0 0027 clr r16 |
||
4629 | 4644 2cf2 F7FC sbrc r15,7 |
||
4630 | 4645 2cf4 0095 com r16 |
||
4631 | 4646 2cf6 102F mov r17,r16 |
||
4632 | 4647 2cf8 5901 movw r10,r18 |
||
4633 | 4648 2cfa 6A01 movw r12,r20 |
||
4634 | 4649 2cfc 2E15 cp r18,r14 |
||
4635 | 4650 2cfe 3F05 cpc r19,r15 |
||
4636 | 4651 2d00 4007 cpc r20,r16 |
||
4637 | 4652 2d02 5107 cpc r21,r17 |
||
4638 | 4653 2d04 04F4 brge .L323 |
||
4639 | 4654 2d06 5701 movw r10,r14 |
||
4640 | 4655 2d08 6801 movw r12,r16 |
||
4641 | 4656 .L323: |
||
4642 | 4657 2d0a C101 movw r24,r2 |
||
4643 | 4658 2d0c D201 movw r26,r4 |
||
4644 | 4659 2d0e 6816 cp r6,r24 |
||
4645 | 4660 2d10 7906 cpc r7,r25 |
||
4646 | 4661 2d12 8A06 cpc r8,r26 |
||
4647 | 4662 2d14 9B06 cpc r9,r27 |
||
4648 | 4663 2d16 04F4 brge .L324 |
||
4649 | 4664 2d18 D401 movw r26,r8 |
||
4650 | 4665 2d1a C301 movw r24,r6 |
||
4651 | 4666 .L324: |
||
4652 | 4667 2d1c 8E15 cp r24,r14 |
||
4653 | 4668 2d1e 9F05 cpc r25,r15 |
||
4654 | 4669 2d20 A007 cpc r26,r16 |
||
4655 | 4670 2d22 B107 cpc r27,r17 |
||
4656 | 4671 2d24 04F4 brge .+2 |
||
4657 | 4672 2d26 00C0 rjmp .L325 |
||
4658 | 4673 2d28 7C01 movw r14,r24 |
||
4659 | 4674 2d2a 8D01 movw r16,r26 |
||
4660 | 4675 2d2c 00C0 rjmp .L325 |
||
4661 | 4676 .L317: |
||
4662 | 4677 2d2e E090 0000 lds r14,EE_Parameter+28 |
||
4663 | 4678 2d32 FF24 clr r15 |
||
4664 | 4679 2d34 00E0 ldi r16,lo8(0) |
||
4665 | 4680 2d36 10E0 ldi r17,hi8(0) |
||
4666 | 4681 2d38 A801 movw r20,r16 |
||
4667 | 4682 2d3a 9701 movw r18,r14 |
||
4668 | 4683 2d3c 0E94 0000 call __divmodsi4 |
||
4669 | 4684 2d40 5901 movw r10,r18 |
||
4670 | 4685 2d42 6A01 movw r12,r20 |
||
4671 | 4686 2d44 C201 movw r24,r4 |
||
4672 | 4687 2d46 AA27 clr r26 |
||
4673 | 4688 2d48 97FD sbrc r25,7 |
||
4674 | 4689 2d4a A095 com r26 |
||
4675 | 4690 2d4c BA2F mov r27,r26 |
||
4676 | 4691 2d4e A81A sub r10,r24 |
||
4677 | 4692 2d50 B90A sbc r11,r25 |
||
4678 | 4693 2d52 CA0A sbc r12,r26 |
||
4679 | 4694 2d54 DB0A sbc r13,r27 |
||
4680 | 4695 2d56 C401 movw r24,r8 |
||
4681 | 4696 2d58 B301 movw r22,r6 |
||
4682 | 4697 2d5a A801 movw r20,r16 |
||
4683 | 4698 2d5c 9701 movw r18,r14 |
||
4684 | 4699 2d5e 0E94 0000 call __divmodsi4 |
||
4685 | 4700 2d62 7901 movw r14,r18 |
||
4686 | 4701 2d64 8A01 movw r16,r20 |
||
4687 | 4702 2d66 C101 movw r24,r2 |
||
4688 | 4703 2d68 AA27 clr r26 |
||
4689 | 4704 2d6a 97FD sbrc r25,7 |
||
4690 | 4705 2d6c A095 com r26 |
||
4691 | 4706 2d6e BA2F mov r27,r26 |
||
4692 | 4707 2d70 E81A sub r14,r24 |
||
4693 | 4708 2d72 F90A sbc r15,r25 |
||
4694 | 4709 2d74 0A0B sbc r16,r26 |
||
4695 | 4710 2d76 1B0B sbc r17,r27 |
||
4696 | 4711 2d78 C601 movw r24,r12 |
||
4697 | 4712 2d7a B501 movw r22,r10 |
||
4698 | 4713 2d7c 20E1 ldi r18,lo8(16) |
||
4699 | 4714 2d7e 30E0 ldi r19,hi8(16) |
||
4700 | 4715 2d80 40E0 ldi r20,hlo8(16) |
||
4701 | 4716 2d82 50E0 ldi r21,hhi8(16) |
||
4702 | 4717 2d84 0E94 0000 call __divmodsi4 |
||
4703 | 4718 2d88 922E mov r9,r18 |
||
4704 | 4719 2d8a 832E mov r8,r19 |
||
4705 | 4720 2d8c 742E mov r7,r20 |
||
4706 | 4721 2d8e 652E mov r6,r21 |
||
4707 | 4722 2d90 822F mov r24,r18 |
||
4708 | 4723 2d92 932F mov r25,r19 |
||
4709 | 4724 2d94 A42F mov r26,r20 |
||
4710 | 4725 2d96 B52F mov r27,r21 |
||
4711 | 4726 2d98 5C01 movw r10,r24 |
||
4712 | 4727 2d9a 6D01 movw r12,r26 |
||
4713 | 4728 2d9c C801 movw r24,r16 |
||
4714 | 4729 2d9e B701 movw r22,r14 |
||
4715 | 4730 2da0 20E1 ldi r18,lo8(16) |
||
4716 | 4731 2da2 30E0 ldi r19,hi8(16) |
||
4717 | 4732 2da4 40E0 ldi r20,hlo8(16) |
||
4718 | 4733 2da6 50E0 ldi r21,hhi8(16) |
||
4719 | 4734 2da8 0E94 0000 call __divmodsi4 |
||
4720 | 4735 2dac 522E mov r5,r18 |
||
4721 | 4736 2dae 432E mov r4,r19 |
||
4722 | 4737 2db0 1A01 movw r2,r20 |
||
4723 | 4738 2db2 822F mov r24,r18 |
||
4724 | 4739 2db4 932F mov r25,r19 |
||
4725 | 4740 2db6 DA01 movw r26,r20 |
||
4726 | 4741 2db8 7C01 movw r14,r24 |
||
4727 | 4742 2dba 8D01 movw r16,r26 |
||
4728 | 4743 2dbc 8CA9 ldd r24,Y+52 |
||
4729 | 4744 2dbe 9DA9 ldd r25,Y+53 |
||
4730 | 4745 2dc0 8134 cpi r24,65 |
||
4731 | 4746 2dc2 9105 cpc r25,__zero_reg__ |
||
4732 | 4747 2dc4 04F4 brge .L326 |
||
4733 | 4748 2dc6 8091 0000 lds r24,MaxStickRoll |
||
4734 | 4749 2dca 9091 0000 lds r25,(MaxStickRoll)+1 |
||
4735 | 4750 2dce 8134 cpi r24,65 |
||
4736 | 4751 2dd0 9105 cpc r25,__zero_reg__ |
||
4737 | 4752 2dd2 04F0 brlt .L327 |
||
4738 | 4753 .L326: |
||
4739 | 4754 2dd4 692D mov r22,r9 |
||
4740 | 4755 2dd6 782D mov r23,r8 |
||
4741 | 4756 2dd8 872D mov r24,r7 |
||
4742 | 4757 2dda 962D mov r25,r6 |
||
4743 | 4758 2ddc 23E0 ldi r18,lo8(3) |
||
4744 | 4759 2dde 30E0 ldi r19,hi8(3) |
||
4745 | 4760 2de0 40E0 ldi r20,hlo8(3) |
||
4746 | 4761 2de2 50E0 ldi r21,hhi8(3) |
||
4747 | 4762 2de4 0E94 0000 call __divmodsi4 |
||
4748 | 4763 2de8 C901 movw r24,r18 |
||
4749 | 4764 2dea DA01 movw r26,r20 |
||
4750 | 4765 2dec 5C01 movw r10,r24 |
||
4751 | 4766 2dee 6D01 movw r12,r26 |
||
4752 | 4767 2df0 652D mov r22,r5 |
||
4753 | 4768 2df2 742D mov r23,r4 |
||
4754 | 4769 2df4 C101 movw r24,r2 |
||
4755 | 4770 2df6 23E0 ldi r18,lo8(3) |
||
4756 | 4771 2df8 30E0 ldi r19,hi8(3) |
||
4757 | 4772 2dfa 40E0 ldi r20,hlo8(3) |
||
4758 | 4773 2dfc 50E0 ldi r21,hhi8(3) |
||
4759 | 4774 2dfe 0E94 0000 call __divmodsi4 |
||
4760 | 4775 2e02 C901 movw r24,r18 |
||
4761 | 4776 2e04 DA01 movw r26,r20 |
||
4762 | 4777 2e06 7C01 movw r14,r24 |
||
4763 | 4778 2e08 8D01 movw r16,r26 |
||
4764 | 4779 .L327: |
||
4765 | 4780 2e0a E091 0000 lds r30,EE_Parameter+4 |
||
4766 | 4781 2e0e F0E0 ldi r31,lo8(0) |
||
4767 | 4782 2e10 EE0F lsl r30 |
||
4768 | 4783 2e12 FF1F rol r31 |
||
4769 | 4784 2e14 E050 subi r30,lo8(-(PPM_in)) |
||
4770 | 4785 2e16 F040 sbci r31,hi8(-(PPM_in)) |
||
4771 | 4786 2e18 0190 ld __tmp_reg__,Z+ |
||
4772 | 4787 2e1a F081 ld r31,Z |
||
4773 | 4788 2e1c E02D mov r30,__tmp_reg__ |
||
4774 | 4789 2e1e F7FF sbrs r31,7 |
||
4775 | 4790 2e20 00C0 rjmp .L329 |
||
4776 | 4791 2e22 F095 com r31 |
||
4777 | 4792 2e24 E195 neg r30 |
||
4778 | 4793 2e26 FF4F sbci r31,lo8(-1) |
||
4779 | 4794 .L329: |
||
4780 | 4795 2e28 7A97 sbiw r30,26 |
||
4781 | 4796 2e2a 04F0 brlt .L328 |
||
4782 | 4797 2e2c C601 movw r24,r12 |
||
4783 | 4798 2e2e B501 movw r22,r10 |
||
4784 | 4799 2e30 23E0 ldi r18,lo8(3) |
||
4785 | 4800 2e32 30E0 ldi r19,hi8(3) |
||
4786 | 4801 2e34 40E0 ldi r20,hlo8(3) |
||
4787 | 4802 2e36 50E0 ldi r21,hhi8(3) |
||
4788 | 4803 2e38 0E94 0000 call __divmodsi4 |
||
4789 | 4804 2e3c C901 movw r24,r18 |
||
4790 | 4805 2e3e DA01 movw r26,r20 |
||
4791 | 4806 2e40 5C01 movw r10,r24 |
||
4792 | 4807 2e42 6D01 movw r12,r26 |
||
4793 | 4808 2e44 C801 movw r24,r16 |
||
4794 | 4809 2e46 B701 movw r22,r14 |
||
4795 | 4810 2e48 23E0 ldi r18,lo8(3) |
||
4796 | 4811 2e4a 30E0 ldi r19,hi8(3) |
||
4797 | 4812 2e4c 40E0 ldi r20,hlo8(3) |
||
4798 | 4813 2e4e 50E0 ldi r21,hhi8(3) |
||
4799 | 4814 2e50 0E94 0000 call __divmodsi4 |
||
4800 | 4815 2e54 C901 movw r24,r18 |
||
4801 | 4816 2e56 DA01 movw r26,r20 |
||
4802 | 4817 2e58 7C01 movw r14,r24 |
||
4803 | 4818 2e5a 8D01 movw r16,r26 |
||
4804 | 4819 .L328: |
||
4805 | 4820 2e5c 91E2 ldi r25,lo8(33) |
||
4806 | 4821 2e5e A916 cp r10,r25 |
||
4807 | 4822 2e60 B104 cpc r11,__zero_reg__ |
||
4808 | 4823 2e62 C104 cpc r12,__zero_reg__ |
||
4809 | 4824 2e64 D104 cpc r13,__zero_reg__ |
||
4810 | 4825 2e66 04F0 brlt .L330 |
||
4811 | 4826 2e68 90E2 ldi r25,lo8(32) |
||
4812 | 4827 2e6a A92E mov r10,r25 |
||
4813 | 4828 2e6c B12C mov r11,__zero_reg__ |
||
4814 | 4829 2e6e C12C mov r12,__zero_reg__ |
||
4815 | 4830 2e70 D12C mov r13,__zero_reg__ |
||
4816 | 4831 2e72 00C0 rjmp .L331 |
||
4817 | 4832 .L330: |
||
4818 | 4833 2e74 A0EE ldi r26,lo8(-32) |
||
4819 | 4834 2e76 AA16 cp r10,r26 |
||
4820 | 4835 2e78 AFEF ldi r26,hi8(-32) |
||
4821 | 4836 2e7a BA06 cpc r11,r26 |
||
4822 | 4837 2e7c AFEF ldi r26,hlo8(-32) |
||
4823 | 4838 2e7e CA06 cpc r12,r26 |
||
4824 | 4839 2e80 AFEF ldi r26,hhi8(-32) |
||
4825 | 4840 2e82 DA06 cpc r13,r26 |
||
4826 | 4841 2e84 04F4 brge .L331 |
||
4827 | 4842 2e86 80EE ldi r24,lo8(-32) |
||
4828 | 4843 2e88 A82E mov r10,r24 |
||
4829 | 4844 2e8a 8FEF ldi r24,hi8(-32) |
||
4830 | 4845 2e8c B82E mov r11,r24 |
||
4831 | 4846 2e8e 8FEF ldi r24,hlo8(-32) |
||
4832 | 4847 2e90 C82E mov r12,r24 |
||
4833 | 4848 2e92 8FEF ldi r24,hhi8(-32) |
||
4834 | 4849 2e94 D82E mov r13,r24 |
||
4835 | 4850 .L331: |
||
4836 | 4851 2e96 B1E2 ldi r27,lo8(33) |
||
4837 | 4852 2e98 EB16 cp r14,r27 |
||
4838 | 4853 2e9a F104 cpc r15,__zero_reg__ |
||
4839 | 4854 2e9c 0105 cpc r16,__zero_reg__ |
||
4840 | 4855 2e9e 1105 cpc r17,__zero_reg__ |
||
4841 | 4856 2ea0 04F0 brlt .L332 |
||
4842 | 4857 2ea2 10E2 ldi r17,lo8(32) |
||
4843 | 4858 2ea4 E12E mov r14,r17 |
||
4844 | 4859 2ea6 F12C mov r15,__zero_reg__ |
||
4845 | 4860 2ea8 012D mov r16,__zero_reg__ |
||
4846 | 4861 2eaa 112D mov r17,__zero_reg__ |
||
4847 | 4862 2eac 00C0 rjmp .L325 |
||
4848 | 4863 .L332: |
||
4849 | 4864 2eae E0EE ldi r30,lo8(-32) |
||
4850 | 4865 2eb0 EE16 cp r14,r30 |
||
4851 | 4866 2eb2 EFEF ldi r30,hi8(-32) |
||
4852 | 4867 2eb4 FE06 cpc r15,r30 |
||
4853 | 4868 2eb6 EFEF ldi r30,hlo8(-32) |
||
4854 | 4869 2eb8 0E07 cpc r16,r30 |
||
4855 | 4870 2eba EFEF ldi r30,hhi8(-32) |
||
4856 | 4871 2ebc 1E07 cpc r17,r30 |
||
4857 | 4872 2ebe 04F4 brge .L325 |
||
4858 | 4873 2ec0 B0EE ldi r27,lo8(-32) |
||
4859 | 4874 2ec2 EB2E mov r14,r27 |
||
4860 | 4875 2ec4 BFEF ldi r27,hi8(-32) |
||
4861 | 4876 2ec6 FB2E mov r15,r27 |
||
4862 | 4877 2ec8 BFEF ldi r27,hlo8(-32) |
||
4863 | 4878 2eca 0B2F mov r16,r27 |
||
4864 | 4879 2ecc BFEF ldi r27,hhi8(-32) |
||
4865 | 4880 2ece 1B2F mov r17,r27 |
||
4866 | 4881 .L325: |
||
4867 | 4882 2ed0 8091 0000 lds r24,Mess_IntegralNick |
||
4868 | 4883 2ed4 9091 0000 lds r25,(Mess_IntegralNick)+1 |
||
4869 | 4884 2ed8 A091 0000 lds r26,(Mess_IntegralNick)+2 |
||
4870 | 4885 2edc B091 0000 lds r27,(Mess_IntegralNick)+3 |
||
4871 | 4886 2ee0 8A19 sub r24,r10 |
||
4872 | 4887 2ee2 9B09 sbc r25,r11 |
||
4873 | 4888 2ee4 AC09 sbc r26,r12 |
||
4874 | 4889 2ee6 BD09 sbc r27,r13 |
||
4875 | 4890 2ee8 8093 0000 sts Mess_IntegralNick,r24 |
||
4876 | 4891 2eec 9093 0000 sts (Mess_IntegralNick)+1,r25 |
||
4877 | 4892 2ef0 A093 0000 sts (Mess_IntegralNick)+2,r26 |
||
4878 | 4893 2ef4 B093 0000 sts (Mess_IntegralNick)+3,r27 |
||
4879 | 4894 2ef8 8091 0000 lds r24,Mess_IntegralRoll |
||
4880 | 4895 2efc 9091 0000 lds r25,(Mess_IntegralRoll)+1 |
||
4881 | 4896 2f00 A091 0000 lds r26,(Mess_IntegralRoll)+2 |
||
4882 | 4897 2f04 B091 0000 lds r27,(Mess_IntegralRoll)+3 |
||
4883 | 4898 2f08 8E19 sub r24,r14 |
||
4884 | 4899 2f0a 9F09 sbc r25,r15 |
||
4885 | 4900 2f0c A00B sbc r26,r16 |
||
4886 | 4901 2f0e B10B sbc r27,r17 |
||
4887 | 4902 2f10 8093 0000 sts Mess_IntegralRoll,r24 |
||
4888 | 4903 2f14 9093 0000 sts (Mess_IntegralRoll)+1,r25 |
||
4889 | 4904 2f18 A093 0000 sts (Mess_IntegralRoll)+2,r26 |
||
4890 | 4905 2f1c B093 0000 sts (Mess_IntegralRoll)+3,r27 |
||
4891 | 4906 .L315: |
||
4892 | 4907 2f20 8091 0000 lds r24,ZaehlMessungen |
||
4893 | 4908 2f24 9091 0000 lds r25,(ZaehlMessungen)+1 |
||
4894 | 4909 2f28 8F3F cpi r24,255 |
||
4895 | 4910 2f2a 9105 cpc r25,__zero_reg__ |
||
4896 | 4911 2f2c 01F0 breq .+2 |
||
4897 | 4912 2f2e 00F4 brsh .+2 |
||
4898 | 4913 2f30 00C0 rjmp .L333 |
||
4899 | 4914 2f32 8091 0000 lds r24,Looping_Nick |
||
4900 | 4915 2f36 8823 tst r24 |
||
4901 | 4916 2f38 01F0 breq .+2 |
||
4902 | 4917 2f3a 00C0 rjmp .L334 |
||
4903 | 4918 2f3c 8091 0000 lds r24,Looping_Roll |
||
4904 | 4919 2f40 8823 tst r24 |
||
4905 | 4920 2f42 01F0 breq .+2 |
||
4906 | 4921 2f44 00C0 rjmp .L334 |
||
4907 | 4922 2f46 8091 0000 lds r24,TrichterFlug |
||
4908 | 4923 2f4a 8823 tst r24 |
||
4909 | 4924 2f4c 01F0 breq .+2 |
||
4910 | 4925 2f4e 00C0 rjmp .L334 |
||
4911 | 4926 2f50 8091 0000 lds r24,EE_Parameter+66 |
||
4912 | 4927 2f54 8823 tst r24 |
||
4913 | 4928 2f56 01F4 brne .+2 |
||
4914 | 4929 2f58 00C0 rjmp .L334 |
||
4915 | 4930 2f5a 6091 0000 lds r22,MittelIntegralNick |
||
4916 | 4931 2f5e 7091 0000 lds r23,(MittelIntegralNick)+1 |
||
4917 | 4932 2f62 8091 0000 lds r24,(MittelIntegralNick)+2 |
||
4918 | 4933 2f66 9091 0000 lds r25,(MittelIntegralNick)+3 |
||
4919 | 4934 2f6a 20E0 ldi r18,lo8(256) |
||
4920 | 4935 2f6c 31E0 ldi r19,hi8(256) |
||
4921 | 4936 2f6e 40E0 ldi r20,hlo8(256) |
||
4922 | 4937 2f70 50E0 ldi r21,hhi8(256) |
||
4923 | 4938 2f72 0E94 0000 call __divmodsi4 |
||
4924 | 4939 2f76 5901 movw r10,r18 |
||
4925 | 4940 2f78 6A01 movw r12,r20 |
||
4926 | 4941 2f7a 2093 0000 sts MittelIntegralNick,r18 |
||
4927 | 4942 2f7e 3093 0000 sts (MittelIntegralNick)+1,r19 |
||
4928 | 4943 2f82 4093 0000 sts (MittelIntegralNick)+2,r20 |
||
4929 | 4944 2f86 5093 0000 sts (MittelIntegralNick)+3,r21 |
||
4930 | 4945 2f8a 6091 0000 lds r22,MittelIntegralRoll |
||
4931 | 4946 2f8e 7091 0000 lds r23,(MittelIntegralRoll)+1 |
||
4932 | 4947 2f92 8091 0000 lds r24,(MittelIntegralRoll)+2 |
||
4933 | 4948 2f96 9091 0000 lds r25,(MittelIntegralRoll)+3 |
||
4934 | 4949 2f9a 20E0 ldi r18,lo8(256) |
||
4935 | 4950 2f9c 31E0 ldi r19,hi8(256) |
||
4936 | 4951 2f9e 40E0 ldi r20,hlo8(256) |
||
4937 | 4952 2fa0 50E0 ldi r21,hhi8(256) |
||
4938 | 4953 2fa2 0E94 0000 call __divmodsi4 |
||
4939 | 4954 2fa6 3901 movw r6,r18 |
||
4940 | 4955 2fa8 4A01 movw r8,r20 |
||
4941 | 4956 2faa 2093 0000 sts MittelIntegralRoll,r18 |
||
4942 | 4957 2fae 3093 0000 sts (MittelIntegralRoll)+1,r19 |
||
4943 | 4958 2fb2 4093 0000 sts (MittelIntegralRoll)+2,r20 |
||
4944 | 4959 2fb6 5093 0000 sts (MittelIntegralRoll)+3,r21 |
||
4945 | 4960 2fba E090 0000 lds r14,EE_Parameter+28 |
||
4946 | 4961 2fbe FF24 clr r15 |
||
4947 | 4962 2fc0 00E0 ldi r16,lo8(0) |
||
4948 | 4963 2fc2 10E0 ldi r17,hi8(0) |
||
4949 | 4964 2fc4 2091 0000 lds r18,IntegralAccNick |
||
4950 | 4965 2fc8 3091 0000 lds r19,(IntegralAccNick)+1 |
||
4951 | 4966 2fcc 4091 0000 lds r20,(IntegralAccNick)+2 |
||
4952 | 4967 2fd0 5091 0000 lds r21,(IntegralAccNick)+3 |
||
4953 | 4968 2fd4 C801 movw r24,r16 |
||
4954 | 4969 2fd6 B701 movw r22,r14 |
||
4955 | 4970 2fd8 0E94 0000 call __mulsi3 |
||
4956 | 4971 2fdc 20E0 ldi r18,lo8(256) |
||
4957 | 4972 2fde 31E0 ldi r19,hi8(256) |
||
4958 | 4973 2fe0 40E0 ldi r20,hlo8(256) |
||
4959 | 4974 2fe2 50E0 ldi r21,hhi8(256) |
||
4960 | 4975 2fe4 0E94 0000 call __divmodsi4 |
||
4961 | 4976 2fe8 28A7 std Y+40,r18 |
||
4962 | 4977 2fea 39A7 std Y+41,r19 |
||
4963 | 4978 2fec 4AA7 std Y+42,r20 |
||
4964 | 4979 2fee 5BA7 std Y+43,r21 |
||
4965 | 4980 2ff0 2093 0000 sts IntegralAccNick,r18 |
||
4966 | 4981 2ff4 3093 0000 sts (IntegralAccNick)+1,r19 |
||
4967 | 4982 2ff8 4093 0000 sts (IntegralAccNick)+2,r20 |
||
4968 | 4983 2ffc 5093 0000 sts (IntegralAccNick)+3,r21 |
||
4969 | 4984 3000 2091 0000 lds r18,IntegralAccRoll |
||
4970 | 4985 3004 3091 0000 lds r19,(IntegralAccRoll)+1 |
||
4971 | 4986 3008 4091 0000 lds r20,(IntegralAccRoll)+2 |
||
4972 | 4987 300c 5091 0000 lds r21,(IntegralAccRoll)+3 |
||
4973 | 4988 3010 C801 movw r24,r16 |
||
4974 | 4989 3012 B701 movw r22,r14 |
||
4975 | 4990 3014 0E94 0000 call __mulsi3 |
||
4976 | 4991 3018 20E0 ldi r18,lo8(256) |
||
4977 | 4992 301a 31E0 ldi r19,hi8(256) |
||
4978 | 4993 301c 40E0 ldi r20,hlo8(256) |
||
4979 | 4994 301e 50E0 ldi r21,hhi8(256) |
||
4980 | 4995 3020 0E94 0000 call __divmodsi4 |
||
4981 | 4996 3024 1901 movw r2,r18 |
||
4982 | 4997 3026 2A01 movw r4,r20 |
||
4983 | 4998 3028 2093 0000 sts IntegralAccRoll,r18 |
||
4984 | 4999 302c 3093 0000 sts (IntegralAccRoll)+1,r19 |
||
4985 | 5000 3030 4093 0000 sts (IntegralAccRoll)+2,r20 |
||
4986 | 5001 3034 5093 0000 sts (IntegralAccRoll)+3,r21 |
||
4987 | 5002 3038 6091 0000 lds r22,IntegralAccZ |
||
4988 | 5003 303c 7091 0000 lds r23,(IntegralAccZ)+1 |
||
4989 | 5004 3040 8091 0000 lds r24,(IntegralAccZ)+2 |
||
4990 | 5005 3044 9091 0000 lds r25,(IntegralAccZ)+3 |
||
4991 | 5006 3048 20E0 ldi r18,lo8(256) |
||
4992 | 5007 304a 31E0 ldi r19,hi8(256) |
||
4993 | 5008 304c 40E0 ldi r20,hlo8(256) |
||
4994 | 5009 304e 50E0 ldi r21,hhi8(256) |
||
4995 | 5010 3050 0E94 0000 call __divmodsi4 |
||
4996 | 5011 3054 2093 0000 sts IntegralAccZ,r18 |
||
4997 | 5012 3058 3093 0000 sts (IntegralAccZ)+1,r19 |
||
4998 | 5013 305c 4093 0000 sts (IntegralAccZ)+2,r20 |
||
4999 | 5014 3060 5093 0000 sts (IntegralAccZ)+3,r21 |
||
5000 | 5015 3064 28A5 ldd r18,Y+40 |
||
5001 | 5016 3066 39A5 ldd r19,Y+41 |
||
5002 | 5017 3068 4AA5 ldd r20,Y+42 |
||
5003 | 5018 306a 5BA5 ldd r21,Y+43 |
||
5004 | 5019 306c A21A sub r10,r18 |
||
5005 | 5020 306e B30A sbc r11,r19 |
||
5006 | 5021 3070 C40A sbc r12,r20 |
||
5007 | 5022 3072 D50A sbc r13,r21 |
||
5008 | 5023 3074 A092 0000 sts IntegralFehlerNick.3045,r10 |
||
5009 | 5024 3078 B092 0000 sts (IntegralFehlerNick.3045)+1,r11 |
||
5010 | 5025 307c C092 0000 sts (IntegralFehlerNick.3045)+2,r12 |
||
5011 | 5026 3080 D092 0000 sts (IntegralFehlerNick.3045)+3,r13 |
||
5012 | 5027 3084 E090 0000 lds r14,EE_Parameter+65 |
||
5013 | 5028 3088 FF24 clr r15 |
||
5014 | 5029 308a 00E0 ldi r16,lo8(0) |
||
5015 | 5030 308c 10E0 ldi r17,hi8(0) |
||
5016 | 5031 308e C601 movw r24,r12 |
||
5017 | 5032 3090 B501 movw r22,r10 |
||
5018 | 5033 3092 A801 movw r20,r16 |
||
5019 | 5034 3094 9701 movw r18,r14 |
||
5020 | 5035 3096 0E94 0000 call __divmodsi4 |
||
5021 | 5036 309a 5901 movw r10,r18 |
||
5022 | 5037 309c 6A01 movw r12,r20 |
||
5023 | 5038 309e 2093 0000 sts ausgleichNick.3053,r18 |
||
5024 | 5039 30a2 3093 0000 sts (ausgleichNick.3053)+1,r19 |
||
5025 | 5040 30a6 4093 0000 sts (ausgleichNick.3053)+2,r20 |
||
5026 | 5041 30aa 5093 0000 sts (ausgleichNick.3053)+3,r21 |
||
5027 | 5042 30ae 6218 sub r6,r2 |
||
5028 | 5043 30b0 7308 sbc r7,r3 |
||
5029 | 5044 30b2 8408 sbc r8,r4 |
||
5030 | 5045 30b4 9508 sbc r9,r5 |
||
5031 | 5046 30b6 6092 0000 sts IntegralFehlerRoll.3046,r6 |
||
5032 | 5047 30ba 7092 0000 sts (IntegralFehlerRoll.3046)+1,r7 |
||
5033 | 5048 30be 8092 0000 sts (IntegralFehlerRoll.3046)+2,r8 |
||
5034 | 5049 30c2 9092 0000 sts (IntegralFehlerRoll.3046)+3,r9 |
||
5035 | 5050 30c6 C401 movw r24,r8 |
||
5036 | 5051 30c8 B301 movw r22,r6 |
||
5037 | 5052 30ca A801 movw r20,r16 |
||
5038 | 5053 30cc 9701 movw r18,r14 |
||
5039 | 5054 30ce 0E94 0000 call __divmodsi4 |
||
5040 | 5055 30d2 7901 movw r14,r18 |
||
5041 | 5056 30d4 8A01 movw r16,r20 |
||
5042 | 5057 30d6 2093 0000 sts ausgleichRoll.3054,r18 |
||
5043 | 5058 30da 3093 0000 sts (ausgleichRoll.3054)+1,r19 |
||
5044 | 5059 30de 4093 0000 sts (ausgleichRoll.3054)+2,r20 |
||
5045 | 5060 30e2 5093 0000 sts (ausgleichRoll.3054)+3,r21 |
||
5046 | 5061 30e6 C601 movw r24,r12 |
||
5047 | 5062 30e8 B501 movw r22,r10 |
||
5048 | 5063 30ea 20E0 ldi r18,lo8(256) |
||
5049 | 5064 30ec 31E0 ldi r19,hi8(256) |
||
5050 | 5065 30ee 40E0 ldi r20,hlo8(256) |
||
5051 | 5066 30f0 50E0 ldi r21,hhi8(256) |
||
5052 | 5067 30f2 0E94 0000 call __divmodsi4 |
||
5053 | 5068 30f6 3093 0000 sts (LageKorrekturNick)+1,r19 |
||
5054 | 5069 30fa 2093 0000 sts LageKorrekturNick,r18 |
||
5055 | 5070 30fe C801 movw r24,r16 |
||
5056 | 5071 3100 B701 movw r22,r14 |
||
5057 | 5072 3102 20E0 ldi r18,lo8(256) |
||
5058 | 5073 3104 31E0 ldi r19,hi8(256) |
||
5059 | 5074 3106 40E0 ldi r20,hlo8(256) |
||
5060 | 5075 3108 50E0 ldi r21,hhi8(256) |
||
5061 | 5076 310a 0E94 0000 call __divmodsi4 |
||
5062 | 5077 310e 3093 0000 sts (LageKorrekturRoll)+1,r19 |
||
5063 | 5078 3112 2093 0000 sts LageKorrekturRoll,r18 |
||
5064 | 5079 3116 8091 0000 lds r24,MaxStickNick |
||
5065 | 5080 311a 9091 0000 lds r25,(MaxStickNick)+1 |
||
5066 | 5081 311e 8134 cpi r24,65 |
||
5067 | 5082 3120 9105 cpc r25,__zero_reg__ |
||
5068 | 5083 3122 04F4 brge .L335 |
||
5069 | 5084 3124 8091 0000 lds r24,MaxStickRoll |
||
5070 | 5085 3128 9091 0000 lds r25,(MaxStickRoll)+1 |
||
5071 | 5086 312c 8134 cpi r24,65 |
||
5072 | 5087 312e 9105 cpc r25,__zero_reg__ |
||
5073 | 5088 3130 04F4 brge .L335 |
||
5074 | 5089 3132 E091 0000 lds r30,EE_Parameter+4 |
||
5075 | 5090 3136 F0E0 ldi r31,lo8(0) |
||
5076 | 5091 3138 EE0F lsl r30 |
||
5077 | 5092 313a FF1F rol r31 |
||
5078 | 5093 313c E050 subi r30,lo8(-(PPM_in)) |
||
5079 | 5094 313e F040 sbci r31,hi8(-(PPM_in)) |
||
5080 | 5095 3140 0190 ld __tmp_reg__,Z+ |
||
5081 | 5096 3142 F081 ld r31,Z |
||
5082 | 5097 3144 E02D mov r30,__tmp_reg__ |
||
5083 | 5098 3146 F7FF sbrs r31,7 |
||
5084 | 5099 3148 00C0 rjmp .L337 |
||
5085 | 5100 314a F095 com r31 |
||
5086 | 5101 314c E195 neg r30 |
||
5087 | 5102 314e FF4F sbci r31,lo8(-1) |
||
5088 | 5103 .L337: |
||
5089 | 5104 3150 7A97 sbiw r30,26 |
||
5090 | 5105 3152 04F0 brlt .L336 |
||
5091 | 5106 .L335: |
||
5092 | 5107 3154 8091 0000 lds r24,FromNaviCtrl_Value |
||
5093 | 5108 3158 8F3F cpi r24,lo8(-1) |
||
5094 | 5109 315a 01F4 brne .L336 |
||
5095 | 5110 315c 8091 0000 lds r24,LageKorrekturNick |
||
5096 | 5111 3160 9091 0000 lds r25,(LageKorrekturNick)+1 |
||
5097 | 5112 3164 62E0 ldi r22,lo8(2) |
||
5098 | 5113 3166 70E0 ldi r23,hi8(2) |
||
5099 | 5114 3168 0E94 0000 call __divmodhi4 |
||
5100 | 5115 316c 7093 0000 sts (LageKorrekturNick)+1,r23 |
||
5101 | 5116 3170 6093 0000 sts LageKorrekturNick,r22 |
||
5102 | 5117 3174 8091 0000 lds r24,LageKorrekturRoll |
||
5103 | 5118 3178 9091 0000 lds r25,(LageKorrekturRoll)+1 |
||
5104 | 5119 317c 62E0 ldi r22,lo8(2) |
||
5105 | 5120 317e 70E0 ldi r23,hi8(2) |
||
5106 | 5121 3180 0E94 0000 call __divmodhi4 |
||
5107 | 5122 3184 7093 0000 sts (LageKorrekturRoll)+1,r23 |
||
5108 | 5123 3188 6093 0000 sts LageKorrekturRoll,r22 |
||
5109 | 5124 .L336: |
||
5110 | 5125 318c E090 0000 lds r14,IntegralNick2 |
||
5111 | 5126 3190 F090 0000 lds r15,(IntegralNick2)+1 |
||
5112 | 5127 3194 0091 0000 lds r16,(IntegralNick2)+2 |
||
5113 | 5128 3198 1091 0000 lds r17,(IntegralNick2)+3 |
||
5114 | 5129 319c 8091 0000 lds r24,IntegralNick |
||
5115 | 5130 31a0 9091 0000 lds r25,(IntegralNick)+1 |
||
5116 | 5131 31a4 A091 0000 lds r26,(IntegralNick)+2 |
||
5117 | 5132 31a8 B091 0000 lds r27,(IntegralNick)+3 |
||
5118 | 5133 31ac E81A sub r14,r24 |
||
5119 | 5134 31ae F90A sbc r15,r25 |
||
5120 | 5135 31b0 0A0B sbc r16,r26 |
||
5121 | 5136 31b2 1B0B sbc r17,r27 |
||
5122 | 5137 31b4 E092 0000 sts tmp_long.3043,r14 |
||
5123 | 5138 31b8 F092 0000 sts (tmp_long.3043)+1,r15 |
||
5124 | 5139 31bc 0093 0000 sts (tmp_long.3043)+2,r16 |
||
5125 | 5140 31c0 1093 0000 sts (tmp_long.3043)+3,r17 |
||
5126 | 5141 31c4 2091 0000 lds r18,IntegralRoll2 |
||
5127 | 5142 31c8 3091 0000 lds r19,(IntegralRoll2)+1 |
||
5128 | 5143 31cc 4091 0000 lds r20,(IntegralRoll2)+2 |
||
5129 | 5144 31d0 5091 0000 lds r21,(IntegralRoll2)+3 |
||
5130 | 5145 31d4 8091 0000 lds r24,IntegralRoll |
||
5131 | 5146 31d8 9091 0000 lds r25,(IntegralRoll)+1 |
||
5132 | 5147 31dc A091 0000 lds r26,(IntegralRoll)+2 |
||
5133 | 5148 31e0 B091 0000 lds r27,(IntegralRoll)+3 |
||
5134 | 5149 31e4 281B sub r18,r24 |
||
5135 | 5150 31e6 390B sbc r19,r25 |
||
5136 | 5151 31e8 4A0B sbc r20,r26 |
||
5137 | 5152 31ea 5B0B sbc r21,r27 |
||
5138 | 5153 31ec 2093 0000 sts tmp_long2.3044,r18 |
||
5139 | 5154 31f0 3093 0000 sts (tmp_long2.3044)+1,r19 |
||
5140 | 5155 31f4 4093 0000 sts (tmp_long2.3044)+2,r20 |
||
5141 | 5156 31f8 5093 0000 sts (tmp_long2.3044)+3,r21 |
||
5142 | 5157 31fc E092 0000 sts IntegralFehlerNick.3045,r14 |
||
5143 | 5158 3200 F092 0000 sts (IntegralFehlerNick.3045)+1,r15 |
||
5144 | 5159 3204 0093 0000 sts (IntegralFehlerNick.3045)+2,r16 |
||
5145 | 5160 3208 1093 0000 sts (IntegralFehlerNick.3045)+3,r17 |
||
5146 | 5161 320c 2093 0000 sts IntegralFehlerRoll.3046,r18 |
||
5147 | 5162 3210 3093 0000 sts (IntegralFehlerRoll.3046)+1,r19 |
||
5148 | 5163 3214 4093 0000 sts (IntegralFehlerRoll.3046)+2,r20 |
||
5149 | 5164 3218 5093 0000 sts (IntegralFehlerRoll.3046)+3,r21 |
||
5150 | 5165 321c 8091 0000 lds r24,Mess_IntegralNick2 |
||
5151 | 5166 3220 9091 0000 lds r25,(Mess_IntegralNick2)+1 |
||
5152 | 5167 3224 A091 0000 lds r26,(Mess_IntegralNick2)+2 |
||
5153 | 5168 3228 B091 0000 lds r27,(Mess_IntegralNick2)+3 |
||
5154 | 5169 322c 8E19 sub r24,r14 |
||
5155 | 5170 322e 9F09 sbc r25,r15 |
||
5156 | 5171 3230 A00B sbc r26,r16 |
||
5157 | 5172 3232 B10B sbc r27,r17 |
||
5158 | 5173 3234 8093 0000 sts Mess_IntegralNick2,r24 |
||
5159 | 5174 3238 9093 0000 sts (Mess_IntegralNick2)+1,r25 |
||
5160 | 5175 323c A093 0000 sts (Mess_IntegralNick2)+2,r26 |
||
5161 | 5176 3240 B093 0000 sts (Mess_IntegralNick2)+3,r27 |
||
5162 | 5177 3244 8091 0000 lds r24,Mess_IntegralRoll2 |
||
5163 | 5178 3248 9091 0000 lds r25,(Mess_IntegralRoll2)+1 |
||
5164 | 5179 324c A091 0000 lds r26,(Mess_IntegralRoll2)+2 |
||
5165 | 5180 3250 B091 0000 lds r27,(Mess_IntegralRoll2)+3 |
||
5166 | 5181 3254 821B sub r24,r18 |
||
5167 | 5182 3256 930B sbc r25,r19 |
||
5168 | 5183 3258 A40B sbc r26,r20 |
||
5169 | 5184 325a B50B sbc r27,r21 |
||
5170 | 5185 325c 8093 0000 sts Mess_IntegralRoll2,r24 |
||
5171 | 5186 3260 9093 0000 sts (Mess_IntegralRoll2)+1,r25 |
||
5172 | 5187 3264 A093 0000 sts (Mess_IntegralRoll2)+2,r26 |
||
5173 | 5188 3268 B093 0000 sts (Mess_IntegralRoll2)+3,r27 |
||
5174 | 5189 326c 8091 0000 lds r24,EE_Parameter+66 |
||
5175 | 5190 3270 8823 tst r24 |
||
5176 | 5191 3272 01F0 breq .L338 |
||
5177 | 5192 3274 8091 0000 lds r24,GierGyroFehler |
||
5178 | 5193 3278 9091 0000 lds r25,(GierGyroFehler)+1 |
||
5179 | 5194 327c 8138 cpi r24,129 |
||
5180 | 5195 327e 9105 cpc r25,__zero_reg__ |
||
5181 | 5196 3280 04F0 brlt .L339 |
||
5182 | 5197 3282 8091 0000 lds r24,AdNeutralGier |
||
5183 | 5198 3286 9091 0000 lds r25,(AdNeutralGier)+1 |
||
5184 | 5199 328a 0196 adiw r24,1 |
||
5185 | 5200 328c 9093 0000 sts (AdNeutralGier)+1,r25 |
||
5186 | 5201 3290 8093 0000 sts AdNeutralGier,r24 |
||
5187 | 5202 .L339: |
||
5188 | 5203 3294 8091 0000 lds r24,GierGyroFehler |
||
5189 | 5204 3298 9091 0000 lds r25,(GierGyroFehler)+1 |
||
5190 | 5205 329c 8058 subi r24,lo8(-128) |
||
5191 | 5206 329e 9F4F sbci r25,hi8(-128) |
||
5192 | 5207 32a0 04F4 brge .L338 |
||
5193 | 5208 32a2 8091 0000 lds r24,AdNeutralGier |
||
5194 | 5209 32a6 9091 0000 lds r25,(AdNeutralGier)+1 |
||
5195 | 5210 32aa 0197 sbiw r24,1 |
||
5196 | 5211 32ac 9093 0000 sts (AdNeutralGier)+1,r25 |
||
5197 | 5212 32b0 8093 0000 sts AdNeutralGier,r24 |
||
5198 | 5213 .L338: |
||
5199 | 5214 32b4 1092 0000 sts (GierGyroFehler)+1,__zero_reg__ |
||
5200 | 5215 32b8 1092 0000 sts GierGyroFehler,__zero_reg__ |
||
5201 | 5216 32bc 81E0 ldi r24,lo8(1) |
||
5202 | 5217 32be 90E0 ldi r25,hi8(1) |
||
5203 | 5218 32c0 9093 0000 sts (cnt.3066)+1,r25 |
||
5204 | 5219 32c4 8093 0000 sts cnt.3066,r24 |
||
5205 | 5220 32c8 8091 0000 lds r24,IntegralFehlerNick.3045 |
||
5206 | 5221 32cc 9091 0000 lds r25,(IntegralFehlerNick.3045)+1 |
||
5207 | 5222 32d0 A091 0000 lds r26,(IntegralFehlerNick.3045)+2 |
||
5208 | 5223 32d4 B091 0000 lds r27,(IntegralFehlerNick.3045)+3 |
||
5209 | 5224 32d8 B7FF sbrs r27,7 |
||
5210 | 5225 32da 00C0 rjmp .L341 |
||
5211 | 5226 32dc B095 com r27 |
||
5212 | 5227 32de A095 com r26 |
||
5213 | 5228 32e0 9095 com r25 |
||
5214 | 5229 32e2 8195 neg r24 |
||
5215 | 5230 32e4 9F4F sbci r25,lo8(-1) |
||
5216 | 5231 32e6 AF4F sbci r26,lo8(-1) |
||
5217 | 5232 32e8 BF4F sbci r27,lo8(-1) |
||
5218 | 5233 .L341: |
||
5219 | 5234 32ea 8150 subi r24,lo8(513) |
||
5220 | 5235 32ec 9240 sbci r25,hi8(513) |
||
5221 | 5236 32ee A040 sbci r26,hlo8(513) |
||
5222 | 5237 32f0 B040 sbci r27,hhi8(513) |
||
5223 | 5238 32f2 04F0 brlt .L340 |
||
5224 | 5239 32f4 84E0 ldi r24,lo8(4) |
||
5225 | 5240 32f6 90E0 ldi r25,hi8(4) |
||
5226 | 5241 32f8 9093 0000 sts (cnt.3066)+1,r25 |
||
5227 | 5242 32fc 8093 0000 sts cnt.3066,r24 |
||
5228 | 5243 .L340: |
||
5229 | 5244 3300 8091 0000 lds r24,MittelIntegralNick_Alt.3071 |
||
5230 | 5245 3304 9091 0000 lds r25,(MittelIntegralNick_Alt.3071)+1 |
||
5231 | 5246 3308 A091 0000 lds r26,(MittelIntegralNick_Alt.3071)+2 |
||
5232 | 5247 330c B091 0000 lds r27,(MittelIntegralNick_Alt.3071)+3 |
||
5233 | 5248 3310 2091 0000 lds r18,MittelIntegralNick |
||
5234 | 5249 3314 3091 0000 lds r19,(MittelIntegralNick)+1 |
||
5235 | 5250 3318 4091 0000 lds r20,(MittelIntegralNick)+2 |
||
5236 | 5251 331c 5091 0000 lds r21,(MittelIntegralNick)+3 |
||
5237 | 5252 3320 821B sub r24,r18 |
||
5238 | 5253 3322 930B sbc r25,r19 |
||
5239 | 5254 3324 A40B sbc r26,r20 |
||
5240 | 5255 3326 B50B sbc r27,r21 |
||
5241 | 5256 3328 815E subi r24,lo8(-(19999)) |
||
5242 | 5257 332a 914B sbci r25,hi8(-(19999)) |
||
5243 | 5258 332c AF4F sbci r26,hlo8(-(19999)) |
||
5244 | 5259 332e BF4F sbci r27,hhi8(-(19999)) |
||
5245 | 5260 3330 8F53 subi r24,lo8(39999) |
||
5246 | 5261 3332 9C49 sbci r25,hi8(39999) |
||
5247 | 5262 3334 A040 sbci r26,hlo8(39999) |
||
5248 | 5263 3336 B040 sbci r27,hhi8(39999) |
||
5249 | 5264 3338 00F0 brlo .L342 |
||
5250 | 5265 333a 8091 0000 lds r24,FromNaviCtrl_Value+1 |
||
5251 | 5266 333e 8931 cpi r24,lo8(25) |
||
5252 | 5267 3340 04F4 brge .+2 |
||
5253 | 5268 3342 00C0 rjmp .L343 |
||
5254 | 5269 .L342: |
||
5255 | 5270 3344 E090 0000 lds r14,IntegralFehlerNick.3045 |
||
5256 | 5271 3348 F090 0000 lds r15,(IntegralFehlerNick.3045)+1 |
||
5257 | 5272 334c 0091 0000 lds r16,(IntegralFehlerNick.3045)+2 |
||
5258 | 5273 3350 1091 0000 lds r17,(IntegralFehlerNick.3045)+3 |
||
5259 | 5274 3354 61E0 ldi r22,lo8(4097) |
||
5260 | 5275 3356 E616 cp r14,r22 |
||
5261 | 5276 3358 60E1 ldi r22,hi8(4097) |
||
5262 | 5277 335a F606 cpc r15,r22 |
||
5263 | 5278 335c 60E0 ldi r22,hlo8(4097) |
||
5264 | 5279 335e 0607 cpc r16,r22 |
||
5265 | 5280 3360 60E0 ldi r22,hhi8(4097) |
||
5266 | 5281 3362 1607 cpc r17,r22 |
||
5267 | 5282 3364 04F4 brge .+2 |
||
5268 | 5283 3366 00C0 rjmp .L344 |
||
5269 | 5284 3368 8091 0000 lds r24,last_n_p.3067 |
||
5270 | 5285 336c 8823 tst r24 |
||
5271 | 5286 336e 01F4 brne .+2 |
||
5272 | 5287 3370 00C0 rjmp .L345 |
||
5273 | 5288 3372 A801 movw r20,r16 |
||
5274 | 5289 3374 9701 movw r18,r14 |
||
5275 | 5290 3376 F9E0 ldi r31,9 |
||
5276 | 5291 3378 5595 1: asr r21 |
||
5277 | 5292 337a 4795 ror r20 |
||
5278 | 5293 337c 3795 ror r19 |
||
5279 | 5294 337e 2795 ror r18 |
||
5280 | 5295 3380 FA95 dec r31 |
||
5281 | 5296 3382 01F4 brne 1b |
||
5282 | 5297 3384 8091 0000 lds r24,cnt.3066 |
||
5283 | 5298 3388 9091 0000 lds r25,(cnt.3066)+1 |
||
5284 | 5299 338c 820F add r24,r18 |
||
5285 | 5300 338e 931F adc r25,r19 |
||
5286 | 5301 3390 9093 0000 sts (cnt.3066)+1,r25 |
||
5287 | 5302 3394 8093 0000 sts cnt.3066,r24 |
||
5288 | 5303 3398 C801 movw r24,r16 |
||
5289 | 5304 339a B701 movw r22,r14 |
||
5290 | 5305 339c 28E0 ldi r18,lo8(8) |
||
5291 | 5306 339e 30E0 ldi r19,hi8(8) |
||
5292 | 5307 33a0 40E0 ldi r20,hlo8(8) |
||
5293 | 5308 33a2 50E0 ldi r21,hhi8(8) |
||
5294 | 5309 33a4 0E94 0000 call __divmodsi4 |
||
5295 | 5310 33a8 C901 movw r24,r18 |
||
5296 | 5311 33aa DA01 movw r26,r20 |
||
5297 | 5312 33ac 8093 0000 sts ausgleichNick.3053,r24 |
||
5298 | 5313 33b0 9093 0000 sts (ausgleichNick.3053)+1,r25 |
||
5299 | 5314 33b4 A093 0000 sts (ausgleichNick.3053)+2,r26 |
||
5300 | 5315 33b8 B093 0000 sts (ausgleichNick.3053)+3,r27 |
||
5301 | 5316 33bc 8958 subi r24,lo8(5001) |
||
5302 | 5317 33be 9341 sbci r25,hi8(5001) |
||
5303 | 5318 33c0 A040 sbci r26,hlo8(5001) |
||
5304 | 5319 33c2 B040 sbci r27,hhi8(5001) |
||
5305 | 5320 33c4 04F0 brlt .L346 |
||
5306 | 5321 33c6 88E8 ldi r24,lo8(5000) |
||
5307 | 5322 33c8 93E1 ldi r25,hi8(5000) |
||
5308 | 5323 33ca A0E0 ldi r26,hlo8(5000) |
||
5309 | 5324 33cc B0E0 ldi r27,hhi8(5000) |
||
5310 | 5325 33ce 8093 0000 sts ausgleichNick.3053,r24 |
||
5311 | 5326 33d2 9093 0000 sts (ausgleichNick.3053)+1,r25 |
||
5312 | 5327 33d6 A093 0000 sts (ausgleichNick.3053)+2,r26 |
||
5313 | 5328 33da B093 0000 sts (ausgleichNick.3053)+3,r27 |
||
5314 | 5329 .L346: |
||
5315 | 5330 33de 6091 0000 lds r22,ausgleichNick.3053 |
||
5316 | 5331 33e2 7091 0000 lds r23,(ausgleichNick.3053)+1 |
||
5317 | 5332 33e6 8091 0000 lds r24,(ausgleichNick.3053)+2 |
||
5318 | 5333 33ea 9091 0000 lds r25,(ausgleichNick.3053)+3 |
||
5319 | 5334 33ee 20E0 ldi r18,lo8(256) |
||
5320 | 5335 33f0 31E0 ldi r19,hi8(256) |
||
5321 | 5336 33f2 40E0 ldi r20,hlo8(256) |
||
5322 | 5337 33f4 50E0 ldi r21,hhi8(256) |
||
5323 | 5338 33f6 0E94 0000 call __divmodsi4 |
||
5324 | 5339 33fa 8091 0000 lds r24,LageKorrekturNick |
||
5325 | 5340 33fe 9091 0000 lds r25,(LageKorrekturNick)+1 |
||
5326 | 5341 3402 820F add r24,r18 |
||
5327 | 5342 3404 931F adc r25,r19 |
||
5328 | 5343 3406 9093 0000 sts (LageKorrekturNick)+1,r25 |
||
5329 | 5344 340a 8093 0000 sts LageKorrekturNick,r24 |
||
5330 | 5345 340e 00C0 rjmp .L347 |
||
5331 | 5346 .L345: |
||
5332 | 5347 3410 81E0 ldi r24,lo8(1) |
||
5333 | 5348 3412 8093 0000 sts last_n_p.3067,r24 |
||
5334 | 5349 3416 00C0 rjmp .L347 |
||
5335 | 5350 .L344: |
||
5336 | 5351 3418 1092 0000 sts last_n_p.3067,__zero_reg__ |
||
5337 | 5352 .L347: |
||
5338 | 5353 341c 4091 0000 lds r20,IntegralFehlerNick.3045 |
||
5339 | 5354 3420 5091 0000 lds r21,(IntegralFehlerNick.3045)+1 |
||
5340 | 5355 3424 6091 0000 lds r22,(IntegralFehlerNick.3045)+2 |
||
5341 | 5356 3428 7091 0000 lds r23,(IntegralFehlerNick.3045)+3 |
||
5342 | 5357 342c 4030 cpi r20,lo8(-4096) |
||
5343 | 5358 342e 80EF ldi r24,hi8(-4096) |
||
5344 | 5359 3430 5807 cpc r21,r24 |
||
5345 | 5360 3432 8FEF ldi r24,hlo8(-4096) |
||
5346 | 5361 3434 6807 cpc r22,r24 |
||
5347 | 5362 3436 8FEF ldi r24,hhi8(-4096) |
||
5348 | 5363 3438 7807 cpc r23,r24 |
||
5349 | 5364 343a 04F0 brlt .+2 |
||
5350 | 5365 343c 00C0 rjmp .L348 |
||
5351 | 5366 343e 8091 0000 lds r24,last_n_n.3068 |
||
5352 | 5367 3442 8823 tst r24 |
||
5353 | 5368 3444 01F4 brne .+2 |
||
5354 | 5369 3446 00C0 rjmp .L349 |
||
5355 | 5370 3448 8827 clr r24 |
||
5356 | 5371 344a 9927 clr r25 |
||
5357 | 5372 344c DC01 movw r26,r24 |
||
5358 | 5373 344e 841B sub r24,r20 |
||
5359 | 5374 3450 950B sbc r25,r21 |
||
5360 | 5375 3452 A60B sbc r26,r22 |
||
5361 | 5376 3454 B70B sbc r27,r23 |
||
5362 | 5377 3456 E9E0 ldi r30,9 |
||
5363 | 5378 3458 B595 1: asr r27 |
||
5364 | 5379 345a A795 ror r26 |
||
5365 | 5380 345c 9795 ror r25 |
||
5366 | 5381 345e 8795 ror r24 |
||
5367 | 5382 3460 EA95 dec r30 |
||
5368 | 5383 3462 01F4 brne 1b |
||
5369 | 5384 3464 2091 0000 lds r18,cnt.3066 |
||
5370 | 5385 3468 3091 0000 lds r19,(cnt.3066)+1 |
||
5371 | 5386 346c 280F add r18,r24 |
||
5372 | 5387 346e 391F adc r19,r25 |
||
5373 | 5388 3470 3093 0000 sts (cnt.3066)+1,r19 |
||
5374 | 5389 3474 2093 0000 sts cnt.3066,r18 |
||
5375 | 5390 3478 CB01 movw r24,r22 |
||
5376 | 5391 347a BA01 movw r22,r20 |
||
5377 | 5392 347c 28E0 ldi r18,lo8(8) |
||
5378 | 5393 347e 30E0 ldi r19,hi8(8) |
||
5379 | 5394 3480 40E0 ldi r20,hlo8(8) |
||
5380 | 5395 3482 50E0 ldi r21,hhi8(8) |
||
5381 | 5396 3484 0E94 0000 call __divmodsi4 |
||
5382 | 5397 3488 C901 movw r24,r18 |
||
5383 | 5398 348a DA01 movw r26,r20 |
||
5384 | 5399 348c 8093 0000 sts ausgleichNick.3053,r24 |
||
5385 | 5400 3490 9093 0000 sts (ausgleichNick.3053)+1,r25 |
||
5386 | 5401 3494 A093 0000 sts (ausgleichNick.3053)+2,r26 |
||
5387 | 5402 3498 B093 0000 sts (ausgleichNick.3053)+3,r27 |
||
5388 | 5403 349c 8857 subi r24,lo8(-5000) |
||
5389 | 5404 349e 9C4E sbci r25,hi8(-5000) |
||
5390 | 5405 34a0 AF4F sbci r26,hlo8(-5000) |
||
5391 | 5406 34a2 BF4F sbci r27,hhi8(-5000) |
||
5392 | 5407 34a4 04F4 brge .L350 |
||
5393 | 5408 34a6 88E7 ldi r24,lo8(-5000) |
||
5394 | 5409 34a8 9CEE ldi r25,hi8(-5000) |
||
5395 | 5410 34aa AFEF ldi r26,hlo8(-5000) |
||
5396 | 5411 34ac BFEF ldi r27,hhi8(-5000) |
||
5397 | 5412 34ae 8093 0000 sts ausgleichNick.3053,r24 |
||
5398 | 5413 34b2 9093 0000 sts (ausgleichNick.3053)+1,r25 |
||
5399 | 5414 34b6 A093 0000 sts (ausgleichNick.3053)+2,r26 |
||
5400 | 5415 34ba B093 0000 sts (ausgleichNick.3053)+3,r27 |
||
5401 | 5416 .L350: |
||
5402 | 5417 34be 6091 0000 lds r22,ausgleichNick.3053 |
||
5403 | 5418 34c2 7091 0000 lds r23,(ausgleichNick.3053)+1 |
||
5404 | 5419 34c6 8091 0000 lds r24,(ausgleichNick.3053)+2 |
||
5405 | 5420 34ca 9091 0000 lds r25,(ausgleichNick.3053)+3 |
||
5406 | 5421 34ce 20E0 ldi r18,lo8(256) |
||
5407 | 5422 34d0 31E0 ldi r19,hi8(256) |
||
5408 | 5423 34d2 40E0 ldi r20,hlo8(256) |
||
5409 | 5424 34d4 50E0 ldi r21,hhi8(256) |
||
5410 | 5425 34d6 0E94 0000 call __divmodsi4 |
||
5411 | 5426 34da 8091 0000 lds r24,LageKorrekturNick |
||
5412 | 5427 34de 9091 0000 lds r25,(LageKorrekturNick)+1 |
||
5413 | 5428 34e2 820F add r24,r18 |
||
5414 | 5429 34e4 931F adc r25,r19 |
||
5415 | 5430 34e6 9093 0000 sts (LageKorrekturNick)+1,r25 |
||
5416 | 5431 34ea 8093 0000 sts LageKorrekturNick,r24 |
||
5417 | 5432 34ee 00C0 rjmp .L351 |
||
5418 | 5433 .L349: |
||
5419 | 5434 34f0 81E0 ldi r24,lo8(1) |
||
5420 | 5435 34f2 8093 0000 sts last_n_n.3068,r24 |
||
5421 | 5436 34f6 00C0 rjmp .L351 |
||
5422 | 5437 .L348: |
||
5423 | 5438 34f8 1092 0000 sts last_n_n.3068,__zero_reg__ |
||
5424 | 5439 34fc 00C0 rjmp .L351 |
||
5425 | 5440 .L343: |
||
5426 | 5441 34fe 1092 0000 sts (cnt.3066)+1,__zero_reg__ |
||
5427 | 5442 3502 1092 0000 sts cnt.3066,__zero_reg__ |
||
5428 | 5443 3506 88EE ldi r24,lo8(1000) |
||
5429 | 5444 3508 93E0 ldi r25,hi8(1000) |
||
5430 | 5445 350a 9093 0000 sts (KompassSignalSchlecht)+1,r25 |
||
5431 | 5446 350e 8093 0000 sts KompassSignalSchlecht,r24 |
||
5432 | 5447 .L351: |
||
5433 | 5448 3512 8091 0000 lds r24,EE_Parameter+66 |
||
5434 | 5449 3516 282F mov r18,r24 |
||
5435 | 5450 3518 30E0 ldi r19,lo8(0) |
||
5436 | 5451 351a 8091 0000 lds r24,cnt.3066 |
||
5437 | 5452 351e 9091 0000 lds r25,(cnt.3066)+1 |
||
5438 | 5453 3522 2817 cp r18,r24 |
||
5439 | 5454 3524 3907 cpc r19,r25 |
||
5440 | 5455 3526 04F4 brge .L352 |
||
5441 | 5456 3528 3093 0000 sts (cnt.3066)+1,r19 |
||
5442 | 5457 352c 2093 0000 sts cnt.3066,r18 |
||
5443 | 5458 .L352: |
||
5444 | 5459 3530 8091 0000 lds r24,FromNaviCtrl_Value+1 |
||
5445 | 5460 3534 8823 tst r24 |
||
5446 | 5461 3536 01F0 breq .L353 |
||
5447 | 5462 3538 282F mov r18,r24 |
||
5448 | 5463 353a 3327 clr r19 |
||
5449 | 5464 353c 27FD sbrc r18,7 |
||
5450 | 5465 353e 3095 com r19 |
||
5451 | 5466 3540 8091 0000 lds r24,cnt.3066 |
||
5452 | 5467 3544 9091 0000 lds r25,(cnt.3066)+1 |
||
5453 | 5468 3548 2817 cp r18,r24 |
||
5454 | 5469 354a 3907 cpc r19,r25 |
||
5455 | 5470 354c 04F4 brge .L353 |
||
5456 | 5471 354e 3093 0000 sts (cnt.3066)+1,r19 |
||
5457 | 5472 3552 2093 0000 sts cnt.3066,r18 |
||
5458 | 5473 .L353: |
||
5459 | 5474 3556 8091 0000 lds r24,IntegralFehlerNick.3045 |
||
5460 | 5475 355a 9091 0000 lds r25,(IntegralFehlerNick.3045)+1 |
||
5461 | 5476 355e A091 0000 lds r26,(IntegralFehlerNick.3045)+2 |
||
5462 | 5477 3562 B091 0000 lds r27,(IntegralFehlerNick.3045)+3 |
||
5463 | 5478 3566 8138 cpi r24,lo8(129) |
||
5464 | 5479 3568 9105 cpc r25,__zero_reg__ |
||
5465 | 5480 356a A105 cpc r26,__zero_reg__ |
||
5466 | 5481 356c B105 cpc r27,__zero_reg__ |
||
5467 | 5482 356e 04F0 brlt .L354 |
||
5468 | 5483 3570 8091 0000 lds r24,AdNeutralNick |
||
5469 | 5484 3574 9091 0000 lds r25,(AdNeutralNick)+1 |
||
5470 | 5485 3578 2091 0000 lds r18,cnt.3066 |
||
5471 | 5486 357c 3091 0000 lds r19,(cnt.3066)+1 |
||
5472 | 5487 3580 820F add r24,r18 |
||
5473 | 5488 3582 931F adc r25,r19 |
||
5474 | 5489 3584 9093 0000 sts (AdNeutralNick)+1,r25 |
||
5475 | 5490 3588 8093 0000 sts AdNeutralNick,r24 |
||
5476 | 5491 .L354: |
||
5477 | 5492 358c 8091 0000 lds r24,IntegralFehlerNick.3045 |
||
5478 | 5493 3590 9091 0000 lds r25,(IntegralFehlerNick.3045)+1 |
||
5479 | 5494 3594 A091 0000 lds r26,(IntegralFehlerNick.3045)+2 |
||
5480 | 5495 3598 B091 0000 lds r27,(IntegralFehlerNick.3045)+3 |
||
5481 | 5496 359c 8058 subi r24,lo8(-128) |
||
5482 | 5497 359e 9F4F sbci r25,hi8(-128) |
||
5483 | 5498 35a0 AF4F sbci r26,hlo8(-128) |
||
5484 | 5499 35a2 BF4F sbci r27,hhi8(-128) |
||
5485 | 5500 35a4 04F4 brge .L355 |
||
5486 | 5501 35a6 8091 0000 lds r24,AdNeutralNick |
||
5487 | 5502 35aa 9091 0000 lds r25,(AdNeutralNick)+1 |
||
5488 | 5503 35ae 2091 0000 lds r18,cnt.3066 |
||
5489 | 5504 35b2 3091 0000 lds r19,(cnt.3066)+1 |
||
5490 | 5505 35b6 821B sub r24,r18 |
||
5491 | 5506 35b8 930B sbc r25,r19 |
||
5492 | 5507 35ba 9093 0000 sts (AdNeutralNick)+1,r25 |
||
5493 | 5508 35be 8093 0000 sts AdNeutralNick,r24 |
||
5494 | 5509 .L355: |
||
5495 | 5510 35c2 81E0 ldi r24,lo8(1) |
||
5496 | 5511 35c4 90E0 ldi r25,hi8(1) |
||
5497 | 5512 35c6 9093 0000 sts (cnt.3066)+1,r25 |
||
5498 | 5513 35ca 8093 0000 sts cnt.3066,r24 |
||
5499 | 5514 35ce 8091 0000 lds r24,IntegralFehlerRoll.3046 |
||
5500 | 5515 35d2 9091 0000 lds r25,(IntegralFehlerRoll.3046)+1 |
||
5501 | 5516 35d6 A091 0000 lds r26,(IntegralFehlerRoll.3046)+2 |
||
5502 | 5517 35da B091 0000 lds r27,(IntegralFehlerRoll.3046)+3 |
||
5503 | 5518 35de B7FF sbrs r27,7 |
||
5504 | 5519 35e0 00C0 rjmp .L357 |
||
5505 | 5520 35e2 B095 com r27 |
||
5506 | 5521 35e4 A095 com r26 |
||
5507 | 5522 35e6 9095 com r25 |
||
5508 | 5523 35e8 8195 neg r24 |
||
5509 | 5524 35ea 9F4F sbci r25,lo8(-1) |
||
5510 | 5525 35ec AF4F sbci r26,lo8(-1) |
||
5511 | 5526 35ee BF4F sbci r27,lo8(-1) |
||
5512 | 5527 .L357: |
||
5513 | 5528 35f0 8150 subi r24,lo8(513) |
||
5514 | 5529 35f2 9240 sbci r25,hi8(513) |
||
5515 | 5530 35f4 A040 sbci r26,hlo8(513) |
||
5516 | 5531 35f6 B040 sbci r27,hhi8(513) |
||
5517 | 5532 35f8 04F0 brlt .L356 |
||
5518 | 5533 35fa 84E0 ldi r24,lo8(4) |
||
5519 | 5534 35fc 90E0 ldi r25,hi8(4) |
||
5520 | 5535 35fe 9093 0000 sts (cnt.3066)+1,r25 |
||
5521 | 5536 3602 8093 0000 sts cnt.3066,r24 |
||
5522 | 5537 .L356: |
||
5523 | 5538 3606 8091 0000 lds r24,MittelIntegralRoll_Alt.3072 |
||
5524 | 5539 360a 9091 0000 lds r25,(MittelIntegralRoll_Alt.3072)+1 |
||
5525 | 5540 360e A091 0000 lds r26,(MittelIntegralRoll_Alt.3072)+2 |
||
5526 | 5541 3612 B091 0000 lds r27,(MittelIntegralRoll_Alt.3072)+3 |
||
5527 | 5542 3616 2091 0000 lds r18,MittelIntegralRoll |
||
5528 | 5543 361a 3091 0000 lds r19,(MittelIntegralRoll)+1 |
||
5529 | 5544 361e 4091 0000 lds r20,(MittelIntegralRoll)+2 |
||
5530 | 5545 3622 5091 0000 lds r21,(MittelIntegralRoll)+3 |
||
5531 | 5546 3626 821B sub r24,r18 |
||
5532 | 5547 3628 930B sbc r25,r19 |
||
5533 | 5548 362a A40B sbc r26,r20 |
||
5534 | 5549 362c B50B sbc r27,r21 |
||
5535 | 5550 362e 815E subi r24,lo8(-(19999)) |
||
5536 | 5551 3630 914B sbci r25,hi8(-(19999)) |
||
5537 | 5552 3632 AF4F sbci r26,hlo8(-(19999)) |
||
5538 | 5553 3634 BF4F sbci r27,hhi8(-(19999)) |
||
5539 | 5554 3636 8F53 subi r24,lo8(39999) |
||
5540 | 5555 3638 9C49 sbci r25,hi8(39999) |
||
5541 | 5556 363a A040 sbci r26,hlo8(39999) |
||
5542 | 5557 363c B040 sbci r27,hhi8(39999) |
||
5543 | 5558 363e 00F0 brlo .L358 |
||
5544 | 5559 3640 8091 0000 lds r24,FromNaviCtrl_Value+1 |
||
5545 | 5560 3644 8931 cpi r24,lo8(25) |
||
5546 | 5561 3646 04F4 brge .+2 |
||
5547 | 5562 3648 00C0 rjmp .L359 |
||
5548 | 5563 .L358: |
||
5549 | 5564 364a E090 0000 lds r14,IntegralFehlerRoll.3046 |
||
5550 | 5565 364e F090 0000 lds r15,(IntegralFehlerRoll.3046)+1 |
||
5551 | 5566 3652 0091 0000 lds r16,(IntegralFehlerRoll.3046)+2 |
||
5552 | 5567 3656 1091 0000 lds r17,(IntegralFehlerRoll.3046)+3 |
||
5553 | 5568 365a 41E0 ldi r20,lo8(4097) |
||
5554 | 5569 365c E416 cp r14,r20 |
||
5555 | 5570 365e 40E1 ldi r20,hi8(4097) |
||
5556 | 5571 3660 F406 cpc r15,r20 |
||
5557 | 5572 3662 40E0 ldi r20,hlo8(4097) |
||
5558 | 5573 3664 0407 cpc r16,r20 |
||
5559 | 5574 3666 40E0 ldi r20,hhi8(4097) |
||
5560 | 5575 3668 1407 cpc r17,r20 |
||
5561 | 5576 366a 04F4 brge .+2 |
||
5562 | 5577 366c 00C0 rjmp .L360 |
||
5563 | 5578 366e 8091 0000 lds r24,last_r_p.3069 |
||
5564 | 5579 3672 8823 tst r24 |
||
5565 | 5580 3674 01F4 brne .+2 |
||
5566 | 5581 3676 00C0 rjmp .L361 |
||
5567 | 5582 3678 A801 movw r20,r16 |
||
5568 | 5583 367a 9701 movw r18,r14 |
||
5569 | 5584 367c 69E0 ldi r22,9 |
||
5570 | 5585 367e 5595 1: asr r21 |
||
5571 | 5586 3680 4795 ror r20 |
||
5572 | 5587 3682 3795 ror r19 |
||
5573 | 5588 3684 2795 ror r18 |
||
5574 | 5589 3686 6A95 dec r22 |
||
5575 | 5590 3688 01F4 brne 1b |
||
5576 | 5591 368a 8091 0000 lds r24,cnt.3066 |
||
5577 | 5592 368e 9091 0000 lds r25,(cnt.3066)+1 |
||
5578 | 5593 3692 820F add r24,r18 |
||
5579 | 5594 3694 931F adc r25,r19 |
||
5580 | 5595 3696 9093 0000 sts (cnt.3066)+1,r25 |
||
5581 | 5596 369a 8093 0000 sts cnt.3066,r24 |
||
5582 | 5597 369e C801 movw r24,r16 |
||
5583 | 5598 36a0 B701 movw r22,r14 |
||
5584 | 5599 36a2 28E0 ldi r18,lo8(8) |
||
5585 | 5600 36a4 30E0 ldi r19,hi8(8) |
||
5586 | 5601 36a6 40E0 ldi r20,hlo8(8) |
||
5587 | 5602 36a8 50E0 ldi r21,hhi8(8) |
||
5588 | 5603 36aa 0E94 0000 call __divmodsi4 |
||
5589 | 5604 36ae C901 movw r24,r18 |
||
5590 | 5605 36b0 DA01 movw r26,r20 |
||
5591 | 5606 36b2 8093 0000 sts ausgleichRoll.3054,r24 |
||
5592 | 5607 36b6 9093 0000 sts (ausgleichRoll.3054)+1,r25 |
||
5593 | 5608 36ba A093 0000 sts (ausgleichRoll.3054)+2,r26 |
||
5594 | 5609 36be B093 0000 sts (ausgleichRoll.3054)+3,r27 |
||
5595 | 5610 36c2 8958 subi r24,lo8(5001) |
||
5596 | 5611 36c4 9341 sbci r25,hi8(5001) |
||
5597 | 5612 36c6 A040 sbci r26,hlo8(5001) |
||
5598 | 5613 36c8 B040 sbci r27,hhi8(5001) |
||
5599 | 5614 36ca 04F0 brlt .L362 |
||
5600 | 5615 36cc 88E8 ldi r24,lo8(5000) |
||
5601 | 5616 36ce 93E1 ldi r25,hi8(5000) |
||
5602 | 5617 36d0 A0E0 ldi r26,hlo8(5000) |
||
5603 | 5618 36d2 B0E0 ldi r27,hhi8(5000) |
||
5604 | 5619 36d4 8093 0000 sts ausgleichRoll.3054,r24 |
||
5605 | 5620 36d8 9093 0000 sts (ausgleichRoll.3054)+1,r25 |
||
5606 | 5621 36dc A093 0000 sts (ausgleichRoll.3054)+2,r26 |
||
5607 | 5622 36e0 B093 0000 sts (ausgleichRoll.3054)+3,r27 |
||
5608 | 5623 .L362: |
||
5609 | 5624 36e4 6091 0000 lds r22,ausgleichRoll.3054 |
||
5610 | 5625 36e8 7091 0000 lds r23,(ausgleichRoll.3054)+1 |
||
5611 | 5626 36ec 8091 0000 lds r24,(ausgleichRoll.3054)+2 |
||
5612 | 5627 36f0 9091 0000 lds r25,(ausgleichRoll.3054)+3 |
||
5613 | 5628 36f4 20E0 ldi r18,lo8(256) |
||
5614 | 5629 36f6 31E0 ldi r19,hi8(256) |
||
5615 | 5630 36f8 40E0 ldi r20,hlo8(256) |
||
5616 | 5631 36fa 50E0 ldi r21,hhi8(256) |
||
5617 | 5632 36fc 0E94 0000 call __divmodsi4 |
||
5618 | 5633 3700 8091 0000 lds r24,LageKorrekturRoll |
||
5619 | 5634 3704 9091 0000 lds r25,(LageKorrekturRoll)+1 |
||
5620 | 5635 3708 820F add r24,r18 |
||
5621 | 5636 370a 931F adc r25,r19 |
||
5622 | 5637 370c 9093 0000 sts (LageKorrekturRoll)+1,r25 |
||
5623 | 5638 3710 8093 0000 sts LageKorrekturRoll,r24 |
||
5624 | 5639 3714 00C0 rjmp .L363 |
||
5625 | 5640 .L361: |
||
5626 | 5641 3716 81E0 ldi r24,lo8(1) |
||
5627 | 5642 3718 8093 0000 sts last_r_p.3069,r24 |
||
5628 | 5643 371c 00C0 rjmp .L363 |
||
5629 | 5644 .L360: |
||
5630 | 5645 371e 1092 0000 sts last_r_p.3069,__zero_reg__ |
||
5631 | 5646 .L363: |
||
5632 | 5647 3722 4091 0000 lds r20,IntegralFehlerRoll.3046 |
||
5633 | 5648 3726 5091 0000 lds r21,(IntegralFehlerRoll.3046)+1 |
||
5634 | 5649 372a 6091 0000 lds r22,(IntegralFehlerRoll.3046)+2 |
||
5635 | 5650 372e 7091 0000 lds r23,(IntegralFehlerRoll.3046)+3 |
||
5636 | 5651 3732 4030 cpi r20,lo8(-4096) |
||
5637 | 5652 3734 80EF ldi r24,hi8(-4096) |
||
5638 | 5653 3736 5807 cpc r21,r24 |
||
5639 | 5654 3738 8FEF ldi r24,hlo8(-4096) |
||
5640 | 5655 373a 6807 cpc r22,r24 |
||
5641 | 5656 373c 8FEF ldi r24,hhi8(-4096) |
||
5642 | 5657 373e 7807 cpc r23,r24 |
||
5643 | 5658 3740 04F0 brlt .+2 |
||
5644 | 5659 3742 00C0 rjmp .L364 |
||
5645 | 5660 3744 8091 0000 lds r24,last_r_n.3070 |
||
5646 | 5661 3748 8823 tst r24 |
||
5647 | 5662 374a 01F4 brne .+2 |
||
5648 | 5663 374c 00C0 rjmp .L365 |
||
5649 | 5664 374e 8827 clr r24 |
||
5650 | 5665 3750 9927 clr r25 |
||
5651 | 5666 3752 DC01 movw r26,r24 |
||
5652 | 5667 3754 841B sub r24,r20 |
||
5653 | 5668 3756 950B sbc r25,r21 |
||
5654 | 5669 3758 A60B sbc r26,r22 |
||
5655 | 5670 375a B70B sbc r27,r23 |
||
5656 | 5671 375c 29E0 ldi r18,9 |
||
5657 | 5672 375e B595 1: asr r27 |
||
5658 | 5673 3760 A795 ror r26 |
||
5659 | 5674 3762 9795 ror r25 |
||
5660 | 5675 3764 8795 ror r24 |
||
5661 | 5676 3766 2A95 dec r18 |
||
5662 | 5677 3768 01F4 brne 1b |
||
5663 | 5678 376a 2091 0000 lds r18,cnt.3066 |
||
5664 | 5679 376e 3091 0000 lds r19,(cnt.3066)+1 |
||
5665 | 5680 3772 280F add r18,r24 |
||
5666 | 5681 3774 391F adc r19,r25 |
||
5667 | 5682 3776 3093 0000 sts (cnt.3066)+1,r19 |
||
5668 | 5683 377a 2093 0000 sts cnt.3066,r18 |
||
5669 | 5684 377e CB01 movw r24,r22 |
||
5670 | 5685 3780 BA01 movw r22,r20 |
||
5671 | 5686 3782 28E0 ldi r18,lo8(8) |
||
5672 | 5687 3784 30E0 ldi r19,hi8(8) |
||
5673 | 5688 3786 40E0 ldi r20,hlo8(8) |
||
5674 | 5689 3788 50E0 ldi r21,hhi8(8) |
||
5675 | 5690 378a 0E94 0000 call __divmodsi4 |
||
5676 | 5691 378e C901 movw r24,r18 |
||
5677 | 5692 3790 DA01 movw r26,r20 |
||
5678 | 5693 3792 8093 0000 sts ausgleichRoll.3054,r24 |
||
5679 | 5694 3796 9093 0000 sts (ausgleichRoll.3054)+1,r25 |
||
5680 | 5695 379a A093 0000 sts (ausgleichRoll.3054)+2,r26 |
||
5681 | 5696 379e B093 0000 sts (ausgleichRoll.3054)+3,r27 |
||
5682 | 5697 37a2 8857 subi r24,lo8(-5000) |
||
5683 | 5698 37a4 9C4E sbci r25,hi8(-5000) |
||
5684 | 5699 37a6 AF4F sbci r26,hlo8(-5000) |
||
5685 | 5700 37a8 BF4F sbci r27,hhi8(-5000) |
||
5686 | 5701 37aa 04F4 brge .L366 |
||
5687 | 5702 37ac 88E7 ldi r24,lo8(-5000) |
||
5688 | 5703 37ae 9CEE ldi r25,hi8(-5000) |
||
5689 | 5704 37b0 AFEF ldi r26,hlo8(-5000) |
||
5690 | 5705 37b2 BFEF ldi r27,hhi8(-5000) |
||
5691 | 5706 37b4 8093 0000 sts ausgleichRoll.3054,r24 |
||
5692 | 5707 37b8 9093 0000 sts (ausgleichRoll.3054)+1,r25 |
||
5693 | 5708 37bc A093 0000 sts (ausgleichRoll.3054)+2,r26 |
||
5694 | 5709 37c0 B093 0000 sts (ausgleichRoll.3054)+3,r27 |
||
5695 | 5710 .L366: |
||
5696 | 5711 37c4 6091 0000 lds r22,ausgleichRoll.3054 |
||
5697 | 5712 37c8 7091 0000 lds r23,(ausgleichRoll.3054)+1 |
||
5698 | 5713 37cc 8091 0000 lds r24,(ausgleichRoll.3054)+2 |
||
5699 | 5714 37d0 9091 0000 lds r25,(ausgleichRoll.3054)+3 |
||
5700 | 5715 37d4 20E0 ldi r18,lo8(256) |
||
5701 | 5716 37d6 31E0 ldi r19,hi8(256) |
||
5702 | 5717 37d8 40E0 ldi r20,hlo8(256) |
||
5703 | 5718 37da 50E0 ldi r21,hhi8(256) |
||
5704 | 5719 37dc 0E94 0000 call __divmodsi4 |
||
5705 | 5720 37e0 8091 0000 lds r24,LageKorrekturRoll |
||
5706 | 5721 37e4 9091 0000 lds r25,(LageKorrekturRoll)+1 |
||
5707 | 5722 37e8 820F add r24,r18 |
||
5708 | 5723 37ea 931F adc r25,r19 |
||
5709 | 5724 37ec 9093 0000 sts (LageKorrekturRoll)+1,r25 |
||
5710 | 5725 37f0 8093 0000 sts LageKorrekturRoll,r24 |
||
5711 | 5726 37f4 00C0 rjmp .L367 |
||
5712 | 5727 .L365: |
||
5713 | 5728 37f6 81E0 ldi r24,lo8(1) |
||
5714 | 5729 37f8 8093 0000 sts last_r_n.3070,r24 |
||
5715 | 5730 37fc 00C0 rjmp .L367 |
||
5716 | 5731 .L364: |
||
5717 | 5732 37fe 1092 0000 sts last_r_n.3070,__zero_reg__ |
||
5718 | 5733 3802 00C0 rjmp .L367 |
||
5719 | 5734 .L359: |
||
5720 | 5735 3804 1092 0000 sts (cnt.3066)+1,__zero_reg__ |
||
5721 | 5736 3808 1092 0000 sts cnt.3066,__zero_reg__ |
||
5722 | 5737 380c 88EE ldi r24,lo8(1000) |
||
5723 | 5738 380e 93E0 ldi r25,hi8(1000) |
||
5724 | 5739 3810 9093 0000 sts (KompassSignalSchlecht)+1,r25 |
||
5725 | 5740 3814 8093 0000 sts KompassSignalSchlecht,r24 |
||
5726 | 5741 .L367: |
||
5727 | 5742 3818 8091 0000 lds r24,EE_Parameter+66 |
||
5728 | 5743 381c 282F mov r18,r24 |
||
5729 | 5744 381e 30E0 ldi r19,lo8(0) |
||
5730 | 5745 3820 8091 0000 lds r24,cnt.3066 |
||
5731 | 5746 3824 9091 0000 lds r25,(cnt.3066)+1 |
||
5732 | 5747 3828 2817 cp r18,r24 |
||
5733 | 5748 382a 3907 cpc r19,r25 |
||
5734 | 5749 382c 04F4 brge .L368 |
||
5735 | 5750 382e 3093 0000 sts (cnt.3066)+1,r19 |
||
5736 | 5751 3832 2093 0000 sts cnt.3066,r18 |
||
5737 | 5752 .L368: |
||
5738 | 5753 3836 8091 0000 lds r24,FromNaviCtrl_Value+1 |
||
5739 | 5754 383a 8823 tst r24 |
||
5740 | 5755 383c 01F0 breq .L369 |
||
5741 | 5756 383e 282F mov r18,r24 |
||
5742 | 5757 3840 3327 clr r19 |
||
5743 | 5758 3842 27FD sbrc r18,7 |
||
5744 | 5759 3844 3095 com r19 |
||
5745 | 5760 3846 8091 0000 lds r24,cnt.3066 |
||
5746 | 5761 384a 9091 0000 lds r25,(cnt.3066)+1 |
||
5747 | 5762 384e 2817 cp r18,r24 |
||
5748 | 5763 3850 3907 cpc r19,r25 |
||
5749 | 5764 3852 04F4 brge .L369 |
||
5750 | 5765 3854 3093 0000 sts (cnt.3066)+1,r19 |
||
5751 | 5766 3858 2093 0000 sts cnt.3066,r18 |
||
5752 | 5767 .L369: |
||
5753 | 5768 385c 8091 0000 lds r24,IntegralFehlerRoll.3046 |
||
5754 | 5769 3860 9091 0000 lds r25,(IntegralFehlerRoll.3046)+1 |
||
5755 | 5770 3864 A091 0000 lds r26,(IntegralFehlerRoll.3046)+2 |
||
5756 | 5771 3868 B091 0000 lds r27,(IntegralFehlerRoll.3046)+3 |
||
5757 | 5772 386c 8138 cpi r24,lo8(129) |
||
5758 | 5773 386e 9105 cpc r25,__zero_reg__ |
||
5759 | 5774 3870 A105 cpc r26,__zero_reg__ |
||
5760 | 5775 3872 B105 cpc r27,__zero_reg__ |
||
5761 | 5776 3874 04F0 brlt .L370 |
||
5762 | 5777 3876 8091 0000 lds r24,AdNeutralRoll |
||
5763 | 5778 387a 9091 0000 lds r25,(AdNeutralRoll)+1 |
||
5764 | 5779 387e 2091 0000 lds r18,cnt.3066 |
||
5765 | 5780 3882 3091 0000 lds r19,(cnt.3066)+1 |
||
5766 | 5781 3886 820F add r24,r18 |
||
5767 | 5782 3888 931F adc r25,r19 |
||
5768 | 5783 388a 9093 0000 sts (AdNeutralRoll)+1,r25 |
||
5769 | 5784 388e 8093 0000 sts AdNeutralRoll,r24 |
||
5770 | 5785 .L370: |
||
5771 | 5786 3892 8091 0000 lds r24,IntegralFehlerRoll.3046 |
||
5772 | 5787 3896 9091 0000 lds r25,(IntegralFehlerRoll.3046)+1 |
||
5773 | 5788 389a A091 0000 lds r26,(IntegralFehlerRoll.3046)+2 |
||
5774 | 5789 389e B091 0000 lds r27,(IntegralFehlerRoll.3046)+3 |
||
5775 | 5790 38a2 8058 subi r24,lo8(-128) |
||
5776 | 5791 38a4 9F4F sbci r25,hi8(-128) |
||
5777 | 5792 38a6 AF4F sbci r26,hlo8(-128) |
||
5778 | 5793 38a8 BF4F sbci r27,hhi8(-128) |
||
5779 | 5794 38aa 04F4 brge .L371 |
||
5780 | 5795 38ac 8091 0000 lds r24,AdNeutralRoll |
||
5781 | 5796 38b0 9091 0000 lds r25,(AdNeutralRoll)+1 |
||
5782 | 5797 38b4 2091 0000 lds r18,cnt.3066 |
||
5783 | 5798 38b8 3091 0000 lds r19,(cnt.3066)+1 |
||
5784 | 5799 38bc 821B sub r24,r18 |
||
5785 | 5800 38be 930B sbc r25,r19 |
||
5786 | 5801 38c0 9093 0000 sts (AdNeutralRoll)+1,r25 |
||
5787 | 5802 38c4 8093 0000 sts AdNeutralRoll,r24 |
||
5788 | 5803 38c8 00C0 rjmp .L371 |
||
5789 | 5804 .L334: |
||
5790 | 5805 38ca 1092 0000 sts (LageKorrekturRoll)+1,__zero_reg__ |
||
5791 | 5806 38ce 1092 0000 sts LageKorrekturRoll,__zero_reg__ |
||
5792 | 5807 38d2 1092 0000 sts (LageKorrekturNick)+1,__zero_reg__ |
||
5793 | 5808 38d6 1092 0000 sts LageKorrekturNick,__zero_reg__ |
||
5794 | 5809 38da 1092 0000 sts TrichterFlug,__zero_reg__ |
||
5795 | 5810 .L371: |
||
5796 | 5811 38de 8091 0000 lds r24,IntegralFaktor |
||
5797 | 5812 38e2 8823 tst r24 |
||
5798 | 5813 38e4 01F4 brne .L372 |
||
5799 | 5814 38e6 1092 0000 sts (LageKorrekturRoll)+1,__zero_reg__ |
||
5800 | 5815 38ea 1092 0000 sts LageKorrekturRoll,__zero_reg__ |
||
5801 | 5816 38ee 1092 0000 sts (LageKorrekturNick)+1,__zero_reg__ |
||
5802 | 5817 38f2 1092 0000 sts LageKorrekturNick,__zero_reg__ |
||
5803 | 5818 .L372: |
||
5804 | 5819 38f6 8091 0000 lds r24,MittelIntegralNick |
||
5805 | 5820 38fa 9091 0000 lds r25,(MittelIntegralNick)+1 |
||
5806 | 5821 38fe A091 0000 lds r26,(MittelIntegralNick)+2 |
||
5807 | 5822 3902 B091 0000 lds r27,(MittelIntegralNick)+3 |
||
5808 | 5823 3906 8093 0000 sts MittelIntegralNick_Alt.3071,r24 |
||
5809 | 5824 390a 9093 0000 sts (MittelIntegralNick_Alt.3071)+1,r25 |
||
5810 | 5825 390e A093 0000 sts (MittelIntegralNick_Alt.3071)+2,r26 |
||
5811 | 5826 3912 B093 0000 sts (MittelIntegralNick_Alt.3071)+3,r27 |
||
5812 | 5827 3916 8091 0000 lds r24,MittelIntegralRoll |
||
5813 | 5828 391a 9091 0000 lds r25,(MittelIntegralRoll)+1 |
||
5814 | 5829 391e A091 0000 lds r26,(MittelIntegralRoll)+2 |
||
5815 | 5830 3922 B091 0000 lds r27,(MittelIntegralRoll)+3 |
||
5816 | 5831 3926 8093 0000 sts MittelIntegralRoll_Alt.3072,r24 |
||
5817 | 5832 392a 9093 0000 sts (MittelIntegralRoll_Alt.3072)+1,r25 |
||
5818 | 5833 392e A093 0000 sts (MittelIntegralRoll_Alt.3072)+2,r26 |
||
5819 | 5834 3932 B093 0000 sts (MittelIntegralRoll_Alt.3072)+3,r27 |
||
5820 | 5835 3936 1092 0000 sts IntegralAccNick,__zero_reg__ |
||
5821 | 5836 393a 1092 0000 sts (IntegralAccNick)+1,__zero_reg__ |
||
5822 | 5837 393e 1092 0000 sts (IntegralAccNick)+2,__zero_reg__ |
||
5823 | 5838 3942 1092 0000 sts (IntegralAccNick)+3,__zero_reg__ |
||
5824 | 5839 3946 1092 0000 sts IntegralAccRoll,__zero_reg__ |
||
5825 | 5840 394a 1092 0000 sts (IntegralAccRoll)+1,__zero_reg__ |
||
5826 | 5841 394e 1092 0000 sts (IntegralAccRoll)+2,__zero_reg__ |
||
5827 | 5842 3952 1092 0000 sts (IntegralAccRoll)+3,__zero_reg__ |
||
5828 | 5843 3956 1092 0000 sts IntegralAccZ,__zero_reg__ |
||
5829 | 5844 395a 1092 0000 sts (IntegralAccZ)+1,__zero_reg__ |
||
5830 | 5845 395e 1092 0000 sts (IntegralAccZ)+2,__zero_reg__ |
||
5831 | 5846 3962 1092 0000 sts (IntegralAccZ)+3,__zero_reg__ |
||
5832 | 5847 3966 1092 0000 sts MittelIntegralNick,__zero_reg__ |
||
5833 | 5848 396a 1092 0000 sts (MittelIntegralNick)+1,__zero_reg__ |
||
5834 | 5849 396e 1092 0000 sts (MittelIntegralNick)+2,__zero_reg__ |
||
5835 | 5850 3972 1092 0000 sts (MittelIntegralNick)+3,__zero_reg__ |
||
5836 | 5851 3976 1092 0000 sts MittelIntegralRoll,__zero_reg__ |
||
5837 | 5852 397a 1092 0000 sts (MittelIntegralRoll)+1,__zero_reg__ |
||
5838 | 5853 397e 1092 0000 sts (MittelIntegralRoll)+2,__zero_reg__ |
||
5839 | 5854 3982 1092 0000 sts (MittelIntegralRoll)+3,__zero_reg__ |
||
5840 | 5855 3986 1092 0000 sts MittelIntegralNick2,__zero_reg__ |
||
5841 | 5856 398a 1092 0000 sts (MittelIntegralNick2)+1,__zero_reg__ |
||
5842 | 5857 398e 1092 0000 sts (MittelIntegralNick2)+2,__zero_reg__ |
||
5843 | 5858 3992 1092 0000 sts (MittelIntegralNick2)+3,__zero_reg__ |
||
5844 | 5859 3996 1092 0000 sts MittelIntegralRoll2,__zero_reg__ |
||
5845 | 5860 399a 1092 0000 sts (MittelIntegralRoll2)+1,__zero_reg__ |
||
5846 | 5861 399e 1092 0000 sts (MittelIntegralRoll2)+2,__zero_reg__ |
||
5847 | 5862 39a2 1092 0000 sts (MittelIntegralRoll2)+3,__zero_reg__ |
||
5848 | 5863 39a6 1092 0000 sts (ZaehlMessungen)+1,__zero_reg__ |
||
5849 | 5864 39aa 1092 0000 sts ZaehlMessungen,__zero_reg__ |
||
5850 | 5865 .L333: |
||
5851 | 5866 39ae 8091 0000 lds r24,StickGier |
||
5852 | 5867 39b2 9091 0000 lds r25,(StickGier)+1 |
||
5853 | 5868 39b6 97FF sbrs r25,7 |
||
5854 | 5869 39b8 00C0 rjmp .L374 |
||
5855 | 5870 39ba 9095 com r25 |
||
5856 | 5871 39bc 8195 neg r24 |
||
5857 | 5872 39be 9F4F sbci r25,lo8(-1) |
||
5858 | 5873 .L374: |
||
5859 | 5874 39c0 4097 sbiw r24,16 |
||
5860 | 5875 39c2 04F0 brlt .L373 |
||
5861 | 5876 39c4 88EE ldi r24,lo8(1000) |
||
5862 | 5877 39c6 93E0 ldi r25,hi8(1000) |
||
5863 | 5878 39c8 9093 0000 sts (KompassSignalSchlecht)+1,r25 |
||
5864 | 5879 39cc 8093 0000 sts KompassSignalSchlecht,r24 |
||
5865 | 5880 39d0 8091 0000 lds r24,EE_Parameter+13 |
||
5866 | 5881 39d4 84FD sbrc r24,4 |
||
5867 | 5882 39d6 00C0 rjmp .L373 |
||
5868 | 5883 39d8 81E0 ldi r24,lo8(1) |
||
5869 | 5884 39da 8093 0000 sts NeueKompassRichtungMerken.3052,r24 |
||
5870 | 5885 .L373: |
||
5871 | 5886 39de D090 0000 lds r13,EE_Parameter+25 |
||
5872 | 5887 39e2 E090 0000 lds r14,StickGier |
||
5873 | 5888 39e6 F090 0000 lds r15,(StickGier)+1 |
||
5874 | 5889 39ea B701 movw r22,r14 |
||
5875 | 5890 39ec 8827 clr r24 |
||
5876 | 5891 39ee 77FD sbrc r23,7 |
||
5877 | 5892 39f0 8095 com r24 |
||
5878 | 5893 39f2 982F mov r25,r24 |
||
5879 | 5894 39f4 2D2D mov r18,r13 |
||
5880 | 5895 39f6 30E0 ldi r19,lo8(0) |
||
5881 | 5896 39f8 40E0 ldi r20,lo8(0) |
||
5882 | 5897 39fa 50E0 ldi r21,hi8(0) |
||
5883 | 5898 39fc 0E94 0000 call __mulsi3 |
||
5884 | 5899 3a00 F701 movw r30,r14 |
||
5885 | 5900 3a02 F7FE sbrs r15,7 |
||
5886 | 5901 3a04 00C0 rjmp .L375 |
||
5887 | 5902 3a06 EE27 clr r30 |
||
5888 | 5903 3a08 FF27 clr r31 |
||
5889 | 5904 3a0a EE19 sub r30,r14 |
||
5890 | 5905 3a0c FF09 sbc r31,r15 |
||
5891 | 5906 .L375: |
||
5892 | 5907 3a0e 9F01 movw r18,r30 |
||
5893 | 5908 3a10 4427 clr r20 |
||
5894 | 5909 3a12 37FD sbrc r19,7 |
||
5895 | 5910 3a14 4095 com r20 |
||
5896 | 5911 3a16 542F mov r21,r20 |
||
5897 | 5912 3a18 0E94 0000 call __mulsi3 |
||
5898 | 5913 3a1c 20E0 ldi r18,lo8(512) |
||
5899 | 5914 3a1e 32E0 ldi r19,hi8(512) |
||
5900 | 5915 3a20 40E0 ldi r20,hlo8(512) |
||
5901 | 5916 3a22 50E0 ldi r21,hhi8(512) |
||
5902 | 5917 3a24 0E94 0000 call __divmodsi4 |
||
5903 | 5918 3a28 8901 movw r16,r18 |
||
5904 | 5919 3a2a 9A01 movw r18,r20 |
||
5905 | 5920 3a2c 8D2D mov r24,r13 |
||
5906 | 5921 3a2e 90E0 ldi r25,lo8(0) |
||
5907 | 5922 3a30 AC01 movw r20,r24 |
||
5908 | 5923 3a32 4E9D mul r20,r14 |
||
5909 | 5924 3a34 C001 movw r24,r0 |
||
5910 | 5925 3a36 4F9D mul r20,r15 |
||
5911 | 5926 3a38 900D add r25,r0 |
||
5912 | 5927 3a3a 5E9D mul r21,r14 |
||
5913 | 5928 3a3c 900D add r25,r0 |
||
5914 | 5929 3a3e 1124 clr r1 |
||
5915 | 5930 3a40 64E0 ldi r22,lo8(4) |
||
5916 | 5931 3a42 70E0 ldi r23,hi8(4) |
||
5917 | 5932 3a44 0E94 0000 call __divmodhi4 |
||
5918 | 5933 3a48 600F add r22,r16 |
||
5919 | 5934 3a4a 711F adc r23,r17 |
||
5920 | 5935 3a4c 8827 clr r24 |
||
5921 | 5936 3a4e 77FD sbrc r23,7 |
||
5922 | 5937 3a50 8095 com r24 |
||
5923 | 5938 3a52 982F mov r25,r24 |
||
5924 | 5939 3a54 6093 0000 sts sollGier.3042,r22 |
||
5925 | 5940 3a58 7093 0000 sts (sollGier.3042)+1,r23 |
||
5926 | 5941 3a5c 8093 0000 sts (sollGier.3042)+2,r24 |
||
5927 | 5942 3a60 9093 0000 sts (sollGier.3042)+3,r25 |
||
5928 | 5943 3a64 2091 0000 lds r18,Mess_Integral_Gier |
||
5929 | 5944 3a68 3091 0000 lds r19,(Mess_Integral_Gier)+1 |
||
5930 | 5945 3a6c 4091 0000 lds r20,(Mess_Integral_Gier)+2 |
||
5931 | 5946 3a70 5091 0000 lds r21,(Mess_Integral_Gier)+3 |
||
5932 | 5947 3a74 261B sub r18,r22 |
||
5933 | 5948 3a76 370B sbc r19,r23 |
||
5934 | 5949 3a78 480B sbc r20,r24 |
||
5935 | 5950 3a7a 590B sbc r21,r25 |
||
5936 | 5951 3a7c 2093 0000 sts Mess_Integral_Gier,r18 |
||
5937 | 5952 3a80 3093 0000 sts (Mess_Integral_Gier)+1,r19 |
||
5938 | 5953 3a84 4093 0000 sts (Mess_Integral_Gier)+2,r20 |
||
5939 | 5954 3a88 5093 0000 sts (Mess_Integral_Gier)+3,r21 |
||
5940 | 5955 3a8c 2155 subi r18,lo8(50001) |
||
5941 | 5956 3a8e 334C sbci r19,hi8(50001) |
||
5942 | 5957 3a90 4040 sbci r20,hlo8(50001) |
||
5943 | 5958 3a92 5040 sbci r21,hhi8(50001) |
||
5944 | 5959 3a94 04F0 brlt .L376 |
||
5945 | 5960 3a96 80E5 ldi r24,lo8(50000) |
||
5946 | 5961 3a98 93EC ldi r25,hi8(50000) |
||
5947 | 5962 3a9a A0E0 ldi r26,hlo8(50000) |
||
5948 | 5963 3a9c B0E0 ldi r27,hhi8(50000) |
||
5949 | 5964 3a9e 8093 0000 sts Mess_Integral_Gier,r24 |
||
5950 | 5965 3aa2 9093 0000 sts (Mess_Integral_Gier)+1,r25 |
||
5951 | 5966 3aa6 A093 0000 sts (Mess_Integral_Gier)+2,r26 |
||
5952 | 5967 3aaa B093 0000 sts (Mess_Integral_Gier)+3,r27 |
||
5953 | 5968 .L376: |
||
5954 | 5969 3aae 8091 0000 lds r24,Mess_Integral_Gier |
||
5955 | 5970 3ab2 9091 0000 lds r25,(Mess_Integral_Gier)+1 |
||
5956 | 5971 3ab6 A091 0000 lds r26,(Mess_Integral_Gier)+2 |
||
5957 | 5972 3aba B091 0000 lds r27,(Mess_Integral_Gier)+3 |
||
5958 | 5973 3abe 805B subi r24,lo8(-50000) |
||
5959 | 5974 3ac0 9C43 sbci r25,hi8(-50000) |
||
5960 | 5975 3ac2 AF4F sbci r26,hlo8(-50000) |
||
5961 | 5976 3ac4 BF4F sbci r27,hhi8(-50000) |
||
5962 | 5977 3ac6 04F4 brge .L377 |
||
5963 | 5978 3ac8 80EB ldi r24,lo8(-50000) |
||
5964 | 5979 3aca 9CE3 ldi r25,hi8(-50000) |
||
5965 | 5980 3acc AFEF ldi r26,hlo8(-50000) |
||
5966 | 5981 3ace BFEF ldi r27,hhi8(-50000) |
||
5967 | 5982 3ad0 8093 0000 sts Mess_Integral_Gier,r24 |
||
5968 | 5983 3ad4 9093 0000 sts (Mess_Integral_Gier)+1,r25 |
||
5969 | 5984 3ad8 A093 0000 sts (Mess_Integral_Gier)+2,r26 |
||
5970 | 5985 3adc B093 0000 sts (Mess_Integral_Gier)+3,r27 |
||
5971 | 5986 .L377: |
||
5972 | 5987 3ae0 C090 0000 lds r12,KompassValue |
||
5973 | 5988 3ae4 D090 0000 lds r13,(KompassValue)+1 |
||
5974 | 5989 3ae8 C114 cp r12,__zero_reg__ |
||
5975 | 5990 3aea D104 cpc r13,__zero_reg__ |
||
5976 | 5991 3aec 01F4 brne .+2 |
||
5977 | 5992 3aee 00C0 rjmp .L378 |
||
5978 | 5993 3af0 8091 0000 lds r24,EE_Parameter+13 |
||
5979 | 5994 3af4 83FF sbrs r24,3 |
||
5980 | 5995 3af6 00C0 rjmp .L378 |
||
5981 | 5996 3af8 6091 0000 lds r22,IntegralNick |
||
5982 | 5997 3afc 7091 0000 lds r23,(IntegralNick)+1 |
||
5983 | 5998 3b00 8091 0000 lds r24,(IntegralNick)+2 |
||
5984 | 5999 3b04 9091 0000 lds r25,(IntegralNick)+3 |
||
5985 | 6000 3b08 20E0 ldi r18,lo8(512) |
||
5986 | 6001 3b0a 32E0 ldi r19,hi8(512) |
||
5987 | 6002 3b0c 40E0 ldi r20,hlo8(512) |
||
5988 | 6003 3b0e 50E0 ldi r21,hhi8(512) |
||
5989 | 6004 3b10 0E94 0000 call __divmodsi4 |
||
5990 | 6005 3b14 8901 movw r16,r18 |
||
5991 | 6006 3b16 37FF sbrs r19,7 |
||
5992 | 6007 3b18 00C0 rjmp .L379 |
||
5993 | 6008 3b1a 1095 com r17 |
||
5994 | 6009 3b1c 0195 neg r16 |
||
5995 | 6010 3b1e 1F4F sbci r17,lo8(-1) |
||
5996 | 6011 .L379: |
||
5997 | 6012 3b20 6091 0000 lds r22,IntegralRoll |
||
5998 | 6013 3b24 7091 0000 lds r23,(IntegralRoll)+1 |
||
5999 | 6014 3b28 8091 0000 lds r24,(IntegralRoll)+2 |
||
6000 | 6015 3b2c 9091 0000 lds r25,(IntegralRoll)+3 |
||
6001 | 6016 3b30 20E0 ldi r18,lo8(512) |
||
6002 | 6017 3b32 32E0 ldi r19,hi8(512) |
||
6003 | 6018 3b34 40E0 ldi r20,hlo8(512) |
||
6004 | 6019 3b36 50E0 ldi r21,hhi8(512) |
||
6005 | 6020 3b38 0E94 0000 call __divmodsi4 |
||
6006 | 6021 3b3c 3901 movw r6,r18 |
||
6007 | 6022 3b3e 37FF sbrs r19,7 |
||
6008 | 6023 3b40 00C0 rjmp .L380 |
||
6009 | 6024 3b42 7094 com r7 |
||
6010 | 6025 3b44 6194 neg r6 |
||
6011 | 6026 3b46 7108 sbc r7,__zero_reg__ |
||
6012 | 6027 3b48 7394 inc r7 |
||
6013 | 6028 .L380: |
||
6014 | 6029 3b4a 6016 cp r6,r16 |
||
6015 | 6030 3b4c 7106 cpc r7,r17 |
||
6016 | 6031 3b4e 04F4 brge .L381 |
||
6017 | 6032 3b50 3801 movw r6,r16 |
||
6018 | 6033 .L381: |
||
6019 | 6034 3b52 8CE1 ldi r24,lo8(540) |
||
6020 | 6035 3b54 92E0 ldi r25,hi8(540) |
||
6021 | 6036 3b56 C80E add r12,r24 |
||
6022 | 6037 3b58 D91E adc r13,r25 |
||
6023 | 6038 3b5a 7601 movw r14,r12 |
||
6024 | 6039 3b5c 0027 clr r16 |
||
6025 | 6040 3b5e F7FC sbrc r15,7 |
||
6026 | 6041 3b60 0095 com r16 |
||
6027 | 6042 3b62 102F mov r17,r16 |
||
6028 | 6043 3b64 6091 0000 lds r22,ErsatzKompass |
||
6029 | 6044 3b68 7091 0000 lds r23,(ErsatzKompass)+1 |
||
6030 | 6045 3b6c 8091 0000 lds r24,(ErsatzKompass)+2 |
||
6031 | 6046 3b70 9091 0000 lds r25,(ErsatzKompass)+3 |
||
6032 | 6047 3b74 A090 0000 lds r10,GIER_GRAD_FAKTOR |
||
6033 | 6048 3b78 B090 0000 lds r11,(GIER_GRAD_FAKTOR)+1 |
||
6034 | 6049 3b7c C090 0000 lds r12,(GIER_GRAD_FAKTOR)+2 |
||
6035 | 6050 3b80 D090 0000 lds r13,(GIER_GRAD_FAKTOR)+3 |
||
6036 | 6051 3b84 A601 movw r20,r12 |
||
6037 | 6052 3b86 9501 movw r18,r10 |
||
6038 | 6053 3b88 0E94 0000 call __divmodsi4 |
||
6039 | 6054 3b8c E21A sub r14,r18 |
||
6040 | 6055 3b8e F30A sbc r15,r19 |
||
6041 | 6056 3b90 040B sbc r16,r20 |
||
6042 | 6057 3b92 150B sbc r17,r21 |
||
6043 | 6058 3b94 C801 movw r24,r16 |
||
6044 | 6059 3b96 B701 movw r22,r14 |
||
6045 | 6060 3b98 28E6 ldi r18,lo8(360) |
||
6046 | 6061 3b9a 31E0 ldi r19,hi8(360) |
||
6047 | 6062 3b9c 40E0 ldi r20,hlo8(360) |
||
6048 | 6063 3b9e 50E0 ldi r21,hhi8(360) |
||
6049 | 6064 3ba0 0E94 0000 call __divmodsi4 |
||
6050 | 6065 3ba4 8B01 movw r16,r22 |
||
6051 | 6066 3ba6 045B subi r16,lo8(-(-180)) |
||
6052 | 6067 3ba8 1040 sbci r17,hi8(-(-180)) |
||
6053 | 6068 3baa 8091 0000 lds r24,KompassSignalSchlecht |
||
6054 | 6069 3bae 9091 0000 lds r25,(KompassSignalSchlecht)+1 |
||
6055 | 6070 3bb2 892B or r24,r25 |
||
6056 | 6071 3bb4 01F4 brne .L382 |
||
6057 | 6072 3bb6 99E1 ldi r25,lo8(25) |
||
6058 | 6073 3bb8 6916 cp r6,r25 |
||
6059 | 6074 3bba 7104 cpc r7,__zero_reg__ |
||
6060 | 6075 3bbc 04F4 brge .L382 |
||
6061 | 6076 3bbe 8091 0000 lds r24,GierGyroFehler |
||
6062 | 6077 3bc2 9091 0000 lds r25,(GierGyroFehler)+1 |
||
6063 | 6078 3bc6 800F add r24,r16 |
||
6064 | 6079 3bc8 911F adc r25,r17 |
||
6065 | 6080 3bca 9093 0000 sts (GierGyroFehler)+1,r25 |
||
6066 | 6081 3bce 8093 0000 sts GierGyroFehler,r24 |
||
6067 | 6082 3bd2 8091 0000 lds r24,NeueKompassRichtungMerken.3052 |
||
6068 | 6083 3bd6 8823 tst r24 |
||
6069 | 6084 3bd8 01F0 breq .L382 |
||
6070 | 6085 3bda 6091 0000 lds r22,KompassValue |
||
6071 | 6086 3bde 7091 0000 lds r23,(KompassValue)+1 |
||
6072 | 6087 3be2 8827 clr r24 |
||
6073 | 6088 3be4 77FD sbrc r23,7 |
||
6074 | 6089 3be6 8095 com r24 |
||
6075 | 6090 3be8 982F mov r25,r24 |
||
6076 | 6091 3bea A601 movw r20,r12 |
||
6077 | 6092 3bec 9501 movw r18,r10 |
||
6078 | 6093 3bee 0E94 0000 call __mulsi3 |
||
6079 | 6094 3bf2 6093 0000 sts ErsatzKompass,r22 |
||
6080 | 6095 3bf6 7093 0000 sts (ErsatzKompass)+1,r23 |
||
6081 | 6096 3bfa 8093 0000 sts (ErsatzKompass)+2,r24 |
||
6082 | 6097 3bfe 9093 0000 sts (ErsatzKompass)+3,r25 |
||
6083 | 6098 3c02 0E94 0000 call __divmodsi4 |
||
6084 | 6099 3c06 3093 0000 sts (KompassStartwert)+1,r19 |
||
6085 | 6100 3c0a 2093 0000 sts KompassStartwert,r18 |
||
6086 | 6101 3c0e 1092 0000 sts NeueKompassRichtungMerken.3052,__zero_reg__ |
||
6087 | 6102 .L382: |
||
6088 | 6103 3c12 B301 movw r22,r6 |
||
6089 | 6104 3c14 83E0 ldi r24,3 |
||
6090 | 6105 3c16 7595 1: asr r23 |
||
6091 | 6106 3c18 6795 ror r22 |
||
6092 | 6107 3c1a 8A95 dec r24 |
||
6093 | 6108 3c1c 01F4 brne 1b |
||
6094 | 6109 3c1e 6E5F subi r22,lo8(-(2)) |
||
6095 | 6110 3c20 7F4F sbci r23,hi8(-(2)) |
||
6096 | 6111 3c22 C801 movw r24,r16 |
||
6097 | 6112 3c24 04E0 ldi r16,4 |
||
6098 | 6113 3c26 880F 1: lsl r24 |
||
6099 | 6114 3c28 991F rol r25 |
||
6100 | 6115 3c2a 0A95 dec r16 |
||
6101 | 6116 3c2c 01F4 brne 1b |
||
6102 | 6117 3c2e 0E94 0000 call __divmodhi4 |
||
6103 | 6118 3c32 4B01 movw r8,r22 |
||
6104 | 6119 3c34 AA24 clr r10 |
||
6105 | 6120 3c36 97FC sbrc r9,7 |
||
6106 | 6121 3c38 A094 com r10 |
||
6107 | 6122 3c3a BA2C mov r11,r10 |
||
6108 | 6123 3c3c 8091 0000 lds r24,ErsatzKompass |
||
6109 | 6124 3c40 9091 0000 lds r25,(ErsatzKompass)+1 |
||
6110 | 6125 3c44 A091 0000 lds r26,(ErsatzKompass)+2 |
||
6111 | 6126 3c48 B091 0000 lds r27,(ErsatzKompass)+3 |
||
6112 | 6127 3c4c 880E add r8,r24 |
||
6113 | 6128 3c4e 991E adc r9,r25 |
||
6114 | 6129 3c50 AA1E adc r10,r26 |
||
6115 | 6130 3c52 BB1E adc r11,r27 |
||
6116 | 6131 3c54 8092 0000 sts ErsatzKompass,r8 |
||
6117 | 6132 3c58 9092 0000 sts (ErsatzKompass)+1,r9 |
||
6118 | 6133 3c5c A092 0000 sts (ErsatzKompass)+2,r10 |
||
6119 | 6134 3c60 B092 0000 sts (ErsatzKompass)+3,r11 |
||
6120 | 6135 3c64 8091 0000 lds r24,Parameter_KompassWirkung |
||
6121 | 6136 3c68 482E mov r4,r24 |
||
6122 | 6137 3c6a 5524 clr r5 |
||
6123 | 6138 3c6c 649C mul r6,r4 |
||
6124 | 6139 3c6e C001 movw r24,r0 |
||
6125 | 6140 3c70 659C mul r6,r5 |
||
6126 | 6141 3c72 900D add r25,r0 |
||
6127 | 6142 3c74 749C mul r7,r4 |
||
6128 | 6143 3c76 900D add r25,r0 |
||
6129 | 6144 3c78 1124 clr r1 |
||
6130 | 6145 3c7a 60E2 ldi r22,lo8(32) |
||
6131 | 6146 3c7c 70E0 ldi r23,hi8(32) |
||
6132 | 6147 3c7e 0E94 0000 call __divmodhi4 |
||
6133 | 6148 3c82 3201 movw r6,r4 |
||
6134 | 6149 3c84 661A sub r6,r22 |
||
6135 | 6150 3c86 770A sbc r7,r23 |
||
6136 | 6151 3c88 77FC sbrc r7,7 |
||
6137 | 6152 3c8a 00C0 rjmp .L383 |
||
6138 | 6153 3c8c 8091 0000 lds r24,KompassSignalSchlecht |
||
6139 | 6154 3c90 9091 0000 lds r25,(KompassSignalSchlecht)+1 |
||
6140 | 6155 3c94 892B or r24,r25 |
||
6141 | 6156 3c96 01F0 breq .+2 |
||
6142 | 6157 3c98 00C0 rjmp .L384 |
||
6143 | 6158 3c9a 8091 0000 lds r24,MaxStickRoll |
||
6144 | 6159 3c9e 9091 0000 lds r25,(MaxStickRoll)+1 |
||
6145 | 6160 3ca2 2091 0000 lds r18,MaxStickNick |
||
6146 | 6161 3ca6 3091 0000 lds r19,(MaxStickNick)+1 |
||
6147 | 6162 3caa 820F add r24,r18 |
||
6148 | 6163 3cac 931F adc r25,r19 |
||
6149 | 6164 3cae 68E0 ldi r22,lo8(8) |
||
6150 | 6165 3cb0 70E0 ldi r23,hi8(8) |
||
6151 | 6166 3cb2 0E94 0000 call __divmodhi4 |
||
6152 | 6167 3cb6 6B01 movw r12,r22 |
||
6153 | 6168 3cb8 A0E4 ldi r26,lo8(64) |
||
6154 | 6169 3cba B0E0 ldi r27,hi8(64) |
||
6155 | 6170 3cbc CA0E add r12,r26 |
||
6156 | 6171 3cbe DB1E adc r13,r27 |
||
6157 | 6172 3cc0 8091 0000 lds r24,KompassStartwert |
||
6158 | 6173 3cc4 9091 0000 lds r25,(KompassStartwert)+1 |
||
6159 | 6174 3cc8 AA27 clr r26 |
||
6160 | 6175 3cca 97FD sbrc r25,7 |
||
6161 | 6176 3ccc A095 com r26 |
||
6162 | 6177 3cce BA2F mov r27,r26 |
||
6163 | 6178 3cd0 1CE1 ldi r17,lo8(540) |
||
6164 | 6179 3cd2 E12E mov r14,r17 |
||
6165 | 6180 3cd4 12E0 ldi r17,hi8(540) |
||
6166 | 6181 3cd6 F12E mov r15,r17 |
||
6167 | 6182 3cd8 012D mov r16,__zero_reg__ |
||
6168 | 6183 3cda 112D mov r17,__zero_reg__ |
||
6169 | 6184 3cdc E81A sub r14,r24 |
||
6170 | 6185 3cde F90A sbc r15,r25 |
||
6171 | 6186 3ce0 0A0B sbc r16,r26 |
||
6172 | 6187 3ce2 1B0B sbc r17,r27 |
||
6173 | 6188 3ce4 2091 0000 lds r18,GIER_GRAD_FAKTOR |
||
6174 | 6189 3ce8 3091 0000 lds r19,(GIER_GRAD_FAKTOR)+1 |
||
6175 | 6190 3cec 4091 0000 lds r20,(GIER_GRAD_FAKTOR)+2 |
||
6176 | 6191 3cf0 5091 0000 lds r21,(GIER_GRAD_FAKTOR)+3 |
||
6177 | 6192 3cf4 C501 movw r24,r10 |
||
6178 | 6193 3cf6 B401 movw r22,r8 |
||
6179 | 6194 3cf8 0E94 0000 call __divmodsi4 |
||
6180 | 6195 3cfc E20E add r14,r18 |
||
6181 | 6196 3cfe F31E adc r15,r19 |
||
6182 | 6197 3d00 041F adc r16,r20 |
||
6183 | 6198 3d02 151F adc r17,r21 |
||
6184 | 6199 3d04 C801 movw r24,r16 |
||
6185 | 6200 3d06 B701 movw r22,r14 |
||
6186 | 6201 3d08 28E6 ldi r18,lo8(360) |
||
6187 | 6202 3d0a 31E0 ldi r19,hi8(360) |
||
6188 | 6203 3d0c 40E0 ldi r20,hlo8(360) |
||
6189 | 6204 3d0e 50E0 ldi r21,hhi8(360) |
||
6190 | 6205 3d10 0E94 0000 call __divmodsi4 |
||
6191 | 6206 3d14 645B subi r22,lo8(-(-180)) |
||
6192 | 6207 3d16 7040 sbci r23,hi8(-(-180)) |
||
6193 | 6208 3d18 669D mul r22,r6 |
||
6194 | 6209 3d1a C001 movw r24,r0 |
||
6195 | 6210 3d1c 679D mul r22,r7 |
||
6196 | 6211 3d1e 900D add r25,r0 |
||
6197 | 6212 3d20 769D mul r23,r6 |
||
6198 | 6213 3d22 900D add r25,r0 |
||
6199 | 6214 3d24 1124 clr r1 |
||
6200 | 6215 3d26 B601 movw r22,r12 |
||
6201 | 6216 3d28 0E94 0000 call __divmodhi4 |
||
6202 | 6217 3d2c C201 movw r24,r4 |
||
6203 | 6218 3d2e 880F lsl r24 |
||
6204 | 6219 3d30 991F rol r25 |
||
6205 | 6220 3d32 840D add r24,r4 |
||
6206 | 6221 3d34 951D adc r25,r5 |
||
6207 | 6222 3d36 8617 cp r24,r22 |
||
6208 | 6223 3d38 9707 cpc r25,r23 |
||
6209 | 6224 3d3a 04F4 brge .L385 |
||
6210 | 6225 3d3c BC01 movw r22,r24 |
||
6211 | 6226 3d3e 00C0 rjmp .L386 |
||
6212 | 6227 .L385: |
||
6213 | 6228 3d40 4427 clr r20 |
||
6214 | 6229 3d42 5527 clr r21 |
||
6215 | 6230 3d44 481B sub r20,r24 |
||
6216 | 6231 3d46 590B sbc r21,r25 |
||
6217 | 6232 3d48 6417 cp r22,r20 |
||
6218 | 6233 3d4a 7507 cpc r23,r21 |
||
6219 | 6234 3d4c 04F4 brge .L386 |
||
6220 | 6235 3d4e BA01 movw r22,r20 |
||
6221 | 6236 .L386: |
||
6222 | 6237 3d50 9B01 movw r18,r22 |
||
6223 | 6238 3d52 4427 clr r20 |
||
6224 | 6239 3d54 37FD sbrc r19,7 |
||
6225 | 6240 3d56 4095 com r20 |
||
6226 | 6241 3d58 542F mov r21,r20 |
||
6227 | 6242 3d5a 8091 0000 lds r24,Mess_Integral_Gier |
||
6228 | 6243 3d5e 9091 0000 lds r25,(Mess_Integral_Gier)+1 |
||
6229 | 6244 3d62 A091 0000 lds r26,(Mess_Integral_Gier)+2 |
||
6230 | 6245 3d66 B091 0000 lds r27,(Mess_Integral_Gier)+3 |
||
6231 | 6246 3d6a 820F add r24,r18 |
||
6232 | 6247 3d6c 931F adc r25,r19 |
||
6233 | 6248 3d6e A41F adc r26,r20 |
||
6234 | 6249 3d70 B51F adc r27,r21 |
||
6235 | 6250 3d72 8093 0000 sts Mess_Integral_Gier,r24 |
||
6236 | 6251 3d76 9093 0000 sts (Mess_Integral_Gier)+1,r25 |
||
6237 | 6252 3d7a A093 0000 sts (Mess_Integral_Gier)+2,r26 |
||
6238 | 6253 3d7e B093 0000 sts (Mess_Integral_Gier)+3,r27 |
||
6239 | 6254 .L384: |
||
6240 | 6255 3d82 8091 0000 lds r24,KompassSignalSchlecht |
||
6241 | 6256 3d86 9091 0000 lds r25,(KompassSignalSchlecht)+1 |
||
6242 | 6257 3d8a 0097 sbiw r24,0 |
||
6243 | 6258 3d8c 01F0 breq .L378 |
||
6244 | 6259 3d8e 0197 sbiw r24,1 |
||
6245 | 6260 3d90 00C0 rjmp .L532 |
||
6246 | 6261 .L383: |
||
6247 | 6262 3d92 84EF ldi r24,lo8(500) |
||
6248 | 6263 3d94 91E0 ldi r25,hi8(500) |
||
6249 | 6264 .L532: |
||
6250 | 6265 3d96 9093 0000 sts (KompassSignalSchlecht)+1,r25 |
||
6251 | 6266 3d9a 8093 0000 sts KompassSignalSchlecht,r24 |
||
6252 | 6267 .L378: |
||
6253 | 6268 3d9e 8091 0000 lds r24,TrichterFlug |
||
6254 | 6269 3da2 8823 tst r24 |
||
6255 | 6270 3da4 01F0 breq .L388 |
||
6256 | 6271 3da6 1092 0000 sts SummeRoll,__zero_reg__ |
||
6257 | 6272 3daa 1092 0000 sts (SummeRoll)+1,__zero_reg__ |
||
6258 | 6273 3dae 1092 0000 sts (SummeRoll)+2,__zero_reg__ |
||
6259 | 6274 3db2 1092 0000 sts (SummeRoll)+3,__zero_reg__ |
||
6260 | 6275 3db6 1092 0000 sts SummeNick,__zero_reg__ |
||
6261 | 6276 3dba 1092 0000 sts (SummeNick)+1,__zero_reg__ |
||
6262 | 6277 3dbe 1092 0000 sts (SummeNick)+2,__zero_reg__ |
||
6263 | 6278 3dc2 1092 0000 sts (SummeNick)+3,__zero_reg__ |
||
6264 | 6279 .L388: |
||
6265 | 6280 3dc6 8091 0000 lds r24,Looping_Nick |
||
6266 | 6281 3dca 8823 tst r24 |
||
6267 | 6282 3dcc 01F0 breq .L389 |
||
6268 | 6283 3dce 1DA2 std Y+37,__zero_reg__ |
||
6269 | 6284 3dd0 1CA2 std Y+36,__zero_reg__ |
||
6270 | 6285 3dd2 00C0 rjmp .L390 |
||
6271 | 6286 .L389: |
||
6272 | 6287 3dd4 6091 0000 lds r22,IntegralFaktor |
||
6273 | 6288 3dd8 70E0 ldi r23,lo8(0) |
||
6274 | 6289 3dda 80E0 ldi r24,lo8(0) |
||
6275 | 6290 3ddc 90E0 ldi r25,hi8(0) |
||
6276 | 6291 3dde 2091 0000 lds r18,IntegralNick |
||
6277 | 6292 3de2 3091 0000 lds r19,(IntegralNick)+1 |
||
6278 | 6293 3de6 4091 0000 lds r20,(IntegralNick)+2 |
||
6279 | 6294 3dea 5091 0000 lds r21,(IntegralNick)+3 |
||
6280 | 6295 3dee 0E94 0000 call __mulsi3 |
||
6281 | 6296 3df2 28EF ldi r18,lo8(11000) |
||
6282 | 6297 3df4 3AE2 ldi r19,hi8(11000) |
||
6283 | 6298 3df6 40E0 ldi r20,hlo8(11000) |
||
6284 | 6299 3df8 50E0 ldi r21,hhi8(11000) |
||
6285 | 6300 3dfa 0E94 0000 call __divmodsi4 |
||
6286 | 6301 3dfe 3DA3 std Y+37,r19 |
||
6287 | 6302 3e00 2CA3 std Y+36,r18 |
||
6288 | 6303 .L390: |
||
6289 | 6304 3e02 8091 0000 lds r24,Looping_Roll |
||
6290 | 6305 3e06 8823 tst r24 |
||
6291 | 6306 3e08 01F0 breq .L391 |
||
6292 | 6307 3e0a 1BA2 std Y+35,__zero_reg__ |
||
6293 | 6308 3e0c 1AA2 std Y+34,__zero_reg__ |
||
6294 | 6309 3e0e 00C0 rjmp .L392 |
||
6295 | 6310 .L391: |
||
6296 | 6311 3e10 6091 0000 lds r22,IntegralFaktor |
||
6297 | 6312 3e14 70E0 ldi r23,lo8(0) |
||
6298 | 6313 3e16 80E0 ldi r24,lo8(0) |
||
6299 | 6314 3e18 90E0 ldi r25,hi8(0) |
||
6300 | 6315 3e1a 2091 0000 lds r18,IntegralRoll |
||
6301 | 6316 3e1e 3091 0000 lds r19,(IntegralRoll)+1 |
||
6302 | 6317 3e22 4091 0000 lds r20,(IntegralRoll)+2 |
||
6303 | 6318 3e26 5091 0000 lds r21,(IntegralRoll)+3 |
||
6304 | 6319 3e2a 0E94 0000 call __mulsi3 |
||
6305 | 6320 3e2e 28EF ldi r18,lo8(11000) |
||
6306 | 6321 3e30 3AE2 ldi r19,hi8(11000) |
||
6307 | 6322 3e32 40E0 ldi r20,hlo8(11000) |
||
6308 | 6323 3e34 50E0 ldi r21,hhi8(11000) |
||
6309 | 6324 3e36 0E94 0000 call __divmodsi4 |
||
6310 | 6325 3e3a 3BA3 std Y+35,r19 |
||
6311 | 6326 3e3c 2AA3 std Y+34,r18 |
||
6312 | 6327 .L392: |
||
6313 | 6328 3e3e 8091 0000 lds r24,TrimNick |
||
6314 | 6329 3e42 9091 0000 lds r25,(TrimNick)+1 |
||
6315 | 6330 3e46 893C cpi r24,201 |
||
6316 | 6331 3e48 9105 cpc r25,__zero_reg__ |
||
6317 | 6332 3e4a 04F0 brlt .L393 |
||
6318 | 6333 3e4c 88EC ldi r24,lo8(200) |
||
6319 | 6334 3e4e 90E0 ldi r25,hi8(200) |
||
6320 | 6335 3e50 00C0 rjmp .L533 |
||
6321 | 6336 .L393: |
||
6322 | 6337 3e52 8853 subi r24,lo8(-200) |
||
6323 | 6338 3e54 9F4F sbci r25,hi8(-200) |
||
6324 | 6339 3e56 04F4 brge .L394 |
||
6325 | 6340 3e58 88E3 ldi r24,lo8(-200) |
||
6326 | 6341 3e5a 9FEF ldi r25,hi8(-200) |
||
6327 | 6342 .L533: |
||
6328 | 6343 3e5c 9093 0000 sts (TrimNick)+1,r25 |
||
6329 | 6344 3e60 8093 0000 sts TrimNick,r24 |
||
6330 | 6345 .L394: |
||
6331 | 6346 3e64 8091 0000 lds r24,TrimRoll |
||
6332 | 6347 3e68 9091 0000 lds r25,(TrimRoll)+1 |
||
6333 | 6348 3e6c 893C cpi r24,201 |
||
6334 | 6349 3e6e 9105 cpc r25,__zero_reg__ |
||
6335 | 6350 3e70 04F0 brlt .L395 |
||
6336 | 6351 3e72 88EC ldi r24,lo8(200) |
||
6337 | 6352 3e74 90E0 ldi r25,hi8(200) |
||
6338 | 6353 3e76 00C0 rjmp .L534 |
||
6339 | 6354 .L395: |
||
6340 | 6355 3e78 8853 subi r24,lo8(-200) |
||
6341 | 6356 3e7a 9F4F sbci r25,hi8(-200) |
||
6342 | 6357 3e7c 04F4 brge .L396 |
||
6343 | 6358 3e7e 88E3 ldi r24,lo8(-200) |
||
6344 | 6359 3e80 9FEF ldi r25,hi8(-200) |
||
6345 | 6360 .L534: |
||
6346 | 6361 3e82 9093 0000 sts (TrimRoll)+1,r25 |
||
6347 | 6362 3e86 8093 0000 sts TrimRoll,r24 |
||
6348 | 6363 .L396: |
||
6349 | 6364 3e8a E090 0000 lds r14,TrimNick |
||
6350 | 6365 3e8e F090 0000 lds r15,(TrimNick)+1 |
||
6351 | 6366 3e92 0027 clr r16 |
||
6352 | 6367 3e94 F7FC sbrc r15,7 |
||
6353 | 6368 3e96 0095 com r16 |
||
6354 | 6369 3e98 102F mov r17,r16 |
||
6355 | 6370 3e9a A7E0 ldi r26,7 |
||
6356 | 6371 3e9c EE0C 1: lsl r14 |
||
6357 | 6372 3e9e FF1C rol r15 |
||
6358 | 6373 3ea0 001F rol r16 |
||
6359 | 6374 3ea2 111F rol r17 |
||
6360 | 6375 3ea4 AA95 dec r26 |
||
6361 | 6376 3ea6 01F4 brne 1b |
||
6362 | 6377 3ea8 A090 0000 lds r10,GyroFaktor |
||
6363 | 6378 3eac BB24 clr r11 |
||
6364 | 6379 3eae CC24 clr r12 |
||
6365 | 6380 3eb0 DD24 clr r13 |
||
6366 | 6381 3eb2 2091 0000 lds r18,MesswertNick |
||
6367 | 6382 3eb6 3091 0000 lds r19,(MesswertNick)+1 |
||
6368 | 6383 3eba 4427 clr r20 |
||
6369 | 6384 3ebc 37FD sbrc r19,7 |
||
6370 | 6385 3ebe 4095 com r20 |
||
6371 | 6386 3ec0 542F mov r21,r20 |
||
6372 | 6387 3ec2 C601 movw r24,r12 |
||
6373 | 6388 3ec4 B501 movw r22,r10 |
||
6374 | 6389 3ec6 0E94 0000 call __mulsi3 |
||
6375 | 6390 3eca E60E add r14,r22 |
||
6376 | 6391 3ecc F71E adc r15,r23 |
||
6377 | 6392 3ece 081F adc r16,r24 |
||
6378 | 6393 3ed0 191F adc r17,r25 |
||
6379 | 6394 3ed2 C801 movw r24,r16 |
||
6380 | 6395 3ed4 B701 movw r22,r14 |
||
6381 | 6396 3ed6 20E4 ldi r18,lo8(64) |
||
6382 | 6397 3ed8 30E0 ldi r19,hi8(64) |
||
6383 | 6398 3eda 40E0 ldi r20,hlo8(64) |
||
6384 | 6399 3edc 50E0 ldi r21,hhi8(64) |
||
6385 | 6400 3ede 0E94 0000 call __divmodsi4 |
||
6386 | 6401 3ee2 8CA0 ldd r8,Y+36 |
||
6387 | 6402 3ee4 9DA0 ldd r9,Y+37 |
||
6388 | 6403 3ee6 820E add r8,r18 |
||
6389 | 6404 3ee8 931E adc r9,r19 |
||
6390 | 6405 3eea 9092 0000 sts (MesswertNick)+1,r9 |
||
6391 | 6406 3eee 8092 0000 sts MesswertNick,r8 |
||
6392 | 6407 3ef2 E090 0000 lds r14,TrimRoll |
||
6393 | 6408 3ef6 F090 0000 lds r15,(TrimRoll)+1 |
||
6394 | 6409 3efa 0027 clr r16 |
||
6395 | 6410 3efc F7FC sbrc r15,7 |
||
6396 | 6411 3efe 0095 com r16 |
||
6397 | 6412 3f00 102F mov r17,r16 |
||
6398 | 6413 3f02 F7E0 ldi r31,7 |
||
6399 | 6414 3f04 EE0C 1: lsl r14 |
||
6400 | 6415 3f06 FF1C rol r15 |
||
6401 | 6416 3f08 001F rol r16 |
||
6402 | 6417 3f0a 111F rol r17 |
||
6403 | 6418 3f0c FA95 dec r31 |
||
6404 | 6419 3f0e 01F4 brne 1b |
||
6405 | 6420 3f10 2091 0000 lds r18,MesswertRoll |
||
6406 | 6421 3f14 3091 0000 lds r19,(MesswertRoll)+1 |
||
6407 | 6422 3f18 4427 clr r20 |
||
6408 | 6423 3f1a 37FD sbrc r19,7 |
||
6409 | 6424 3f1c 4095 com r20 |
||
6410 | 6425 3f1e 542F mov r21,r20 |
||
6411 | 6426 3f20 C601 movw r24,r12 |
||
6412 | 6427 3f22 B501 movw r22,r10 |
||
6413 | 6428 3f24 0E94 0000 call __mulsi3 |
||
6414 | 6429 3f28 E60E add r14,r22 |
||
6415 | 6430 3f2a F71E adc r15,r23 |
||
6416 | 6431 3f2c 081F adc r16,r24 |
||
6417 | 6432 3f2e 191F adc r17,r25 |
||
6418 | 6433 3f30 C801 movw r24,r16 |
||
6419 | 6434 3f32 B701 movw r22,r14 |
||
6420 | 6435 3f34 20E4 ldi r18,lo8(64) |
||
6421 | 6436 3f36 30E0 ldi r19,hi8(64) |
||
6422 | 6437 3f38 40E0 ldi r20,hlo8(64) |
||
6423 | 6438 3f3a 50E0 ldi r21,hhi8(64) |
||
6424 | 6439 3f3c 0E94 0000 call __divmodsi4 |
||
6425 | 6440 3f40 8AA1 ldd r24,Y+34 |
||
6426 | 6441 3f42 9BA1 ldd r25,Y+35 |
||
6427 | 6442 3f44 820F add r24,r18 |
||
6428 | 6443 3f46 931F adc r25,r19 |
||
6429 | 6444 3f48 9093 0000 sts (MesswertRoll)+1,r25 |
||
6430 | 6445 3f4c 8093 0000 sts MesswertRoll,r24 |
||
6431 | 6446 3f50 6091 0000 lds r22,MesswertGier |
||
6432 | 6447 3f54 7091 0000 lds r23,(MesswertGier)+1 |
||
6433 | 6448 3f58 660F lsl r22 |
||
6434 | 6449 3f5a 771F rol r23 |
||
6435 | 6450 3f5c 8827 clr r24 |
||
6436 | 6451 3f5e 77FD sbrc r23,7 |
||
6437 | 6452 3f60 8095 com r24 |
||
6438 | 6453 3f62 982F mov r25,r24 |
||
6439 | 6454 3f64 2091 0000 lds r18,GyroFaktorGier |
||
6440 | 6455 3f68 30E0 ldi r19,lo8(0) |
||
6441 | 6456 3f6a 40E0 ldi r20,lo8(0) |
||
6442 | 6457 3f6c 50E0 ldi r21,hi8(0) |
||
6443 | 6458 3f6e 0E94 0000 call __mulsi3 |
||
6444 | 6459 3f72 20E4 ldi r18,lo8(64) |
||
6445 | 6460 3f74 30E0 ldi r19,hi8(64) |
||
6446 | 6461 3f76 40E0 ldi r20,hlo8(64) |
||
6447 | 6462 3f78 50E0 ldi r21,hhi8(64) |
||
6448 | 6463 3f7a 0E94 0000 call __divmodsi4 |
||
6449 | 6464 3f7e 7901 movw r14,r18 |
||
6450 | 6465 3f80 8A01 movw r16,r20 |
||
6451 | 6466 3f82 6091 0000 lds r22,IntegralFaktorGier |
||
6452 | 6467 3f86 70E0 ldi r23,lo8(0) |
||
6453 | 6468 3f88 80E0 ldi r24,lo8(0) |
||
6454 | 6469 3f8a 90E0 ldi r25,hi8(0) |
||
6455 | 6470 3f8c 2091 0000 lds r18,Integral_Gier |
||
6456 | 6471 3f90 3091 0000 lds r19,(Integral_Gier)+1 |
||
6457 | 6472 3f94 4091 0000 lds r20,(Integral_Gier)+2 |
||
6458 | 6473 3f98 5091 0000 lds r21,(Integral_Gier)+3 |
||
6459 | 6474 3f9c 0E94 0000 call __mulsi3 |
||
6460 | 6475 3fa0 20EF ldi r18,lo8(22000) |
||
6461 | 6476 3fa2 35E5 ldi r19,hi8(22000) |
||
6462 | 6477 3fa4 40E0 ldi r20,hlo8(22000) |
||
6463 | 6478 3fa6 50E0 ldi r21,hhi8(22000) |
||
6464 | 6479 3fa8 0E94 0000 call __divmodsi4 |
||
6465 | 6480 3fac E20E add r14,r18 |
||
6466 | 6481 3fae F31E adc r15,r19 |
||
6467 | 6482 3fb0 F092 0000 sts (MesswertGier)+1,r15 |
||
6468 | 6483 3fb4 E092 0000 sts MesswertGier,r14 |
||
6469 | 6484 3fb8 F1E0 ldi r31,lo8(4097) |
||
6470 | 6485 3fba 8F16 cp r8,r31 |
||
6471 | 6486 3fbc F0E1 ldi r31,hi8(4097) |
||
6472 | 6487 3fbe 9F06 cpc r9,r31 |
||
6473 | 6488 3fc0 04F0 brlt .L397 |
||
6474 | 6489 3fc2 80E0 ldi r24,lo8(4096) |
||
6475 | 6490 3fc4 90E1 ldi r25,hi8(4096) |
||
6476 | 6491 3fc6 9093 0000 sts (MesswertNick)+1,r25 |
||
6477 | 6492 3fca 8093 0000 sts MesswertNick,r24 |
||
6478 | 6493 .L397: |
||
6479 | 6494 3fce 8091 0000 lds r24,MesswertNick |
||
6480 | 6495 3fd2 9091 0000 lds r25,(MesswertNick)+1 |
||
6481 | 6496 3fd6 8050 subi r24,lo8(-4096) |
||
6482 | 6497 3fd8 904F sbci r25,hi8(-4096) |
||
6483 | 6498 3fda 04F4 brge .L398 |
||
6484 | 6499 3fdc 80E0 ldi r24,lo8(-4096) |
||
6485 | 6500 3fde 90EF ldi r25,hi8(-4096) |
||
6486 | 6501 3fe0 9093 0000 sts (MesswertNick)+1,r25 |
||
6487 | 6502 3fe4 8093 0000 sts MesswertNick,r24 |
||
6488 | 6503 .L398: |
||
6489 | 6504 3fe8 8091 0000 lds r24,MesswertRoll |
||
6490 | 6505 3fec 9091 0000 lds r25,(MesswertRoll)+1 |
||
6491 | 6506 3ff0 8150 subi r24,lo8(4097) |
||
6492 | 6507 3ff2 9041 sbci r25,hi8(4097) |
||
6493 | 6508 3ff4 04F0 brlt .L399 |
||
6494 | 6509 3ff6 80E0 ldi r24,lo8(4096) |
||
6495 | 6510 3ff8 90E1 ldi r25,hi8(4096) |
||
6496 | 6511 3ffa 9093 0000 sts (MesswertRoll)+1,r25 |
||
6497 | 6512 3ffe 8093 0000 sts MesswertRoll,r24 |
||
6498 | 6513 .L399: |
||
6499 | 6514 4002 8091 0000 lds r24,MesswertRoll |
||
6500 | 6515 4006 9091 0000 lds r25,(MesswertRoll)+1 |
||
6501 | 6516 400a 8050 subi r24,lo8(-4096) |
||
6502 | 6517 400c 904F sbci r25,hi8(-4096) |
||
6503 | 6518 400e 04F4 brge .L400 |
||
6504 | 6519 4010 80E0 ldi r24,lo8(-4096) |
||
6505 | 6520 4012 90EF ldi r25,hi8(-4096) |
||
6506 | 6521 4014 9093 0000 sts (MesswertRoll)+1,r25 |
||
6507 | 6522 4018 8093 0000 sts MesswertRoll,r24 |
||
6508 | 6523 .L400: |
||
6509 | 6524 401c 8091 0000 lds r24,MesswertGier |
||
6510 | 6525 4020 9091 0000 lds r25,(MesswertGier)+1 |
||
6511 | 6526 4024 8150 subi r24,lo8(4097) |
||
6512 | 6527 4026 9041 sbci r25,hi8(4097) |
||
6513 | 6528 4028 04F0 brlt .L401 |
||
6514 | 6529 402a 80E0 ldi r24,lo8(4096) |
||
6515 | 6530 402c 90E1 ldi r25,hi8(4096) |
||
6516 | 6531 402e 9093 0000 sts (MesswertGier)+1,r25 |
||
6517 | 6532 4032 8093 0000 sts MesswertGier,r24 |
||
6518 | 6533 .L401: |
||
6519 | 6534 4036 8091 0000 lds r24,MesswertGier |
||
6520 | 6535 403a 9091 0000 lds r25,(MesswertGier)+1 |
||
6521 | 6536 403e 8050 subi r24,lo8(-4096) |
||
6522 | 6537 4040 904F sbci r25,hi8(-4096) |
||
6523 | 6538 4042 04F4 brge .L402 |
||
6524 | 6539 4044 80E0 ldi r24,lo8(-4096) |
||
6525 | 6540 4046 90EF ldi r25,hi8(-4096) |
||
6526 | 6541 4048 9093 0000 sts (MesswertGier)+1,r25 |
||
6527 | 6542 404c 8093 0000 sts MesswertGier,r24 |
||
6528 | 6543 .L402: |
||
6529 | 6544 4050 2091 0000 lds r18,UBat |
||
6530 | 6545 4054 3091 0000 lds r19,(UBat)+1 |
||
6531 | 6546 4058 8091 0000 lds r24,BattLowVoltageWarning |
||
6532 | 6547 405c 482F mov r20,r24 |
||
6533 | 6548 405e 50E0 ldi r21,lo8(0) |
||
6534 | 6549 4060 4217 cp r20,r18 |
||
6535 | 6550 4062 5307 cpc r21,r19 |
||
6536 | 6551 4064 04F4 brge .L403 |
||
6537 | 6552 4066 6091 0000 lds r22,UBat |
||
6538 | 6553 406a 7091 0000 lds r23,(UBat)+1 |
||
6539 | 6554 406e AEA1 ldd r26,Y+38 |
||
6540 | 6555 4070 BFA1 ldd r27,Y+39 |
||
6541 | 6556 4072 A49F mul r26,r20 |
||
6542 | 6557 4074 C001 movw r24,r0 |
||
6543 | 6558 4076 A59F mul r26,r21 |
||
6544 | 6559 4078 900D add r25,r0 |
||
6545 | 6560 407a B49F mul r27,r20 |
||
6546 | 6561 407c 900D add r25,r0 |
||
6547 | 6562 407e 1124 clr r1 |
||
6548 | 6563 4080 0E94 0000 call __udivmodhi4 |
||
6549 | 6564 4084 7FA3 std Y+39,r23 |
||
6550 | 6565 4086 6EA3 std Y+38,r22 |
||
6551 | 6566 .L403: |
||
6552 | 6567 4088 4EA0 ldd r4,Y+38 |
||
6553 | 6568 408a 5FA0 ldd r5,Y+39 |
||
6554 | 6569 408c 440C lsl r4 |
||
6555 | 6570 408e 551C rol r5 |
||
6556 | 6571 4090 440C lsl r4 |
||
6557 | 6572 4092 551C rol r5 |
||
6558 | 6573 4094 8091 0000 lds r24,EE_Parameter+13 |
||
6559 | 6574 4098 80FF sbrs r24,0 |
||
6560 | 6575 409a 00C0 rjmp .L404 |
||
6561 | 6576 409c 8091 0000 lds r24,Looping_Roll |
||
6562 | 6577 40a0 8823 tst r24 |
||
6563 | 6578 40a2 01F0 breq .+2 |
||
6564 | 6579 40a4 00C0 rjmp .L404 |
||
6565 | 6580 40a6 8091 0000 lds r24,Looping_Nick |
||
6566 | 6581 40aa 8823 tst r24 |
||
6567 | 6582 40ac 01F0 breq .+2 |
||
6568 | 6583 40ae 00C0 rjmp .L404 |
||
6569 | 6584 40b0 8091 0000 lds r24,HoverGas |
||
6570 | 6585 40b4 9091 0000 lds r25,(HoverGas)+1 |
||
6571 | 6586 40b8 9093 0000 sts (DebugOut+44)+1,r25 |
||
6572 | 6587 40bc 8093 0000 sts DebugOut+44,r24 |
||
6573 | 6588 40c0 2091 0000 lds r18,BaroExpandActive |
||
6574 | 6589 40c4 3091 0000 lds r19,(BaroExpandActive)+1 |
||
6575 | 6590 40c8 2115 cp r18,__zero_reg__ |
||
6576 | 6591 40ca 3105 cpc r19,__zero_reg__ |
||
6577 | 6592 40cc 01F0 breq .+2 |
||
6578 | 6593 40ce 00C0 rjmp .L405 |
||
6579 | 6594 40d0 8091 0000 lds r24,MessLuftdruck |
||
6580 | 6595 40d4 9091 0000 lds r25,(MessLuftdruck)+1 |
||
6581 | 6596 40d8 8959 subi r24,lo8(921) |
||
6582 | 6597 40da 9340 sbci r25,hi8(921) |
||
6583 | 6598 40dc 00F0 brlo .L406 |
||
6584 | 6599 40de 87B5 in r24,71-32 |
||
6585 | 6600 40e0 853F cpi r24,lo8(-11) |
||
6586 | 6601 40e2 00F4 brsh .L407 |
||
6587 | 6602 40e4 8091 0000 lds r24,ExpandBaro |
||
6588 | 6603 40e8 8150 subi r24,lo8(-(-1)) |
||
6589 | 6604 40ea 00C0 rjmp .L535 |
||
6590 | 6605 .L407: |
||
6591 | 6606 40ec 81E0 ldi r24,lo8(1) |
||
6592 | 6607 40ee 8093 0000 sts BaroAtLowerLimit.3089,r24 |
||
6593 | 6608 40f2 00C0 rjmp .L408 |
||
6594 | 6609 .L406: |
||
6595 | 6610 40f4 8091 0000 lds r24,MessLuftdruck |
||
6596 | 6611 40f8 9091 0000 lds r25,(MessLuftdruck)+1 |
||
6597 | 6612 40fc 8436 cpi r24,100 |
||
6598 | 6613 40fe 9105 cpc r25,__zero_reg__ |
||
6599 | 6614 4100 00F4 brsh .L409 |
||
6600 | 6615 4102 87B5 in r24,71-32 |
||
6601 | 6616 4104 8B30 cpi r24,lo8(11) |
||
6602 | 6617 4106 00F0 brlo .L410 |
||
6603 | 6618 4108 8091 0000 lds r24,ExpandBaro |
||
6604 | 6619 410c 8F5F subi r24,lo8(-(1)) |
||
6605 | 6620 .L535: |
||
6606 | 6621 410e 8093 0000 sts ExpandBaro,r24 |
||
6607 | 6622 4112 26EF ldi r18,lo8(-10) |
||
6608 | 6623 4114 8202 muls r24,r18 |
||
6609 | 6624 4116 C001 movw r24,r0 |
||
6610 | 6625 4118 1124 clr r1 |
||
6611 | 6626 411a 2091 0000 lds r18,DruckOffsetSetting |
||
6612 | 6627 411e 280F add r18,r24 |
||
6613 | 6628 4120 27BD out 71-32,r18 |
||
6614 | 6629 4122 8CE2 ldi r24,lo8(300) |
||
6615 | 6630 4124 91E0 ldi r25,hi8(300) |
||
6616 | 6631 4126 9093 0000 sts (beeptime)+1,r25 |
||
6617 | 6632 412a 8093 0000 sts beeptime,r24 |
||
6618 | 6633 412e 8EE5 ldi r24,lo8(350) |
||
6619 | 6634 4130 91E0 ldi r25,hi8(350) |
||
6620 | 6635 4132 9093 0000 sts (BaroExpandActive)+1,r25 |
||
6621 | 6636 4136 8093 0000 sts BaroExpandActive,r24 |
||
6622 | 6637 413a 00C0 rjmp .L408 |
||
6623 | 6638 .L410: |
||
6624 | 6639 413c 81E0 ldi r24,lo8(1) |
||
6625 | 6640 413e 8093 0000 sts BaroAtUpperLimit.3088,r24 |
||
6626 | 6641 4142 00C0 rjmp .L408 |
||
6627 | 6642 .L409: |
||
6628 | 6643 4144 1092 0000 sts BaroAtUpperLimit.3088,__zero_reg__ |
||
6629 | 6644 4148 1092 0000 sts BaroAtLowerLimit.3089,__zero_reg__ |
||
6630 | 6645 414c 00C0 rjmp .L408 |
||
6631 | 6646 .L405: |
||
6632 | 6647 414e 8091 0000 lds r24,HoehenWert |
||
6633 | 6648 4152 9091 0000 lds r25,(HoehenWert)+1 |
||
6634 | 6649 4156 A091 0000 lds r26,(HoehenWert)+2 |
||
6635 | 6650 415a B091 0000 lds r27,(HoehenWert)+3 |
||
6636 | 6651 415e 44E0 ldi r20,4 |
||
6637 | 6652 4160 880F 1: lsl r24 |
||
6638 | 6653 4162 991F rol r25 |
||
6639 | 6654 4164 AA1F rol r26 |
||
6640 | 6655 4166 BB1F rol r27 |
||
6641 | 6656 4168 4A95 dec r20 |
||
6642 | 6657 416a 01F4 brne 1b |
||
6643 | 6658 416c 8093 0000 sts SummenHoehe,r24 |
||
6644 | 6659 4170 9093 0000 sts (SummenHoehe)+1,r25 |
||
6645 | 6660 4174 A093 0000 sts (SummenHoehe)+2,r26 |
||
6646 | 6661 4178 B093 0000 sts (SummenHoehe)+3,r27 |
||
6647 | 6662 417c 1092 0000 sts (VarioMeter)+1,__zero_reg__ |
||
6648 | 6663 4180 1092 0000 sts VarioMeter,__zero_reg__ |
||
6649 | 6664 4184 2150 subi r18,lo8(-(-1)) |
||
6650 | 6665 4186 3040 sbci r19,hi8(-(-1)) |
||
6651 | 6666 4188 3093 0000 sts (BaroExpandActive)+1,r19 |
||
6652 | 6667 418c 2093 0000 sts BaroExpandActive,r18 |
||
6653 | 6668 .L408: |
||
6654 | 6669 4190 8091 0000 lds r24,EE_Parameter+13 |
||
6655 | 6670 4194 9091 0000 lds r25,Parameter_MaxHoehe |
||
6656 | 6671 4198 81FF sbrs r24,1 |
||
6657 | 6672 419a 00C0 rjmp .L411 |
||
6658 | 6673 419c 9233 cpi r25,lo8(50) |
||
6659 | 6674 419e 00F4 brsh .L412 |
||
6660 | 6675 41a0 8091 0000 lds r24,delay.3087 |
||
6661 | 6676 41a4 8150 subi r24,lo8(-(-1)) |
||
6662 | 6677 41a6 8093 0000 sts delay.3087,r24 |
||
6663 | 6678 41aa 8F5F subi r24,lo8(-(1)) |
||
6664 | 6679 41ac 01F4 brne .L413 |
||
6665 | 6680 41ae 1092 0000 sts HoehenReglerAktiv,__zero_reg__ |
||
6666 | 6681 41b2 8091 0000 lds r24,HoehenWert |
||
6667 | 6682 41b6 9091 0000 lds r25,(HoehenWert)+1 |
||
6668 | 6683 41ba A091 0000 lds r26,(HoehenWert)+2 |
||
6669 | 6684 41be B091 0000 lds r27,(HoehenWert)+3 |
||
6670 | 6685 41c2 8093 0000 sts SollHoehe,r24 |
||
6671 | 6686 41c6 9093 0000 sts (SollHoehe)+1,r25 |
||
6672 | 6687 41ca A093 0000 sts (SollHoehe)+2,r26 |
||
6673 | 6688 41ce B093 0000 sts (SollHoehe)+3,r27 |
||
6674 | 6689 41d2 81E0 ldi r24,lo8(1) |
||
6675 | 6690 41d4 00C0 rjmp .L536 |
||
6676 | 6691 .L412: |
||
6677 | 6692 41d6 81E0 ldi r24,lo8(1) |
||
6678 | 6693 41d8 8093 0000 sts HoehenReglerAktiv,r24 |
||
6679 | 6694 41dc 88EC ldi r24,lo8(-56) |
||
6680 | 6695 .L536: |
||
6681 | 6696 41de 8093 0000 sts delay.3087,r24 |
||
6682 | 6697 41e2 00C0 rjmp .L413 |
||
6683 | 6698 .L411: |
||
6684 | 6699 41e4 2091 0000 lds r18,ExternHoehenValue |
||
6685 | 6700 41e8 3091 0000 lds r19,(ExternHoehenValue)+1 |
||
6686 | 6701 41ec 290F add r18,r25 |
||
6687 | 6702 41ee 311D adc r19,__zero_reg__ |
||
6688 | 6703 41f0 8091 0000 lds r24,EE_Parameter+18 |
||
6689 | 6704 41f4 90E0 ldi r25,lo8(0) |
||
6690 | 6705 41f6 FC01 movw r30,r24 |
||
6691 | 6706 41f8 2E9F mul r18,r30 |
||
6692 | 6707 41fa C001 movw r24,r0 |
||
6693 | 6708 41fc 2F9F mul r18,r31 |
||
6694 | 6709 41fe 900D add r25,r0 |
||
6695 | 6710 4200 3E9F mul r19,r30 |
||
6696 | 6711 4202 900D add r25,r0 |
||
6697 | 6712 4204 1124 clr r1 |
||
6698 | 6713 4206 AA27 clr r26 |
||
6699 | 6714 4208 97FD sbrc r25,7 |
||
6700 | 6715 420a A095 com r26 |
||
6701 | 6716 420c BA2F mov r27,r26 |
||
6702 | 6717 420e 8093 0000 sts SollHoehe,r24 |
||
6703 | 6718 4212 9093 0000 sts (SollHoehe)+1,r25 |
||
6704 | 6719 4216 A093 0000 sts (SollHoehe)+2,r26 |
||
6705 | 6720 421a B093 0000 sts (SollHoehe)+3,r27 |
||
6706 | 6721 421e 81E0 ldi r24,lo8(1) |
||
6707 | 6722 4220 8093 0000 sts HoehenReglerAktiv,r24 |
||
6708 | 6723 .L413: |
||
6709 | 6724 4224 E090 0000 lds r14,GIER_GRAD_FAKTOR |
||
6710 | 6725 4228 F090 0000 lds r15,(GIER_GRAD_FAKTOR)+1 |
||
6711 | 6726 422c 0091 0000 lds r16,(GIER_GRAD_FAKTOR)+2 |
||
6712 | 6727 4230 1091 0000 lds r17,(GIER_GRAD_FAKTOR)+3 |
||
6713 | 6728 4234 6091 0000 lds r22,IntegralNick |
||
6714 | 6729 4238 7091 0000 lds r23,(IntegralNick)+1 |
||
6715 | 6730 423c 8091 0000 lds r24,(IntegralNick)+2 |
||
6716 | 6731 4240 9091 0000 lds r25,(IntegralNick)+3 |
||
6717 | 6732 4244 A801 movw r20,r16 |
||
6718 | 6733 4246 9701 movw r18,r14 |
||
6719 | 6734 4248 0E94 0000 call __divmodsi4 |
||
6720 | 6735 424c 5901 movw r10,r18 |
||
6721 | 6736 424e 6A01 movw r12,r20 |
||
6722 | 6737 4250 6091 0000 lds r22,IntegralRoll |
||
6723 | 6738 4254 7091 0000 lds r23,(IntegralRoll)+1 |
||
6724 | 6739 4258 8091 0000 lds r24,(IntegralRoll)+2 |
||
6725 | 6740 425c 9091 0000 lds r25,(IntegralRoll)+3 |
||
6726 | 6741 4260 A801 movw r20,r16 |
||
6727 | 6742 4262 9701 movw r18,r14 |
||
6728 | 6743 4264 0E94 0000 call __divmodsi4 |
||
6729 | 6744 4268 C501 movw r24,r10 |
||
6730 | 6745 426a B901 movw r22,r18 |
||
6731 | 6746 426c 0E94 0000 call ihypot |
||
6732 | 6747 4270 8C33 cpi r24,60 |
||
6733 | 6748 4272 9105 cpc r25,__zero_reg__ |
||
6734 | 6749 4274 04F0 brlt .L414 |
||
6735 | 6750 4276 8CE3 ldi r24,lo8(60) |
||
6736 | 6751 4278 90E0 ldi r25,hi8(60) |
||
6737 | 6752 .L414: |
||
6738 | 6753 427a 0E94 0000 call c_cos_8192 |
||
6739 | 6754 427e 99A3 std Y+33,r25 |
||
6740 | 6755 4280 88A3 std Y+32,r24 |
||
6741 | 6756 4282 80E2 ldi r24,lo8(32) |
||
6742 | 6757 4284 8093 0000 sts VarioCharacter,r24 |
||
6743 | 6758 4288 8091 0000 lds r24,HoehenReglerAktiv |
||
6744 | 6759 428c 8823 tst r24 |
||
6745 | 6760 428e 01F4 brne .+2 |
||
6746 | 6761 4290 00C0 rjmp .L415 |
||
6747 | 6762 4292 8091 0000 lds r24,FCFlags |
||
6748 | 6763 4296 84FD sbrc r24,4 |
||
6749 | 6764 4298 00C0 rjmp .L415 |
||
6750 | 6765 429a 8091 0000 lds r24,EE_Parameter+99 |
||
6751 | 6766 429e 80FD sbrc r24,0 |
||
6752 | 6767 42a0 00C0 rjmp .L416 |
||
6753 | 6768 42a2 8091 0000 lds r24,EE_Parameter+13 |
||
6754 | 6769 42a6 81FD sbrc r24,1 |
||
6755 | 6770 42a8 00C0 rjmp .L417 |
||
6756 | 6771 .L416: |
||
6757 | 6772 42aa 1092 0000 sts (HeightTrimming.3081)+1,__zero_reg__ |
||
6758 | 6773 42ae 1092 0000 sts HeightTrimming.3081,__zero_reg__ |
||
6759 | 6774 42b2 1201 movw r2,r4 |
||
6760 | 6775 42b4 00C0 rjmp .L418 |
||
6761 | 6776 .L417: |
||
6762 | 6777 42b6 8091 0000 lds r24,FCFlags |
||
6763 | 6778 42ba 81FF sbrs r24,1 |
||
6764 | 6779 42bc 00C0 rjmp .L419 |
||
6765 | 6780 42be 4091 0000 lds r20,StickGas |
||
6766 | 6781 42c2 5091 0000 lds r21,(StickGas)+1 |
||
6767 | 6782 42c6 2091 0000 lds r18,StickGasHover.3083 |
||
6768 | 6783 42ca 3091 0000 lds r19,(StickGasHover.3083)+1 |
||
6769 | 6784 42ce C901 movw r24,r18 |
||
6770 | 6785 42d0 0F96 adiw r24,15 |
||
6771 | 6786 42d2 8417 cp r24,r20 |
||
6772 | 6787 42d4 9507 cpc r25,r21 |
||
6773 | 6788 42d6 04F4 brge .L420 |
||
6774 | 6789 42d8 8091 0000 lds r24,BaroAtUpperLimit.3088 |
||
6775 | 6790 42dc 8823 tst r24 |
||
6776 | 6791 42de 01F4 brne .L420 |
||
6777 | 6792 42e0 8091 0000 lds r24,HeightTrimmingFlag.3091 |
||
6778 | 6793 42e4 81FF sbrs r24,1 |
||
6779 | 6794 42e6 00C0 rjmp .L421 |
||
6780 | 6795 42e8 8D7F andi r24,lo8(-3) |
||
6781 | 6796 42ea 8093 0000 sts HeightTrimmingFlag.3091,r24 |
||
6782 | 6797 42ee 8091 0000 lds r24,HoehenWert |
||
6783 | 6798 42f2 9091 0000 lds r25,(HoehenWert)+1 |
||
6784 | 6799 42f6 A091 0000 lds r26,(HoehenWert)+2 |
||
6785 | 6800 42fa B091 0000 lds r27,(HoehenWert)+3 |
||
6786 | 6801 42fe 8093 0000 sts SollHoehe,r24 |
||
6787 | 6802 4302 9093 0000 sts (SollHoehe)+1,r25 |
||
6788 | 6803 4306 A093 0000 sts (SollHoehe)+2,r26 |
||
6789 | 6804 430a B093 0000 sts (SollHoehe)+3,r27 |
||
6790 | 6805 .L421: |
||
6791 | 6806 430e 8091 0000 lds r24,HeightTrimmingFlag.3091 |
||
6792 | 6807 4312 8160 ori r24,lo8(1) |
||
6793 | 6808 4314 8093 0000 sts HeightTrimmingFlag.3091,r24 |
||
6794 | 6809 4318 2091 0000 lds r18,StickGas |
||
6795 | 6810 431c 3091 0000 lds r19,(StickGas)+1 |
||
6796 | 6811 4320 2F50 subi r18,lo8(-(-15)) |
||
6797 | 6812 4322 3040 sbci r19,hi8(-(-15)) |
||
6798 | 6813 4324 8091 0000 lds r24,StickGasHover.3083 |
||
6799 | 6814 4328 9091 0000 lds r25,(StickGasHover.3083)+1 |
||
6800 | 6815 432c 281B sub r18,r24 |
||
6801 | 6816 432e 390B sbc r19,r25 |
||
6802 | 6817 4330 37FF sbrs r19,7 |
||
6803 | 6818 4332 00C0 rjmp .L422 |
||
6804 | 6819 4334 3095 com r19 |
||
6805 | 6820 4336 2195 neg r18 |
||
6806 | 6821 4338 3F4F sbci r19,lo8(-1) |
||
6807 | 6822 .L422: |
||
6808 | 6823 433a 8091 0000 lds r24,HeightTrimming.3081 |
||
6809 | 6824 433e 9091 0000 lds r25,(HeightTrimming.3081)+1 |
||
6810 | 6825 4342 820F add r24,r18 |
||
6811 | 6826 4344 931F adc r25,r19 |
||
6812 | 6827 4346 9093 0000 sts (HeightTrimming.3081)+1,r25 |
||
6813 | 6828 434a 8093 0000 sts HeightTrimming.3081,r24 |
||
6814 | 6829 434e 8BE2 ldi r24,lo8(43) |
||
6815 | 6830 4350 00C0 rjmp .L537 |
||
6816 | 6831 .L420: |
||
6817 | 6832 4352 2F50 subi r18,lo8(-(-15)) |
||
6818 | 6833 4354 3040 sbci r19,hi8(-(-15)) |
||
6819 | 6834 4356 4217 cp r20,r18 |
||
6820 | 6835 4358 5307 cpc r21,r19 |
||
6821 | 6836 435a 04F4 brge .L424 |
||
6822 | 6837 435c 8091 0000 lds r24,BaroAtLowerLimit.3089 |
||
6823 | 6838 4360 8823 tst r24 |
||
6824 | 6839 4362 01F4 brne .L424 |
||
6825 | 6840 4364 8091 0000 lds r24,HeightTrimmingFlag.3091 |
||
6826 | 6841 4368 80FF sbrs r24,0 |
||
6827 | 6842 436a 00C0 rjmp .L425 |
||
6828 | 6843 436c 8E7F andi r24,lo8(-2) |
||
6829 | 6844 436e 8093 0000 sts HeightTrimmingFlag.3091,r24 |
||
6830 | 6845 4372 8091 0000 lds r24,HoehenWert |
||
6831 | 6846 4376 9091 0000 lds r25,(HoehenWert)+1 |
||
6832 | 6847 437a A091 0000 lds r26,(HoehenWert)+2 |
||
6833 | 6848 437e B091 0000 lds r27,(HoehenWert)+3 |
||
6834 | 6849 4382 8093 0000 sts SollHoehe,r24 |
||
6835 | 6850 4386 9093 0000 sts (SollHoehe)+1,r25 |
||
6836 | 6851 438a A093 0000 sts (SollHoehe)+2,r26 |
||
6837 | 6852 438e B093 0000 sts (SollHoehe)+3,r27 |
||
6838 | 6853 .L425: |
||
6839 | 6854 4392 8091 0000 lds r24,HeightTrimmingFlag.3091 |
||
6840 | 6855 4396 8260 ori r24,lo8(2) |
||
6841 | 6856 4398 8093 0000 sts HeightTrimmingFlag.3091,r24 |
||
6842 | 6857 439c 2091 0000 lds r18,StickGas |
||
6843 | 6858 43a0 3091 0000 lds r19,(StickGas)+1 |
||
6844 | 6859 43a4 215F subi r18,lo8(-(15)) |
||
6845 | 6860 43a6 3F4F sbci r19,hi8(-(15)) |
||
6846 | 6861 43a8 8091 0000 lds r24,StickGasHover.3083 |
||
6847 | 6862 43ac 9091 0000 lds r25,(StickGasHover.3083)+1 |
||
6848 | 6863 43b0 281B sub r18,r24 |
||
6849 | 6864 43b2 390B sbc r19,r25 |
||
6850 | 6865 43b4 37FF sbrs r19,7 |
||
6851 | 6866 43b6 00C0 rjmp .L426 |
||
6852 | 6867 43b8 3095 com r19 |
||
6853 | 6868 43ba 2195 neg r18 |
||
6854 | 6869 43bc 3F4F sbci r19,lo8(-1) |
||
6855 | 6870 .L426: |
||
6856 | 6871 43be 8091 0000 lds r24,HeightTrimming.3081 |
||
6857 | 6872 43c2 9091 0000 lds r25,(HeightTrimming.3081)+1 |
||
6858 | 6873 43c6 821B sub r24,r18 |
||
6859 | 6874 43c8 930B sbc r25,r19 |
||
6860 | 6875 43ca 9093 0000 sts (HeightTrimming.3081)+1,r25 |
||
6861 | 6876 43ce 8093 0000 sts HeightTrimming.3081,r24 |
||
6862 | 6877 43d2 8DE2 ldi r24,lo8(45) |
||
6863 | 6878 43d4 00C0 rjmp .L537 |
||
6864 | 6879 .L424: |
||
6865 | 6880 43d6 2091 0000 lds r18,HeightTrimmingFlag.3091 |
||
6866 | 6881 43da 822F mov r24,r18 |
||
6867 | 6882 43dc 90E0 ldi r25,lo8(0) |
||
6868 | 6883 43de 8370 andi r24,lo8(3) |
||
6869 | 6884 43e0 9070 andi r25,hi8(3) |
||
6870 | 6885 43e2 892B or r24,r25 |
||
6871 | 6886 43e4 01F0 breq .L427 |
||
6872 | 6887 43e6 2C7F andi r18,lo8(-4) |
||
6873 | 6888 43e8 2093 0000 sts HeightTrimmingFlag.3091,r18 |
||
6874 | 6889 43ec 1092 0000 sts (HeightTrimming.3081)+1,__zero_reg__ |
||
6875 | 6890 43f0 1092 0000 sts HeightTrimming.3081,__zero_reg__ |
||
6876 | 6891 43f4 8091 0000 lds r24,HoehenWert |
||
6877 | 6892 43f8 9091 0000 lds r25,(HoehenWert)+1 |
||
6878 | 6893 43fc A091 0000 lds r26,(HoehenWert)+2 |
||
6879 | 6894 4400 B091 0000 lds r27,(HoehenWert)+3 |
||
6880 | 6895 4404 8093 0000 sts SollHoehe,r24 |
||
6881 | 6896 4408 9093 0000 sts (SollHoehe)+1,r25 |
||
6882 | 6897 440c A093 0000 sts (SollHoehe)+2,r26 |
||
6883 | 6898 4410 B093 0000 sts (SollHoehe)+3,r27 |
||
6884 | 6899 4414 8091 0000 lds r24,EE_Parameter+99 |
||
6885 | 6900 4418 81FF sbrs r24,1 |
||
6886 | 6901 441a 00C0 rjmp .L428 |
||
6887 | 6902 441c 84EF ldi r24,lo8(500) |
||
6888 | 6903 441e 91E0 ldi r25,hi8(500) |
||
6889 | 6904 4420 9093 0000 sts (beeptime)+1,r25 |
||
6890 | 6905 4424 8093 0000 sts beeptime,r24 |
||
6891 | 6906 .L428: |
||
6892 | 6907 4428 8091 0000 lds r24,StartTrigger |
||
6893 | 6908 442c 8823 tst r24 |
||
6894 | 6909 442e 01F4 brne .L427 |
||
6895 | 6910 4430 8091 0000 lds r24,HoehenWert |
||
6896 | 6911 4434 9091 0000 lds r25,(HoehenWert)+1 |
||
6897 | 6912 4438 A091 0000 lds r26,(HoehenWert)+2 |
||
6898 | 6913 443c B091 0000 lds r27,(HoehenWert)+3 |
||
6899 | 6914 4440 C397 sbiw r24,51 |
||
6900 | 6915 4442 A105 cpc r26,__zero_reg__ |
||
6901 | 6916 4444 B105 cpc r27,__zero_reg__ |
||
6902 | 6917 4446 04F0 brlt .L427 |
||
6903 | 6918 4448 81E0 ldi r24,lo8(1) |
||
6904 | 6919 444a 8093 0000 sts StartTrigger,r24 |
||
6905 | 6920 .L427: |
||
6906 | 6921 444e 8DE3 ldi r24,lo8(61) |
||
6907 | 6922 .L537: |
||
6908 | 6923 4450 8093 0000 sts VarioCharacter,r24 |
||
6909 | 6924 4454 2091 0000 lds r18,HeightTrimming.3081 |
||
6910 | 6925 4458 3091 0000 lds r19,(HeightTrimming.3081)+1 |
||
6911 | 6926 445c C901 movw r24,r18 |
||
6912 | 6927 445e 37FF sbrs r19,7 |
||
6913 | 6928 4460 00C0 rjmp .L430 |
||
6914 | 6929 4462 8827 clr r24 |
||
6915 | 6930 4464 9927 clr r25 |
||
6916 | 6931 4466 821B sub r24,r18 |
||
6917 | 6932 4468 930B sbc r25,r19 |
||
6918 | 6933 .L430: |
||
6919 | 6934 446a 8150 subi r24,lo8(513) |
||
6920 | 6935 446c 9240 sbci r25,hi8(513) |
||
6921 | 6936 446e 04F4 brge .+2 |
||
6922 | 6937 4470 00C0 rjmp .L429 |
||
6923 | 6938 4472 8091 0000 lds r24,EE_Parameter+18 |
||
6924 | 6939 4476 90E0 ldi r25,lo8(0) |
||
6925 | 6940 4478 AC01 movw r20,r24 |
||
6926 | 6941 447a 429F mul r20,r18 |
||
6927 | 6942 447c C001 movw r24,r0 |
||
6928 | 6943 447e 439F mul r20,r19 |
||
6929 | 6944 4480 900D add r25,r0 |
||
6930 | 6945 4482 529F mul r21,r18 |
||
6931 | 6946 4484 900D add r25,r0 |
||
6932 | 6947 4486 1124 clr r1 |
||
6933 | 6948 4488 60E0 ldi r22,lo8(1280) |
||
6934 | 6949 448a 75E0 ldi r23,hi8(1280) |
||
6935 | 6950 448c 0E94 0000 call __divmodhi4 |
||
6936 | 6951 4490 8827 clr r24 |
||
6937 | 6952 4492 77FD sbrc r23,7 |
||
6938 | 6953 4494 8095 com r24 |
||
6939 | 6954 4496 982F mov r25,r24 |
||
6940 | 6955 4498 E090 0000 lds r14,SollHoehe |
||
6941 | 6956 449c F090 0000 lds r15,(SollHoehe)+1 |
||
6942 | 6957 44a0 0091 0000 lds r16,(SollHoehe)+2 |
||
6943 | 6958 44a4 1091 0000 lds r17,(SollHoehe)+3 |
||
6944 | 6959 44a8 E60E add r14,r22 |
||
6945 | 6960 44aa F71E adc r15,r23 |
||
6946 | 6961 44ac 081F adc r16,r24 |
||
6947 | 6962 44ae 191F adc r17,r25 |
||
6948 | 6963 44b0 E092 0000 sts SollHoehe,r14 |
||
6949 | 6964 44b4 F092 0000 sts (SollHoehe)+1,r15 |
||
6950 | 6965 44b8 0093 0000 sts (SollHoehe)+2,r16 |
||
6951 | 6966 44bc 1093 0000 sts (SollHoehe)+3,r17 |
||
6952 | 6967 44c0 1092 0000 sts (HeightTrimming.3081)+1,__zero_reg__ |
||
6953 | 6968 44c4 1092 0000 sts HeightTrimming.3081,__zero_reg__ |
||
6954 | 6969 44c8 2091 0000 lds r18,HoehenWert |
||
6955 | 6970 44cc 3091 0000 lds r19,(HoehenWert)+1 |
||
6956 | 6971 44d0 4091 0000 lds r20,(HoehenWert)+2 |
||
6957 | 6972 44d4 5091 0000 lds r21,(HoehenWert)+3 |
||
6958 | 6973 44d8 DA01 movw r26,r20 |
||
6959 | 6974 44da C901 movw r24,r18 |
||
6960 | 6975 44dc 8F5F subi r24,lo8(-(-1023)) |
||
6961 | 6976 44de 9340 sbci r25,hi8(-(-1023)) |
||
6962 | 6977 44e0 A040 sbci r26,hlo8(-(-1023)) |
||
6963 | 6978 44e2 B040 sbci r27,hhi8(-(-1023)) |
||
6964 | 6979 44e4 E816 cp r14,r24 |
||
6965 | 6980 44e6 F906 cpc r15,r25 |
||
6966 | 6981 44e8 0A07 cpc r16,r26 |
||
6967 | 6982 44ea 1B07 cpc r17,r27 |
||
6968 | 6983 44ec 04F4 brge .L431 |
||
6969 | 6984 44ee 2050 subi r18,lo8(-(-1024)) |
||
6970 | 6985 44f0 3440 sbci r19,hi8(-(-1024)) |
||
6971 | 6986 44f2 4040 sbci r20,hlo8(-(-1024)) |
||
6972 | 6987 44f4 5040 sbci r21,hhi8(-(-1024)) |
||
6973 | 6988 44f6 00C0 rjmp .L538 |
||
6974 | 6989 .L431: |
||
6975 | 6990 44f8 DA01 movw r26,r20 |
||
6976 | 6991 44fa C901 movw r24,r18 |
||
6977 | 6992 44fc 8150 subi r24,lo8(-(1023)) |
||
6978 | 6993 44fe 9C4F sbci r25,hi8(-(1023)) |
||
6979 | 6994 4500 AF4F sbci r26,hlo8(-(1023)) |
||
6980 | 6995 4502 BF4F sbci r27,hhi8(-(1023)) |
||
6981 | 6996 4504 8E15 cp r24,r14 |
||
6982 | 6997 4506 9F05 cpc r25,r15 |
||
6983 | 6998 4508 A007 cpc r26,r16 |
||
6984 | 6999 450a B107 cpc r27,r17 |
||
6985 | 7000 450c 04F4 brge .L432 |
||
6986 | 7001 450e 2050 subi r18,lo8(-(1024)) |
||
6987 | 7002 4510 3C4F sbci r19,hi8(-(1024)) |
||
6988 | 7003 4512 4F4F sbci r20,hlo8(-(1024)) |
||
6989 | 7004 4514 5F4F sbci r21,hhi8(-(1024)) |
||
6990 | 7005 .L538: |
||
6991 | 7006 4516 2093 0000 sts SollHoehe,r18 |
||
6992 | 7007 451a 3093 0000 sts (SollHoehe)+1,r19 |
||
6993 | 7008 451e 4093 0000 sts (SollHoehe)+2,r20 |
||
6994 | 7009 4522 5093 0000 sts (SollHoehe)+3,r21 |
||
6995 | 7010 .L432: |
||
6996 | 7011 4526 8091 0000 lds r24,EE_Parameter+99 |
||
6997 | 7012 452a 81FF sbrs r24,1 |
||
6998 | 7013 452c 00C0 rjmp .L433 |
||
6999 | 7014 452e 84E6 ldi r24,lo8(100) |
||
7000 | 7015 4530 90E0 ldi r25,hi8(100) |
||
7001 | 7016 4532 9093 0000 sts (beeptime)+1,r25 |
||
7002 | 7017 4536 8093 0000 sts beeptime,r24 |
||
7003 | 7018 .L433: |
||
7004 | 7019 453a 8091 0000 lds r24,EE_Parameter+22 |
||
7005 | 7020 453e 8823 tst r24 |
||
7006 | 7021 4540 01F4 brne .L429 |
||
7007 | 7022 4542 8091 0000 lds r24,HoverGas |
||
7008 | 7023 4546 9091 0000 lds r25,(HoverGas)+1 |
||
7009 | 7024 454a 64E0 ldi r22,lo8(4) |
||
7010 | 7025 454c 70E0 ldi r23,hi8(4) |
||
7011 | 7026 454e 0E94 0000 call __divmodhi4 |
||
7012 | 7027 4552 CB01 movw r24,r22 |
||
7013 | 7028 4554 7093 0000 sts (StickGasHover.3083)+1,r23 |
||
7014 | 7029 4558 6093 0000 sts StickGasHover.3083,r22 |
||
7015 | 7030 455c 2091 0000 lds r18,UBat |
||
7016 | 7031 4560 3091 0000 lds r19,(UBat)+1 |
||
7017 | 7032 4564 6091 0000 lds r22,BattLowVoltageWarning |
||
7018 | 7033 4568 DC01 movw r26,r24 |
||
7019 | 7034 456a A29F mul r26,r18 |
||
7020 | 7035 456c C001 movw r24,r0 |
||
7021 | 7036 456e A39F mul r26,r19 |
||
7022 | 7037 4570 900D add r25,r0 |
||
7023 | 7038 4572 B29F mul r27,r18 |
||
7024 | 7039 4574 900D add r25,r0 |
||
7025 | 7040 4576 1124 clr r1 |
||
7026 | 7041 4578 70E0 ldi r23,lo8(0) |
||
7027 | 7042 457a 0E94 0000 call __divmodhi4 |
||
7028 | 7043 457e 7093 0000 sts (StickGasHover.3083)+1,r23 |
||
7029 | 7044 4582 6093 0000 sts StickGasHover.3083,r22 |
||
7030 | 7045 4586 6634 cpi r22,70 |
||
7031 | 7046 4588 7105 cpc r23,__zero_reg__ |
||
7032 | 7047 458a 04F4 brge .L434 |
||
7033 | 7048 458c 86E4 ldi r24,lo8(70) |
||
7034 | 7049 458e 90E0 ldi r25,hi8(70) |
||
7035 | 7050 4590 00C0 rjmp .L539 |
||
7036 | 7051 .L434: |
||
7037 | 7052 4592 6739 cpi r22,151 |
||
7038 | 7053 4594 7105 cpc r23,__zero_reg__ |
||
7039 | 7054 4596 04F0 brlt .L429 |
||
7040 | 7055 4598 86E9 ldi r24,lo8(150) |
||
7041 | 7056 459a 90E0 ldi r25,hi8(150) |
||
7042 | 7057 .L539: |
||
7043 | 7058 459c 9093 0000 sts (StickGasHover.3083)+1,r25 |
||
7044 | 7059 45a0 8093 0000 sts StickGasHover.3083,r24 |
||
7045 | 7060 .L429: |
||
7046 | 7061 45a4 8091 0000 lds r24,BaroExpandActive |
||
7047 | 7062 45a8 9091 0000 lds r25,(BaroExpandActive)+1 |
||
7048 | 7063 45ac 892B or r24,r25 |
||
7049 | 7064 45ae 01F0 breq .L435 |
||
7050 | 7065 45b0 8091 0000 lds r24,HoehenWert |
||
7051 | 7066 45b4 9091 0000 lds r25,(HoehenWert)+1 |
||
7052 | 7067 45b8 A091 0000 lds r26,(HoehenWert)+2 |
||
7053 | 7068 45bc B091 0000 lds r27,(HoehenWert)+3 |
||
7054 | 7069 45c0 8093 0000 sts SollHoehe,r24 |
||
7055 | 7070 45c4 9093 0000 sts (SollHoehe)+1,r25 |
||
7056 | 7071 45c8 A093 0000 sts (SollHoehe)+2,r26 |
||
7057 | 7072 45cc B093 0000 sts (SollHoehe)+3,r27 |
||
7058 | 7073 45d0 00C0 rjmp .L435 |
||
7059 | 7074 .L419: |
||
7060 | 7075 45d2 8091 0000 lds r24,HoehenWert |
||
7061 | 7076 45d6 9091 0000 lds r25,(HoehenWert)+1 |
||
7062 | 7077 45da A091 0000 lds r26,(HoehenWert)+2 |
||
7063 | 7078 45de B091 0000 lds r27,(HoehenWert)+3 |
||
7064 | 7079 45e2 8059 subi r24,lo8(-(-400)) |
||
7065 | 7080 45e4 9140 sbci r25,hi8(-(-400)) |
||
7066 | 7081 45e6 A040 sbci r26,hlo8(-(-400)) |
||
7067 | 7082 45e8 B040 sbci r27,hhi8(-(-400)) |
||
7068 | 7083 45ea 8093 0000 sts SollHoehe,r24 |
||
7069 | 7084 45ee 9093 0000 sts (SollHoehe)+1,r25 |
||
7070 | 7085 45f2 A093 0000 sts (SollHoehe)+2,r26 |
||
7071 | 7086 45f6 B093 0000 sts (SollHoehe)+3,r27 |
||
7072 | 7087 45fa 8091 0000 lds r24,EE_Parameter+22 |
||
7073 | 7088 45fe 8823 tst r24 |
||
7074 | 7089 4600 01F0 breq .L436 |
||
7075 | 7090 4602 8093 0000 sts StickGasHover.3083,r24 |
||
7076 | 7091 4606 1092 0000 sts StickGasHover.3083+1,__zero_reg__ |
||
7077 | 7092 460a 00C0 rjmp .L437 |
||
7078 | 7093 .L436: |
||
7079 | 7094 460c 88E7 ldi r24,lo8(120) |
||
7080 | 7095 460e 90E0 ldi r25,hi8(120) |
||
7081 | 7096 4610 9093 0000 sts (StickGasHover.3083)+1,r25 |
||
7082 | 7097 4614 8093 0000 sts StickGasHover.3083,r24 |
||
7083 | 7098 .L437: |
||
7084 | 7099 4618 5092 0000 sts (HoverGas)+1,r5 |
||
7085 | 7100 461c 4092 0000 sts HoverGas,r4 |
||
7086 | 7101 .L435: |
||
7087 | 7102 4620 2090 0000 lds r2,HoverGas |
||
7088 | 7103 4624 3090 0000 lds r3,(HoverGas)+1 |
||
7089 | 7104 .L418: |
||
7090 | 7105 4628 E090 0000 lds r14,HoehenWert |
||
7091 | 7106 462c F090 0000 lds r15,(HoehenWert)+1 |
||
7092 | 7107 4630 0091 0000 lds r16,(HoehenWert)+2 |
||
7093 | 7108 4634 1091 0000 lds r17,(HoehenWert)+3 |
||
7094 | 7109 4638 2091 0000 lds r18,SollHoehe |
||
7095 | 7110 463c 3091 0000 lds r19,(SollHoehe)+1 |
||
7096 | 7111 4640 4091 0000 lds r20,(SollHoehe)+2 |
||
7097 | 7112 4644 5091 0000 lds r21,(SollHoehe)+3 |
||
7098 | 7113 4648 2E15 cp r18,r14 |
||
7099 | 7114 464a 3F05 cpc r19,r15 |
||
7100 | 7115 464c 4007 cpc r20,r16 |
||
7101 | 7116 464e 5107 cpc r21,r17 |
||
7102 | 7117 4650 04F0 brlt .L438 |
||
7103 | 7118 4652 8091 0000 lds r24,EE_Parameter+99 |
||
7104 | 7119 4656 80FD sbrc r24,0 |
||
7105 | 7120 4658 00C0 rjmp .L439 |
||
7106 | 7121 .L438: |
||
7107 | 7122 465a 8091 0000 lds r24,BaroExpandActive |
||
7108 | 7123 465e 9091 0000 lds r25,(BaroExpandActive)+1 |
||
7109 | 7124 4662 892B or r24,r25 |
||
7110 | 7125 4664 01F0 breq .L440 |
||
7111 | 7126 4666 2090 0000 lds r2,HoverGas |
||
7112 | 7127 466a 3090 0000 lds r3,(HoverGas)+1 |
||
7113 | 7128 466e AA24 clr r10 |
||
7114 | 7129 4670 BB24 clr r11 |
||
7115 | 7130 4672 CC24 clr r12 |
||
7116 | 7131 4674 DD24 clr r13 |
||
7117 | 7132 4676 00C0 rjmp .L441 |
||
7118 | 7133 .L440: |
||
7119 | 7134 4678 D801 movw r26,r16 |
||
7120 | 7135 467a C701 movw r24,r14 |
||
7121 | 7136 467c 821B sub r24,r18 |
||
7122 | 7137 467e 930B sbc r25,r19 |
||
7123 | 7138 4680 A40B sbc r26,r20 |
||
7124 | 7139 4682 B50B sbc r27,r21 |
||
7125 | 7140 4684 8093 0000 sts tmp_long.3043,r24 |
||
7126 | 7141 4688 9093 0000 sts (tmp_long.3043)+1,r25 |
||
7127 | 7142 468c A093 0000 sts (tmp_long.3043)+2,r26 |
||
7128 | 7143 4690 B093 0000 sts (tmp_long.3043)+3,r27 |
||
7129 | 7144 4694 8230 cpi r24,lo8(-32766) |
||
7130 | 7145 4696 E0E8 ldi r30,hi8(-32766) |
||
7131 | 7146 4698 9E07 cpc r25,r30 |
||
7132 | 7147 469a EFEF ldi r30,hlo8(-32766) |
||
7133 | 7148 469c AE07 cpc r26,r30 |
||
7134 | 7149 469e EFEF ldi r30,hhi8(-32766) |
||
7135 | 7150 46a0 BE07 cpc r27,r30 |
||
7136 | 7151 46a2 04F4 brge .L442 |
||
7137 | 7152 46a4 81E0 ldi r24,lo8(-32767) |
||
7138 | 7153 46a6 90E8 ldi r25,hi8(-32767) |
||
7139 | 7154 46a8 AFEF ldi r26,hlo8(-32767) |
||
7140 | 7155 46aa BFEF ldi r27,hhi8(-32767) |
||
7141 | 7156 46ac 00C0 rjmp .L540 |
||
7142 | 7157 .L442: |
||
7143 | 7158 46ae 8F5F subi r24,lo8(32767) |
||
7144 | 7159 46b0 9F47 sbci r25,hi8(32767) |
||
7145 | 7160 46b2 A040 sbci r26,hlo8(32767) |
||
7146 | 7161 46b4 B040 sbci r27,hhi8(32767) |
||
7147 | 7162 46b6 04F0 brlt .L443 |
||
7148 | 7163 46b8 8FEF ldi r24,lo8(32767) |
||
7149 | 7164 46ba 9FE7 ldi r25,hi8(32767) |
||
7150 | 7165 46bc A0E0 ldi r26,hlo8(32767) |
||
7151 | 7166 46be B0E0 ldi r27,hhi8(32767) |
||
7152 | 7167 .L540: |
||
7153 | 7168 46c0 8093 0000 sts tmp_long.3043,r24 |
||
7154 | 7169 46c4 9093 0000 sts (tmp_long.3043)+1,r25 |
||
7155 | 7170 46c8 A093 0000 sts (tmp_long.3043)+2,r26 |
||
7156 | 7171 46cc B093 0000 sts (tmp_long.3043)+3,r27 |
||
7157 | 7172 .L443: |
||
7158 | 7173 46d0 E090 0000 lds r14,tmp_long.3043 |
||
7159 | 7174 46d4 F090 0000 lds r15,(tmp_long.3043)+1 |
||
7160 | 7175 46d8 0091 0000 lds r16,(tmp_long.3043)+2 |
||
7161 | 7176 46dc 1091 0000 lds r17,(tmp_long.3043)+3 |
||
7162 | 7177 46e0 6091 0000 lds r22,Parameter_Hoehe_P |
||
7163 | 7178 46e4 70E0 ldi r23,lo8(0) |
||
7164 | 7179 46e6 80E0 ldi r24,lo8(0) |
||
7165 | 7180 46e8 90E0 ldi r25,hi8(0) |
||
7166 | 7181 46ea A801 movw r20,r16 |
||
7167 | 7182 46ec 9701 movw r18,r14 |
||
7168 | 7183 46ee 0E94 0000 call __mulsi3 |
||
7169 | 7184 46f2 20E2 ldi r18,lo8(32) |
||
7170 | 7185 46f4 30E0 ldi r19,hi8(32) |
||
7171 | 7186 46f6 40E0 ldi r20,hlo8(32) |
||
7172 | 7187 46f8 50E0 ldi r21,hhi8(32) |
||
7173 | 7188 46fa 0E94 0000 call __divmodsi4 |
||
7174 | 7189 46fe C901 movw r24,r18 |
||
7175 | 7190 4700 DA01 movw r26,r20 |
||
7176 | 7191 4702 8093 0000 sts tmp_long.3043,r24 |
||
7177 | 7192 4706 9093 0000 sts (tmp_long.3043)+1,r25 |
||
7178 | 7193 470a A093 0000 sts (tmp_long.3043)+2,r26 |
||
7179 | 7194 470e B093 0000 sts (tmp_long.3043)+3,r27 |
||
7180 | 7195 4712 8530 cpi r24,lo8(-507) |
||
7181 | 7196 4714 2EEF ldi r18,hi8(-507) |
||
7182 | 7197 4716 9207 cpc r25,r18 |
||
7183 | 7198 4718 2FEF ldi r18,hlo8(-507) |
||
7184 | 7199 471a A207 cpc r26,r18 |
||
7185 | 7200 471c 2FEF ldi r18,hhi8(-507) |
||
7186 | 7201 471e B207 cpc r27,r18 |
||
7187 | 7202 4720 04F4 brge .L444 |
||
7188 | 7203 4722 84E0 ldi r24,lo8(-508) |
||
7189 | 7204 4724 9EEF ldi r25,hi8(-508) |
||
7190 | 7205 4726 AFEF ldi r26,hlo8(-508) |
||
7191 | 7206 4728 BFEF ldi r27,hhi8(-508) |
||
7192 | 7207 472a 00C0 rjmp .L541 |
||
7193 | 7208 .L444: |
||
7194 | 7209 472c 8050 subi r24,lo8(1024) |
||
7195 | 7210 472e 9440 sbci r25,hi8(1024) |
||
7196 | 7211 4730 A040 sbci r26,hlo8(1024) |
||
7197 | 7212 4732 B040 sbci r27,hhi8(1024) |
||
7198 | 7213 4734 04F0 brlt .L445 |
||
7199 | 7214 4736 80E0 ldi r24,lo8(1024) |
||
7200 | 7215 4738 94E0 ldi r25,hi8(1024) |
||
7201 | 7216 473a A0E0 ldi r26,hlo8(1024) |
||
7202 | 7217 473c B0E0 ldi r27,hhi8(1024) |
||
7203 | 7218 .L541: |
||
7204 | 7219 473e 8093 0000 sts tmp_long.3043,r24 |
||
7205 | 7220 4742 9093 0000 sts (tmp_long.3043)+1,r25 |
||
7206 | 7221 4746 A093 0000 sts (tmp_long.3043)+2,r26 |
||
7207 | 7222 474a B093 0000 sts (tmp_long.3043)+3,r27 |
||
7208 | 7223 .L445: |
||
7209 | 7224 474e 6090 0000 lds r6,tmp_long.3043 |
||
7210 | 7225 4752 7090 0000 lds r7,(tmp_long.3043)+1 |
||
7211 | 7226 4756 8090 0000 lds r8,(tmp_long.3043)+2 |
||
7212 | 7227 475a 9090 0000 lds r9,(tmp_long.3043)+3 |
||
7213 | 7228 475e 8091 0000 lds r24,VarioMeter |
||
7214 | 7229 4762 9091 0000 lds r25,(VarioMeter)+1 |
||
7215 | 7230 4766 68E0 ldi r22,lo8(8) |
||
7216 | 7231 4768 70E0 ldi r23,hi8(8) |
||
7217 | 7232 476a 0E94 0000 call __divmodhi4 |
||
7218 | 7233 476e 9B01 movw r18,r22 |
||
7219 | 7234 4770 4FEF ldi r20,hi8(-126) |
||
7220 | 7235 4772 6238 cpi r22,lo8(-126) |
||
7221 | 7236 4774 7407 cpc r23,r20 |
||
7222 | 7237 4776 04F4 brge .L446 |
||
7223 | 7238 4778 21E8 ldi r18,lo8(-127) |
||
7224 | 7239 477a 3FEF ldi r19,hi8(-127) |
||
7225 | 7240 477c 00C0 rjmp .L447 |
||
7226 | 7241 .L446: |
||
7227 | 7242 477e 6038 cpi r22,128 |
||
7228 | 7243 4780 7105 cpc r23,__zero_reg__ |
||
7229 | 7244 4782 04F0 brlt .L447 |
||
7230 | 7245 4784 20E8 ldi r18,lo8(128) |
||
7231 | 7246 4786 30E0 ldi r19,hi8(128) |
||
7232 | 7247 .L447: |
||
7233 | 7248 4788 B901 movw r22,r18 |
||
7234 | 7249 478a 8827 clr r24 |
||
7235 | 7250 478c 77FD sbrc r23,7 |
||
7236 | 7251 478e 8095 com r24 |
||
7237 | 7252 4790 982F mov r25,r24 |
||
7238 | 7253 4792 2091 0000 lds r18,Parameter_Luftdruck_D |
||
7239 | 7254 4796 30E0 ldi r19,lo8(0) |
||
7240 | 7255 4798 40E0 ldi r20,lo8(0) |
||
7241 | 7256 479a 50E0 ldi r21,hi8(0) |
||
7242 | 7257 479c 0E94 0000 call __mulsi3 |
||
7243 | 7258 47a0 24E0 ldi r18,lo8(4) |
||
7244 | 7259 47a2 30E0 ldi r19,hi8(4) |
||
7245 | 7260 47a4 40E0 ldi r20,hlo8(4) |
||
7246 | 7261 47a6 50E0 ldi r21,hhi8(4) |
||
7247 | 7262 47a8 0E94 0000 call __divmodsi4 |
||
7248 | 7263 47ac 5FEF ldi r21,hi8(-255) |
||
7249 | 7264 47ae 2130 cpi r18,lo8(-255) |
||
7250 | 7265 47b0 3507 cpc r19,r21 |
||
7251 | 7266 47b2 04F4 brge .L448 |
||
7252 | 7267 47b4 20E0 ldi r18,lo8(-256) |
||
7253 | 7268 47b6 3FEF ldi r19,hi8(-256) |
||
7254 | 7269 47b8 00C0 rjmp .L449 |
||
7255 | 7270 .L448: |
||
7256 | 7271 47ba 2F3F cpi r18,255 |
||
7257 | 7272 47bc 3105 cpc r19,__zero_reg__ |
||
7258 | 7273 47be 01F0 breq .L449 |
||
7259 | 7274 47c0 04F0 brlt .L449 |
||
7260 | 7275 47c2 20E0 ldi r18,lo8(256) |
||
7261 | 7276 47c4 31E0 ldi r19,hi8(256) |
||
7262 | 7277 .L449: |
||
7263 | 7278 47c6 8091 0000 lds r24,HeightTrimmingFlag.3091 |
||
7264 | 7279 47ca 8823 tst r24 |
||
7265 | 7280 47cc 01F0 breq .L450 |
||
7266 | 7281 47ce C901 movw r24,r18 |
||
7267 | 7282 47d0 64E0 ldi r22,lo8(4) |
||
7268 | 7283 47d2 70E0 ldi r23,hi8(4) |
||
7269 | 7284 47d4 00C0 rjmp .L542 |
||
7270 | 7285 .L450: |
||
7271 | 7286 47d6 8091 0000 lds r24,EE_Parameter+99 |
||
7272 | 7287 47da 80FF sbrs r24,0 |
||
7273 | 7288 47dc 00C0 rjmp .L451 |
||
7274 | 7289 47de C901 movw r24,r18 |
||
7275 | 7290 47e0 68E0 ldi r22,lo8(8) |
||
7276 | 7291 47e2 70E0 ldi r23,hi8(8) |
||
7277 | 7292 .L542: |
||
7278 | 7293 47e4 0E94 0000 call __divmodhi4 |
||
7279 | 7294 47e8 9B01 movw r18,r22 |
||
7280 | 7295 .L451: |
||
7281 | 7296 47ea 5701 movw r10,r14 |
||
7282 | 7297 47ec 6301 movw r12,r6 |
||
7283 | 7298 47ee C20E add r12,r18 |
||
7284 | 7299 47f0 D31E adc r13,r19 |
||
7285 | 7300 .L441: |
||
7286 | 7301 47f2 E090 0000 lds r14,Parameter_Hoehe_ACC_Wirkung |
||
7287 | 7302 47f6 EE20 tst r14 |
||
7288 | 7303 47f8 01F4 brne .+2 |
||
7289 | 7304 47fa 00C0 rjmp .L452 |
||
7290 | 7305 47fc 6091 0000 lds r22,Mess_Integral_Hoch |
||
7291 | 7306 4800 7091 0000 lds r23,(Mess_Integral_Hoch)+1 |
||
7292 | 7307 4804 8091 0000 lds r24,(Mess_Integral_Hoch)+2 |
||
7293 | 7308 4808 9091 0000 lds r25,(Mess_Integral_Hoch)+3 |
||
7294 | 7309 480c FF24 clr r15 |
||
7295 | 7310 480e 00E0 ldi r16,lo8(0) |
||
7296 | 7311 4810 10E0 ldi r17,hi8(0) |
||
7297 | 7312 4812 20E8 ldi r18,lo8(128) |
||
7298 | 7313 4814 30E0 ldi r19,hi8(128) |
||
7299 | 7314 4816 40E0 ldi r20,hlo8(128) |
||
7300 | 7315 4818 50E0 ldi r21,hhi8(128) |
||
7301 | 7316 481a 0E94 0000 call __divmodsi4 |
||
7302 | 7317 481e C801 movw r24,r16 |
||
7303 | 7318 4820 B701 movw r22,r14 |
||
7304 | 7319 4822 0E94 0000 call __mulsi3 |
||
7305 | 7320 4826 20E2 ldi r18,lo8(32) |
||
7306 | 7321 4828 30E0 ldi r19,hi8(32) |
||
7307 | 7322 482a 40E0 ldi r20,hlo8(32) |
||
7308 | 7323 482c 50E0 ldi r21,hhi8(32) |
||
7309 | 7324 482e 0E94 0000 call __divmodsi4 |
||
7310 | 7325 4832 C901 movw r24,r18 |
||
7311 | 7326 4834 DA01 movw r26,r20 |
||
7312 | 7327 4836 8093 0000 sts tmp_long.3043,r24 |
||
7313 | 7328 483a 9093 0000 sts (tmp_long.3043)+1,r25 |
||
7314 | 7329 483e A093 0000 sts (tmp_long.3043)+2,r26 |
||
7315 | 7330 4842 B093 0000 sts (tmp_long.3043)+3,r27 |
||
7316 | 7331 4846 8138 cpi r24,lo8(-127) |
||
7317 | 7332 4848 6FEF ldi r22,hi8(-127) |
||
7318 | 7333 484a 9607 cpc r25,r22 |
||
7319 | 7334 484c 6FEF ldi r22,hlo8(-127) |
||
7320 | 7335 484e A607 cpc r26,r22 |
||
7321 | 7336 4850 6FEF ldi r22,hhi8(-127) |
||
7322 | 7337 4852 B607 cpc r27,r22 |
||
7323 | 7338 4854 04F4 brge .L453 |
||
7324 | 7339 4856 80E8 ldi r24,lo8(-128) |
||
7325 | 7340 4858 9FEF ldi r25,hi8(-128) |
||
7326 | 7341 485a AFEF ldi r26,hlo8(-128) |
||
7327 | 7342 485c BFEF ldi r27,hhi8(-128) |
||
7328 | 7343 485e 00C0 rjmp .L543 |
||
7329 | 7344 .L453: |
||
7330 | 7345 4860 8F3F cpi r24,lo8(255) |
||
7331 | 7346 4862 9105 cpc r25,__zero_reg__ |
||
7332 | 7347 4864 A105 cpc r26,__zero_reg__ |
||
7333 | 7348 4866 B105 cpc r27,__zero_reg__ |
||
7334 | 7349 4868 01F0 breq .L454 |
||
7335 | 7350 486a 04F0 brlt .L454 |
||
7336 | 7351 486c 80E0 ldi r24,lo8(256) |
||
7337 | 7352 486e 91E0 ldi r25,hi8(256) |
||
7338 | 7353 4870 A0E0 ldi r26,hlo8(256) |
||
7339 | 7354 4872 B0E0 ldi r27,hhi8(256) |
||
7340 | 7355 .L543: |
||
7341 | 7356 4874 8093 0000 sts tmp_long.3043,r24 |
||
7342 | 7357 4878 9093 0000 sts (tmp_long.3043)+1,r25 |
||
7343 | 7358 487c A093 0000 sts (tmp_long.3043)+2,r26 |
||
7344 | 7359 4880 B093 0000 sts (tmp_long.3043)+3,r27 |
||
7345 | 7360 .L454: |
||
7346 | 7361 4884 8091 0000 lds r24,tmp_long.3043 |
||
7347 | 7362 4888 9091 0000 lds r25,(tmp_long.3043)+1 |
||
7348 | 7363 488c C80E add r12,r24 |
||
7349 | 7364 488e D91E adc r13,r25 |
||
7350 | 7365 .L452: |
||
7351 | 7366 4890 2091 0000 lds r18,FromNaviCtrl_Value+4 |
||
7352 | 7367 4894 3327 clr r19 |
||
7353 | 7368 4896 27FD sbrc r18,7 |
||
7354 | 7369 4898 3095 com r19 |
||
7355 | 7370 489a 8091 0000 lds r24,Parameter_Hoehe_GPS_Z |
||
7356 | 7371 489e 90E0 ldi r25,lo8(0) |
||
7357 | 7372 48a0 DC01 movw r26,r24 |
||
7358 | 7373 48a2 2A9F mul r18,r26 |
||
7359 | 7374 48a4 C001 movw r24,r0 |
||
7360 | 7375 48a6 2B9F mul r18,r27 |
||
7361 | 7376 48a8 900D add r25,r0 |
||
7362 | 7377 48aa 3A9F mul r19,r26 |
||
7363 | 7378 48ac 900D add r25,r0 |
||
7364 | 7379 48ae 1124 clr r1 |
||
7365 | 7380 48b0 60E8 ldi r22,lo8(128) |
||
7366 | 7381 48b2 70E0 ldi r23,hi8(128) |
||
7367 | 7382 48b4 0E94 0000 call __divmodhi4 |
||
7368 | 7383 48b8 CB01 movw r24,r22 |
||
7369 | 7384 48ba BFEF ldi r27,hi8(-127) |
||
7370 | 7385 48bc 6138 cpi r22,lo8(-127) |
||
7371 | 7386 48be 7B07 cpc r23,r27 |
||
7372 | 7387 48c0 04F4 brge .L455 |
||
7373 | 7388 48c2 80E8 ldi r24,lo8(-128) |
||
7374 | 7389 48c4 9FEF ldi r25,hi8(-128) |
||
7375 | 7390 .L455: |
||
7376 | 7391 48c6 0091 0000 lds r16,HoverGas |
||
7377 | 7392 48ca 1091 0000 lds r17,(HoverGas)+1 |
||
7378 | 7393 48ce C80E add r12,r24 |
||
7379 | 7394 48d0 D91E adc r13,r25 |
||
7380 | 7395 48d2 B601 movw r22,r12 |
||
7381 | 7396 48d4 8827 clr r24 |
||
7382 | 7397 48d6 77FD sbrc r23,7 |
||
7383 | 7398 48d8 8095 com r24 |
||
7384 | 7399 48da 982F mov r25,r24 |
||
7385 | 7400 48dc 9801 movw r18,r16 |
||
7386 | 7401 48de 4427 clr r20 |
||
7387 | 7402 48e0 37FD sbrc r19,7 |
||
7388 | 7403 48e2 4095 com r20 |
||
7389 | 7404 48e4 542F mov r21,r20 |
||
7390 | 7405 48e6 0E94 0000 call __mulsi3 |
||
7391 | 7406 48ea 20E0 ldi r18,lo8(512) |
||
7392 | 7407 48ec 32E0 ldi r19,hi8(512) |
||
7393 | 7408 48ee 40E0 ldi r20,hlo8(512) |
||
7394 | 7409 48f0 50E0 ldi r21,hhi8(512) |
||
7395 | 7410 48f2 0E94 0000 call __divmodsi4 |
||
7396 | 7411 48f6 F101 movw r30,r2 |
||
7397 | 7412 48f8 E21B sub r30,r18 |
||
7398 | 7413 48fa F30B sbc r31,r19 |
||
7399 | 7414 48fc 8091 0000 lds r24,HeightTrimming.3081 |
||
7400 | 7415 4900 9091 0000 lds r25,(HeightTrimming.3081)+1 |
||
7401 | 7416 4904 892B or r24,r25 |
||
7402 | 7417 4906 01F0 breq .+2 |
||
7403 | 7418 4908 00C0 rjmp .L456 |
||
7404 | 7419 490a 1016 cp __zero_reg__,r16 |
||
7405 | 7420 490c 1106 cpc __zero_reg__,r17 |
||
7406 | 7421 490e 04F0 brlt .+2 |
||
7407 | 7422 4910 00C0 rjmp .L456 |
||
7408 | 7423 4912 C501 movw r24,r10 |
||
7409 | 7424 4914 B7FE sbrs r11,7 |
||
7410 | 7425 4916 00C0 rjmp .L457 |
||
7411 | 7426 4918 8827 clr r24 |
||
7412 | 7427 491a 9927 clr r25 |
||
7413 | 7428 491c 8A19 sub r24,r10 |
||
7414 | 7429 491e 9B09 sbc r25,r11 |
||
7415 | 7430 .L457: |
||
7416 | 7431 4920 8D33 cpi r24,61 |
||
7417 | 7432 4922 9105 cpc r25,__zero_reg__ |
||
7418 | 7433 4924 00F4 brsh .L458 |
||
7419 | 7434 4926 2091 0000 lds r18,HoverGasMin.3084 |
||
7420 | 7435 492a 3091 0000 lds r19,(HoverGasMin.3084)+1 |
||
7421 | 7436 492e 2E17 cp r18,r30 |
||
7422 | 7437 4930 3F07 cpc r19,r31 |
||
7423 | 7438 4932 04F0 brlt .+2 |
||
7424 | 7439 4934 00C0 rjmp .L459 |
||
7425 | 7440 4936 00C0 rjmp .L463 |
||
7426 | 7441 .L458: |
||
7427 | 7442 4938 AC01 movw r20,r24 |
||
7428 | 7443 493a 4C53 subi r20,lo8(-(-60)) |
||
7429 | 7444 493c 5040 sbci r21,hi8(-(-60)) |
||
7430 | 7445 493e 85E0 ldi r24,5 |
||
7431 | 7446 4940 5695 1: lsr r21 |
||
7432 | 7447 4942 4795 ror r20 |
||
7433 | 7448 4944 8A95 dec r24 |
||
7434 | 7449 4946 01F4 brne 1b |
||
7435 | 7450 4948 4031 cpi r20,16 |
||
7436 | 7451 494a 5105 cpc r21,__zero_reg__ |
||
7437 | 7452 494c 00F0 brlo .L461 |
||
7438 | 7453 494e 4FE0 ldi r20,lo8(15) |
||
7439 | 7454 4950 50E0 ldi r21,hi8(15) |
||
7440 | 7455 .L461: |
||
7441 | 7456 4952 2091 0000 lds r18,HoverGasMin.3084 |
||
7442 | 7457 4956 3091 0000 lds r19,(HoverGasMin.3084)+1 |
||
7443 | 7458 495a 1A14 cp __zero_reg__,r10 |
||
7444 | 7459 495c 1B04 cpc __zero_reg__,r11 |
||
7445 | 7460 495e 04F4 brge .L462 |
||
7446 | 7461 4960 80E1 ldi r24,lo8(16) |
||
7447 | 7462 4962 90E0 ldi r25,hi8(16) |
||
7448 | 7463 4964 841B sub r24,r20 |
||
7449 | 7464 4966 950B sbc r25,r21 |
||
7450 | 7465 4968 829F mul r24,r18 |
||
7451 | 7466 496a B001 movw r22,r0 |
||
7452 | 7467 496c 839F mul r24,r19 |
||
7453 | 7468 496e 700D add r23,r0 |
||
7454 | 7469 4970 929F mul r25,r18 |
||
7455 | 7470 4972 700D add r23,r0 |
||
7456 | 7471 4974 1124 clr r1 |
||
7457 | 7472 4976 04E0 ldi r16,4 |
||
7458 | 7473 4978 7695 1: lsr r23 |
||
7459 | 7474 497a 6795 ror r22 |
||
7460 | 7475 497c 0A95 dec r16 |
||
7461 | 7476 497e 01F4 brne 1b |
||
7462 | 7477 4980 6E17 cp r22,r30 |
||
7463 | 7478 4982 7F07 cpc r23,r31 |
||
7464 | 7479 4984 00F4 brsh .L545 |
||
7465 | 7480 .L463: |
||
7466 | 7481 4986 8091 0000 lds r24,HoverGasMax.3085 |
||
7467 | 7482 498a 9091 0000 lds r25,(HoverGasMax.3085)+1 |
||
7468 | 7483 498e 9F01 movw r18,r30 |
||
7469 | 7484 4990 8E17 cp r24,r30 |
||
7470 | 7485 4992 9F07 cpc r25,r31 |
||
7471 | 7486 4994 04F4 brge .L459 |
||
7472 | 7487 4996 9C01 movw r18,r24 |
||
7473 | 7488 4998 00C0 rjmp .L459 |
||
7474 | 7489 .L462: |
||
7475 | 7490 499a 8091 0000 lds r24,HoverGasMax.3085 |
||
7476 | 7491 499e 9091 0000 lds r25,(HoverGasMax.3085)+1 |
||
7477 | 7492 49a2 2E17 cp r18,r30 |
||
7478 | 7493 49a4 3F07 cpc r19,r31 |
||
7479 | 7494 49a6 04F4 brge .L459 |
||
7480 | 7495 49a8 405F subi r20,lo8(-(16)) |
||
7481 | 7496 49aa 5F4F sbci r21,hi8(-(16)) |
||
7482 | 7497 49ac 489F mul r20,r24 |
||
7483 | 7498 49ae B001 movw r22,r0 |
||
7484 | 7499 49b0 499F mul r20,r25 |
||
7485 | 7500 49b2 700D add r23,r0 |
||
7486 | 7501 49b4 589F mul r21,r24 |
||
7487 | 7502 49b6 700D add r23,r0 |
||
7488 | 7503 49b8 1124 clr r1 |
||
7489 | 7504 49ba 14E0 ldi r17,4 |
||
7490 | 7505 49bc 7695 1: lsr r23 |
||
7491 | 7506 49be 6795 ror r22 |
||
7492 | 7507 49c0 1A95 dec r17 |
||
7493 | 7508 49c2 01F4 brne 1b |
||
7494 | 7509 49c4 E617 cp r30,r22 |
||
7495 | 7510 49c6 F707 cpc r31,r23 |
||
7496 | 7511 49c8 00F0 brlo .L456 |
||
7497 | 7512 .L545: |
||
7498 | 7513 49ca 9B01 movw r18,r22 |
||
7499 | 7514 49cc 00C0 rjmp .L459 |
||
7500 | 7515 .L456: |
||
7501 | 7516 49ce 9F01 movw r18,r30 |
||
7502 | 7517 .L459: |
||
7503 | 7518 49d0 B901 movw r22,r18 |
||
7504 | 7519 49d2 8827 clr r24 |
||
7505 | 7520 49d4 77FD sbrc r23,7 |
||
7506 | 7521 49d6 8095 com r24 |
||
7507 | 7522 49d8 982F mov r25,r24 |
||
7508 | 7523 49da BDE0 ldi r27,13 |
||
7509 | 7524 49dc 660F 1: lsl r22 |
||
7510 | 7525 49de 771F rol r23 |
||
7511 | 7526 49e0 881F rol r24 |
||
7512 | 7527 49e2 991F rol r25 |
||
7513 | 7528 49e4 BA95 dec r27 |
||
7514 | 7529 49e6 01F4 brne 1b |
||
7515 | 7530 49e8 E8A1 ldd r30,Y+32 |
||
7516 | 7531 49ea F9A1 ldd r31,Y+33 |
||
7517 | 7532 49ec 9F01 movw r18,r30 |
||
7518 | 7533 49ee 4427 clr r20 |
||
7519 | 7534 49f0 37FD sbrc r19,7 |
||
7520 | 7535 49f2 4095 com r20 |
||
7521 | 7536 49f4 542F mov r21,r20 |
||
7522 | 7537 49f6 0E94 0000 call __divmodsi4 |
||
7523 | 7538 49fa 7901 movw r14,r18 |
||
7524 | 7539 49fc 8A01 movw r16,r20 |
||
7525 | 7540 49fe E092 0000 sts tmp_long2.3044,r14 |
||
7526 | 7541 4a02 F092 0000 sts (tmp_long2.3044)+1,r15 |
||
7527 | 7542 4a06 0093 0000 sts (tmp_long2.3044)+2,r16 |
||
7528 | 7543 4a0a 1093 0000 sts (tmp_long2.3044)+3,r17 |
||
7529 | 7544 4a0e 2091 0000 lds r18,FilterHCGas.3082 |
||
7530 | 7545 4a12 3091 0000 lds r19,(FilterHCGas.3082)+1 |
||
7531 | 7546 4a16 C901 movw r24,r18 |
||
7532 | 7547 4a18 880F lsl r24 |
||
7533 | 7548 4a1a 991F rol r25 |
||
7534 | 7549 4a1c 820F add r24,r18 |
||
7535 | 7550 4a1e 931F adc r25,r19 |
||
7536 | 7551 4a20 8E0D add r24,r14 |
||
7537 | 7552 4a22 9F1D adc r25,r15 |
||
7538 | 7553 4a24 64E0 ldi r22,lo8(4) |
||
7539 | 7554 4a26 70E0 ldi r23,hi8(4) |
||
7540 | 7555 4a28 0E94 0000 call __divmodhi4 |
||
7541 | 7556 4a2c 7093 0000 sts (FilterHCGas.3082)+1,r23 |
||
7542 | 7557 4a30 6093 0000 sts FilterHCGas.3082,r22 |
||
7543 | 7558 4a34 8091 0000 lds r24,EE_Parameter+14 |
||
7544 | 7559 4a38 90E0 ldi r25,lo8(0) |
||
7545 | 7560 4a3a 880F lsl r24 |
||
7546 | 7561 4a3c 991F rol r25 |
||
7547 | 7562 4a3e 880F lsl r24 |
||
7548 | 7563 4a40 991F rol r25 |
||
7549 | 7564 4a42 8617 cp r24,r22 |
||
7550 | 7565 4a44 9707 cpc r25,r23 |
||
7551 | 7566 4a46 04F4 brge .L546 |
||
7552 | 7567 .L465: |
||
7553 | 7568 4a48 8091 0000 lds r24,MAX_GAS |
||
7554 | 7569 4a4c 90E0 ldi r25,lo8(0) |
||
7555 | 7570 4a4e 4497 sbiw r24,20 |
||
7556 | 7571 4a50 880F lsl r24 |
||
7557 | 7572 4a52 991F rol r25 |
||
7558 | 7573 4a54 880F lsl r24 |
||
7559 | 7574 4a56 991F rol r25 |
||
7560 | 7575 4a58 6817 cp r22,r24 |
||
7561 | 7576 4a5a 7907 cpc r23,r25 |
||
7562 | 7577 4a5c 04F0 brlt .L466 |
||
7563 | 7578 .L546: |
||
7564 | 7579 4a5e 9093 0000 sts (FilterHCGas.3082)+1,r25 |
||
7565 | 7580 4a62 8093 0000 sts FilterHCGas.3082,r24 |
||
7566 | 7581 .L466: |
||
7567 | 7582 4a66 8091 0000 lds r24,EE_Parameter+99 |
||
7568 | 7583 4a6a 2091 0000 lds r18,FilterHCGas.3082 |
||
7569 | 7584 4a6e 3091 0000 lds r19,(FilterHCGas.3082)+1 |
||
7570 | 7585 4a72 80FF sbrs r24,0 |
||
7571 | 7586 4a74 00C0 rjmp .L467 |
||
7572 | 7587 4a76 2415 cp r18,r4 |
||
7573 | 7588 4a78 3505 cpc r19,r5 |
||
7574 | 7589 4a7a 04F0 brlt .L468 |
||
7575 | 7590 4a7c 5092 0000 sts (FilterHCGas.3082)+1,r5 |
||
7576 | 7591 4a80 4092 0000 sts FilterHCGas.3082,r4 |
||
7577 | 7592 .L468: |
||
7578 | 7593 4a84 4090 0000 lds r4,FilterHCGas.3082 |
||
7579 | 7594 4a88 5090 0000 lds r5,(FilterHCGas.3082)+1 |
||
7580 | 7595 4a8c 00C0 rjmp .L439 |
||
7581 | 7596 .L467: |
||
7582 | 7597 4a8e 8091 0000 lds r24,HoverGas |
||
7583 | 7598 4a92 9091 0000 lds r25,(HoverGas)+1 |
||
7584 | 7599 4a96 A201 movw r20,r4 |
||
7585 | 7600 4a98 481B sub r20,r24 |
||
7586 | 7601 4a9a 590B sbc r21,r25 |
||
7587 | 7602 4a9c CA01 movw r24,r20 |
||
7588 | 7603 4a9e 64E0 ldi r22,lo8(4) |
||
7589 | 7604 4aa0 70E0 ldi r23,hi8(4) |
||
7590 | 7605 4aa2 0E94 0000 call __divmodhi4 |
||
7591 | 7606 4aa6 2B01 movw r4,r22 |
||
7592 | 7607 4aa8 420E add r4,r18 |
||
7593 | 7608 4aaa 531E adc r5,r19 |
||
7594 | 7609 4aac 00C0 rjmp .L439 |
||
7595 | 7610 .L415: |
||
7596 | 7611 4aae 8091 0000 lds r24,EE_Parameter+22 |
||
7597 | 7612 4ab2 8823 tst r24 |
||
7598 | 7613 4ab4 01F4 brne .L469 |
||
7599 | 7614 4ab6 8091 0000 lds r24,HoverGas |
||
7600 | 7615 4aba 9091 0000 lds r25,(HoverGas)+1 |
||
7601 | 7616 4abe 64E0 ldi r22,lo8(4) |
||
7602 | 7617 4ac0 70E0 ldi r23,hi8(4) |
||
7603 | 7618 4ac2 0E94 0000 call __divmodhi4 |
||
7604 | 7619 4ac6 CB01 movw r24,r22 |
||
7605 | 7620 4ac8 7093 0000 sts (StickGasHover.3083)+1,r23 |
||
7606 | 7621 4acc 6093 0000 sts StickGasHover.3083,r22 |
||
7607 | 7622 4ad0 2091 0000 lds r18,UBat |
||
7608 | 7623 4ad4 3091 0000 lds r19,(UBat)+1 |
||
7609 | 7624 4ad8 6091 0000 lds r22,BattLowVoltageWarning |
||
7610 | 7625 4adc DC01 movw r26,r24 |
||
7611 | 7626 4ade A29F mul r26,r18 |
||
7612 | 7627 4ae0 C001 movw r24,r0 |
||
7613 | 7628 4ae2 A39F mul r26,r19 |
||
7614 | 7629 4ae4 900D add r25,r0 |
||
7615 | 7630 4ae6 B29F mul r27,r18 |
||
7616 | 7631 4ae8 900D add r25,r0 |
||
7617 | 7632 4aea 1124 clr r1 |
||
7618 | 7633 4aec 70E0 ldi r23,lo8(0) |
||
7619 | 7634 4aee 0E94 0000 call __divmodhi4 |
||
7620 | 7635 4af2 7093 0000 sts (StickGasHover.3083)+1,r23 |
||
7621 | 7636 4af6 6093 0000 sts StickGasHover.3083,r22 |
||
7622 | 7637 4afa 00C0 rjmp .L470 |
||
7623 | 7638 .L469: |
||
7624 | 7639 4afc 8093 0000 sts StickGasHover.3083,r24 |
||
7625 | 7640 4b00 1092 0000 sts StickGasHover.3083+1,__zero_reg__ |
||
7626 | 7641 .L470: |
||
7627 | 7642 4b04 8091 0000 lds r24,StickGasHover.3083 |
||
7628 | 7643 4b08 9091 0000 lds r25,(StickGasHover.3083)+1 |
||
7629 | 7644 4b0c 8734 cpi r24,71 |
||
7630 | 7645 4b0e 9105 cpc r25,__zero_reg__ |
||
7631 | 7646 4b10 04F4 brge .L471 |
||
7632 | 7647 4b12 86E4 ldi r24,lo8(70) |
||
7633 | 7648 4b14 90E0 ldi r25,hi8(70) |
||
7634 | 7649 4b16 00C0 rjmp .L547 |
||
7635 | 7650 .L471: |
||
7636 | 7651 4b18 8639 cpi r24,150 |
||
7637 | 7652 4b1a 9105 cpc r25,__zero_reg__ |
||
7638 | 7653 4b1c 04F0 brlt .L472 |
||
7639 | 7654 4b1e 86E9 ldi r24,lo8(150) |
||
7640 | 7655 4b20 90E0 ldi r25,hi8(150) |
||
7641 | 7656 .L547: |
||
7642 | 7657 4b22 9093 0000 sts (StickGasHover.3083)+1,r25 |
||
7643 | 7658 4b26 8093 0000 sts StickGasHover.3083,r24 |
||
7644 | 7659 .L472: |
||
7645 | 7660 4b2a 5092 0000 sts (FilterHCGas.3082)+1,r5 |
||
7646 | 7661 4b2e 4092 0000 sts FilterHCGas.3082,r4 |
||
7647 | 7662 .L439: |
||
7648 | 7663 4b32 8091 0000 lds r24,FCFlags |
||
7649 | 7664 4b36 81FF sbrs r24,1 |
||
7650 | 7665 4b38 00C0 rjmp .L473 |
||
7651 | 7666 4b3a 8091 0000 lds r24,HoverGasFilter.3086 |
||
7652 | 7667 4b3e 9091 0000 lds r25,(HoverGasFilter.3086)+1 |
||
7653 | 7668 4b42 A091 0000 lds r26,(HoverGasFilter.3086)+2 |
||
7654 | 7669 4b46 B091 0000 lds r27,(HoverGasFilter.3086)+3 |
||
7655 | 7670 4b4a 0097 sbiw r24,0 |
||
7656 | 7671 4b4c A105 cpc r26,__zero_reg__ |
||
7657 | 7672 4b4e B105 cpc r27,__zero_reg__ |
||
7658 | 7673 4b50 01F0 breq .L474 |
||
7659 | 7674 4b52 8091 0000 lds r24,StartTrigger |
||
7660 | 7675 4b56 8130 cpi r24,lo8(1) |
||
7661 | 7676 4b58 01F4 brne .L475 |
||
7662 | 7677 .L474: |
||
7663 | 7678 4b5a C201 movw r24,r4 |
||
7664 | 7679 4b5c AA27 clr r26 |
||
7665 | 7680 4b5e 97FD sbrc r25,7 |
||
7666 | 7681 4b60 A095 com r26 |
||
7667 | 7682 4b62 BA2F mov r27,r26 |
||
7668 | 7683 4b64 7EE0 ldi r23,14 |
||
7669 | 7684 4b66 880F 1: lsl r24 |
||
7670 | 7685 4b68 991F rol r25 |
||
7671 | 7686 4b6a AA1F rol r26 |
||
7672 | 7687 4b6c BB1F rol r27 |
||
7673 | 7688 4b6e 7A95 dec r23 |
||
7674 | 7689 4b70 01F4 brne 1b |
||
7675 | 7690 4b72 8093 0000 sts HoverGasFilter.3086,r24 |
||
7676 | 7691 4b76 9093 0000 sts (HoverGasFilter.3086)+1,r25 |
||
7677 | 7692 4b7a A093 0000 sts (HoverGasFilter.3086)+2,r26 |
||
7678 | 7693 4b7e B093 0000 sts (HoverGasFilter.3086)+3,r27 |
||
7679 | 7694 .L475: |
||
7680 | 7695 4b82 8091 0000 lds r24,StartTrigger |
||
7681 | 7696 4b86 8130 cpi r24,lo8(1) |
||
7682 | 7697 4b88 01F4 brne .L476 |
||
7683 | 7698 4b8a 82E0 ldi r24,lo8(2) |
||
7684 | 7699 4b8c 8093 0000 sts StartTrigger,r24 |
||
7685 | 7700 .L476: |
||
7686 | 7701 4b90 B201 movw r22,r4 |
||
7687 | 7702 4b92 8827 clr r24 |
||
7688 | 7703 4b94 77FD sbrc r23,7 |
||
7689 | 7704 4b96 8095 com r24 |
||
7690 | 7705 4b98 982F mov r25,r24 |
||
7691 | 7706 4b9a E8A1 ldd r30,Y+32 |
||
7692 | 7707 4b9c F9A1 ldd r31,Y+33 |
||
7693 | 7708 4b9e 9F01 movw r18,r30 |
||
7694 | 7709 4ba0 4427 clr r20 |
||
7695 | 7710 4ba2 37FD sbrc r19,7 |
||
7696 | 7711 4ba4 4095 com r20 |
||
7697 | 7712 4ba6 542F mov r21,r20 |
||
7698 | 7713 4ba8 0E94 0000 call __mulsi3 |
||
7699 | 7714 4bac 20E0 ldi r18,lo8(8192) |
||
7700 | 7715 4bae 30E2 ldi r19,hi8(8192) |
||
7701 | 7716 4bb0 40E0 ldi r20,hlo8(8192) |
||
7702 | 7717 4bb2 50E0 ldi r21,hhi8(8192) |
||
7703 | 7718 4bb4 0E94 0000 call __divmodsi4 |
||
7704 | 7719 4bb8 7901 movw r14,r18 |
||
7705 | 7720 4bba 8A01 movw r16,r20 |
||
7706 | 7721 4bbc 2093 0000 sts tmp_long2.3044,r18 |
||
7707 | 7722 4bc0 3093 0000 sts (tmp_long2.3044)+1,r19 |
||
7708 | 7723 4bc4 4093 0000 sts (tmp_long2.3044)+2,r20 |
||
7709 | 7724 4bc8 5093 0000 sts (tmp_long2.3044)+3,r21 |
||
7710 | 7725 4bcc 8091 0000 lds r24,modell_fliegt |
||
7711 | 7726 4bd0 9091 0000 lds r25,(modell_fliegt)+1 |
||
7712 | 7727 4bd4 805A subi r24,lo8(4000) |
||
7713 | 7728 4bd6 9F40 sbci r25,hi8(4000) |
||
7714 | 7729 4bd8 00F4 brsh .L477 |
||
7715 | 7730 4bda 8091 0000 lds r24,HoverGasFilter.3086 |
||
7716 | 7731 4bde 9091 0000 lds r25,(HoverGasFilter.3086)+1 |
||
7717 | 7732 4be2 A091 0000 lds r26,(HoverGasFilter.3086)+2 |
||
7718 | 7733 4be6 B091 0000 lds r27,(HoverGasFilter.3086)+3 |
||
7719 | 7734 4bea 9C01 movw r18,r24 |
||
7720 | 7735 4bec AD01 movw r20,r26 |
||
7721 | 7736 4bee 6AE0 ldi r22,10 |
||
7722 | 7737 4bf0 5695 1: lsr r21 |
||
7723 | 7738 4bf2 4795 ror r20 |
||
7724 | 7739 4bf4 3795 ror r19 |
||
7725 | 7740 4bf6 2795 ror r18 |
||
7726 | 7741 4bf8 6A95 dec r22 |
||
7727 | 7742 4bfa 01F4 brne 1b |
||
7728 | 7743 4bfc 821B sub r24,r18 |
||
7729 | 7744 4bfe 930B sbc r25,r19 |
||
7730 | 7745 4c00 A40B sbc r26,r20 |
||
7731 | 7746 4c02 B50B sbc r27,r21 |
||
7732 | 7747 4c04 F4E0 ldi r31,4 |
||
7733 | 7748 4c06 EE0C 1: lsl r14 |
||
7734 | 7749 4c08 FF1C rol r15 |
||
7735 | 7750 4c0a 001F rol r16 |
||
7736 | 7751 4c0c 111F rol r17 |
||
7737 | 7752 4c0e FA95 dec r31 |
||
7738 | 7753 4c10 01F4 brne 1b |
||
7739 | 7754 4c12 8E0D add r24,r14 |
||
7740 | 7755 4c14 9F1D adc r25,r15 |
||
7741 | 7756 4c16 A01F adc r26,r16 |
||
7742 | 7757 4c18 B11F adc r27,r17 |
||
7743 | 7758 4c1a 8093 0000 sts HoverGasFilter.3086,r24 |
||
7744 | 7759 4c1e 9093 0000 sts (HoverGasFilter.3086)+1,r25 |
||
7745 | 7760 4c22 A093 0000 sts (HoverGasFilter.3086)+2,r26 |
||
7746 | 7761 4c26 B093 0000 sts (HoverGasFilter.3086)+3,r27 |
||
7747 | 7762 .L477: |
||
7748 | 7763 4c2a 8091 0000 lds r24,modell_fliegt |
||
7749 | 7764 4c2e 9091 0000 lds r25,(modell_fliegt)+1 |
||
7750 | 7765 4c32 8054 subi r24,lo8(8000) |
||
7751 | 7766 4c34 9F41 sbci r25,hi8(8000) |
||
7752 | 7767 4c36 00F4 brsh .L478 |
||
7753 | 7768 4c38 8091 0000 lds r24,HoverGasFilter.3086 |
||
7754 | 7769 4c3c 9091 0000 lds r25,(HoverGasFilter.3086)+1 |
||
7755 | 7770 4c40 A091 0000 lds r26,(HoverGasFilter.3086)+2 |
||
7756 | 7771 4c44 B091 0000 lds r27,(HoverGasFilter.3086)+3 |
||
7757 | 7772 4c48 9C01 movw r18,r24 |
||
7758 | 7773 4c4a AD01 movw r20,r26 |
||
7759 | 7774 4c4c ECE0 ldi r30,12 |
||
7760 | 7775 4c4e 5695 1: lsr r21 |
||
7761 | 7776 4c50 4795 ror r20 |
||
7762 | 7777 4c52 3795 ror r19 |
||
7763 | 7778 4c54 2795 ror r18 |
||
7764 | 7779 4c56 EA95 dec r30 |
||
7765 | 7780 4c58 01F4 brne 1b |
||
7766 | 7781 4c5a 821B sub r24,r18 |
||
7767 | 7782 4c5c 930B sbc r25,r19 |
||
7768 | 7783 4c5e A40B sbc r26,r20 |
||
7769 | 7784 4c60 B50B sbc r27,r21 |
||
7770 | 7785 4c62 2091 0000 lds r18,tmp_long2.3044 |
||
7771 | 7786 4c66 3091 0000 lds r19,(tmp_long2.3044)+1 |
||
7772 | 7787 4c6a 4091 0000 lds r20,(tmp_long2.3044)+2 |
||
7773 | 7788 4c6e 5091 0000 lds r21,(tmp_long2.3044)+3 |
||
7774 | 7789 4c72 72E0 ldi r23,2 |
||
7775 | 7790 4c74 220F 1: lsl r18 |
||
7776 | 7791 4c76 331F rol r19 |
||
7777 | 7792 4c78 441F rol r20 |
||
7778 | 7793 4c7a 551F rol r21 |
||
7779 | 7794 4c7c 7A95 dec r23 |
||
7780 | 7795 4c7e 01F4 brne 1b |
||
7781 | 7796 4c80 280F add r18,r24 |
||
7782 | 7797 4c82 391F adc r19,r25 |
||
7783 | 7798 4c84 4A1F adc r20,r26 |
||
7784 | 7799 4c86 5B1F adc r21,r27 |
||
7785 | 7800 4c88 2093 0000 sts HoverGasFilter.3086,r18 |
||
7786 | 7801 4c8c 3093 0000 sts (HoverGasFilter.3086)+1,r19 |
||
7787 | 7802 4c90 4093 0000 sts (HoverGasFilter.3086)+2,r20 |
||
7788 | 7803 4c94 5093 0000 sts (HoverGasFilter.3086)+3,r21 |
||
7789 | 7804 4c98 00C0 rjmp .L479 |
||
7790 | 7805 .L478: |
||
7791 | 7806 4c9a 8091 0000 lds r24,VarioMeter |
||
7792 | 7807 4c9e 9091 0000 lds r25,(VarioMeter)+1 |
||
7793 | 7808 4ca2 97FF sbrs r25,7 |
||
7794 | 7809 4ca4 00C0 rjmp .L480 |
||
7795 | 7810 4ca6 9095 com r25 |
||
7796 | 7811 4ca8 8195 neg r24 |
||
7797 | 7812 4caa 9F4F sbci r25,lo8(-1) |
||
7798 | 7813 .L480: |
||
7799 | 7814 4cac 8436 cpi r24,100 |
||
7800 | 7815 4cae 9105 cpc r25,__zero_reg__ |
||
7801 | 7816 4cb0 04F4 brge .L479 |
||
7802 | 7817 4cb2 8091 0000 lds r24,HoverGasFilter.3086 |
||
7803 | 7818 4cb6 9091 0000 lds r25,(HoverGasFilter.3086)+1 |
||
7804 | 7819 4cba A091 0000 lds r26,(HoverGasFilter.3086)+2 |
||
7805 | 7820 4cbe B091 0000 lds r27,(HoverGasFilter.3086)+3 |
||
7806 | 7821 4cc2 9C01 movw r18,r24 |
||
7807 | 7822 4cc4 AD01 movw r20,r26 |
||
7808 | 7823 4cc6 6EE0 ldi r22,14 |
||
7809 | 7824 4cc8 5695 1: lsr r21 |
||
7810 | 7825 4cca 4795 ror r20 |
||
7811 | 7826 4ccc 3795 ror r19 |
||
7812 | 7827 4cce 2795 ror r18 |
||
7813 | 7828 4cd0 6A95 dec r22 |
||
7814 | 7829 4cd2 01F4 brne 1b |
||
7815 | 7830 4cd4 821B sub r24,r18 |
||
7816 | 7831 4cd6 930B sbc r25,r19 |
||
7817 | 7832 4cd8 A40B sbc r26,r20 |
||
7818 | 7833 4cda B50B sbc r27,r21 |
||
7819 | 7834 4cdc 2091 0000 lds r18,tmp_long2.3044 |
||
7820 | 7835 4ce0 3091 0000 lds r19,(tmp_long2.3044)+1 |
||
7821 | 7836 4ce4 4091 0000 lds r20,(tmp_long2.3044)+2 |
||
7822 | 7837 4ce8 5091 0000 lds r21,(tmp_long2.3044)+3 |
||
7823 | 7838 4cec 820F add r24,r18 |
||
7824 | 7839 4cee 931F adc r25,r19 |
||
7825 | 7840 4cf0 A41F adc r26,r20 |
||
7826 | 7841 4cf2 B51F adc r27,r21 |
||
7827 | 7842 4cf4 8093 0000 sts HoverGasFilter.3086,r24 |
||
7828 | 7843 4cf8 9093 0000 sts (HoverGasFilter.3086)+1,r25 |
||
7829 | 7844 4cfc A093 0000 sts (HoverGasFilter.3086)+2,r26 |
||
7830 | 7845 4d00 B093 0000 sts (HoverGasFilter.3086)+3,r27 |
||
7831 | 7846 .L479: |
||
7832 | 7847 4d04 8091 0000 lds r24,HoverGasFilter.3086 |
||
7833 | 7848 4d08 9091 0000 lds r25,(HoverGasFilter.3086)+1 |
||
7834 | 7849 4d0c A091 0000 lds r26,(HoverGasFilter.3086)+2 |
||
7835 | 7850 4d10 B091 0000 lds r27,(HoverGasFilter.3086)+3 |
||
7836 | 7851 4d14 2EE0 ldi r18,14 |
||
7837 | 7852 4d16 B695 1: lsr r27 |
||
7838 | 7853 4d18 A795 ror r26 |
||
7839 | 7854 4d1a 9795 ror r25 |
||
7840 | 7855 4d1c 8795 ror r24 |
||
7841 | 7856 4d1e 2A95 dec r18 |
||
7842 | 7857 4d20 01F4 brne 1b |
||
7843 | 7858 4d22 FC01 movw r30,r24 |
||
7844 | 7859 4d24 9093 0000 sts (HoverGas)+1,r25 |
||
7845 | 7860 4d28 8093 0000 sts HoverGas,r24 |
||
7846 | 7861 4d2c 6091 0000 lds r22,EE_Parameter+20 |
||
7847 | 7862 4d30 6623 tst r22 |
||
7848 | 7863 4d32 01F0 breq .L481 |
||
7849 | 7864 4d34 70E0 ldi r23,lo8(0) |
||
7850 | 7865 4d36 0E94 0000 call __divmodhi4 |
||
7851 | 7866 4d3a CB01 movw r24,r22 |
||
7852 | 7867 4d3c 9F01 movw r18,r30 |
||
7853 | 7868 4d3e 261B sub r18,r22 |
||
7854 | 7869 4d40 370B sbc r19,r23 |
||
7855 | 7870 4d42 3093 0000 sts (HoverGasMin.3084)+1,r19 |
||
7856 | 7871 4d46 2093 0000 sts HoverGasMin.3084,r18 |
||
7857 | 7872 4d4a 8E0F add r24,r30 |
||
7858 | 7873 4d4c 9F1F adc r25,r31 |
||
7859 | 7874 4d4e 00C0 rjmp .L548 |
||
7860 | 7875 .L481: |
||
7861 | 7876 4d50 1092 0000 sts (HoverGasMin.3084)+1,__zero_reg__ |
||
7862 | 7877 4d54 1092 0000 sts HoverGasMin.3084,__zero_reg__ |
||
7863 | 7878 4d58 8FEF ldi r24,lo8(1023) |
||
7864 | 7879 4d5a 93E0 ldi r25,hi8(1023) |
||
7865 | 7880 .L548: |
||
7866 | 7881 4d5c 9093 0000 sts (HoverGasMax.3085)+1,r25 |
||
7867 | 7882 4d60 8093 0000 sts HoverGasMax.3085,r24 |
||
7868 | 7883 4d64 00C0 rjmp .L404 |
||
7869 | 7884 .L473: |
||
7870 | 7885 4d66 1092 0000 sts StartTrigger,__zero_reg__ |
||
7871 | 7886 4d6a 1092 0000 sts HoverGasFilter.3086,__zero_reg__ |
||
7872 | 7887 4d6e 1092 0000 sts (HoverGasFilter.3086)+1,__zero_reg__ |
||
7873 | 7888 4d72 1092 0000 sts (HoverGasFilter.3086)+2,__zero_reg__ |
||
7874 | 7889 4d76 1092 0000 sts (HoverGasFilter.3086)+3,__zero_reg__ |
||
7875 | 7890 4d7a 1092 0000 sts (HoverGas)+1,__zero_reg__ |
||
7876 | 7891 4d7e 1092 0000 sts HoverGas,__zero_reg__ |
||
7877 | 7892 .L404: |
||
7878 | 7893 4d82 8091 0000 lds r24,MIN_GAS |
||
7879 | 7894 4d86 282F mov r18,r24 |
||
7880 | 7895 4d88 30E0 ldi r19,lo8(0) |
||
7881 | 7896 4d8a 265F subi r18,lo8(-(10)) |
||
7882 | 7897 4d8c 3F4F sbci r19,hi8(-(10)) |
||
7883 | 7898 4d8e 220F lsl r18 |
||
7884 | 7899 4d90 331F rol r19 |
||
7885 | 7900 4d92 220F lsl r18 |
||
7886 | 7901 4d94 331F rol r19 |
||
7887 | 7902 4d96 B201 movw r22,r4 |
||
7888 | 7903 4d98 4216 cp r4,r18 |
||
7889 | 7904 4d9a 5306 cpc r5,r19 |
||
7890 | 7905 4d9c 04F4 brge .L482 |
||
7891 | 7906 4d9e B901 movw r22,r18 |
||
7892 | 7907 .L482: |
||
7893 | 7908 4da0 8091 0000 lds r24,MAX_GAS |
||
7894 | 7909 4da4 282F mov r18,r24 |
||
7895 | 7910 4da6 30E0 ldi r19,lo8(0) |
||
7896 | 7911 4da8 2451 subi r18,lo8(-(-20)) |
||
7897 | 7912 4daa 3040 sbci r19,hi8(-(-20)) |
||
7898 | 7913 4dac 220F lsl r18 |
||
7899 | 7914 4dae 331F rol r19 |
||
7900 | 7915 4db0 220F lsl r18 |
||
7901 | 7916 4db2 331F rol r19 |
||
7902 | 7917 4db4 7B01 movw r14,r22 |
||
7903 | 7918 4db6 2617 cp r18,r22 |
||
7904 | 7919 4db8 3707 cpc r19,r23 |
||
7905 | 7920 4dba 04F4 brge .L483 |
||
7906 | 7921 4dbc 7901 movw r14,r18 |
||
7907 | 7922 .L483: |
||
7908 | 7923 4dbe 8091 0000 lds r24,MissingMotor |
||
7909 | 7924 4dc2 8823 tst r24 |
||
7910 | 7925 4dc4 01F4 brne .L484 |
||
7911 | 7926 4dc6 8091 0000 lds r24,Capacity+6 |
||
7912 | 7927 4dca 8F3F cpi r24,lo8(-1) |
||
7913 | 7928 4dcc 01F0 breq .L485 |
||
7914 | 7929 .L484: |
||
7915 | 7930 4dce 8091 0000 lds r24,modell_fliegt |
||
7916 | 7931 4dd2 9091 0000 lds r25,(modell_fliegt)+1 |
||
7917 | 7932 4dd6 0297 sbiw r24,2 |
||
7918 | 7933 4dd8 C097 sbiw r24,48 |
||
7919 | 7934 4dda 00F4 brsh .L485 |
||
7920 | 7935 4ddc 1E14 cp __zero_reg__,r14 |
||
7921 | 7936 4dde 1F04 cpc __zero_reg__,r15 |
||
7922 | 7937 4de0 04F4 brge .L485 |
||
7923 | 7938 4de2 81E0 ldi r24,lo8(1) |
||
7924 | 7939 4de4 90E0 ldi r25,hi8(1) |
||
7925 | 7940 4de6 9093 0000 sts (modell_fliegt)+1,r25 |
||
7926 | 7941 4dea 8093 0000 sts modell_fliegt,r24 |
||
7927 | 7942 4dee 8091 0000 lds r24,MIN_GAS |
||
7928 | 7943 4df2 E82E mov r14,r24 |
||
7929 | 7944 4df4 FF24 clr r15 |
||
7930 | 7945 4df6 4AE0 ldi r20,lo8(10) |
||
7931 | 7946 4df8 50E0 ldi r21,hi8(10) |
||
7932 | 7947 4dfa E40E add r14,r20 |
||
7933 | 7948 4dfc F51E adc r15,r21 |
||
7934 | 7949 4dfe EE0C lsl r14 |
||
7935 | 7950 4e00 FF1C rol r15 |
||
7936 | 7951 4e02 EE0C lsl r14 |
||
7937 | 7952 4e04 FF1C rol r15 |
||
7938 | 7953 .L485: |
||
7939 | 7954 4e06 F092 0000 sts (DebugOut+16)+1,r15 |
||
7940 | 7955 4e0a E092 0000 sts DebugOut+16,r14 |
||
7941 | 7956 4e0e 6091 0000 lds r22,sollGier.3042 |
||
7942 | 7957 4e12 7091 0000 lds r23,(sollGier.3042)+1 |
||
7943 | 7958 4e16 8091 0000 lds r24,(sollGier.3042)+2 |
||
7944 | 7959 4e1a 9091 0000 lds r25,(sollGier.3042)+3 |
||
7945 | 7960 4e1e 2CEF ldi r18,lo8(-4) |
||
7946 | 7961 4e20 3FEF ldi r19,hi8(-4) |
||
7947 | 7962 4e22 4FEF ldi r20,hlo8(-4) |
||
7948 | 7963 4e24 5FEF ldi r21,hhi8(-4) |
||
7949 | 7964 4e26 0E94 0000 call __mulsi3 |
||
7950 | 7965 4e2a 8091 0000 lds r24,MesswertGier |
||
7951 | 7966 4e2e 9091 0000 lds r25,(MesswertGier)+1 |
||
7952 | 7967 4e32 860F add r24,r22 |
||
7953 | 7968 4e34 971F adc r25,r23 |
||
7954 | 7969 4e36 51EA ldi r21,lo8(161) |
||
7955 | 7970 4e38 E516 cp r14,r21 |
||
7956 | 7971 4e3a F104 cpc r15,__zero_reg__ |
||
7957 | 7972 4e3c 04F0 brlt .L486 |
||
7958 | 7973 4e3e 9701 movw r18,r14 |
||
7959 | 7974 4e40 3595 asr r19 |
||
7960 | 7975 4e42 2795 ror r18 |
||
7961 | 7976 4e44 8217 cp r24,r18 |
||
7962 | 7977 4e46 9307 cpc r25,r19 |
||
7963 | 7978 4e48 04F4 brge .L487 |
||
7964 | 7979 4e4a 9C01 movw r18,r24 |
||
7965 | 7980 .L487: |
||
7966 | 7981 4e4c C701 movw r24,r14 |
||
7967 | 7982 4e4e 62E0 ldi r22,lo8(2) |
||
7968 | 7983 4e50 70E0 ldi r23,hi8(2) |
||
7969 | 7984 4e52 0E94 0000 call __divmodhi4 |
||
7970 | 7985 4e56 7095 com r23 |
||
7971 | 7986 4e58 6195 neg r22 |
||
7972 | 7987 4e5a 7F4F sbci r23,lo8(-1) |
||
7973 | 7988 4e5c 2617 cp r18,r22 |
||
7974 | 7989 4e5e 3707 cpc r19,r23 |
||
7975 | 7990 4e60 04F4 brge .L489 |
||
7976 | 7991 4e62 9B01 movw r18,r22 |
||
7977 | 7992 4e64 00C0 rjmp .L489 |
||
7978 | 7993 .L486: |
||
7979 | 7994 4e66 6FEF ldi r22,hi8(-80) |
||
7980 | 7995 4e68 803B cpi r24,lo8(-80) |
||
7981 | 7996 4e6a 9607 cpc r25,r22 |
||
7982 | 7997 4e6c 04F4 brge .L490 |
||
7983 | 7998 4e6e 80EB ldi r24,lo8(-80) |
||
7984 | 7999 4e70 9FEF ldi r25,hi8(-80) |
||
7985 | 8000 .L490: |
||
7986 | 8001 4e72 9C01 movw r18,r24 |
||
7987 | 8002 4e74 8135 cpi r24,81 |
||
7988 | 8003 4e76 9105 cpc r25,__zero_reg__ |
||
7989 | 8004 4e78 04F0 brlt .L489 |
||
7990 | 8005 4e7a 20E5 ldi r18,lo8(80) |
||
7991 | 8006 4e7c 30E0 ldi r19,hi8(80) |
||
7992 | 8007 .L489: |
||
7993 | 8008 4e7e 8091 0000 lds r24,MAX_GAS |
||
7994 | 8009 4e82 90E0 ldi r25,lo8(0) |
||
7995 | 8010 4e84 880F lsl r24 |
||
7996 | 8011 4e86 991F rol r25 |
||
7997 | 8012 4e88 880F lsl r24 |
||
7998 | 8013 4e8a 991F rol r25 |
||
7999 | 8014 4e8c AC01 movw r20,r24 |
||
8000 | 8015 4e8e 4E19 sub r20,r14 |
||
8001 | 8016 4e90 5F09 sbc r21,r15 |
||
8002 | 8017 4e92 4217 cp r20,r18 |
||
8003 | 8018 4e94 5307 cpc r21,r19 |
||
8004 | 8019 4e96 04F4 brge .L492 |
||
8005 | 8020 4e98 9A01 movw r18,r20 |
||
8006 | 8021 .L492: |
||
8007 | 8022 4e9a D701 movw r26,r14 |
||
8008 | 8023 4e9c A81B sub r26,r24 |
||
8009 | 8024 4e9e B90B sbc r27,r25 |
||
8010 | 8025 4ea0 4901 movw r8,r18 |
||
8011 | 8026 4ea2 2A17 cp r18,r26 |
||
8012 | 8027 4ea4 3B07 cpc r19,r27 |
||
8013 | 8028 4ea6 04F4 brge .L493 |
||
8014 | 8029 4ea8 4D01 movw r8,r26 |
||
8015 | 8030 .L493: |
||
8016 | 8031 4eaa 6091 0000 lds r22,MesswertNick |
||
8017 | 8032 4eae 7091 0000 lds r23,(MesswertNick)+1 |
||
8018 | 8033 4eb2 E091 0000 lds r30,StickNick |
||
8019 | 8034 4eb6 F091 0000 lds r31,(StickNick)+1 |
||
8020 | 8035 4eba 6E1B sub r22,r30 |
||
8021 | 8036 4ebc 7F0B sbc r23,r31 |
||
8022 | 8037 4ebe 7093 0000 sts (DiffNick)+1,r23 |
||
8023 | 8038 4ec2 6093 0000 sts DiffNick,r22 |
||
8024 | 8039 4ec6 8091 0000 lds r24,IntegralFaktor |
||
8025 | 8040 4eca 2091 0000 lds r18,SummeNick |
||
8026 | 8041 4ece 3091 0000 lds r19,(SummeNick)+1 |
||
8027 | 8042 4ed2 4091 0000 lds r20,(SummeNick)+2 |
||
8028 | 8043 4ed6 5091 0000 lds r21,(SummeNick)+3 |
||
8029 | 8044 4eda 8823 tst r24 |
||
8030 | 8045 4edc 01F0 breq .L494 |
||
8031 | 8046 4ede 6CA1 ldd r22,Y+36 |
||
8032 | 8047 4ee0 7DA1 ldd r23,Y+37 |
||
8033 | 8048 4ee2 6E1B sub r22,r30 |
||
8034 | 8049 4ee4 7F0B sbc r23,r31 |
||
8035 | 8050 .L494: |
||
8036 | 8051 4ee6 CB01 movw r24,r22 |
||
8037 | 8052 4ee8 AA27 clr r26 |
||
8038 | 8053 4eea 97FD sbrc r25,7 |
||
8039 | 8054 4eec A095 com r26 |
||
8040 | 8055 4eee BA2F mov r27,r26 |
||
8041 | 8056 4ef0 280F add r18,r24 |
||
8042 | 8057 4ef2 391F adc r19,r25 |
||
8043 | 8058 4ef4 4A1F adc r20,r26 |
||
8044 | 8059 4ef6 5B1F adc r21,r27 |
||
8045 | 8060 4ef8 2093 0000 sts SummeNick,r18 |
||
8046 | 8061 4efc 3093 0000 sts (SummeNick)+1,r19 |
||
8047 | 8062 4f00 4093 0000 sts (SummeNick)+2,r20 |
||
8048 | 8063 4f04 5093 0000 sts (SummeNick)+3,r21 |
||
8049 | 8064 4f08 8091 0000 lds r24,SummeNick |
||
8050 | 8065 4f0c 9091 0000 lds r25,(SummeNick)+1 |
||
8051 | 8066 4f10 A091 0000 lds r26,(SummeNick)+2 |
||
8052 | 8067 4f14 B091 0000 lds r27,(SummeNick)+3 |
||
8053 | 8068 4f18 8150 subi r24,lo8(64001) |
||
8054 | 8069 4f1a 9A4F sbci r25,hi8(64001) |
||
8055 | 8070 4f1c A040 sbci r26,hlo8(64001) |
||
8056 | 8071 4f1e B040 sbci r27,hhi8(64001) |
||
8057 | 8072 4f20 04F0 brlt .L496 |
||
8058 | 8073 4f22 80E0 ldi r24,lo8(64000) |
||
8059 | 8074 4f24 9AEF ldi r25,hi8(64000) |
||
8060 | 8075 4f26 A0E0 ldi r26,hlo8(64000) |
||
8061 | 8076 4f28 B0E0 ldi r27,hhi8(64000) |
||
8062 | 8077 4f2a 8093 0000 sts SummeNick,r24 |
||
8063 | 8078 4f2e 9093 0000 sts (SummeNick)+1,r25 |
||
8064 | 8079 4f32 A093 0000 sts (SummeNick)+2,r26 |
||
8065 | 8080 4f36 B093 0000 sts (SummeNick)+3,r27 |
||
8066 | 8081 .L496: |
||
8067 | 8082 4f3a 8091 0000 lds r24,SummeNick |
||
8068 | 8083 4f3e 9091 0000 lds r25,(SummeNick)+1 |
||
8069 | 8084 4f42 A091 0000 lds r26,(SummeNick)+2 |
||
8070 | 8085 4f46 B091 0000 lds r27,(SummeNick)+3 |
||
8071 | 8086 4f4a 8050 subi r24,lo8(-64000) |
||
8072 | 8087 4f4c 9640 sbci r25,hi8(-64000) |
||
8073 | 8088 4f4e AF4F sbci r26,hlo8(-64000) |
||
8074 | 8089 4f50 BF4F sbci r27,hhi8(-64000) |
||
8075 | 8090 4f52 04F4 brge .L497 |
||
8076 | 8091 4f54 80E0 ldi r24,lo8(-64000) |
||
8077 | 8092 4f56 96E0 ldi r25,hi8(-64000) |
||
8078 | 8093 4f58 AFEF ldi r26,hlo8(-64000) |
||
8079 | 8094 4f5a BFEF ldi r27,hhi8(-64000) |
||
8080 | 8095 4f5c 8093 0000 sts SummeNick,r24 |
||
8081 | 8096 4f60 9093 0000 sts (SummeNick)+1,r25 |
||
8082 | 8097 4f64 A093 0000 sts (SummeNick)+2,r26 |
||
8083 | 8098 4f68 B093 0000 sts (SummeNick)+3,r27 |
||
8084 | 8099 .L497: |
||
8085 | 8100 4f6c 8091 0000 lds r24,EE_Parameter+35 |
||
8086 | 8101 4f70 90E0 ldi r25,lo8(0) |
||
8087 | 8102 4f72 2091 0000 lds r18,DiffNick |
||
8088 | 8103 4f76 3091 0000 lds r19,(DiffNick)+1 |
||
8089 | 8104 4f7a AC01 movw r20,r24 |
||
8090 | 8105 4f7c 429F mul r20,r18 |
||
8091 | 8106 4f7e C001 movw r24,r0 |
||
8092 | 8107 4f80 439F mul r20,r19 |
||
8093 | 8108 4f82 900D add r25,r0 |
||
8094 | 8109 4f84 529F mul r21,r18 |
||
8095 | 8110 4f86 900D add r25,r0 |
||
8096 | 8111 4f88 1124 clr r1 |
||
8097 | 8112 4f8a 68E0 ldi r22,lo8(8) |
||
8098 | 8113 4f8c 70E0 ldi r23,hi8(8) |
||
8099 | 8114 4f8e 0E94 0000 call __divmodhi4 |
||
8100 | 8115 4f92 8B01 movw r16,r22 |
||
8101 | 8116 4f94 2091 0000 lds r18,Ki |
||
8102 | 8117 4f98 3091 0000 lds r19,(Ki)+1 |
||
8103 | 8118 4f9c 4427 clr r20 |
||
8104 | 8119 4f9e 37FD sbrc r19,7 |
||
8105 | 8120 4fa0 4095 com r20 |
||
8106 | 8121 4fa2 542F mov r21,r20 |
||
8107 | 8122 4fa4 6091 0000 lds r22,SummeNick |
||
8108 | 8123 4fa8 7091 0000 lds r23,(SummeNick)+1 |
||
8109 | 8124 4fac 8091 0000 lds r24,(SummeNick)+2 |
||
8110 | 8125 4fb0 9091 0000 lds r25,(SummeNick)+3 |
||
8111 | 8126 4fb4 0E94 0000 call __divmodsi4 |
||
8112 | 8127 4fb8 020F add r16,r18 |
||
8113 | 8128 4fba 131F adc r17,r19 |
||
8114 | 8129 4fbc C401 movw r24,r8 |
||
8115 | 8130 4fbe 97FE sbrs r9,7 |
||
8116 | 8131 4fc0 00C0 rjmp .L498 |
||
8117 | 8132 4fc2 8827 clr r24 |
||
8118 | 8133 4fc4 9927 clr r25 |
||
8119 | 8134 4fc6 8819 sub r24,r8 |
||
8120 | 8135 4fc8 9909 sbc r25,r9 |
||
8121 | 8136 .L498: |
||
8122 | 8137 4fca 9595 asr r25 |
||
8123 | 8138 4fcc 8795 ror r24 |
||
8124 | 8139 4fce 8E0D add r24,r14 |
||
8125 | 8140 4fd0 9F1D adc r25,r15 |
||
8126 | 8141 4fd2 5C01 movw r10,r24 |
||
8127 | 8142 4fd4 CC24 clr r12 |
||
8128 | 8143 4fd6 B7FC sbrc r11,7 |
||
8129 | 8144 4fd8 C094 com r12 |
||
8130 | 8145 4fda DC2C mov r13,r12 |
||
8131 | 8146 4fdc 2091 0000 lds r18,Parameter_DynamicStability |
||
8132 | 8147 4fe0 30E0 ldi r19,lo8(0) |
||
8133 | 8148 4fe2 40E0 ldi r20,lo8(0) |
||
8134 | 8149 4fe4 50E0 ldi r21,hi8(0) |
||
8135 | 8150 4fe6 C601 movw r24,r12 |
||
8136 | 8151 4fe8 B501 movw r22,r10 |
||
8137 | 8152 4fea 0E94 0000 call __mulsi3 |
||
8138 | 8153 4fee 20E4 ldi r18,lo8(64) |
||
8139 | 8154 4ff0 30E0 ldi r19,hi8(64) |
||
8140 | 8155 4ff2 40E0 ldi r20,hlo8(64) |
||
8141 | 8156 4ff4 50E0 ldi r21,hhi8(64) |
||
8142 | 8157 4ff6 0E94 0000 call __divmodsi4 |
||
8143 | 8158 4ffa C901 movw r24,r18 |
||
8144 | 8159 4ffc 0217 cp r16,r18 |
||
8145 | 8160 4ffe 1307 cpc r17,r19 |
||
8146 | 8161 5000 04F4 brge .L499 |
||
8147 | 8162 5002 9801 movw r18,r16 |
||
8148 | 8163 .L499: |
||
8149 | 8164 5004 2224 clr r2 |
||
8150 | 8165 5006 3324 clr r3 |
||
8151 | 8166 5008 281A sub r2,r24 |
||
8152 | 8167 500a 390A sbc r3,r25 |
||
8153 | 8168 500c 2216 cp r2,r18 |
||
8154 | 8169 500e 3306 cpc r3,r19 |
||
8155 | 8170 5010 04F4 brge .L500 |
||
8156 | 8171 5012 1901 movw r2,r18 |
||
8157 | 8172 .L500: |
||
8158 | 8173 5014 6091 0000 lds r22,MesswertRoll |
||
8159 | 8174 5018 7091 0000 lds r23,(MesswertRoll)+1 |
||
8160 | 8175 501c E091 0000 lds r30,StickRoll |
||
8161 | 8176 5020 F091 0000 lds r31,(StickRoll)+1 |
||
8162 | 8177 5024 6E1B sub r22,r30 |
||
8163 | 8178 5026 7F0B sbc r23,r31 |
||
8164 | 8179 5028 7093 0000 sts (DiffRoll)+1,r23 |
||
8165 | 8180 502c 6093 0000 sts DiffRoll,r22 |
||
8166 | 8181 5030 8091 0000 lds r24,IntegralFaktor |
||
8167 | 8182 5034 2091 0000 lds r18,SummeRoll |
||
8168 | 8183 5038 3091 0000 lds r19,(SummeRoll)+1 |
||
8169 | 8184 503c 4091 0000 lds r20,(SummeRoll)+2 |
||
8170 | 8185 5040 5091 0000 lds r21,(SummeRoll)+3 |
||
8171 | 8186 5044 8823 tst r24 |
||
8172 | 8187 5046 01F0 breq .L501 |
||
8173 | 8188 5048 6AA1 ldd r22,Y+34 |
||
8174 | 8189 504a 7BA1 ldd r23,Y+35 |
||
8175 | 8190 504c 6E1B sub r22,r30 |
||
8176 | 8191 504e 7F0B sbc r23,r31 |
||
8177 | 8192 .L501: |
||
8178 | 8193 5050 CB01 movw r24,r22 |
||
8179 | 8194 5052 AA27 clr r26 |
||
8180 | 8195 5054 97FD sbrc r25,7 |
||
8181 | 8196 5056 A095 com r26 |
||
8182 | 8197 5058 BA2F mov r27,r26 |
||
8183 | 8198 505a 280F add r18,r24 |
||
8184 | 8199 505c 391F adc r19,r25 |
||
8185 | 8200 505e 4A1F adc r20,r26 |
||
8186 | 8201 5060 5B1F adc r21,r27 |
||
8187 | 8202 5062 2093 0000 sts SummeRoll,r18 |
||
8188 | 8203 5066 3093 0000 sts (SummeRoll)+1,r19 |
||
8189 | 8204 506a 4093 0000 sts (SummeRoll)+2,r20 |
||
8190 | 8205 506e 5093 0000 sts (SummeRoll)+3,r21 |
||
8191 | 8206 5072 8091 0000 lds r24,SummeRoll |
||
8192 | 8207 5076 9091 0000 lds r25,(SummeRoll)+1 |
||
8193 | 8208 507a A091 0000 lds r26,(SummeRoll)+2 |
||
8194 | 8209 507e B091 0000 lds r27,(SummeRoll)+3 |
||
8195 | 8210 5082 8150 subi r24,lo8(64001) |
||
8196 | 8211 5084 9A4F sbci r25,hi8(64001) |
||
8197 | 8212 5086 A040 sbci r26,hlo8(64001) |
||
8198 | 8213 5088 B040 sbci r27,hhi8(64001) |
||
8199 | 8214 508a 04F0 brlt .L503 |
||
8200 | 8215 508c 80E0 ldi r24,lo8(64000) |
||
8201 | 8216 508e 9AEF ldi r25,hi8(64000) |
||
8202 | 8217 5090 A0E0 ldi r26,hlo8(64000) |
||
8203 | 8218 5092 B0E0 ldi r27,hhi8(64000) |
||
8204 | 8219 5094 8093 0000 sts SummeRoll,r24 |
||
8205 | 8220 5098 9093 0000 sts (SummeRoll)+1,r25 |
||
8206 | 8221 509c A093 0000 sts (SummeRoll)+2,r26 |
||
8207 | 8222 50a0 B093 0000 sts (SummeRoll)+3,r27 |
||
8208 | 8223 .L503: |
||
8209 | 8224 50a4 8091 0000 lds r24,SummeRoll |
||
8210 | 8225 50a8 9091 0000 lds r25,(SummeRoll)+1 |
||
8211 | 8226 50ac A091 0000 lds r26,(SummeRoll)+2 |
||
8212 | 8227 50b0 B091 0000 lds r27,(SummeRoll)+3 |
||
8213 | 8228 50b4 8050 subi r24,lo8(-64000) |
||
8214 | 8229 50b6 9640 sbci r25,hi8(-64000) |
||
8215 | 8230 50b8 AF4F sbci r26,hlo8(-64000) |
||
8216 | 8231 50ba BF4F sbci r27,hhi8(-64000) |
||
8217 | 8232 50bc 04F4 brge .L504 |
||
8218 | 8233 50be 80E0 ldi r24,lo8(-64000) |
||
8219 | 8234 50c0 96E0 ldi r25,hi8(-64000) |
||
8220 | 8235 50c2 AFEF ldi r26,hlo8(-64000) |
||
8221 | 8236 50c4 BFEF ldi r27,hhi8(-64000) |
||
8222 | 8237 50c6 8093 0000 sts SummeRoll,r24 |
||
8223 | 8238 50ca 9093 0000 sts (SummeRoll)+1,r25 |
||
8224 | 8239 50ce A093 0000 sts (SummeRoll)+2,r26 |
||
8225 | 8240 50d2 B093 0000 sts (SummeRoll)+3,r27 |
||
8226 | 8241 .L504: |
||
8227 | 8242 50d6 8091 0000 lds r24,EE_Parameter+35 |
||
8228 | 8243 50da 90E0 ldi r25,lo8(0) |
||
8229 | 8244 50dc 2091 0000 lds r18,DiffRoll |
||
8230 | 8245 50e0 3091 0000 lds r19,(DiffRoll)+1 |
||
8231 | 8246 50e4 AC01 movw r20,r24 |
||
8232 | 8247 50e6 429F mul r20,r18 |
||
8233 | 8248 50e8 C001 movw r24,r0 |
||
8234 | 8249 50ea 439F mul r20,r19 |
||
8235 | 8250 50ec 900D add r25,r0 |
||
8236 | 8251 50ee 529F mul r21,r18 |
||
8237 | 8252 50f0 900D add r25,r0 |
||
8238 | 8253 50f2 1124 clr r1 |
||
8239 | 8254 50f4 68E0 ldi r22,lo8(8) |
||
8240 | 8255 50f6 70E0 ldi r23,hi8(8) |
||
8241 | 8256 50f8 0E94 0000 call __divmodhi4 |
||
8242 | 8257 50fc 8B01 movw r16,r22 |
||
8243 | 8258 50fe 2091 0000 lds r18,Ki |
||
8244 | 8259 5102 3091 0000 lds r19,(Ki)+1 |
||
8245 | 8260 5106 4427 clr r20 |
||
8246 | 8261 5108 37FD sbrc r19,7 |
||
8247 | 8262 510a 4095 com r20 |
||
8248 | 8263 510c 542F mov r21,r20 |
||
8249 | 8264 510e 6091 0000 lds r22,SummeRoll |
||
8250 | 8265 5112 7091 0000 lds r23,(SummeRoll)+1 |
||
8251 | 8266 5116 8091 0000 lds r24,(SummeRoll)+2 |
||
8252 | 8267 511a 9091 0000 lds r25,(SummeRoll)+3 |
||
8253 | 8268 511e 0E94 0000 call __divmodsi4 |
||
8254 | 8269 5122 020F add r16,r18 |
||
8255 | 8270 5124 131F adc r17,r19 |
||
8256 | 8271 5126 2091 0000 lds r18,Parameter_DynamicStability |
||
8257 | 8272 512a 30E0 ldi r19,lo8(0) |
||
8258 | 8273 512c 40E0 ldi r20,lo8(0) |
||
8259 | 8274 512e 50E0 ldi r21,hi8(0) |
||
8260 | 8275 5130 C601 movw r24,r12 |
||
8261 | 8276 5132 B501 movw r22,r10 |
||
8262 | 8277 5134 0E94 0000 call __mulsi3 |
||
8263 | 8278 5138 20E4 ldi r18,lo8(64) |
||
8264 | 8279 513a 30E0 ldi r19,hi8(64) |
||
8265 | 8280 513c 40E0 ldi r20,hlo8(64) |
||
8266 | 8281 513e 50E0 ldi r21,hhi8(64) |
||
8267 | 8282 5140 0E94 0000 call __divmodsi4 |
||
8268 | 8283 5144 A901 movw r20,r18 |
||
8269 | 8284 5146 622F mov r22,r18 |
||
8270 | 8285 5148 232F mov r18,r19 |
||
8271 | 8286 514a 0417 cp r16,r20 |
||
8272 | 8287 514c 1507 cpc r17,r21 |
||
8273 | 8288 514e 04F4 brge .L505 |
||
8274 | 8289 5150 C801 movw r24,r16 |
||
8275 | 8290 5152 602F mov r22,r16 |
||
8276 | 8291 5154 292F mov r18,r25 |
||
8277 | 8292 .L505: |
||
8278 | 8293 5156 EE27 clr r30 |
||
8279 | 8294 5158 FF27 clr r31 |
||
8280 | 8295 515a E41B sub r30,r20 |
||
8281 | 8296 515c F50B sbc r31,r21 |
||
8282 | 8297 515e 862F mov r24,r22 |
||
8283 | 8298 5160 922F mov r25,r18 |
||
8284 | 8299 5162 3C01 movw r6,r24 |
||
8285 | 8300 5164 6E16 cp r6,r30 |
||
8286 | 8301 5166 7F06 cpc r7,r31 |
||
8287 | 8302 5168 04F4 brge .L506 |
||
8288 | 8303 516a 3F01 movw r6,r30 |
||
8289 | 8304 .L506: |
||
8290 | 8305 516c F0E0 ldi r31,lo8(Mixer+13) |
||
8291 | 8306 516e CF2E mov r12,r31 |
||
8292 | 8307 5170 F0E0 ldi r31,hi8(Mixer+13) |
||
8293 | 8308 5172 DF2E mov r13,r31 |
||
8294 | 8309 5174 E0E0 ldi r30,lo8(Motor+1) |
||
8295 | 8310 5176 AE2E mov r10,r30 |
||
8296 | 8311 5178 E0E0 ldi r30,hi8(Motor+1) |
||
8297 | 8312 517a BE2E mov r11,r30 |
||
8298 | 8313 517c 70E0 ldi r23,lo8(tmp_motorwert) |
||
8299 | 8314 517e 472E mov r4,r23 |
||
8300 | 8315 5180 70E0 ldi r23,hi8(tmp_motorwert) |
||
8301 | 8316 5182 572E mov r5,r23 |
||
8302 | 8317 5184 B401 movw r22,r8 |
||
8303 | 8318 5186 8827 clr r24 |
||
8304 | 8319 5188 77FD sbrc r23,7 |
||
8305 | 8320 518a 8095 com r24 |
||
8306 | 8321 518c 982F mov r25,r24 |
||
8307 | 8322 518e 6EAB std Y+54,r22 |
||
8308 | 8323 5190 7FAB std Y+55,r23 |
||
8309 | 8324 5192 88AF std Y+56,r24 |
||
8310 | 8325 5194 99AF std Y+57,r25 |
||
8311 | 8326 5196 C301 movw r24,r6 |
||
8312 | 8327 5198 AA27 clr r26 |
||
8313 | 8328 519a 97FD sbrc r25,7 |
||
8314 | 8329 519c A095 com r26 |
||
8315 | 8330 519e BA2F mov r27,r26 |
||
8316 | 8331 51a0 8AAF std Y+58,r24 |
||
8317 | 8332 51a2 9BAF std Y+59,r25 |
||
8318 | 8333 51a4 ACAF std Y+60,r26 |
||
8319 | 8334 51a6 BDAF std Y+61,r27 |
||
8320 | 8335 51a8 9101 movw r18,r2 |
||
8321 | 8336 51aa 4427 clr r20 |
||
8322 | 8337 51ac 37FD sbrc r19,7 |
||
8323 | 8338 51ae 4095 com r20 |
||
8324 | 8339 51b0 542F mov r21,r20 |
||
8325 | 8340 51b2 2296 adiw r28,62-60 |
||
8326 | 8341 51b4 2CAF std Y+60,r18 |
||
8327 | 8342 51b6 3DAF std Y+61,r19 |
||
8328 | 8343 51b8 4EAF std Y+62,r20 |
||
8329 | 8344 51ba 5FAF std Y+63,r21 |
||
8330 | 8345 51bc 2297 sbiw r28,62-60 |
||
8331 | 8346 51be A701 movw r20,r14 |
||
8332 | 8347 51c0 6627 clr r22 |
||
8333 | 8348 51c2 57FD sbrc r21,7 |
||
8334 | 8349 51c4 6095 com r22 |
||
8335 | 8350 51c6 762F mov r23,r22 |
||
8336 | 8351 51c8 2696 adiw r28,66-60 |
||
8337 | 8352 51ca 4CAF std Y+60,r20 |
||
8338 | 8353 51cc 5DAF std Y+61,r21 |
||
8339 | 8354 51ce 6EAF std Y+62,r22 |
||
8340 | 8355 51d0 7FAF std Y+63,r23 |
||
8341 | 8356 51d2 2697 sbiw r28,66-60 |
||
8342 | 8357 .L525: |
||
8343 | 8358 51d4 D601 movw r26,r12 |
||
8344 | 8359 51d6 2C91 ld r18,X |
||
8345 | 8360 51d8 1216 cp __zero_reg__,r18 |
||
8346 | 8361 51da 04F0 brlt .+2 |
||
8347 | 8362 51dc 00C0 rjmp .L507 |
||
8348 | 8363 51de 2034 cpi r18,lo8(64) |
||
8349 | 8364 51e0 01F4 brne .L508 |
||
8350 | 8365 51e2 8701 movw r16,r14 |
||
8351 | 8366 51e4 00C0 rjmp .L509 |
||
8352 | 8367 .L508: |
||
8353 | 8368 51e6 3327 clr r19 |
||
8354 | 8369 51e8 27FD sbrc r18,7 |
||
8355 | 8370 51ea 3095 com r19 |
||
8356 | 8371 51ec 432F mov r20,r19 |
||
8357 | 8372 51ee 532F mov r21,r19 |
||
8358 | 8373 51f0 2696 adiw r28,66-60 |
||
8359 | 8374 51f2 6CAD ldd r22,Y+60 |
||
8360 | 8375 51f4 7DAD ldd r23,Y+61 |
||
8361 | 8376 51f6 8EAD ldd r24,Y+62 |
||
8362 | 8377 51f8 9FAD ldd r25,Y+63 |
||
8363 | 8378 51fa 2697 sbiw r28,66-60 |
||
8364 | 8379 51fc 0E94 0000 call __mulsi3 |
||
8365 | 8380 5200 20E4 ldi r18,lo8(64) |
||
8366 | 8381 5202 30E0 ldi r19,hi8(64) |
||
8367 | 8382 5204 40E0 ldi r20,hlo8(64) |
||
8368 | 8383 5206 50E0 ldi r21,hhi8(64) |
||
8369 | 8384 5208 0E94 0000 call __divmodsi4 |
||
8370 | 8385 520c 8901 movw r16,r18 |
||
8371 | 8386 .L509: |
||
8372 | 8387 520e F601 movw r30,r12 |
||
8373 | 8388 5210 2181 ldd r18,Z+1 |
||
8374 | 8389 5212 2034 cpi r18,lo8(64) |
||
8375 | 8390 5214 01F4 brne .L510 |
||
8376 | 8391 5216 020D add r16,r2 |
||
8377 | 8392 5218 131D adc r17,r3 |
||
8378 | 8393 521a 00C0 rjmp .L511 |
||
8379 | 8394 .L510: |
||
8380 | 8395 521c 203C cpi r18,lo8(-64) |
||
8381 | 8396 521e 01F4 brne .L512 |
||
8382 | 8397 5220 0219 sub r16,r2 |
||
8383 | 8398 5222 1309 sbc r17,r3 |
||
8384 | 8399 5224 00C0 rjmp .L511 |
||
8385 | 8400 .L512: |
||
8386 | 8401 5226 3327 clr r19 |
||
8387 | 8402 5228 27FD sbrc r18,7 |
||
8388 | 8403 522a 3095 com r19 |
||
8389 | 8404 522c 432F mov r20,r19 |
||
8390 | 8405 522e 532F mov r21,r19 |
||
8391 | 8406 5230 2296 adiw r28,62-60 |
||
8392 | 8407 5232 6CAD ldd r22,Y+60 |
||
8393 | 8408 5234 7DAD ldd r23,Y+61 |
||
8394 | 8409 5236 8EAD ldd r24,Y+62 |
||
8395 | 8410 5238 9FAD ldd r25,Y+63 |
||
8396 | 8411 523a 2297 sbiw r28,62-60 |
||
8397 | 8412 523c 0E94 0000 call __mulsi3 |
||
8398 | 8413 5240 20E4 ldi r18,lo8(64) |
||
8399 | 8414 5242 30E0 ldi r19,hi8(64) |
||
8400 | 8415 5244 40E0 ldi r20,hlo8(64) |
||
8401 | 8416 5246 50E0 ldi r21,hhi8(64) |
||
8402 | 8417 5248 0E94 0000 call __divmodsi4 |
||
8403 | 8418 524c 020F add r16,r18 |
||
8404 | 8419 524e 131F adc r17,r19 |
||
8405 | 8420 .L511: |
||
8406 | 8421 5250 D601 movw r26,r12 |
||
8407 | 8422 5252 1296 adiw r26,2 |
||
8408 | 8423 5254 2C91 ld r18,X |
||
8409 | 8424 5256 2034 cpi r18,lo8(64) |
||
8410 | 8425 5258 01F4 brne .L513 |
||
8411 | 8426 525a 060D add r16,r6 |
||
8412 | 8427 525c 171D adc r17,r7 |
||
8413 | 8428 525e 00C0 rjmp .L514 |
||
8414 | 8429 .L513: |
||
8415 | 8430 5260 203C cpi r18,lo8(-64) |
||
8416 | 8431 5262 01F4 brne .L515 |
||
8417 | 8432 5264 0619 sub r16,r6 |
||
8418 | 8433 5266 1709 sbc r17,r7 |
||
8419 | 8434 5268 00C0 rjmp .L514 |
||
8420 | 8435 .L515: |
||
8421 | 8436 526a 3327 clr r19 |
||
8422 | 8437 526c 27FD sbrc r18,7 |
||
8423 | 8438 526e 3095 com r19 |
||
8424 | 8439 5270 432F mov r20,r19 |
||
8425 | 8440 5272 532F mov r21,r19 |
||
8426 | 8441 5274 6AAD ldd r22,Y+58 |
||
8427 | 8442 5276 7BAD ldd r23,Y+59 |
||
8428 | 8443 5278 8CAD ldd r24,Y+60 |
||
8429 | 8444 527a 9DAD ldd r25,Y+61 |
||
8430 | 8445 527c 0E94 0000 call __mulsi3 |
||
8431 | 8446 5280 20E4 ldi r18,lo8(64) |
||
8432 | 8447 5282 30E0 ldi r19,hi8(64) |
||
8433 | 8448 5284 40E0 ldi r20,hlo8(64) |
||
8434 | 8449 5286 50E0 ldi r21,hhi8(64) |
||
8435 | 8450 5288 0E94 0000 call __divmodsi4 |
||
8436 | 8451 528c 020F add r16,r18 |
||
8437 | 8452 528e 131F adc r17,r19 |
||
8438 | 8453 .L514: |
||
8439 | 8454 5290 F601 movw r30,r12 |
||
8440 | 8455 5292 2381 ldd r18,Z+3 |
||
8441 | 8456 5294 2034 cpi r18,lo8(64) |
||
8442 | 8457 5296 01F4 brne .L516 |
||
8443 | 8458 5298 9801 movw r18,r16 |
||
8444 | 8459 529a 280D add r18,r8 |
||
8445 | 8460 529c 391D adc r19,r9 |
||
8446 | 8461 529e 00C0 rjmp .L517 |
||
8447 | 8462 .L516: |
||
8448 | 8463 52a0 203C cpi r18,lo8(-64) |
||
8449 | 8464 52a2 01F4 brne .L518 |
||
8450 | 8465 52a4 9801 movw r18,r16 |
||
8451 | 8466 52a6 2819 sub r18,r8 |
||
8452 | 8467 52a8 3909 sbc r19,r9 |
||
8453 | 8468 52aa 00C0 rjmp .L517 |
||
8454 | 8469 .L518: |
||
8455 | 8470 52ac 3327 clr r19 |
||
8456 | 8471 52ae 27FD sbrc r18,7 |
||
8457 | 8472 52b0 3095 com r19 |
||
8458 | 8473 52b2 432F mov r20,r19 |
||
8459 | 8474 52b4 532F mov r21,r19 |
||
8460 | 8475 52b6 6EA9 ldd r22,Y+54 |
||
8461 | 8476 52b8 7FA9 ldd r23,Y+55 |
||
8462 | 8477 52ba 88AD ldd r24,Y+56 |
||
8463 | 8478 52bc 99AD ldd r25,Y+57 |
||
8464 | 8479 52be 0E94 0000 call __mulsi3 |
||
8465 | 8480 52c2 20E4 ldi r18,lo8(64) |
||
8466 | 8481 52c4 30E0 ldi r19,hi8(64) |
||
8467 | 8482 52c6 40E0 ldi r20,hlo8(64) |
||
8468 | 8483 52c8 50E0 ldi r21,hhi8(64) |
||
8469 | 8484 52ca 0E94 0000 call __divmodsi4 |
||
8470 | 8485 52ce 200F add r18,r16 |
||
8471 | 8486 52d0 311F adc r19,r17 |
||
8472 | 8487 .L517: |
||
8473 | 8488 52d2 D201 movw r26,r4 |
||
8474 | 8489 52d4 8D91 ld r24,X+ |
||
8475 | 8490 52d6 9C91 ld r25,X |
||
8476 | 8491 52d8 8217 cp r24,r18 |
||
8477 | 8492 52da 9307 cpc r25,r19 |
||
8478 | 8493 52dc 04F4 brge .L519 |
||
8479 | 8494 52de 820F add r24,r18 |
||
8480 | 8495 52e0 931F adc r25,r19 |
||
8481 | 8496 52e2 62E0 ldi r22,lo8(2) |
||
8482 | 8497 52e4 70E0 ldi r23,hi8(2) |
||
8483 | 8498 52e6 0E94 0000 call __divmodhi4 |
||
8484 | 8499 52ea 9B01 movw r18,r22 |
||
8485 | 8500 52ec 00C0 rjmp .L520 |
||
8486 | 8501 .L519: |
||
8487 | 8502 52ee 6091 0000 lds r22,Parameter_UserParam7 |
||
8488 | 8503 52f2 6230 cpi r22,lo8(2) |
||
8489 | 8504 52f4 00F4 brsh .L521 |
||
8490 | 8505 52f6 220F lsl r18 |
||
8491 | 8506 52f8 331F rol r19 |
||
8492 | 8507 52fa 281B sub r18,r24 |
||
8493 | 8508 52fc 390B sbc r19,r25 |
||
8494 | 8509 52fe 00C0 rjmp .L520 |
||
8495 | 8510 .L521: |
||
8496 | 8511 5300 821B sub r24,r18 |
||
8497 | 8512 5302 930B sbc r25,r19 |
||
8498 | 8513 5304 70E0 ldi r23,lo8(0) |
||
8499 | 8514 5306 0E94 0000 call __divmodhi4 |
||
8500 | 8515 530a 260F add r18,r22 |
||
8501 | 8516 530c 371F adc r19,r23 |
||
8502 | 8517 .L520: |
||
8503 | 8518 530e 8091 0000 lds r24,MIN_GAS |
||
8504 | 8519 5312 E82F mov r30,r24 |
||
8505 | 8520 5314 F0E0 ldi r31,lo8(0) |
||
8506 | 8521 5316 EE0F lsl r30 |
||
8507 | 8522 5318 FF1F rol r31 |
||
8508 | 8523 531a EE0F lsl r30 |
||
8509 | 8524 531c FF1F rol r31 |
||
8510 | 8525 531e E217 cp r30,r18 |
||
8511 | 8526 5320 F307 cpc r31,r19 |
||
8512 | 8527 5322 04F4 brge .L522 |
||
8513 | 8528 5324 8091 0000 lds r24,MAX_GAS |
||
8514 | 8529 5328 682F mov r22,r24 |
||
8515 | 8530 532a 70E0 ldi r23,lo8(0) |
||
8516 | 8531 532c 660F lsl r22 |
||
8517 | 8532 532e 771F rol r23 |
||
8518 | 8533 5330 660F lsl r22 |
||
8519 | 8534 5332 771F rol r23 |
||
8520 | 8535 5334 F901 movw r30,r18 |
||
8521 | 8536 5336 6217 cp r22,r18 |
||
8522 | 8537 5338 7307 cpc r23,r19 |
||
8523 | 8538 533a 04F4 brge .L522 |
||
8524 | 8539 533c FB01 movw r30,r22 |
||
8525 | 8540 .L522: |
||
8526 | 8541 533e CF01 movw r24,r30 |
||
8527 | 8542 5340 64E0 ldi r22,lo8(4) |
||
8528 | 8543 5342 70E0 ldi r23,hi8(4) |
||
8529 | 8544 5344 0E94 0000 call __divmodhi4 |
||
8530 | 8545 5348 D501 movw r26,r10 |
||
8531 | 8546 534a 6C93 st X,r22 |
||
8532 | 8547 534c CF01 movw r24,r30 |
||
8533 | 8548 534e 64E0 ldi r22,lo8(4) |
||
8534 | 8549 5350 70E0 ldi r23,hi8(4) |
||
8535 | 8550 5352 0E94 0000 call __divmodhi4 |
||
8536 | 8551 5356 880F lsl r24 |
||
8537 | 8552 5358 D501 movw r26,r10 |
||
8538 | 8553 535a 1196 adiw r26,1 |
||
8539 | 8554 535c 8C93 st X,r24 |
||
8540 | 8555 535e D201 movw r26,r4 |
||
8541 | 8556 5360 ED93 st X+,r30 |
||
8542 | 8557 5362 FC93 st X,r31 |
||
8543 | 8558 5364 00C0 rjmp .L524 |
||
8544 | 8559 .L507: |
||
8545 | 8560 5366 F501 movw r30,r10 |
||
8546 | 8561 5368 1082 st Z,__zero_reg__ |
||
8547 | 8562 536a 1182 std Z+1,__zero_reg__ |
||
8548 | 8563 .L524: |
||
8549 | 8564 536c 24E0 ldi r18,lo8(4) |
||
8550 | 8565 536e 30E0 ldi r19,hi8(4) |
||
8551 | 8566 5370 C20E add r12,r18 |
||
8552 | 8567 5372 D31E adc r13,r19 |
||
8553 | 8568 5374 48E0 ldi r20,lo8(8) |
||
8554 | 8569 5376 50E0 ldi r21,hi8(8) |
||
8555 | 8570 5378 A40E add r10,r20 |
||
8556 | 8571 537a B51E adc r11,r21 |
||
8557 | 8572 537c 62E0 ldi r22,lo8(2) |
||
8558 | 8573 537e 70E0 ldi r23,hi8(2) |
||
8559 | 8574 5380 460E add r4,r22 |
||
8560 | 8575 5382 571E adc r5,r23 |
||
8561 | 8576 5384 70E0 ldi r23,lo8(Mixer+61) |
||
8562 | 8577 5386 C716 cp r12,r23 |
||
8563 | 8578 5388 70E0 ldi r23,hi8(Mixer+61) |
||
8564 | 8579 538a D706 cpc r13,r23 |
||
8565 | 8580 538c 01F0 breq .+2 |
||
8566 | 8581 538e 00C0 rjmp .L525 |
||
8567 | 8582 /* epilogue start */ |
||
8568 | 8583 5390 CB5B subi r28,lo8(-(69)) |
||
8569 | 8584 5392 DF4F sbci r29,hi8(-(69)) |
||
8570 | 8585 5394 E2E1 ldi r30, lo8(18) |
||
8571 | 8586 5396 0C94 0000 jmp __epilogue_restores__ + ((18 - 18) * 2) |
||
8572 | 8588 .global BaroExpandActive |
||
8573 | 8589 .global BaroExpandActive |
||
8574 | 8590 .section .bss |
||
8575 | 8593 BaroExpandActive: |
||
8576 | 8594 0000 0000 .skip 2,0 |
||
8577 | 8595 .global AdNeutralNick |
||
8578 | 8596 .global AdNeutralNick |
||
8579 | 8599 AdNeutralNick: |
||
8580 | 8600 0002 0000 .skip 2,0 |
||
8581 | 8601 .global AdNeutralRoll |
||
8582 | 8602 .global AdNeutralRoll |
||
8583 | 8605 AdNeutralRoll: |
||
8584 | 8606 0004 0000 .skip 2,0 |
||
8585 | 8607 .global AdNeutralGier |
||
8586 | 8608 .global AdNeutralGier |
||
8587 | 8611 AdNeutralGier: |
||
8588 | 8612 0006 0000 .skip 2,0 |
||
8589 | 8613 .global StartNeutralRoll |
||
8590 | 8614 .global StartNeutralRoll |
||
8591 | 8617 StartNeutralRoll: |
||
8592 | 8618 0008 0000 .skip 2,0 |
||
8593 | 8619 .global StartNeutralNick |
||
8594 | 8620 .global StartNeutralNick |
||
8595 | 8623 StartNeutralNick: |
||
8596 | 8624 000a 0000 .skip 2,0 |
||
8597 | 8625 .global NeutralAccX |
||
8598 | 8626 .global NeutralAccX |
||
8599 | 8629 NeutralAccX: |
||
8600 | 8630 000c 0000 .skip 2,0 |
||
8601 | 8631 .global NeutralAccY |
||
8602 | 8632 .global NeutralAccY |
||
8603 | 8635 NeutralAccY: |
||
8604 | 8636 000e 0000 .skip 2,0 |
||
8605 | 8637 .global NaviCntAcc |
||
8606 | 8638 .global NaviCntAcc |
||
8607 | 8641 NaviCntAcc: |
||
8608 | 8642 0010 0000 .skip 2,0 |
||
8609 | 8643 .global NeutralAccZ |
||
8610 | 8644 .global NeutralAccZ |
||
8611 | 8647 NeutralAccZ: |
||
8612 | 8648 0012 0000 .skip 2,0 |
||
8613 | 8649 .global ControlHeading |
||
8614 | 8650 .global ControlHeading |
||
8615 | 8653 ControlHeading: |
||
8616 | 8654 0014 00 .skip 1,0 |
||
8617 | 8655 .global IntegralNick |
||
8618 | 8656 .global IntegralNick |
||
8619 | 8659 IntegralNick: |
||
8620 | 8660 0015 0000 0000 .skip 4,0 |
||
8621 | 8661 .global IntegralNick2 |
||
8622 | 8662 .global IntegralNick2 |
||
8623 | 8665 IntegralNick2: |
||
8624 | 8666 0019 0000 0000 .skip 4,0 |
||
8625 | 8667 .global IntegralRoll |
||
8626 | 8668 .global IntegralRoll |
||
8627 | 8671 IntegralRoll: |
||
8628 | 8672 001d 0000 0000 .skip 4,0 |
||
8629 | 8673 .global IntegralRoll2 |
||
8630 | 8674 .global IntegralRoll2 |
||
8631 | 8677 IntegralRoll2: |
||
8632 | 8678 0021 0000 0000 .skip 4,0 |
||
8633 | 8679 .global IntegralAccNick |
||
8634 | 8680 .global IntegralAccNick |
||
8635 | 8683 IntegralAccNick: |
||
8636 | 8684 0025 0000 0000 .skip 4,0 |
||
8637 | 8685 .global IntegralAccRoll |
||
8638 | 8686 .global IntegralAccRoll |
||
8639 | 8689 IntegralAccRoll: |
||
8640 | 8690 0029 0000 0000 .skip 4,0 |
||
8641 | 8691 .global IntegralAccZ |
||
8642 | 8692 .global IntegralAccZ |
||
8643 | 8695 IntegralAccZ: |
||
8644 | 8696 002d 0000 0000 .skip 4,0 |
||
8645 | 8697 .global Integral_Gier |
||
8646 | 8698 .global Integral_Gier |
||
8647 | 8701 Integral_Gier: |
||
8648 | 8702 0031 0000 0000 .skip 4,0 |
||
8649 | 8703 .global Mess_IntegralNick |
||
8650 | 8704 .global Mess_IntegralNick |
||
8651 | 8707 Mess_IntegralNick: |
||
8652 | 8708 0035 0000 0000 .skip 4,0 |
||
8653 | 8709 .global Mess_IntegralNick2 |
||
8654 | 8710 .global Mess_IntegralNick2 |
||
8655 | 8713 Mess_IntegralNick2: |
||
8656 | 8714 0039 0000 0000 .skip 4,0 |
||
8657 | 8715 .global Mess_IntegralRoll |
||
8658 | 8716 .global Mess_IntegralRoll |
||
8659 | 8719 Mess_IntegralRoll: |
||
8660 | 8720 003d 0000 0000 .skip 4,0 |
||
8661 | 8721 .global Mess_IntegralRoll2 |
||
8662 | 8722 .global Mess_IntegralRoll2 |
||
8663 | 8725 Mess_IntegralRoll2: |
||
8664 | 8726 0041 0000 0000 .skip 4,0 |
||
8665 | 8727 .global Mess_Integral_Gier |
||
8666 | 8728 .global Mess_Integral_Gier |
||
8667 | 8731 Mess_Integral_Gier: |
||
8668 | 8732 0045 0000 0000 .skip 4,0 |
||
8669 | 8733 .global Mess_Integral_Gier2 |
||
8670 | 8734 .global Mess_Integral_Gier2 |
||
8671 | 8737 Mess_Integral_Gier2: |
||
8672 | 8738 0049 0000 0000 .skip 4,0 |
||
8673 | 8739 .global SummeNick |
||
8674 | 8740 .global SummeNick |
||
8675 | 8743 SummeNick: |
||
8676 | 8744 004d 0000 0000 .skip 4,0 |
||
8677 | 8745 .global SummeRoll |
||
8678 | 8746 .global SummeRoll |
||
8679 | 8749 SummeRoll: |
||
8680 | 8750 0051 0000 0000 .skip 4,0 |
||
8681 | 8751 .global Mess_Integral_Hoch |
||
8682 | 8752 .global Mess_Integral_Hoch |
||
8683 | 8755 Mess_Integral_Hoch: |
||
8684 | 8756 0055 0000 0000 .skip 4,0 |
||
8685 | 8757 .global KompassValue |
||
8686 | 8758 .global KompassValue |
||
8687 | 8761 KompassValue: |
||
8688 | 8762 0059 0000 .skip 2,0 |
||
8689 | 8763 .global KompassStartwert |
||
8690 | 8764 .global KompassStartwert |
||
8691 | 8767 KompassStartwert: |
||
8692 | 8768 005b 0000 .skip 2,0 |
||
8693 | 8769 .global KompassRichtung |
||
8694 | 8770 .global KompassRichtung |
||
8695 | 8773 KompassRichtung: |
||
8696 | 8774 005d 0000 .skip 2,0 |
||
8697 | 8775 .global KompassSignalSchlecht |
||
8698 | 8776 .data |
||
8699 | 8779 KompassSignalSchlecht: |
||
8700 | 8780 0000 F401 .word 500 |
||
8701 | 8781 .global HoehenReglerAktiv |
||
8702 | 8782 .global HoehenReglerAktiv |
||
8703 | 8783 .section .bss |
||
8704 | 8786 HoehenReglerAktiv: |
||
8705 | 8787 005f 00 .skip 1,0 |
||
8706 | 8788 .global TrichterFlug |
||
8707 | 8789 .global TrichterFlug |
||
8708 | 8792 TrichterFlug: |
||
8709 | 8793 0060 00 .skip 1,0 |
||
8710 | 8794 .global Umschlag180Nick |
||
8711 | 8795 .data |
||
8712 | 8798 Umschlag180Nick: |
||
8713 | 8799 0002 90 .byte -112 |
||
8714 | 8800 0003 D0 .byte -48 |
||
8715 | 8801 0004 03 .byte 3 |
||
8716 | 8802 0005 00 .byte 0 |
||
8717 | 8803 .global Umschlag180Roll |
||
8718 | 8806 Umschlag180Roll: |
||
8719 | 8807 0006 90 .byte -112 |
||
8720 | 8808 0007 D0 .byte -48 |
||
8721 | 8809 0008 03 .byte 3 |
||
8722 | 8810 0009 00 .byte 0 |
||
8723 | 8811 .global GierGyroFehler |
||
8724 | 8812 .global GierGyroFehler |
||
8725 | 8813 .section .bss |
||
8726 | 8816 GierGyroFehler: |
||
8727 | 8817 0061 0000 .skip 2,0 |
||
8728 | 8818 .global Poti |
||
8729 | 8819 .global Poti |
||
8730 | 8822 Poti: |
||
8731 | 8823 0063 0000 0000 .skip 9,0 |
||
8732 | 8823 0000 0000 |
||
8733 | 8823 00 |
||
8734 | 8824 .global SenderOkay |
||
8735 | 8825 .global SenderOkay |
||
8736 | 8828 SenderOkay: |
||
8737 | 8829 006c 00 .skip 1,0 |
||
8738 | 8830 .global StickNick |
||
8739 | 8831 .global StickNick |
||
8740 | 8834 StickNick: |
||
8741 | 8835 006d 0000 .skip 2,0 |
||
8742 | 8836 .global StickRoll |
||
8743 | 8837 .global StickRoll |
||
8744 | 8840 StickRoll: |
||
8745 | 8841 006f 0000 .skip 2,0 |
||
8746 | 8842 .global StickGier |
||
8747 | 8843 .global StickGier |
||
8748 | 8846 StickGier: |
||
8749 | 8847 0071 0000 .skip 2,0 |
||
8750 | 8848 .global StickGas |
||
8751 | 8849 .global StickGas |
||
8752 | 8852 StickGas: |
||
8753 | 8853 0073 0000 .skip 2,0 |
||
8754 | 8854 .global MotorenEin |
||
8755 | 8855 .global MotorenEin |
||
8756 | 8858 MotorenEin: |
||
8757 | 8859 0075 00 .skip 1,0 |
||
8758 | 8860 .global StartTrigger |
||
8759 | 8861 .global StartTrigger |
||
8760 | 8864 StartTrigger: |
||
8761 | 8865 0076 00 .skip 1,0 |
||
8762 | 8866 .global HoehenWert |
||
8763 | 8867 .global HoehenWert |
||
8764 | 8870 HoehenWert: |
||
8765 | 8871 0077 0000 0000 .skip 4,0 |
||
8766 | 8872 .global SollHoehe |
||
8767 | 8873 .global SollHoehe |
||
8768 | 8876 SollHoehe: |
||
8769 | 8877 007b 0000 0000 .skip 4,0 |
||
8770 | 8878 .global LageKorrekturRoll |
||
8771 | 8879 .global LageKorrekturRoll |
||
8772 | 8882 LageKorrekturRoll: |
||
8773 | 8883 007f 0000 .skip 2,0 |
||
8774 | 8884 .global LageKorrekturNick |
||
8775 | 8885 .global LageKorrekturNick |
||
8776 | 8888 LageKorrekturNick: |
||
8777 | 8889 0081 0000 .skip 2,0 |
||
8778 | 8890 .global HoverGas |
||
8779 | 8891 .global HoverGas |
||
8780 | 8894 HoverGas: |
||
8781 | 8895 0083 0000 .skip 2,0 |
||
8782 | 8896 .global Ki |
||
8783 | 8897 .data |
||
8784 | 8900 Ki: |
||
8785 | 8901 000a 3801 .word 312 |
||
8786 | 8902 .global Looping_Nick |
||
8787 | 8903 .global Looping_Nick |
||
8788 | 8904 .section .bss |
||
8789 | 8907 Looping_Nick: |
||
8790 | 8908 0085 00 .skip 1,0 |
||
8791 | 8909 .global Looping_Roll |
||
8792 | 8910 .global Looping_Roll |
||
8793 | 8913 Looping_Roll: |
||
8794 | 8914 0086 00 .skip 1,0 |
||
8795 | 8915 .global Looping_Links |
||
8796 | 8916 .global Looping_Links |
||
8797 | 8919 Looping_Links: |
||
8798 | 8920 0087 00 .skip 1,0 |
||
8799 | 8921 .global Looping_Rechts |
||
8800 | 8922 .global Looping_Rechts |
||
8801 | 8925 Looping_Rechts: |
||
8802 | 8926 0088 00 .skip 1,0 |
||
8803 | 8927 .global Looping_Unten |
||
8804 | 8928 .global Looping_Unten |
||
8805 | 8931 Looping_Unten: |
||
8806 | 8932 0089 00 .skip 1,0 |
||
8807 | 8933 .global Looping_Oben |
||
8808 | 8934 .global Looping_Oben |
||
8809 | 8937 Looping_Oben: |
||
8810 | 8938 008a 00 .skip 1,0 |
||
8811 | 8939 .global Parameter_Luftdruck_D |
||
8812 | 8940 .data |
||
8813 | 8943 Parameter_Luftdruck_D: |
||
8814 | 8944 000c 30 .byte 48 |
||
8815 | 8945 .global Parameter_MaxHoehe |
||
8816 | 8948 Parameter_MaxHoehe: |
||
8817 | 8949 000d FB .byte -5 |
||
8818 | 8950 .global Parameter_Hoehe_P |
||
8819 | 8953 Parameter_Hoehe_P: |
||
8820 | 8954 000e 10 .byte 16 |
||
8821 | 8955 .global Parameter_Hoehe_ACC_Wirkung |
||
8822 | 8958 Parameter_Hoehe_ACC_Wirkung: |
||
8823 | 8959 000f 3A .byte 58 |
||
8824 | 8960 .global Parameter_KompassWirkung |
||
8825 | 8963 Parameter_KompassWirkung: |
||
8826 | 8964 0010 40 .byte 64 |
||
8827 | 8965 .global Parameter_Hoehe_GPS_Z |
||
8828 | 8968 Parameter_Hoehe_GPS_Z: |
||
8829 | 8969 0011 40 .byte 64 |
||
8830 | 8970 .global Parameter_Gyro_D |
||
8831 | 8973 Parameter_Gyro_D: |
||
8832 | 8974 0012 08 .byte 8 |
||
8833 | 8975 .global Parameter_Gyro_P |
||
8834 | 8978 Parameter_Gyro_P: |
||
8835 | 8979 0013 96 .byte -106 |
||
8836 | 8980 .global Parameter_Gyro_I |
||
8837 | 8983 Parameter_Gyro_I: |
||
8838 | 8984 0014 96 .byte -106 |
||
8839 | 8985 .global Parameter_Gyro_Gier_P |
||
8840 | 8988 Parameter_Gyro_Gier_P: |
||
8841 | 8989 0015 96 .byte -106 |
||
8842 | 8990 .global Parameter_Gyro_Gier_I |
||
8843 | 8993 Parameter_Gyro_Gier_I: |
||
8844 | 8994 0016 96 .byte -106 |
||
8845 | 8995 .global Parameter_Gier_P |
||
8846 | 8998 Parameter_Gier_P: |
||
8847 | 8999 0017 02 .byte 2 |
||
8848 | 9000 .global Parameter_I_Faktor |
||
8849 | 9003 Parameter_I_Faktor: |
||
8850 | 9004 0018 0A .byte 10 |
||
8851 | 9005 .global Parameter_UserParam1 |
||
8852 | 9006 .global Parameter_UserParam1 |
||
8853 | 9007 .section .bss |
||
8854 | 9010 Parameter_UserParam1: |
||
8855 | 9011 008b 00 .skip 1,0 |
||
8856 | 9012 .global Parameter_UserParam2 |
||
8857 | 9013 .global Parameter_UserParam2 |
||
8858 | 9016 Parameter_UserParam2: |
||
8859 | 9017 008c 00 .skip 1,0 |
||
8860 | 9018 .global Parameter_UserParam3 |
||
8861 | 9019 .global Parameter_UserParam3 |
||
8862 | 9022 Parameter_UserParam3: |
||
8863 | 9023 008d 00 .skip 1,0 |
||
8864 | 9024 .global Parameter_UserParam4 |
||
8865 | 9025 .global Parameter_UserParam4 |
||
8866 | 9028 Parameter_UserParam4: |
||
8867 | 9029 008e 00 .skip 1,0 |
||
8868 | 9030 .global Parameter_UserParam5 |
||
8869 | 9031 .global Parameter_UserParam5 |
||
8870 | 9034 Parameter_UserParam5: |
||
8871 | 9035 008f 00 .skip 1,0 |
||
8872 | 9036 .global Parameter_UserParam6 |
||
8873 | 9037 .global Parameter_UserParam6 |
||
8874 | 9040 Parameter_UserParam6: |
||
8875 | 9041 0090 00 .skip 1,0 |
||
8876 | 9042 .global Parameter_UserParam7 |
||
8877 | 9043 .global Parameter_UserParam7 |
||
8878 | 9046 Parameter_UserParam7: |
||
8879 | 9047 0091 00 .skip 1,0 |
||
8880 | 9048 .global Parameter_UserParam8 |
||
8881 | 9049 .global Parameter_UserParam8 |
||
8882 | 9052 Parameter_UserParam8: |
||
8883 | 9053 0092 00 .skip 1,0 |
||
8884 | 9054 .global Parameter_ServoNickControl |
||
8885 | 9055 .data |
||
8886 | 9058 Parameter_ServoNickControl: |
||
8887 | 9059 0019 64 .byte 100 |
||
8888 | 9060 .global Parameter_ServoRollControl |
||
8889 | 9063 Parameter_ServoRollControl: |
||
8890 | 9064 001a 64 .byte 100 |
||
8891 | 9065 .global Parameter_LoopGasLimit |
||
8892 | 9068 Parameter_LoopGasLimit: |
||
8893 | 9069 001b 46 .byte 70 |
||
8894 | 9070 .global Parameter_AchsKopplung1 |
||
8895 | 9073 Parameter_AchsKopplung1: |
||
8896 | 9074 001c 5A .byte 90 |
||
8897 | 9075 .global Parameter_AchsKopplung2 |
||
8898 | 9078 Parameter_AchsKopplung2: |
||
8899 | 9079 001d 41 .byte 65 |
||
8900 | 9080 .global Parameter_CouplingYawCorrection |
||
8901 | 9083 Parameter_CouplingYawCorrection: |
||
8902 | 9084 001e 40 .byte 64 |
||
8903 | 9085 .global Parameter_DynamicStability |
||
8904 | 9088 Parameter_DynamicStability: |
||
8905 | 9089 001f 64 .byte 100 |
||
8906 | 9090 .global CareFree |
||
8907 | 9091 .global CareFree |
||
8908 | 9092 .section .bss |
||
8909 | 9095 CareFree: |
||
8910 | 9096 0093 00 .skip 1,0 |
||
8911 | 9097 .global ExternStickNick |
||
8912 | 9098 .global ExternStickNick |
||
8913 | 9101 ExternStickNick: |
||
8914 | 9102 0094 0000 .skip 2,0 |
||
8915 | 9103 .global ExternStickRoll |
||
8916 | 9104 .global ExternStickRoll |
||
8917 | 9107 ExternStickRoll: |
||
8918 | 9108 0096 0000 .skip 2,0 |
||
8919 | 9109 .global ExternStickGier |
||
8920 | 9110 .global ExternStickGier |
||
8921 | 9113 ExternStickGier: |
||
8922 | 9114 0098 0000 .skip 2,0 |
||
8923 | 9115 .global ExternHoehenValue |
||
8924 | 9116 .data |
||
8925 | 9119 ExternHoehenValue: |
||
8926 | 9120 0020 ECFF .word -20 |
||
8927 | 9121 .global MaxStickNick |
||
8928 | 9122 .global MaxStickNick |
||
8929 | 9123 .section .bss |
||
8930 | 9126 MaxStickNick: |
||
8931 | 9127 009a 0000 .skip 2,0 |
||
8932 | 9128 .global MaxStickRoll |
||
8933 | 9129 .global MaxStickRoll |
||
8934 | 9132 MaxStickRoll: |
||
8935 | 9133 009c 0000 .skip 2,0 |
||
8936 | 9134 .global modell_fliegt |
||
8937 | 9135 .global modell_fliegt |
||
8938 | 9138 modell_fliegt: |
||
8939 | 9139 009e 0000 .skip 2,0 |
||
8940 | 9140 .global FCFlags |
||
8941 | 9141 .global FCFlags |
||
8942 | 9144 FCFlags: |
||
8943 | 9145 00a0 00 .skip 1,0 |
||
8944 | 9146 .global GIER_GRAD_FAKTOR |
||
8945 | 9147 .data |
||
8946 | 9150 GIER_GRAD_FAKTOR: |
||
8947 | 9151 0022 0B .byte 11 |
||
8948 | 9152 0023 05 .byte 5 |
||
8949 | 9153 0024 00 .byte 0 |
||
8950 | 9154 0025 00 .byte 0 |
||
8951 | 9155 .global VarioCharacter |
||
8952 | 9158 VarioCharacter: |
||
8953 | 9159 0026 20 .byte 32 |
||
8954 | 9160 .lcomm HeightTrimmingFlag.3091,1 |
||
8955 | 9161 .lcomm BaroAtLowerLimit.3089,1 |
||
8956 | 9162 .lcomm BaroAtUpperLimit.3088,1 |
||
8957 | 9165 delay.3087: |
||
8958 | 9166 0027 64 .byte 100 |
||
8959 | 9167 .lcomm HoverGasFilter.3086,4 |
||
8960 | 9170 HoverGasMax.3085: |
||
8961 | 9171 0028 FF03 .word 1023 |
||
8962 | 9172 .lcomm HoverGasMin.3084,2 |
||
8963 | 9175 StickGasHover.3083: |
||
8964 | 9176 002a 7800 .word 120 |
||
8965 | 9177 .lcomm FilterHCGas.3082,2 |
||
8966 | 9178 .lcomm HeightTrimming.3081,2 |
||
8967 | 9179 .lcomm MittelIntegralRoll_Alt.3072,4 |
||
8968 | 9180 .lcomm MittelIntegralNick_Alt.3071,4 |
||
8969 | 9181 .lcomm last_r_n.3070,1 |
||
8970 | 9182 .lcomm last_r_p.3069,1 |
||
8971 | 9183 .lcomm last_n_n.3068,1 |
||
8972 | 9184 .lcomm last_n_p.3067,1 |
||
8973 | 9185 .lcomm cnt.3066,2 |
||
8974 | 9186 .lcomm stick_roll.3060,2 |
||
8975 | 9187 .lcomm stick_nick.3059,2 |
||
8976 | 9188 .lcomm ausgleichRoll.3054,4 |
||
8977 | 9189 .lcomm ausgleichNick.3053,4 |
||
8978 | 9190 .lcomm NeueKompassRichtungMerken.3052,1 |
||
8979 | 9191 .lcomm calibration_done.3051,1 |
||
8980 | 9192 .lcomm delay_ausschalten.3050,1 |
||
8981 | 9193 .lcomm delay_einschalten.3049,1 |
||
8982 | 9194 .lcomm delay_neutral.3048,1 |
||
8983 | 9195 .lcomm RcLostTimer.3047,2 |
||
8984 | 9196 .lcomm IntegralFehlerRoll.3046,4 |
||
8985 | 9197 .lcomm IntegralFehlerNick.3045,4 |
||
8986 | 9198 .lcomm tmp_long2.3044,4 |
||
8987 | 9199 .lcomm tmp_long.3043,4 |
||
8988 | 9200 .lcomm sollGier.3042,4 |
||
8989 | 9203 C.354.3251: |
||
8990 | 9204 002c 00 .byte 0 |
||
8991 | 9205 002d 02 .byte 2 |
||
8992 | 9206 002e 04 .byte 4 |
||
8993 | 9207 002f 06 .byte 6 |
||
8994 | 9208 0030 07 .byte 7 |
||
8995 | 9209 0031 08 .byte 8 |
||
8996 | 9210 0032 08 .byte 8 |
||
8997 | 9211 0033 08 .byte 8 |
||
8998 | 9212 0034 07 .byte 7 |
||
8999 | 9213 0035 06 .byte 6 |
||
9000 | 9214 0036 04 .byte 4 |
||
9001 | 9215 0037 02 .byte 2 |
||
9002 | 9216 0038 00 .byte 0 |
||
9003 | 9217 0039 FE .byte -2 |
||
9004 | 9218 003a FC .byte -4 |
||
9005 | 9219 003b FA .byte -6 |
||
9006 | 9220 003c F9 .byte -7 |
||
9007 | 9221 003d F8 .byte -8 |
||
9008 | 9222 003e F8 .byte -8 |
||
9009 | 9223 003f F8 .byte -8 |
||
9010 | 9224 0040 F9 .byte -7 |
||
9011 | 9225 0041 FA .byte -6 |
||
9012 | 9226 0042 FC .byte -4 |
||
9013 | 9227 0043 FE .byte -2 |
||
9014 | 9228 0044 00 .byte 0 |
||
9015 | 9229 0045 02 .byte 2 |
||
9016 | 9230 0046 04 .byte 4 |
||
9017 | 9231 0047 06 .byte 6 |
||
9018 | 9232 0048 07 .byte 7 |
||
9019 | 9233 0049 08 .byte 8 |
||
9020 | 9234 004a 08 .byte 8 |
||
9021 | 9235 .lcomm d2Nick.2607,2 |
||
9022 | 9236 .lcomm d2Roll.2606,2 |
||
9023 | 9237 .lcomm oldRoll.2605,2 |
||
9024 | 9238 .lcomm oldNick.2604,2 |
||
9025 | 9239 .lcomm tmpl4.2603,4 |
||
9026 | 9240 .lcomm tmpl3.2602,4 |
||
9027 | 9241 .lcomm tmpl2.2601,4 |
||
9028 | 9242 .lcomm tmpl.2600,4 |
||
9029 | 9243 .section .progmem.data,"a",@progbits |
||
9030 | 9246 __c.2485: |
||
9031 | 9247 0000 0A0D 4143 .string "\n\rACC not calibrated!\r\n" |
||
9032 | 9247 4320 6E6F |
||
9033 | 9247 7420 6361 |
||
9034 | 9247 6C69 6272 |
||
9035 | 9247 6174 6564 |
||
9036 | 9248 .comm TrimNick,2,1 |
||
9037 | 9249 .comm TrimRoll,2,1 |
||
9038 | 9250 .comm ErsatzKompass,4,1 |
||
9039 | 9251 .comm ErsatzKompassInGrad,2,1 |
||
9040 | 9252 .comm MesswertNick,2,1 |
||
9041 | 9253 .comm MesswertRoll,2,1 |
||
9042 | 9254 .comm MesswertGier,2,1 |
||
9043 | 9255 .comm Mittelwert_AccNick,2,1 |
||
9044 | 9256 .comm Mittelwert_AccRoll,2,1 |
||
9045 | 9257 .comm NaviAccNick,2,1 |
||
9046 | 9258 .comm NaviAccRoll,2,1 |
||
9047 | 9259 .comm h,1,1 |
||
9048 | 9260 .comm m,1,1 |
||
9049 | 9261 .comm s,1,1 |
||
9050 | 9262 .comm DiffNick,2,1 |
||
9051 | 9263 .comm DiffRoll,2,1 |
||
9052 | 9264 .comm Parameter_Servo3,1,1 |
||
9053 | 9265 .comm Parameter_Servo4,1,1 |
||
9054 | 9266 .comm Parameter_Servo5,1,1 |
||
9055 | 9267 .comm Parameter_J16Bitmask,1,1 |
||
9056 | 9268 .comm Parameter_J16Timing,1,1 |
||
9057 | 9269 .comm Parameter_J17Bitmask,1,1 |
||
9058 | 9270 .comm Parameter_J17Timing,1,1 |
||
9059 | 9271 .comm MesswertGierBias,2,1 |
||
9060 | 9272 .comm RohMesswertNick,2,1 |
||
9061 | 9273 .comm RohMesswertRoll,2,1 |
||
9062 | 9274 .comm MittelIntegralNick,4,1 |
||
9063 | 9275 .comm MittelIntegralRoll,4,1 |
||
9064 | 9276 .comm MittelIntegralNick2,4,1 |
||
9065 | 9277 .comm MittelIntegralRoll2,4,1 |
||
9066 | 9278 .comm MAX_GAS,1,1 |
||
9067 | 9279 .comm MIN_GAS,1,1 |
||
9068 | 9280 .comm GyroFaktor,1,1 |
||
9069 | 9281 .comm GyroFaktorGier,1,1 |
||
9070 | 9282 .comm IntegralFaktor,1,1 |
||
9071 | 9283 .comm IntegralFaktorGier,1,1 |
||
9072 | 9284 .comm Parameter_NaviGpsModeControl,1,1 |
||
9073 | 9285 .comm Parameter_NaviGpsGain,1,1 |
||
9074 | 9286 .comm Parameter_NaviGpsP,1,1 |
||
9075 | 9287 .comm Parameter_NaviGpsI,1,1 |
||
9076 | 9288 .comm Parameter_NaviGpsD,1,1 |
||
9077 | 9289 .comm Parameter_NaviGpsACC,1,1 |
||
9078 | 9290 .comm Parameter_NaviOperatingRadius,1,1 |
||
9079 | 9291 .comm Parameter_NaviWindCorrection,1,1 |
||
9080 | 9292 .comm Parameter_NaviSpeedCompensation,1,1 |
||
9081 | 9293 .comm Parameter_ExternalControl,1,1 |
||
9082 | 9294 .comm KopplungsteilNickRoll,2,1 |
||
9083 | 9295 .comm KopplungsteilRollNick,2,1 |
||
9084 | 9296 .comm tmp_motorwert,24,1 |
||
9085 | 9297 .global __do_copy_data |
||
9086 | 9298 .global __do_clear_bss |
||
1755 | - | 9087 | DEFINED SYMBOLS |
9088 | *ABS*:00000000 fc.c |
||
1789 | - | 9089 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:2 *ABS*:0000003f __SREG__ |
9090 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:3 *ABS*:0000003e __SP_H__ |
||
9091 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:4 *ABS*:0000003d __SP_L__ |
||
9092 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:5 *ABS*:00000034 __CCP__ |
||
9093 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:6 *ABS*:00000000 __tmp_reg__ |
||
9094 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:7 *ABS*:00000001 __zero_reg__ |
||
9095 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:11 .text:00000000 CopyDebugValues |
||
9096 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8659 .bss:00000015 IntegralNick |
||
9097 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8671 .bss:0000001d IntegralRoll |
||
1755 | - | 9098 | *COM*:00000002 Mittelwert_AccNick |
9099 | *COM*:00000002 Mittelwert_AccRoll |
||
1789 | - | 9100 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8611 .bss:00000006 AdNeutralGier |
9101 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8870 .bss:00000077 HoehenWert |
||
9102 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8761 .bss:00000059 KompassValue |
||
9103 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8828 .bss:0000006c SenderOkay |
||
1755 | - | 9104 | *COM*:00000004 ErsatzKompass |
1789 | - | 9105 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9150 .data:00000022 GIER_GRAD_FAKTOR |
9106 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:167 .text:000001ea Mittelwert |
||
1755 | - | 9107 | *COM*:00000002 MesswertGier |
9108 | *COM*:00000002 RohMesswertNick |
||
9109 | *COM*:00000002 RohMesswertRoll |
||
1789 | - | 9110 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8683 .bss:00000025 IntegralAccNick |
9111 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8689 .bss:00000029 IntegralAccRoll |
||
1755 | - | 9112 | *COM*:00000002 NaviAccNick |
9113 | *COM*:00000002 NaviAccRoll |
||
1789 | - | 9114 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8641 .bss:00000010 NaviCntAcc |
9115 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8647 .bss:00000012 NeutralAccZ |
||
9116 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8695 .bss:0000002d IntegralAccZ |
||
9117 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8719 .bss:0000003d Mess_IntegralRoll |
||
9118 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8707 .bss:00000035 Mess_IntegralNick |
||
9119 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8731 .bss:00000045 Mess_Integral_Gier |
||
9120 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8907 .bss:00000085 Looping_Nick |
||
9121 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8913 .bss:00000086 Looping_Roll |
||
9122 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9078 .data:0000001d Parameter_AchsKopplung2 |
||
9123 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9239 .bss:000000ef tmpl3.2602 |
||
1755 | - | 9124 | *COM*:00000002 KopplungsteilNickRoll |
9125 | *COM*:00000002 KopplungsteilRollNick |
||
1789 | - | 9126 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9238 .bss:000000eb tmpl4.2603 |
9127 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9083 .data:0000001e Parameter_CouplingYawCorrection |
||
9128 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9073 .data:0000001c Parameter_AchsKopplung1 |
||
9129 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9241 .bss:000000f7 tmpl.2600 |
||
9130 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9240 .bss:000000f3 tmpl2.2601 |
||
9131 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8792 .bss:00000060 TrichterFlug |
||
1755 | - | 9132 | *COM*:00000002 TrimRoll |
9133 | *COM*:00000002 TrimNick |
||
1789 | - | 9134 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8725 .bss:00000041 Mess_IntegralRoll2 |
9135 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8882 .bss:0000007f LageKorrekturRoll |
||
9136 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8806 .data:00000006 Umschlag180Roll |
||
9137 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8713 .bss:00000039 Mess_IntegralNick2 |
||
9138 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8888 .bss:00000081 LageKorrekturNick |
||
9139 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8798 .data:00000002 Umschlag180Nick |
||
9140 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8701 .bss:00000031 Integral_Gier |
||
9141 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8665 .bss:00000019 IntegralNick2 |
||
9142 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8677 .bss:00000021 IntegralRoll2 |
||
9143 | *COM*:00000002 MesswertNick |
||
9144 | *COM*:00000002 MesswertRoll |
||
9145 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8973 .data:00000012 Parameter_Gyro_D |
||
9146 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9237 .bss:000000e9 oldNick.2604 |
||
9147 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9200 .bss:000000e3 d2Nick.2607 |
||
9148 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9236 .bss:000000e7 oldRoll.2605 |
||
9149 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9235 .bss:000000e5 d2Roll.2606 |
||
9150 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8822 .bss:00000063 Poti |
||
9151 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:1586 .text:00001016 SendMotorData |
||
9152 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8858 .bss:00000075 MotorenEin |
||
9153 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9144 .bss:000000a0 FCFlags |
||
9154 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:1637 .text:00001082 ParameterZuordnung |
||
9155 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8943 .data:0000000c Parameter_Luftdruck_D |
||
9156 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8953 .data:0000000e Parameter_Hoehe_P |
||
9157 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8978 .data:00000013 Parameter_Gyro_P |
||
1755 | - | 9158 | *COM*:00000001 Parameter_J16Timing |
9159 | *COM*:00000001 Parameter_J17Timing |
||
9160 | *COM*:00000001 Parameter_Servo3 |
||
9161 | *COM*:00000001 Parameter_Servo4 |
||
9162 | *COM*:00000001 Parameter_Servo5 |
||
1789 | - | 9163 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8948 .data:0000000d Parameter_MaxHoehe |
9164 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8958 .data:0000000f Parameter_Hoehe_ACC_Wirkung |
||
9165 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8968 .data:00000011 Parameter_Hoehe_GPS_Z |
||
9166 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8963 .data:00000010 Parameter_KompassWirkung |
||
9167 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8983 .data:00000014 Parameter_Gyro_I |
||
9168 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8988 .data:00000015 Parameter_Gyro_Gier_P |
||
9169 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8993 .data:00000016 Parameter_Gyro_Gier_I |
||
9170 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9003 .data:00000018 Parameter_I_Faktor |
||
9171 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9010 .bss:0000008b Parameter_UserParam1 |
||
9172 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9016 .bss:0000008c Parameter_UserParam2 |
||
9173 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9022 .bss:0000008d Parameter_UserParam3 |
||
9174 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9028 .bss:0000008e Parameter_UserParam4 |
||
9175 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9034 .bss:0000008f Parameter_UserParam5 |
||
9176 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9040 .bss:00000090 Parameter_UserParam6 |
||
9177 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9046 .bss:00000091 Parameter_UserParam7 |
||
9178 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9052 .bss:00000092 Parameter_UserParam8 |
||
9179 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9058 .data:00000019 Parameter_ServoNickControl |
||
9180 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9063 .data:0000001a Parameter_ServoRollControl |
||
9181 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9068 .data:0000001b Parameter_LoopGasLimit |
||
9182 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9088 .data:0000001f Parameter_DynamicStability |
||
1755 | - | 9183 | *COM*:00000001 Parameter_ExternalControl |
1789 | - | 9184 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8900 .data:0000000a Ki |
1755 | - | 9185 | *COM*:00000001 MAX_GAS |
9186 | *COM*:00000001 MIN_GAS |
||
1789 | - | 9187 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9095 .bss:00000093 CareFree |
9188 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:2212 .text:00001524 CalibrierMittelwert |
||
9189 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:2339 .text:0000164a SetNeutral |
||
9190 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8629 .bss:0000000c NeutralAccX |
||
9191 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8635 .bss:0000000e NeutralAccY |
||
9192 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8599 .bss:00000002 AdNeutralNick |
||
9193 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8605 .bss:00000004 AdNeutralRoll |
||
9194 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8617 .bss:00000008 StartNeutralRoll |
||
9195 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8623 .bss:0000000a StartNeutralNick |
||
9196 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9246 .progmem.data:00000000 __c.2485 |
||
9197 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8755 .bss:00000055 Mess_Integral_Hoch |
||
9198 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8767 .bss:0000005b KompassStartwert |
||
9199 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9119 .data:00000020 ExternHoehenValue |
||
9200 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8816 .bss:00000061 GierGyroFehler |
||
9201 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:2827 .text:00001b8c Piep |
||
9202 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:2869 .text:00001bd6 MotorRegler |
||
9203 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8852 .bss:00000073 StickGas |
||
9204 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9194 .bss:000000cd RcLostTimer.3047 |
||
9205 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9138 .bss:0000009e modell_fliegt |
||
9206 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8743 .bss:0000004d SummeNick |
||
9207 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8749 .bss:00000051 SummeRoll |
||
9208 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9199 .bss:000000df sollGier.3042 |
||
9209 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9189 .bss:000000c8 NeueKompassRichtungMerken.3052 |
||
9210 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9193 .bss:000000cc delay_neutral.3048 |
||
9211 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9190 .bss:000000c9 calibration_done.3051 |
||
9212 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9192 .bss:000000cb delay_einschalten.3049 |
||
9213 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8737 .bss:00000049 Mess_Integral_Gier2 |
||
9214 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8653 .bss:00000014 ControlHeading |
||
9215 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9191 .bss:000000ca delay_ausschalten.3050 |
||
9216 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9186 .bss:000000be stick_nick.3059 |
||
9217 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9185 .bss:000000bc stick_roll.3060 |
||
9218 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9203 .data:0000002c C.354.3251 |
||
9219 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8834 .bss:0000006d StickNick |
||
9220 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8840 .bss:0000006f StickRoll |
||
9221 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8846 .bss:00000071 StickGier |
||
1755 | - | 9222 | *COM*:00000001 GyroFaktor |
9223 | *COM*:00000001 IntegralFaktor |
||
9224 | *COM*:00000001 GyroFaktorGier |
||
9225 | *COM*:00000001 IntegralFaktorGier |
||
1789 | - | 9226 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9126 .bss:0000009a MaxStickNick |
9227 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9132 .bss:0000009c MaxStickRoll |
||
9228 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8919 .bss:00000087 Looping_Links |
||
9229 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8925 .bss:00000088 Looping_Rechts |
||
9230 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8937 .bss:0000008a Looping_Oben |
||
9231 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8931 .bss:00000089 Looping_Unten |
||
1755 | - | 9232 | *COM*:00000004 MittelIntegralNick |
9233 | *COM*:00000004 MittelIntegralRoll |
||
9234 | *COM*:00000004 MittelIntegralNick2 |
||
9235 | *COM*:00000004 MittelIntegralRoll2 |
||
1789 | - | 9236 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9196 .bss:000000d3 IntegralFehlerNick.3045 |
9237 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9188 .bss:000000c4 ausgleichNick.3053 |
||
9238 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9195 .bss:000000cf IntegralFehlerRoll.3046 |
||
9239 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9187 .bss:000000c0 ausgleichRoll.3054 |
||
9240 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9198 .bss:000000db tmp_long.3043 |
||
9241 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9197 .bss:000000d7 tmp_long2.3044 |
||
9242 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9184 .bss:000000ba cnt.3066 |
||
9243 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9179 .bss:000000b2 MittelIntegralNick_Alt.3071 |
||
9244 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9183 .bss:000000b9 last_n_p.3067 |
||
9245 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9182 .bss:000000b8 last_n_n.3068 |
||
9246 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8779 .data:00000000 KompassSignalSchlecht |
||
9247 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9178 .bss:000000ae MittelIntegralRoll_Alt.3072 |
||
9248 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9181 .bss:000000b7 last_r_p.3069 |
||
9249 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9180 .bss:000000b6 last_r_n.3070 |
||
9250 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8894 .bss:00000083 HoverGas |
||
9251 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8593 .bss:00000000 BaroExpandActive |
||
9252 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9160 .bss:000000a2 BaroAtLowerLimit.3089 |
||
9253 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9161 .bss:000000a3 BaroAtUpperLimit.3088 |
||
9254 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9165 .data:00000027 delay.3087 |
||
9255 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8786 .bss:0000005f HoehenReglerAktiv |
||
9256 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8876 .bss:0000007b SollHoehe |
||
9257 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9158 .data:00000026 VarioCharacter |
||
9258 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9177 .bss:000000ac HeightTrimming.3081 |
||
9259 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9175 .data:0000002a StickGasHover.3083 |
||
9260 | .bss:000000a1 HeightTrimmingFlag.3091 |
||
9261 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8864 .bss:00000076 StartTrigger |
||
9262 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9167 .bss:000000a8 HoverGasMin.3084 |
||
9263 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9170 .data:00000028 HoverGasMax.3085 |
||
9264 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9172 .bss:000000aa FilterHCGas.3082 |
||
9265 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9162 .bss:000000a4 HoverGasFilter.3086 |
||
1755 | - | 9266 | *COM*:00000002 DiffNick |
9267 | *COM*:00000002 DiffRoll |
||
9268 | *COM*:00000018 tmp_motorwert |
||
1789 | - | 9269 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8773 .bss:0000005d KompassRichtung |
9270 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:8998 .data:00000017 Parameter_Gier_P |
||
9271 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9101 .bss:00000094 ExternStickNick |
||
9272 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9107 .bss:00000096 ExternStickRoll |
||
9273 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccQw6Gjs.s:9113 .bss:00000098 ExternStickGier |
||
1755 | - | 9274 | *COM*:00000002 ErsatzKompassInGrad |
9275 | *COM*:00000001 h |
||
9276 | *COM*:00000001 m |
||
9277 | *COM*:00000001 s |
||
9278 | *COM*:00000001 Parameter_J16Bitmask |
||
9279 | *COM*:00000001 Parameter_J17Bitmask |
||
9280 | *COM*:00000002 MesswertGierBias |
||
9281 | *COM*:00000001 Parameter_NaviGpsModeControl |
||
9282 | *COM*:00000001 Parameter_NaviGpsGain |
||
9283 | *COM*:00000001 Parameter_NaviGpsP |
||
9284 | *COM*:00000001 Parameter_NaviGpsI |
||
9285 | *COM*:00000001 Parameter_NaviGpsD |
||
9286 | *COM*:00000001 Parameter_NaviGpsACC |
||
9287 | *COM*:00000001 Parameter_NaviOperatingRadius |
||
9288 | *COM*:00000001 Parameter_NaviWindCorrection |
||
9289 | *COM*:00000001 Parameter_NaviSpeedCompensation |
||
9290 | |||
9291 | UNDEFINED SYMBOLS |
||
9292 | EE_Parameter |
||
9293 | __divmodsi4 |
||
9294 | DebugOut |
||
1789 | - | 9295 | __divmodhi4 |
1755 | - | 9296 | AdWertGier |
9297 | AdWertAccHoch |
||
9298 | UBat |
||
9299 | Motor |
||
9300 | ServoNickValue |
||
9301 | Capacity |
||
9302 | GPS_Nick |
||
9303 | GPS_Roll |
||
9304 | VersionInfo |
||
1789 | - | 9305 | __prologue_saves__ |
9306 | AdWertNickFilter |
||
9307 | AdWertRollFilter |
||
9308 | AdWertAccNick |
||
9309 | AdWertAccRoll |
||
9310 | Aktuell_az |
||
9311 | AdReady |
||
9312 | __mulsi3 |
||
9313 | HiResNick |
||
9314 | HiResRoll |
||
9315 | AdWertNick |
||
1755 | - | 9316 | PlatinenVersion |
9317 | AdWertRoll |
||
9318 | PPM_in |
||
1789 | - | 9319 | __epilogue_restores__ |
9320 | MotorTest |
||
9321 | PC_MotortestActive |
||
9322 | motor_write |
||
9323 | twi_state |
||
9324 | BLFlags |
||
9325 | FromNaviCtrl |
||
9326 | BeepMuster |
||
9327 | beeptime |
||
9328 | SucheGyroOffset |
||
1755 | - | 9329 | ExpandBaro |
9330 | Delay_ms_Mess |
||
9331 | MessLuftdruck |
||
9332 | SucheLuftruckOffset |
||
9333 | SetParamWord |
||
9334 | GetParamWord |
||
9335 | uart_putchar |
||
9336 | _printf_P |
||
9337 | Luftdruck |
||
9338 | StartLuftdruck |
||
9339 | VarioMeter |
||
9340 | GPS_Neutral |
||
9341 | SendVersionToNavi |
||
9342 | LED_Init |
||
9343 | FromNaviCtrl_Value |
||
9344 | ServoActive |
||
1789 | - | 9345 | Delay_ms |
1755 | - | 9346 | PPM_diff |
9347 | SetActiveParamSet |
||
9348 | WinkelOut |
||
9349 | GetActiveParamSet |
||
9350 | ParamSet_ReadFromEEProm |
||
9351 | LipoDetection |
||
9352 | LIBFC_ReceiverInit |
||
9353 | NewPpmData |
||
1789 | - | 9354 | FromNC_Rotate_S |
1755 | - | 9355 | FromNC_Rotate_C |
9356 | GPS_Nick2 |
||
9357 | GPS_Roll2 |
||
9358 | __floatsisf |
||
9359 | __addsf3 |
||
9360 | __fixunssfsi |
||
9361 | ExternControl |
||
9362 | ZaehlMessungen |
||
9363 | BattLowVoltageWarning |
||
9364 | __udivmodhi4 |
||
9365 | DruckOffsetSetting |
||
9366 | SummenHoehe |
||
9367 | ihypot |
||
9368 | c_cos_8192 |
||
9369 | MissingMotor |
||
9370 | Mixer |
||
1789 | - | 9371 | __do_copy_data |
9372 | __do_clear_bss |