1 .file "fc.c" 2 .arch atmega644p 3 __SREG__ = 0x3f 4 __SP_H__ = 0x3e 5 __SP_L__ = 0x3d 6 __tmp_reg__ = 0 7 __zero_reg__ = 1 8 .global __do_copy_data 9 .global __do_clear_bss 10 .text 11 .global Mittelwert 13 Mittelwert: 14 /* prologue: frame size=2 */ 15 0000 2F92 push r2 16 0002 3F92 push r3 17 0004 4F92 push r4 18 0006 5F92 push r5 19 0008 6F92 push r6 20 000a 7F92 push r7 21 000c 8F92 push r8 22 000e 9F92 push r9 23 0010 AF92 push r10 24 0012 BF92 push r11 25 0014 CF92 push r12 26 0016 DF92 push r13 27 0018 EF92 push r14 28 001a FF92 push r15 29 001c 0F93 push r16 30 001e 1F93 push r17 31 0020 CF93 push r28 32 0022 DF93 push r29 33 0024 CDB7 in r28,__SP_L__ 34 0026 DEB7 in r29,__SP_H__ 35 0028 2297 sbiw r28,2 36 002a 0FB6 in __tmp_reg__,__SREG__ 37 002c F894 cli 38 002e DEBF out __SP_H__,r29 39 0030 0FBE out __SREG__,__tmp_reg__ 40 0032 CDBF out __SP_L__,r28 41 /* prologue end (size=26) */ 42 0034 8091 0000 lds r24,AdNeutralGier 43 0038 9091 0000 lds r25,(AdNeutralGier)+1 44 003c 2091 0000 lds r18,AdWertGier 45 0040 3091 0000 lds r19,(AdWertGier)+1 46 0044 821B sub r24,r18 47 0046 930B sbc r25,r19 48 0048 9093 0000 sts (MesswertGier)+1,r25 49 004c 8093 0000 sts MesswertGier,r24 50 0050 8091 0000 lds r24,AdWertRoll 51 0054 9091 0000 lds r25,(AdWertRoll)+1 52 0058 2091 0000 lds r18,AdNeutralRoll 53 005c 3091 0000 lds r19,(AdNeutralRoll)+1 54 0060 821B sub r24,r18 55 0062 930B sbc r25,r19 56 0064 9093 0000 sts (MesswertRoll)+1,r25 57 0068 8093 0000 sts MesswertRoll,r24 58 006c 8091 0000 lds r24,AdWertNick 59 0070 9091 0000 lds r25,(AdWertNick)+1 60 0074 2091 0000 lds r18,AdNeutralNick 61 0078 3091 0000 lds r19,(AdNeutralNick)+1 62 007c 821B sub r24,r18 63 007e 930B sbc r25,r19 64 0080 9093 0000 sts (MesswertNick)+1,r25 65 0084 8093 0000 sts MesswertNick,r24 66 0088 E090 0000 lds r14,Mittelwert_AccNick 67 008c F090 0000 lds r15,(Mittelwert_AccNick)+1 68 0090 6091 0000 lds r22,AdWertAccNick 69 0094 7091 0000 lds r23,(AdWertAccNick)+1 70 0098 0027 clr r16 71 009a F7FC sbrc r15,7 72 009c 0095 com r16 73 009e 102F mov r17,r16 74 00a0 8827 clr r24 75 00a2 77FD sbrc r23,7 76 00a4 8095 com r24 77 00a6 982F mov r25,r24 78 00a8 2CE0 ldi r18,lo8(12) 79 00aa 30E0 ldi r19,hi8(12) 80 00ac 40E0 ldi r20,hlo8(12) 81 00ae 50E0 ldi r21,hhi8(12) 82 00b0 0E94 0000 call __mulsi3 83 00b4 E60E add r14,r22 84 00b6 F71E adc r15,r23 85 00b8 081F adc r16,r24 86 00ba 191F adc r17,r25 87 00bc C801 movw r24,r16 88 00be B701 movw r22,r14 89 00c0 22E0 ldi r18,lo8(2) 90 00c2 30E0 ldi r19,hi8(2) 91 00c4 40E0 ldi r20,hlo8(2) 92 00c6 50E0 ldi r21,hhi8(2) 93 00c8 0E94 0000 call __divmodsi4 94 00cc 3093 0000 sts (Mittelwert_AccNick)+1,r19 95 00d0 2093 0000 sts Mittelwert_AccNick,r18 96 00d4 E090 0000 lds r14,Mittelwert_AccRoll 97 00d8 F090 0000 lds r15,(Mittelwert_AccRoll)+1 98 00dc 6091 0000 lds r22,AdWertAccRoll 99 00e0 7091 0000 lds r23,(AdWertAccRoll)+1 100 00e4 0027 clr r16 101 00e6 F7FC sbrc r15,7 102 00e8 0095 com r16 103 00ea 102F mov r17,r16 104 00ec 8827 clr r24 105 00ee 77FD sbrc r23,7 106 00f0 8095 com r24 107 00f2 982F mov r25,r24 108 00f4 2CE0 ldi r18,lo8(12) 109 00f6 30E0 ldi r19,hi8(12) 110 00f8 40E0 ldi r20,hlo8(12) 111 00fa 50E0 ldi r21,hhi8(12) 112 00fc 0E94 0000 call __mulsi3 113 0100 E60E add r14,r22 114 0102 F71E adc r15,r23 115 0104 081F adc r16,r24 116 0106 191F adc r17,r25 117 0108 C801 movw r24,r16 118 010a B701 movw r22,r14 119 010c 22E0 ldi r18,lo8(2) 120 010e 30E0 ldi r19,hi8(2) 121 0110 40E0 ldi r20,hlo8(2) 122 0112 50E0 ldi r21,hhi8(2) 123 0114 0E94 0000 call __divmodsi4 124 0118 3093 0000 sts (Mittelwert_AccRoll)+1,r19 125 011c 2093 0000 sts Mittelwert_AccRoll,r18 126 0120 6091 0000 lds r22,Mittelwert_AccHoch 127 0124 7091 0000 lds r23,(Mittelwert_AccHoch)+1 128 0128 2091 0000 lds r18,AdWertAccHoch 129 012c 3091 0000 lds r19,(AdWertAccHoch)+1 130 0130 8827 clr r24 131 0132 77FD sbrc r23,7 132 0134 8095 com r24 133 0136 982F mov r25,r24 134 0138 4427 clr r20 135 013a 37FD sbrc r19,7 136 013c 4095 com r20 137 013e 542F mov r21,r20 138 0140 620F add r22,r18 139 0142 731F adc r23,r19 140 0144 841F adc r24,r20 141 0146 951F adc r25,r21 142 0148 22E0 ldi r18,lo8(2) 143 014a 30E0 ldi r19,hi8(2) 144 014c 40E0 ldi r20,hlo8(2) 145 014e 50E0 ldi r21,hhi8(2) 146 0150 0E94 0000 call __divmodsi4 147 0154 3093 0000 sts (Mittelwert_AccHoch)+1,r19 148 0158 2093 0000 sts Mittelwert_AccHoch,r18 149 015c 2091 0000 lds r18,IntegralAccNick 150 0160 3091 0000 lds r19,(IntegralAccNick)+1 151 0164 4091 0000 lds r20,(IntegralAccNick)+2 152 0168 5091 0000 lds r21,(IntegralAccNick)+3 153 016c 6091 0000 lds r22,AdWertAccNick 154 0170 7091 0000 lds r23,(AdWertAccNick)+1 155 0174 CB01 movw r24,r22 156 0176 880F lsl r24 157 0178 991F rol r25 158 017a 860F add r24,r22 159 017c 971F adc r25,r23 160 017e 880F lsl r24 161 0180 991F rol r25 162 0182 880F lsl r24 163 0184 991F rol r25 164 0186 AA27 clr r26 165 0188 97FD sbrc r25,7 166 018a A095 com r26 167 018c BA2F mov r27,r26 168 018e 280F add r18,r24 169 0190 391F adc r19,r25 170 0192 4A1F adc r20,r26 171 0194 5B1F adc r21,r27 172 0196 2093 0000 sts IntegralAccNick,r18 173 019a 3093 0000 sts (IntegralAccNick)+1,r19 174 019e 4093 0000 sts (IntegralAccNick)+2,r20 175 01a2 5093 0000 sts (IntegralAccNick)+3,r21 176 01a6 2091 0000 lds r18,IntegralAccRoll 177 01aa 3091 0000 lds r19,(IntegralAccRoll)+1 178 01ae 4091 0000 lds r20,(IntegralAccRoll)+2 179 01b2 5091 0000 lds r21,(IntegralAccRoll)+3 180 01b6 6091 0000 lds r22,AdWertAccRoll 181 01ba 7091 0000 lds r23,(AdWertAccRoll)+1 182 01be CB01 movw r24,r22 183 01c0 880F lsl r24 184 01c2 991F rol r25 185 01c4 860F add r24,r22 186 01c6 971F adc r25,r23 187 01c8 880F lsl r24 188 01ca 991F rol r25 189 01cc 880F lsl r24 190 01ce 991F rol r25 191 01d0 AA27 clr r26 192 01d2 97FD sbrc r25,7 193 01d4 A095 com r26 194 01d6 BA2F mov r27,r26 195 01d8 280F add r18,r24 196 01da 391F adc r19,r25 197 01dc 4A1F adc r20,r26 198 01de 5B1F adc r21,r27 199 01e0 2093 0000 sts IntegralAccRoll,r18 200 01e4 3093 0000 sts (IntegralAccRoll)+1,r19 201 01e8 4093 0000 sts (IntegralAccRoll)+2,r20 202 01ec 5093 0000 sts (IntegralAccRoll)+3,r21 203 01f0 6091 0000 lds r22,IntegralAccZ 204 01f4 7091 0000 lds r23,(IntegralAccZ)+1 205 01f8 8091 0000 lds r24,(IntegralAccZ)+2 206 01fc 9091 0000 lds r25,(IntegralAccZ)+3 207 0200 E090 0000 lds r14,Aktuell_az 208 0204 F090 0000 lds r15,(Aktuell_az)+1 209 0208 A090 0000 lds r10,NeutralAccZ 210 020c B090 0000 lds r11,(NeutralAccZ)+1 211 0210 C090 0000 lds r12,(NeutralAccZ)+2 212 0214 D090 0000 lds r13,(NeutralAccZ)+3 213 0218 0E94 0000 call __floatsisf 214 021c 3B01 movw r6,r22 215 021e 4C01 movw r8,r24 216 0220 0027 clr r16 217 0222 F7FC sbrc r15,7 218 0224 0095 com r16 219 0226 102F mov r17,r16 220 0228 C801 movw r24,r16 221 022a B701 movw r22,r14 222 022c 0E94 0000 call __floatsisf 223 0230 A601 movw r20,r12 224 0232 9501 movw r18,r10 225 0234 0E94 0000 call __subsf3 226 0238 9B01 movw r18,r22 227 023a AC01 movw r20,r24 228 023c C401 movw r24,r8 229 023e B301 movw r22,r6 230 0240 0E94 0000 call __addsf3 231 0244 0E94 0000 call __fixsfsi 232 0248 6093 0000 sts IntegralAccZ,r22 233 024c 7093 0000 sts (IntegralAccZ)+1,r23 234 0250 8093 0000 sts (IntegralAccZ)+2,r24 235 0254 9093 0000 sts (IntegralAccZ)+3,r25 236 0258 2091 0000 lds r18,Mess_Integral_Gier 237 025c 3091 0000 lds r19,(Mess_Integral_Gier)+1 238 0260 4091 0000 lds r20,(Mess_Integral_Gier)+2 239 0264 5091 0000 lds r21,(Mess_Integral_Gier)+3 240 0268 8091 0000 lds r24,MesswertGier 241 026c 9091 0000 lds r25,(MesswertGier)+1 242 0270 AA27 clr r26 243 0272 97FD sbrc r25,7 244 0274 A095 com r26 245 0276 BA2F mov r27,r26 246 0278 280F add r18,r24 247 027a 391F adc r19,r25 248 027c 4A1F adc r20,r26 249 027e 5B1F adc r21,r27 250 0280 2093 0000 sts Mess_Integral_Gier,r18 251 0284 3093 0000 sts (Mess_Integral_Gier)+1,r19 252 0288 4093 0000 sts (Mess_Integral_Gier)+2,r20 253 028c 5093 0000 sts (Mess_Integral_Gier)+3,r21 254 0290 2091 0000 lds r18,Mess_Integral_Gier2 255 0294 3091 0000 lds r19,(Mess_Integral_Gier2)+1 256 0298 4091 0000 lds r20,(Mess_Integral_Gier2)+2 257 029c 5091 0000 lds r21,(Mess_Integral_Gier2)+3 258 02a0 8091 0000 lds r24,MesswertGier 259 02a4 9091 0000 lds r25,(MesswertGier)+1 260 02a8 AA27 clr r26 261 02aa 97FD sbrc r25,7 262 02ac A095 com r26 263 02ae BA2F mov r27,r26 264 02b0 280F add r18,r24 265 02b2 391F adc r19,r25 266 02b4 4A1F adc r20,r26 267 02b6 5B1F adc r21,r27 268 02b8 2093 0000 sts Mess_Integral_Gier2,r18 269 02bc 3093 0000 sts (Mess_Integral_Gier2)+1,r19 270 02c0 4093 0000 sts (Mess_Integral_Gier2)+2,r20 271 02c4 5093 0000 sts (Mess_Integral_Gier2)+3,r21 272 02c8 2091 0000 lds r18,Looping_Nick 273 02cc 2A83 std Y+2,r18 274 02ce 2223 tst r18 275 02d0 01F0 breq .+2 276 02d2 00C0 rjmp .L2 277 02d4 8091 0000 lds r24,Looping_Roll 278 02d8 8823 tst r24 279 02da 01F0 breq .+2 280 02dc 00C0 rjmp .L2 281 02de 8091 0000 lds r24,EE_Parameter+8 282 02e2 86FF sbrs r24,6 283 02e4 00C0 rjmp .L2 284 02e6 6091 0000 lds r22,Mess_IntegralNick 285 02ea 7091 0000 lds r23,(Mess_IntegralNick)+1 286 02ee 8091 0000 lds r24,(Mess_IntegralNick)+2 287 02f2 9091 0000 lds r25,(Mess_IntegralNick)+3 288 02f6 E090 0000 lds r14,MesswertGier 289 02fa F090 0000 lds r15,(MesswertGier)+1 290 02fe A090 0000 lds r10,Parameter_AchsKopplung1 291 0302 BB24 clr r11 292 0304 CC24 clr r12 293 0306 DD24 clr r13 294 0308 20E0 ldi r18,lo8(4096) 295 030a 30E1 ldi r19,hi8(4096) 296 030c 40E0 ldi r20,hlo8(4096) 297 030e 50E0 ldi r21,hhi8(4096) 298 0310 0E94 0000 call __divmodsi4 299 0314 0027 clr r16 300 0316 F7FC sbrc r15,7 301 0318 0095 com r16 302 031a 102F mov r17,r16 303 031c CA01 movw r24,r20 304 031e B901 movw r22,r18 305 0320 A801 movw r20,r16 306 0322 9701 movw r18,r14 307 0324 0E94 0000 call __mulsi3 308 0328 A601 movw r20,r12 309 032a 9501 movw r18,r10 310 032c 0E94 0000 call __mulsi3 311 0330 20E0 ldi r18,lo8(2048) 312 0332 38E0 ldi r19,hi8(2048) 313 0334 40E0 ldi r20,hlo8(2048) 314 0336 50E0 ldi r21,hhi8(2048) 315 0338 0E94 0000 call __divmodsi4 316 033c 2093 0000 sts tmpl.2203,r18 317 0340 3093 0000 sts (tmpl.2203)+1,r19 318 0344 4093 0000 sts (tmpl.2203)+2,r20 319 0348 5093 0000 sts (tmpl.2203)+3,r21 320 034c 6091 0000 lds r22,Mess_IntegralRoll 321 0350 7091 0000 lds r23,(Mess_IntegralRoll)+1 322 0354 8091 0000 lds r24,(Mess_IntegralRoll)+2 323 0358 9091 0000 lds r25,(Mess_IntegralRoll)+3 324 035c E090 0000 lds r14,MesswertGier 325 0360 F090 0000 lds r15,(MesswertGier)+1 326 0364 20E0 ldi r18,lo8(4096) 327 0366 30E1 ldi r19,hi8(4096) 328 0368 40E0 ldi r20,hlo8(4096) 329 036a 50E0 ldi r21,hhi8(4096) 330 036c 0E94 0000 call __divmodsi4 331 0370 0027 clr r16 332 0372 F7FC sbrc r15,7 333 0374 0095 com r16 334 0376 102F mov r17,r16 335 0378 CA01 movw r24,r20 336 037a B901 movw r22,r18 337 037c A801 movw r20,r16 338 037e 9701 movw r18,r14 339 0380 0E94 0000 call __mulsi3 340 0384 A601 movw r20,r12 341 0386 9501 movw r18,r10 342 0388 0E94 0000 call __mulsi3 343 038c 20E0 ldi r18,lo8(2048) 344 038e 38E0 ldi r19,hi8(2048) 345 0390 40E0 ldi r20,hlo8(2048) 346 0392 50E0 ldi r21,hhi8(2048) 347 0394 0E94 0000 call __divmodsi4 348 0398 2093 0000 sts tmpl2.2204,r18 349 039c 3093 0000 sts (tmpl2.2204)+1,r19 350 03a0 4093 0000 sts (tmpl2.2204)+2,r20 351 03a4 5093 0000 sts (tmpl2.2204)+3,r21 352 03a8 00C0 rjmp .L6 353 .L2: 354 03aa 1092 0000 sts tmpl2.2204,__zero_reg__ 355 03ae 1092 0000 sts (tmpl2.2204)+1,__zero_reg__ 356 03b2 1092 0000 sts (tmpl2.2204)+2,__zero_reg__ 357 03b6 1092 0000 sts (tmpl2.2204)+3,__zero_reg__ 358 03ba 1092 0000 sts tmpl.2203,__zero_reg__ 359 03be 1092 0000 sts (tmpl.2203)+1,__zero_reg__ 360 03c2 1092 0000 sts (tmpl.2203)+2,__zero_reg__ 361 03c6 1092 0000 sts (tmpl.2203)+3,__zero_reg__ 362 .L6: 363 03ca 8091 0000 lds r24,MesswertRoll 364 03ce 9091 0000 lds r25,(MesswertRoll)+1 365 03d2 2090 0000 lds r2,tmpl.2203 366 03d6 3090 0000 lds r3,(tmpl.2203)+1 367 03da 4090 0000 lds r4,(tmpl.2203)+2 368 03de 5090 0000 lds r5,(tmpl.2203)+3 369 03e2 820D add r24,r2 370 03e4 931D adc r25,r3 371 03e6 9093 0000 sts (MesswertRoll)+1,r25 372 03ea 8093 0000 sts MesswertRoll,r24 373 03ee 0091 0000 lds r16,MesswertRoll 374 03f2 1091 0000 lds r17,(MesswertRoll)+1 375 03f6 A090 0000 lds r10,tmpl2.2204 376 03fa B090 0000 lds r11,(tmpl2.2204)+1 377 03fe C090 0000 lds r12,(tmpl2.2204)+2 378 0402 D090 0000 lds r13,(tmpl2.2204)+3 379 0406 8091 0000 lds r24,Parameter_AchsGegenKopplung1 380 040a 682E mov r6,r24 381 040c 7724 clr r7 382 040e 8824 clr r8 383 0410 9924 clr r9 384 0412 C601 movw r24,r12 385 0414 B501 movw r22,r10 386 0416 A401 movw r20,r8 387 0418 9301 movw r18,r6 388 041a 0E94 0000 call __mulsi3 389 041e 20E0 ldi r18,lo8(512) 390 0420 32E0 ldi r19,hi8(512) 391 0422 40E0 ldi r20,hlo8(512) 392 0424 50E0 ldi r21,hhi8(512) 393 0426 0E94 0000 call __divmodsi4 394 042a 020F add r16,r18 395 042c 131F adc r17,r19 396 042e 1093 0000 sts (MesswertRoll)+1,r17 397 0432 0093 0000 sts MesswertRoll,r16 398 0436 2091 0000 lds r18,Mess_IntegralRoll2 399 043a 3091 0000 lds r19,(Mess_IntegralRoll2)+1 400 043e 4091 0000 lds r20,(Mess_IntegralRoll2)+2 401 0442 5091 0000 lds r21,(Mess_IntegralRoll2)+3 402 0446 8091 0000 lds r24,MesswertRoll 403 044a 9091 0000 lds r25,(MesswertRoll)+1 404 044e AA27 clr r26 405 0450 97FD sbrc r25,7 406 0452 A095 com r26 407 0454 BA2F mov r27,r26 408 0456 280F add r18,r24 409 0458 391F adc r19,r25 410 045a 4A1F adc r20,r26 411 045c 5B1F adc r21,r27 412 045e 2093 0000 sts Mess_IntegralRoll2,r18 413 0462 3093 0000 sts (Mess_IntegralRoll2)+1,r19 414 0466 4093 0000 sts (Mess_IntegralRoll2)+2,r20 415 046a 5093 0000 sts (Mess_IntegralRoll2)+3,r21 416 046e 2091 0000 lds r18,Mess_IntegralRoll 417 0472 3091 0000 lds r19,(Mess_IntegralRoll)+1 418 0476 4091 0000 lds r20,(Mess_IntegralRoll)+2 419 047a 5091 0000 lds r21,(Mess_IntegralRoll)+3 420 047e 8091 0000 lds r24,MesswertRoll 421 0482 9091 0000 lds r25,(MesswertRoll)+1 422 0486 6091 0000 lds r22,LageKorrekturRoll 423 048a 7091 0000 lds r23,(LageKorrekturRoll)+1 424 048e 861B sub r24,r22 425 0490 970B sbc r25,r23 426 0492 AA27 clr r26 427 0494 97FD sbrc r25,7 428 0496 A095 com r26 429 0498 BA2F mov r27,r26 430 049a 280F add r18,r24 431 049c 391F adc r19,r25 432 049e 4A1F adc r20,r26 433 04a0 5B1F adc r21,r27 434 04a2 2093 0000 sts Mess_IntegralRoll,r18 435 04a6 3093 0000 sts (Mess_IntegralRoll)+1,r19 436 04aa 4093 0000 sts (Mess_IntegralRoll)+2,r20 437 04ae 5093 0000 sts (Mess_IntegralRoll)+3,r21 438 04b2 8091 0000 lds r24,Mess_IntegralRoll 439 04b6 9091 0000 lds r25,(Mess_IntegralRoll)+1 440 04ba A091 0000 lds r26,(Mess_IntegralRoll)+2 441 04be B091 0000 lds r27,(Mess_IntegralRoll)+3 442 04c2 E090 0000 lds r14,Umschlag180Roll 443 04c6 F090 0000 lds r15,(Umschlag180Roll)+1 444 04ca 0091 0000 lds r16,(Umschlag180Roll)+2 445 04ce 1091 0000 lds r17,(Umschlag180Roll)+3 446 04d2 E816 cp r14,r24 447 04d4 F906 cpc r15,r25 448 04d6 0A07 cpc r16,r26 449 04d8 1B07 cpc r17,r27 450 04da 04F4 brge .L7 451 04dc 80E1 ldi r24,lo8(10000) 452 04de 97E2 ldi r25,hi8(10000) 453 04e0 A0E0 ldi r26,hlo8(10000) 454 04e2 B0E0 ldi r27,hhi8(10000) 455 04e4 8E19 sub r24,r14 456 04e6 9F09 sbc r25,r15 457 04e8 A00B sbc r26,r16 458 04ea B10B sbc r27,r17 459 04ec 8093 0000 sts Mess_IntegralRoll,r24 460 04f0 9093 0000 sts (Mess_IntegralRoll)+1,r25 461 04f4 A093 0000 sts (Mess_IntegralRoll)+2,r26 462 04f8 B093 0000 sts (Mess_IntegralRoll)+3,r27 463 04fc 8091 0000 lds r24,Mess_IntegralRoll 464 0500 9091 0000 lds r25,(Mess_IntegralRoll)+1 465 0504 A091 0000 lds r26,(Mess_IntegralRoll)+2 466 0508 B091 0000 lds r27,(Mess_IntegralRoll)+3 467 050c 8093 0000 sts Mess_IntegralRoll2,r24 468 0510 9093 0000 sts (Mess_IntegralRoll2)+1,r25 469 0514 A093 0000 sts (Mess_IntegralRoll2)+2,r26 470 0518 B093 0000 sts (Mess_IntegralRoll2)+3,r27 471 .L7: 472 051c 2091 0000 lds r18,Mess_IntegralRoll 473 0520 3091 0000 lds r19,(Mess_IntegralRoll)+1 474 0524 4091 0000 lds r20,(Mess_IntegralRoll)+2 475 0528 5091 0000 lds r21,(Mess_IntegralRoll)+3 476 052c 8827 clr r24 477 052e 9927 clr r25 478 0530 DC01 movw r26,r24 479 0532 8E19 sub r24,r14 480 0534 9F09 sbc r25,r15 481 0536 A00B sbc r26,r16 482 0538 B10B sbc r27,r17 483 053a 2817 cp r18,r24 484 053c 3907 cpc r19,r25 485 053e 4A07 cpc r20,r26 486 0540 5B07 cpc r21,r27 487 0542 04F4 brge .L9 488 0544 80EF ldi r24,lo8(-10000) 489 0546 98ED ldi r25,hi8(-10000) 490 0548 AFEF ldi r26,hlo8(-10000) 491 054a BFEF ldi r27,hhi8(-10000) 492 054c E80E add r14,r24 493 054e F91E adc r15,r25 494 0550 0A1F adc r16,r26 495 0552 1B1F adc r17,r27 496 0554 E092 0000 sts Mess_IntegralRoll,r14 497 0558 F092 0000 sts (Mess_IntegralRoll)+1,r15 498 055c 0093 0000 sts (Mess_IntegralRoll)+2,r16 499 0560 1093 0000 sts (Mess_IntegralRoll)+3,r17 500 0564 8091 0000 lds r24,Mess_IntegralRoll 501 0568 9091 0000 lds r25,(Mess_IntegralRoll)+1 502 056c A091 0000 lds r26,(Mess_IntegralRoll)+2 503 0570 B091 0000 lds r27,(Mess_IntegralRoll)+3 504 0574 8093 0000 sts Mess_IntegralRoll2,r24 505 0578 9093 0000 sts (Mess_IntegralRoll2)+1,r25 506 057c A093 0000 sts (Mess_IntegralRoll2)+2,r26 507 0580 B093 0000 sts (Mess_IntegralRoll2)+3,r27 508 .L9: 509 0584 8091 0000 lds r24,AdWertRoll 510 0588 9091 0000 lds r25,(AdWertRoll)+1 511 058c 0F97 sbiw r24,15 512 058e 04F4 brge .L11 513 0590 88E1 ldi r24,lo8(-1000) 514 0592 9CEF ldi r25,hi8(-1000) 515 0594 9093 0000 sts (MesswertRoll)+1,r25 516 0598 8093 0000 sts MesswertRoll,r24 517 .L11: 518 059c 8091 0000 lds r24,AdWertRoll 519 05a0 9091 0000 lds r25,(AdWertRoll)+1 520 05a4 0797 sbiw r24,7 521 05a6 04F4 brge .L13 522 05a8 80E3 ldi r24,lo8(-2000) 523 05aa 98EF ldi r25,hi8(-2000) 524 05ac 9093 0000 sts (MesswertRoll)+1,r25 525 05b0 8093 0000 sts MesswertRoll,r24 526 .L13: 527 05b4 9091 0000 lds r25,PlatinenVersion 528 05b8 9983 std Y+1,r25 529 05ba 9A30 cpi r25,lo8(10) 530 05bc 01F4 brne .L15 531 05be 8091 0000 lds r24,AdWertRoll 532 05c2 9091 0000 lds r25,(AdWertRoll)+1 533 05c6 835F subi r24,lo8(1011) 534 05c8 9340 sbci r25,hi8(1011) 535 05ca 04F0 brlt .L17 536 05cc 88EE ldi r24,lo8(1000) 537 05ce 93E0 ldi r25,hi8(1000) 538 05d0 9093 0000 sts (MesswertRoll)+1,r25 539 05d4 8093 0000 sts MesswertRoll,r24 540 .L17: 541 05d8 8091 0000 lds r24,AdWertRoll 542 05dc 9091 0000 lds r25,(AdWertRoll)+1 543 05e0 8A5F subi r24,lo8(1018) 544 05e2 9340 sbci r25,hi8(1018) 545 05e4 04F0 brlt .L19 546 05e6 00C0 rjmp .L89 547 .L15: 548 05e8 8091 0000 lds r24,AdWertRoll 549 05ec 9091 0000 lds r25,(AdWertRoll)+1 550 05f0 855E subi r24,lo8(2021) 551 05f2 9740 sbci r25,hi8(2021) 552 05f4 04F0 brlt .L21 553 05f6 88EE ldi r24,lo8(1000) 554 05f8 93E0 ldi r25,hi8(1000) 555 05fa 9093 0000 sts (MesswertRoll)+1,r25 556 05fe 8093 0000 sts MesswertRoll,r24 557 .L21: 558 0602 8091 0000 lds r24,AdWertRoll 559 0606 9091 0000 lds r25,(AdWertRoll)+1 560 060a 835F subi r24,lo8(2035) 561 060c 9740 sbci r25,hi8(2035) 562 060e 04F0 brlt .L19 563 .L89: 564 0610 80ED ldi r24,lo8(2000) 565 0612 97E0 ldi r25,hi8(2000) 566 0614 9093 0000 sts (MesswertRoll)+1,r25 567 0618 8093 0000 sts MesswertRoll,r24 568 .L19: 569 061c 8091 0000 lds r24,MesswertNick 570 0620 9091 0000 lds r25,(MesswertNick)+1 571 0624 8A19 sub r24,r10 572 0626 9B09 sbc r25,r11 573 0628 9093 0000 sts (MesswertNick)+1,r25 574 062c 8093 0000 sts MesswertNick,r24 575 0630 0091 0000 lds r16,MesswertNick 576 0634 1091 0000 lds r17,(MesswertNick)+1 577 0638 C201 movw r24,r4 578 063a B101 movw r22,r2 579 063c A401 movw r20,r8 580 063e 9301 movw r18,r6 581 0640 0E94 0000 call __mulsi3 582 0644 20E0 ldi r18,lo8(512) 583 0646 32E0 ldi r19,hi8(512) 584 0648 40E0 ldi r20,hlo8(512) 585 064a 50E0 ldi r21,hhi8(512) 586 064c 0E94 0000 call __divmodsi4 587 0650 021B sub r16,r18 588 0652 130B sbc r17,r19 589 0654 1093 0000 sts (MesswertNick)+1,r17 590 0658 0093 0000 sts MesswertNick,r16 591 065c 2091 0000 lds r18,Mess_IntegralNick2 592 0660 3091 0000 lds r19,(Mess_IntegralNick2)+1 593 0664 4091 0000 lds r20,(Mess_IntegralNick2)+2 594 0668 5091 0000 lds r21,(Mess_IntegralNick2)+3 595 066c 8091 0000 lds r24,MesswertNick 596 0670 9091 0000 lds r25,(MesswertNick)+1 597 0674 AA27 clr r26 598 0676 97FD sbrc r25,7 599 0678 A095 com r26 600 067a BA2F mov r27,r26 601 067c 280F add r18,r24 602 067e 391F adc r19,r25 603 0680 4A1F adc r20,r26 604 0682 5B1F adc r21,r27 605 0684 2093 0000 sts Mess_IntegralNick2,r18 606 0688 3093 0000 sts (Mess_IntegralNick2)+1,r19 607 068c 4093 0000 sts (Mess_IntegralNick2)+2,r20 608 0690 5093 0000 sts (Mess_IntegralNick2)+3,r21 609 0694 2091 0000 lds r18,Mess_IntegralNick 610 0698 3091 0000 lds r19,(Mess_IntegralNick)+1 611 069c 4091 0000 lds r20,(Mess_IntegralNick)+2 612 06a0 5091 0000 lds r21,(Mess_IntegralNick)+3 613 06a4 8091 0000 lds r24,MesswertNick 614 06a8 9091 0000 lds r25,(MesswertNick)+1 615 06ac 6091 0000 lds r22,LageKorrekturNick 616 06b0 7091 0000 lds r23,(LageKorrekturNick)+1 617 06b4 861B sub r24,r22 618 06b6 970B sbc r25,r23 619 06b8 AA27 clr r26 620 06ba 97FD sbrc r25,7 621 06bc A095 com r26 622 06be BA2F mov r27,r26 623 06c0 280F add r18,r24 624 06c2 391F adc r19,r25 625 06c4 4A1F adc r20,r26 626 06c6 5B1F adc r21,r27 627 06c8 2093 0000 sts Mess_IntegralNick,r18 628 06cc 3093 0000 sts (Mess_IntegralNick)+1,r19 629 06d0 4093 0000 sts (Mess_IntegralNick)+2,r20 630 06d4 5093 0000 sts (Mess_IntegralNick)+3,r21 631 06d8 8091 0000 lds r24,Mess_IntegralNick 632 06dc 9091 0000 lds r25,(Mess_IntegralNick)+1 633 06e0 A091 0000 lds r26,(Mess_IntegralNick)+2 634 06e4 B091 0000 lds r27,(Mess_IntegralNick)+3 635 06e8 E090 0000 lds r14,Umschlag180Nick 636 06ec F090 0000 lds r15,(Umschlag180Nick)+1 637 06f0 0091 0000 lds r16,(Umschlag180Nick)+2 638 06f4 1091 0000 lds r17,(Umschlag180Nick)+3 639 06f8 E816 cp r14,r24 640 06fa F906 cpc r15,r25 641 06fc 0A07 cpc r16,r26 642 06fe 1B07 cpc r17,r27 643 0700 04F4 brge .L24 644 0702 80E1 ldi r24,lo8(10000) 645 0704 97E2 ldi r25,hi8(10000) 646 0706 A0E0 ldi r26,hlo8(10000) 647 0708 B0E0 ldi r27,hhi8(10000) 648 070a 8E19 sub r24,r14 649 070c 9F09 sbc r25,r15 650 070e A00B sbc r26,r16 651 0710 B10B sbc r27,r17 652 0712 8093 0000 sts Mess_IntegralNick,r24 653 0716 9093 0000 sts (Mess_IntegralNick)+1,r25 654 071a A093 0000 sts (Mess_IntegralNick)+2,r26 655 071e B093 0000 sts (Mess_IntegralNick)+3,r27 656 0722 8091 0000 lds r24,Mess_IntegralNick 657 0726 9091 0000 lds r25,(Mess_IntegralNick)+1 658 072a A091 0000 lds r26,(Mess_IntegralNick)+2 659 072e B091 0000 lds r27,(Mess_IntegralNick)+3 660 0732 8093 0000 sts Mess_IntegralNick2,r24 661 0736 9093 0000 sts (Mess_IntegralNick2)+1,r25 662 073a A093 0000 sts (Mess_IntegralNick2)+2,r26 663 073e B093 0000 sts (Mess_IntegralNick2)+3,r27 664 .L24: 665 0742 2091 0000 lds r18,Mess_IntegralNick 666 0746 3091 0000 lds r19,(Mess_IntegralNick)+1 667 074a 4091 0000 lds r20,(Mess_IntegralNick)+2 668 074e 5091 0000 lds r21,(Mess_IntegralNick)+3 669 0752 8827 clr r24 670 0754 9927 clr r25 671 0756 DC01 movw r26,r24 672 0758 8E19 sub r24,r14 673 075a 9F09 sbc r25,r15 674 075c A00B sbc r26,r16 675 075e B10B sbc r27,r17 676 0760 2817 cp r18,r24 677 0762 3907 cpc r19,r25 678 0764 4A07 cpc r20,r26 679 0766 5B07 cpc r21,r27 680 0768 04F4 brge .L26 681 076a 80EF ldi r24,lo8(-10000) 682 076c 98ED ldi r25,hi8(-10000) 683 076e AFEF ldi r26,hlo8(-10000) 684 0770 BFEF ldi r27,hhi8(-10000) 685 0772 E80E add r14,r24 686 0774 F91E adc r15,r25 687 0776 0A1F adc r16,r26 688 0778 1B1F adc r17,r27 689 077a E092 0000 sts Mess_IntegralNick,r14 690 077e F092 0000 sts (Mess_IntegralNick)+1,r15 691 0782 0093 0000 sts (Mess_IntegralNick)+2,r16 692 0786 1093 0000 sts (Mess_IntegralNick)+3,r17 693 078a 8091 0000 lds r24,Mess_IntegralNick 694 078e 9091 0000 lds r25,(Mess_IntegralNick)+1 695 0792 A091 0000 lds r26,(Mess_IntegralNick)+2 696 0796 B091 0000 lds r27,(Mess_IntegralNick)+3 697 079a 8093 0000 sts Mess_IntegralNick2,r24 698 079e 9093 0000 sts (Mess_IntegralNick2)+1,r25 699 07a2 A093 0000 sts (Mess_IntegralNick2)+2,r26 700 07a6 B093 0000 sts (Mess_IntegralNick2)+3,r27 701 .L26: 702 07aa 8091 0000 lds r24,AdWertNick 703 07ae 9091 0000 lds r25,(AdWertNick)+1 704 07b2 0F97 sbiw r24,15 705 07b4 04F4 brge .L28 706 07b6 88E1 ldi r24,lo8(-1000) 707 07b8 9CEF ldi r25,hi8(-1000) 708 07ba 9093 0000 sts (MesswertNick)+1,r25 709 07be 8093 0000 sts MesswertNick,r24 710 .L28: 711 07c2 8091 0000 lds r24,AdWertNick 712 07c6 9091 0000 lds r25,(AdWertNick)+1 713 07ca 0797 sbiw r24,7 714 07cc 04F4 brge .L30 715 07ce 80E3 ldi r24,lo8(-2000) 716 07d0 98EF ldi r25,hi8(-2000) 717 07d2 9093 0000 sts (MesswertNick)+1,r25 718 07d6 8093 0000 sts MesswertNick,r24 719 .L30: 720 07da 9981 ldd r25,Y+1 721 07dc 9A30 cpi r25,lo8(10) 722 07de 01F4 brne .L32 723 07e0 8091 0000 lds r24,AdWertNick 724 07e4 9091 0000 lds r25,(AdWertNick)+1 725 07e8 835F subi r24,lo8(1011) 726 07ea 9340 sbci r25,hi8(1011) 727 07ec 04F0 brlt .L34 728 07ee 88EE ldi r24,lo8(1000) 729 07f0 93E0 ldi r25,hi8(1000) 730 07f2 9093 0000 sts (MesswertNick)+1,r25 731 07f6 8093 0000 sts MesswertNick,r24 732 .L34: 733 07fa 8091 0000 lds r24,AdWertNick 734 07fe 9091 0000 lds r25,(AdWertNick)+1 735 0802 8A5F subi r24,lo8(1018) 736 0804 9340 sbci r25,hi8(1018) 737 0806 04F0 brlt .L36 738 0808 00C0 rjmp .L90 739 .L32: 740 080a 8091 0000 lds r24,AdWertNick 741 080e 9091 0000 lds r25,(AdWertNick)+1 742 0812 855E subi r24,lo8(2021) 743 0814 9740 sbci r25,hi8(2021) 744 0816 04F0 brlt .L38 745 0818 88EE ldi r24,lo8(1000) 746 081a 93E0 ldi r25,hi8(1000) 747 081c 9093 0000 sts (MesswertNick)+1,r25 748 0820 8093 0000 sts MesswertNick,r24 749 .L38: 750 0824 8091 0000 lds r24,AdWertNick 751 0828 9091 0000 lds r25,(AdWertNick)+1 752 082c 835F subi r24,lo8(2035) 753 082e 9740 sbci r25,hi8(2035) 754 0830 04F0 brlt .L36 755 .L90: 756 0832 80ED ldi r24,lo8(2000) 757 0834 97E0 ldi r25,hi8(2000) 758 0836 9093 0000 sts (MesswertNick)+1,r25 759 083a 8093 0000 sts MesswertNick,r24 760 .L36: 761 083e 8FEE ldi r24,lo8(-17) 762 0840 8093 7A00 sts 122,r24 763 0844 8091 0000 lds r24,Mess_Integral_Gier 764 0848 9091 0000 lds r25,(Mess_Integral_Gier)+1 765 084c A091 0000 lds r26,(Mess_Integral_Gier)+2 766 0850 B091 0000 lds r27,(Mess_Integral_Gier)+3 767 0854 8093 0000 sts Integral_Gier,r24 768 0858 9093 0000 sts (Integral_Gier)+1,r25 769 085c A093 0000 sts (Integral_Gier)+2,r26 770 0860 B093 0000 sts (Integral_Gier)+3,r27 771 0864 8091 0000 lds r24,Mess_IntegralNick 772 0868 9091 0000 lds r25,(Mess_IntegralNick)+1 773 086c A091 0000 lds r26,(Mess_IntegralNick)+2 774 0870 B091 0000 lds r27,(Mess_IntegralNick)+3 775 0874 8093 0000 sts IntegralNick,r24 776 0878 9093 0000 sts (IntegralNick)+1,r25 777 087c A093 0000 sts (IntegralNick)+2,r26 778 0880 B093 0000 sts (IntegralNick)+3,r27 779 0884 8091 0000 lds r24,Mess_IntegralRoll 780 0888 9091 0000 lds r25,(Mess_IntegralRoll)+1 781 088c A091 0000 lds r26,(Mess_IntegralRoll)+2 782 0890 B091 0000 lds r27,(Mess_IntegralRoll)+3 783 0894 8093 0000 sts IntegralRoll,r24 784 0898 9093 0000 sts (IntegralRoll)+1,r25 785 089c A093 0000 sts (IntegralRoll)+2,r26 786 08a0 B093 0000 sts (IntegralRoll)+3,r27 787 08a4 8091 0000 lds r24,Mess_IntegralNick2 788 08a8 9091 0000 lds r25,(Mess_IntegralNick2)+1 789 08ac A091 0000 lds r26,(Mess_IntegralNick2)+2 790 08b0 B091 0000 lds r27,(Mess_IntegralNick2)+3 791 08b4 8093 0000 sts IntegralNick2,r24 792 08b8 9093 0000 sts (IntegralNick2)+1,r25 793 08bc A093 0000 sts (IntegralNick2)+2,r26 794 08c0 B093 0000 sts (IntegralNick2)+3,r27 795 08c4 8091 0000 lds r24,Mess_IntegralRoll2 796 08c8 9091 0000 lds r25,(Mess_IntegralRoll2)+1 797 08cc A091 0000 lds r26,(Mess_IntegralRoll2)+2 798 08d0 B091 0000 lds r27,(Mess_IntegralRoll2)+3 799 08d4 8093 0000 sts IntegralRoll2,r24 800 08d8 9093 0000 sts (IntegralRoll2)+1,r25 801 08dc A093 0000 sts (IntegralRoll2)+2,r26 802 08e0 B093 0000 sts (IntegralRoll2)+3,r27 803 08e4 8091 0000 lds r24,EE_Parameter+8 804 08e8 87FF sbrs r24,7 805 08ea 00C0 rjmp .L41 806 08ec 2A81 ldd r18,Y+2 807 08ee 2223 tst r18 808 08f0 01F0 breq .+2 809 08f2 00C0 rjmp .L41 810 08f4 8091 0000 lds r24,Looping_Roll 811 08f8 8823 tst r24 812 08fa 01F0 breq .+2 813 08fc 00C0 rjmp .L41 814 08fe 8091 0000 lds r24,MesswertNick 815 0902 9091 0000 lds r25,(MesswertNick)+1 816 0906 893C cpi r24,201 817 0908 9105 cpc r25,__zero_reg__ 818 090a 04F0 brlt .L45 819 090c 2091 0000 lds r18,MesswertNick 820 0910 3091 0000 lds r19,(MesswertNick)+1 821 0914 8091 0000 lds r24,MesswertNick 822 0918 9091 0000 lds r25,(MesswertNick)+1 823 091c 880F lsl r24 824 091e 991F rol r25 825 0920 880F lsl r24 826 0922 991F rol r25 827 0924 2052 subi r18,lo8(-(-800)) 828 0926 3340 sbci r19,hi8(-(-800)) 829 0928 00C0 rjmp .L91 830 .L45: 831 092a 8091 0000 lds r24,MesswertNick 832 092e 9091 0000 lds r25,(MesswertNick)+1 833 0932 8853 subi r24,lo8(-200) 834 0934 9F4F sbci r25,hi8(-200) 835 0936 04F4 brge .L47 836 0938 2091 0000 lds r18,MesswertNick 837 093c 3091 0000 lds r19,(MesswertNick)+1 838 0940 8091 0000 lds r24,MesswertNick 839 0944 9091 0000 lds r25,(MesswertNick)+1 840 0948 880F lsl r24 841 094a 991F rol r25 842 094c 880F lsl r24 843 094e 991F rol r25 844 0950 205E subi r18,lo8(-(800)) 845 0952 3C4F sbci r19,hi8(-(800)) 846 .L91: 847 0954 820F add r24,r18 848 0956 931F adc r25,r19 849 0958 9093 0000 sts (MesswertNick)+1,r25 850 095c 8093 0000 sts MesswertNick,r24 851 .L47: 852 0960 8091 0000 lds r24,MesswertRoll 853 0964 9091 0000 lds r25,(MesswertRoll)+1 854 0968 893C cpi r24,201 855 096a 9105 cpc r25,__zero_reg__ 856 096c 04F0 brlt .L49 857 096e 2091 0000 lds r18,MesswertRoll 858 0972 3091 0000 lds r19,(MesswertRoll)+1 859 0976 8091 0000 lds r24,MesswertRoll 860 097a 9091 0000 lds r25,(MesswertRoll)+1 861 097e 880F lsl r24 862 0980 991F rol r25 863 0982 880F lsl r24 864 0984 991F rol r25 865 0986 2052 subi r18,lo8(-(-800)) 866 0988 3340 sbci r19,hi8(-(-800)) 867 098a 00C0 rjmp .L92 868 .L49: 869 098c 8091 0000 lds r24,MesswertRoll 870 0990 9091 0000 lds r25,(MesswertRoll)+1 871 0994 8853 subi r24,lo8(-200) 872 0996 9F4F sbci r25,hi8(-200) 873 0998 04F4 brge .L41 874 099a 2091 0000 lds r18,MesswertRoll 875 099e 3091 0000 lds r19,(MesswertRoll)+1 876 09a2 8091 0000 lds r24,MesswertRoll 877 09a6 9091 0000 lds r25,(MesswertRoll)+1 878 09aa 880F lsl r24 879 09ac 991F rol r25 880 09ae 880F lsl r24 881 09b0 991F rol r25 882 09b2 205E subi r18,lo8(-(800)) 883 09b4 3C4F sbci r19,hi8(-(800)) 884 .L92: 885 09b6 820F add r24,r18 886 09b8 931F adc r25,r19 887 09ba 9093 0000 sts (MesswertRoll)+1,r25 888 09be 8093 0000 sts MesswertRoll,r24 889 .L41: 890 09c2 2091 0000 lds r18,Poti1 891 09c6 3091 0000 lds r19,(Poti1)+1 892 09ca 8091 0000 lds r24,EE_Parameter+4 893 09ce E82F mov r30,r24 894 09d0 FF27 clr r31 895 09d2 EE0F lsl r30 896 09d4 FF1F rol r31 897 09d6 E050 subi r30,lo8(-(PPM_in)) 898 09d8 F040 sbci r31,hi8(-(PPM_in)) 899 09da 8081 ld r24,Z 900 09dc 9181 ldd r25,Z+1 901 09de 8259 subi r24,lo8(-(110)) 902 09e0 9F4F sbci r25,hi8(-(110)) 903 09e2 2817 cp r18,r24 904 09e4 3907 cpc r19,r25 905 09e6 04F4 brge .L52 906 09e8 2F5F subi r18,lo8(-(1)) 907 09ea 3F4F sbci r19,hi8(-(1)) 908 09ec 00C0 rjmp .L93 909 .L52: 910 09ee 8081 ld r24,Z 911 09f0 9181 ldd r25,Z+1 912 09f2 8259 subi r24,lo8(-(110)) 913 09f4 9F4F sbci r25,hi8(-(110)) 914 09f6 8217 cp r24,r18 915 09f8 9307 cpc r25,r19 916 09fa 04F4 brge .L54 917 09fc 2115 cp r18,__zero_reg__ 918 09fe 3105 cpc r19,__zero_reg__ 919 0a00 01F0 breq .L54 920 0a02 2150 subi r18,lo8(-(-1)) 921 0a04 3040 sbci r19,hi8(-(-1)) 922 .L93: 923 0a06 3093 0000 sts (Poti1)+1,r19 924 0a0a 2093 0000 sts Poti1,r18 925 .L54: 926 0a0e 2091 0000 lds r18,Poti2 927 0a12 3091 0000 lds r19,(Poti2)+1 928 0a16 8091 0000 lds r24,EE_Parameter+5 929 0a1a E82F mov r30,r24 930 0a1c FF27 clr r31 931 0a1e EE0F lsl r30 932 0a20 FF1F rol r31 933 0a22 E050 subi r30,lo8(-(PPM_in)) 934 0a24 F040 sbci r31,hi8(-(PPM_in)) 935 0a26 8081 ld r24,Z 936 0a28 9181 ldd r25,Z+1 937 0a2a 8259 subi r24,lo8(-(110)) 938 0a2c 9F4F sbci r25,hi8(-(110)) 939 0a2e 2817 cp r18,r24 940 0a30 3907 cpc r19,r25 941 0a32 04F4 brge .L57 942 0a34 2F5F subi r18,lo8(-(1)) 943 0a36 3F4F sbci r19,hi8(-(1)) 944 0a38 00C0 rjmp .L94 945 .L57: 946 0a3a 8081 ld r24,Z 947 0a3c 9181 ldd r25,Z+1 948 0a3e 8259 subi r24,lo8(-(110)) 949 0a40 9F4F sbci r25,hi8(-(110)) 950 0a42 8217 cp r24,r18 951 0a44 9307 cpc r25,r19 952 0a46 04F4 brge .L59 953 0a48 2115 cp r18,__zero_reg__ 954 0a4a 3105 cpc r19,__zero_reg__ 955 0a4c 01F0 breq .L59 956 0a4e 2150 subi r18,lo8(-(-1)) 957 0a50 3040 sbci r19,hi8(-(-1)) 958 .L94: 959 0a52 3093 0000 sts (Poti2)+1,r19 960 0a56 2093 0000 sts Poti2,r18 961 .L59: 962 0a5a 2091 0000 lds r18,Poti3 963 0a5e 3091 0000 lds r19,(Poti3)+1 964 0a62 8091 0000 lds r24,EE_Parameter+6 965 0a66 E82F mov r30,r24 966 0a68 FF27 clr r31 967 0a6a EE0F lsl r30 968 0a6c FF1F rol r31 969 0a6e E050 subi r30,lo8(-(PPM_in)) 970 0a70 F040 sbci r31,hi8(-(PPM_in)) 971 0a72 8081 ld r24,Z 972 0a74 9181 ldd r25,Z+1 973 0a76 8259 subi r24,lo8(-(110)) 974 0a78 9F4F sbci r25,hi8(-(110)) 975 0a7a 2817 cp r18,r24 976 0a7c 3907 cpc r19,r25 977 0a7e 04F4 brge .L62 978 0a80 2F5F subi r18,lo8(-(1)) 979 0a82 3F4F sbci r19,hi8(-(1)) 980 0a84 00C0 rjmp .L95 981 .L62: 982 0a86 8081 ld r24,Z 983 0a88 9181 ldd r25,Z+1 984 0a8a 8259 subi r24,lo8(-(110)) 985 0a8c 9F4F sbci r25,hi8(-(110)) 986 0a8e 8217 cp r24,r18 987 0a90 9307 cpc r25,r19 988 0a92 04F4 brge .L64 989 0a94 2115 cp r18,__zero_reg__ 990 0a96 3105 cpc r19,__zero_reg__ 991 0a98 01F0 breq .L64 992 0a9a 2150 subi r18,lo8(-(-1)) 993 0a9c 3040 sbci r19,hi8(-(-1)) 994 .L95: 995 0a9e 3093 0000 sts (Poti3)+1,r19 996 0aa2 2093 0000 sts Poti3,r18 997 .L64: 998 0aa6 2091 0000 lds r18,Poti4 999 0aaa 3091 0000 lds r19,(Poti4)+1 1000 0aae 8091 0000 lds r24,EE_Parameter+7 1001 0ab2 E82F mov r30,r24 1002 0ab4 FF27 clr r31 1003 0ab6 EE0F lsl r30 1004 0ab8 FF1F rol r31 1005 0aba E050 subi r30,lo8(-(PPM_in)) 1006 0abc F040 sbci r31,hi8(-(PPM_in)) 1007 0abe 8081 ld r24,Z 1008 0ac0 9181 ldd r25,Z+1 1009 0ac2 8259 subi r24,lo8(-(110)) 1010 0ac4 9F4F sbci r25,hi8(-(110)) 1011 0ac6 2817 cp r18,r24 1012 0ac8 3907 cpc r19,r25 1013 0aca 04F4 brge .L67 1014 0acc 2F5F subi r18,lo8(-(1)) 1015 0ace 3F4F sbci r19,hi8(-(1)) 1016 0ad0 00C0 rjmp .L96 1017 .L67: 1018 0ad2 8081 ld r24,Z 1019 0ad4 9181 ldd r25,Z+1 1020 0ad6 8259 subi r24,lo8(-(110)) 1021 0ad8 9F4F sbci r25,hi8(-(110)) 1022 0ada 8217 cp r24,r18 1023 0adc 9307 cpc r25,r19 1024 0ade 04F4 brge .L69 1025 0ae0 2115 cp r18,__zero_reg__ 1026 0ae2 3105 cpc r19,__zero_reg__ 1027 0ae4 01F0 breq .L69 1028 0ae6 2150 subi r18,lo8(-(-1)) 1029 0ae8 3040 sbci r19,hi8(-(-1)) 1030 .L96: 1031 0aea 3093 0000 sts (Poti4)+1,r19 1032 0aee 2093 0000 sts Poti4,r18 1033 .L69: 1034 0af2 8091 0000 lds r24,Poti1 1035 0af6 9091 0000 lds r25,(Poti1)+1 1036 0afa 97FF sbrs r25,7 1037 0afc 00C0 rjmp .L72 1038 0afe 1092 0000 sts (Poti1)+1,__zero_reg__ 1039 0b02 1092 0000 sts Poti1,__zero_reg__ 1040 0b06 00C0 rjmp .L74 1041 .L72: 1042 0b08 8F3F cpi r24,255 1043 0b0a 9105 cpc r25,__zero_reg__ 1044 0b0c 01F0 breq .L74 1045 0b0e 04F0 brlt .L74 1046 0b10 8FEF ldi r24,lo8(255) 1047 0b12 90E0 ldi r25,hi8(255) 1048 0b14 9093 0000 sts (Poti1)+1,r25 1049 0b18 8093 0000 sts Poti1,r24 1050 .L74: 1051 0b1c 8091 0000 lds r24,Poti2 1052 0b20 9091 0000 lds r25,(Poti2)+1 1053 0b24 97FF sbrs r25,7 1054 0b26 00C0 rjmp .L76 1055 0b28 1092 0000 sts (Poti2)+1,__zero_reg__ 1056 0b2c 1092 0000 sts Poti2,__zero_reg__ 1057 0b30 00C0 rjmp .L78 1058 .L76: 1059 0b32 8F3F cpi r24,255 1060 0b34 9105 cpc r25,__zero_reg__ 1061 0b36 01F0 breq .L78 1062 0b38 04F0 brlt .L78 1063 0b3a 8FEF ldi r24,lo8(255) 1064 0b3c 90E0 ldi r25,hi8(255) 1065 0b3e 9093 0000 sts (Poti2)+1,r25 1066 0b42 8093 0000 sts Poti2,r24 1067 .L78: 1068 0b46 8091 0000 lds r24,Poti3 1069 0b4a 9091 0000 lds r25,(Poti3)+1 1070 0b4e 97FF sbrs r25,7 1071 0b50 00C0 rjmp .L80 1072 0b52 1092 0000 sts (Poti3)+1,__zero_reg__ 1073 0b56 1092 0000 sts Poti3,__zero_reg__ 1074 0b5a 00C0 rjmp .L82 1075 .L80: 1076 0b5c 8F3F cpi r24,255 1077 0b5e 9105 cpc r25,__zero_reg__ 1078 0b60 01F0 breq .L82 1079 0b62 04F0 brlt .L82 1080 0b64 8FEF ldi r24,lo8(255) 1081 0b66 90E0 ldi r25,hi8(255) 1082 0b68 9093 0000 sts (Poti3)+1,r25 1083 0b6c 8093 0000 sts Poti3,r24 1084 .L82: 1085 0b70 8091 0000 lds r24,Poti4 1086 0b74 9091 0000 lds r25,(Poti4)+1 1087 0b78 97FF sbrs r25,7 1088 0b7a 00C0 rjmp .L84 1089 0b7c 1092 0000 sts (Poti4)+1,__zero_reg__ 1090 0b80 1092 0000 sts Poti4,__zero_reg__ 1091 0b84 00C0 rjmp .L88 1092 .L84: 1093 0b86 8F3F cpi r24,255 1094 0b88 9105 cpc r25,__zero_reg__ 1095 0b8a 01F0 breq .L88 1096 0b8c 04F0 brlt .L88 1097 0b8e 8FEF ldi r24,lo8(255) 1098 0b90 90E0 ldi r25,hi8(255) 1099 0b92 9093 0000 sts (Poti4)+1,r25 1100 0b96 8093 0000 sts Poti4,r24 1101 .L88: 1102 /* epilogue: frame size=2 */ 1103 0b9a 2296 adiw r28,2 1104 0b9c 0FB6 in __tmp_reg__,__SREG__ 1105 0b9e F894 cli 1106 0ba0 DEBF out __SP_H__,r29 1107 0ba2 0FBE out __SREG__,__tmp_reg__ 1108 0ba4 CDBF out __SP_L__,r28 1109 0ba6 DF91 pop r29 1110 0ba8 CF91 pop r28 1111 0baa 1F91 pop r17 1112 0bac 0F91 pop r16 1113 0bae FF90 pop r15 1114 0bb0 EF90 pop r14 1115 0bb2 DF90 pop r13 1116 0bb4 CF90 pop r12 1117 0bb6 BF90 pop r11 1118 0bb8 AF90 pop r10 1119 0bba 9F90 pop r9 1120 0bbc 8F90 pop r8 1121 0bbe 7F90 pop r7 1122 0bc0 6F90 pop r6 1123 0bc2 5F90 pop r5 1124 0bc4 4F90 pop r4 1125 0bc6 3F90 pop r3 1126 0bc8 2F90 pop r2 1127 0bca 0895 ret 1128 /* epilogue end (size=25) */ 1129 /* function Mittelwert size 1524 (1473) */ 1131 .global CalibrierMittelwert 1133 CalibrierMittelwert: 1134 /* prologue: frame size=0 */ 1135 /* prologue end (size=0) */ 1136 0bcc 1092 7A00 sts 122,__zero_reg__ 1137 0bd0 8091 0000 lds r24,AdWertNick 1138 0bd4 9091 0000 lds r25,(AdWertNick)+1 1139 0bd8 9093 0000 sts (MesswertNick)+1,r25 1140 0bdc 8093 0000 sts MesswertNick,r24 1141 0be0 8091 0000 lds r24,AdWertRoll 1142 0be4 9091 0000 lds r25,(AdWertRoll)+1 1143 0be8 9093 0000 sts (MesswertRoll)+1,r25 1144 0bec 8093 0000 sts MesswertRoll,r24 1145 0bf0 8091 0000 lds r24,AdWertGier 1146 0bf4 9091 0000 lds r25,(AdWertGier)+1 1147 0bf8 9093 0000 sts (MesswertGier)+1,r25 1148 0bfc 8093 0000 sts MesswertGier,r24 1149 0c00 6091 0000 lds r22,AdWertAccNick 1150 0c04 7091 0000 lds r23,(AdWertAccNick)+1 1151 0c08 8827 clr r24 1152 0c0a 77FD sbrc r23,7 1153 0c0c 8095 com r24 1154 0c0e 982F mov r25,r24 1155 0c10 2CE0 ldi r18,lo8(12) 1156 0c12 30E0 ldi r19,hi8(12) 1157 0c14 40E0 ldi r20,hlo8(12) 1158 0c16 50E0 ldi r21,hhi8(12) 1159 0c18 0E94 0000 call __mulsi3 1160 0c1c 7093 0000 sts (Mittelwert_AccNick)+1,r23 1161 0c20 6093 0000 sts Mittelwert_AccNick,r22 1162 0c24 6091 0000 lds r22,AdWertAccRoll 1163 0c28 7091 0000 lds r23,(AdWertAccRoll)+1 1164 0c2c 8827 clr r24 1165 0c2e 77FD sbrc r23,7 1166 0c30 8095 com r24 1167 0c32 982F mov r25,r24 1168 0c34 0E94 0000 call __mulsi3 1169 0c38 7093 0000 sts (Mittelwert_AccRoll)+1,r23 1170 0c3c 6093 0000 sts Mittelwert_AccRoll,r22 1171 0c40 8091 0000 lds r24,AdWertAccHoch 1172 0c44 9091 0000 lds r25,(AdWertAccHoch)+1 1173 0c48 9093 0000 sts (Mittelwert_AccHoch)+1,r25 1174 0c4c 8093 0000 sts Mittelwert_AccHoch,r24 1175 0c50 8FEE ldi r24,lo8(-17) 1176 0c52 8093 7A00 sts 122,r24 1177 0c56 2091 0000 lds r18,Poti1 1178 0c5a 3091 0000 lds r19,(Poti1)+1 1179 0c5e 8091 0000 lds r24,EE_Parameter+4 1180 0c62 E82F mov r30,r24 1181 0c64 FF27 clr r31 1182 0c66 EE0F lsl r30 1183 0c68 FF1F rol r31 1184 0c6a E050 subi r30,lo8(-(PPM_in)) 1185 0c6c F040 sbci r31,hi8(-(PPM_in)) 1186 0c6e 8081 ld r24,Z 1187 0c70 9181 ldd r25,Z+1 1188 0c72 8259 subi r24,lo8(-(110)) 1189 0c74 9F4F sbci r25,hi8(-(110)) 1190 0c76 2817 cp r18,r24 1191 0c78 3907 cpc r19,r25 1192 0c7a 04F4 brge .L98 1193 0c7c 2F5F subi r18,lo8(-(1)) 1194 0c7e 3F4F sbci r19,hi8(-(1)) 1195 0c80 00C0 rjmp .L135 1196 .L98: 1197 0c82 8081 ld r24,Z 1198 0c84 9181 ldd r25,Z+1 1199 0c86 8259 subi r24,lo8(-(110)) 1200 0c88 9F4F sbci r25,hi8(-(110)) 1201 0c8a 8217 cp r24,r18 1202 0c8c 9307 cpc r25,r19 1203 0c8e 04F4 brge .L100 1204 0c90 2115 cp r18,__zero_reg__ 1205 0c92 3105 cpc r19,__zero_reg__ 1206 0c94 01F0 breq .L100 1207 0c96 2150 subi r18,lo8(-(-1)) 1208 0c98 3040 sbci r19,hi8(-(-1)) 1209 .L135: 1210 0c9a 3093 0000 sts (Poti1)+1,r19 1211 0c9e 2093 0000 sts Poti1,r18 1212 .L100: 1213 0ca2 2091 0000 lds r18,Poti2 1214 0ca6 3091 0000 lds r19,(Poti2)+1 1215 0caa 8091 0000 lds r24,EE_Parameter+5 1216 0cae E82F mov r30,r24 1217 0cb0 FF27 clr r31 1218 0cb2 EE0F lsl r30 1219 0cb4 FF1F rol r31 1220 0cb6 E050 subi r30,lo8(-(PPM_in)) 1221 0cb8 F040 sbci r31,hi8(-(PPM_in)) 1222 0cba 8081 ld r24,Z 1223 0cbc 9181 ldd r25,Z+1 1224 0cbe 8259 subi r24,lo8(-(110)) 1225 0cc0 9F4F sbci r25,hi8(-(110)) 1226 0cc2 2817 cp r18,r24 1227 0cc4 3907 cpc r19,r25 1228 0cc6 04F4 brge .L103 1229 0cc8 2F5F subi r18,lo8(-(1)) 1230 0cca 3F4F sbci r19,hi8(-(1)) 1231 0ccc 00C0 rjmp .L136 1232 .L103: 1233 0cce 8081 ld r24,Z 1234 0cd0 9181 ldd r25,Z+1 1235 0cd2 8259 subi r24,lo8(-(110)) 1236 0cd4 9F4F sbci r25,hi8(-(110)) 1237 0cd6 8217 cp r24,r18 1238 0cd8 9307 cpc r25,r19 1239 0cda 04F4 brge .L105 1240 0cdc 2115 cp r18,__zero_reg__ 1241 0cde 3105 cpc r19,__zero_reg__ 1242 0ce0 01F0 breq .L105 1243 0ce2 2150 subi r18,lo8(-(-1)) 1244 0ce4 3040 sbci r19,hi8(-(-1)) 1245 .L136: 1246 0ce6 3093 0000 sts (Poti2)+1,r19 1247 0cea 2093 0000 sts Poti2,r18 1248 .L105: 1249 0cee 2091 0000 lds r18,Poti3 1250 0cf2 3091 0000 lds r19,(Poti3)+1 1251 0cf6 8091 0000 lds r24,EE_Parameter+6 1252 0cfa E82F mov r30,r24 1253 0cfc FF27 clr r31 1254 0cfe EE0F lsl r30 1255 0d00 FF1F rol r31 1256 0d02 E050 subi r30,lo8(-(PPM_in)) 1257 0d04 F040 sbci r31,hi8(-(PPM_in)) 1258 0d06 8081 ld r24,Z 1259 0d08 9181 ldd r25,Z+1 1260 0d0a 8259 subi r24,lo8(-(110)) 1261 0d0c 9F4F sbci r25,hi8(-(110)) 1262 0d0e 2817 cp r18,r24 1263 0d10 3907 cpc r19,r25 1264 0d12 04F4 brge .L108 1265 0d14 2F5F subi r18,lo8(-(1)) 1266 0d16 3F4F sbci r19,hi8(-(1)) 1267 0d18 00C0 rjmp .L137 1268 .L108: 1269 0d1a 8081 ld r24,Z 1270 0d1c 9181 ldd r25,Z+1 1271 0d1e 8259 subi r24,lo8(-(110)) 1272 0d20 9F4F sbci r25,hi8(-(110)) 1273 0d22 8217 cp r24,r18 1274 0d24 9307 cpc r25,r19 1275 0d26 04F4 brge .L110 1276 0d28 2115 cp r18,__zero_reg__ 1277 0d2a 3105 cpc r19,__zero_reg__ 1278 0d2c 01F0 breq .L110 1279 0d2e 2150 subi r18,lo8(-(-1)) 1280 0d30 3040 sbci r19,hi8(-(-1)) 1281 .L137: 1282 0d32 3093 0000 sts (Poti3)+1,r19 1283 0d36 2093 0000 sts Poti3,r18 1284 .L110: 1285 0d3a 2091 0000 lds r18,Poti4 1286 0d3e 3091 0000 lds r19,(Poti4)+1 1287 0d42 8091 0000 lds r24,EE_Parameter+7 1288 0d46 E82F mov r30,r24 1289 0d48 FF27 clr r31 1290 0d4a EE0F lsl r30 1291 0d4c FF1F rol r31 1292 0d4e E050 subi r30,lo8(-(PPM_in)) 1293 0d50 F040 sbci r31,hi8(-(PPM_in)) 1294 0d52 8081 ld r24,Z 1295 0d54 9181 ldd r25,Z+1 1296 0d56 8259 subi r24,lo8(-(110)) 1297 0d58 9F4F sbci r25,hi8(-(110)) 1298 0d5a 2817 cp r18,r24 1299 0d5c 3907 cpc r19,r25 1300 0d5e 04F4 brge .L113 1301 0d60 2F5F subi r18,lo8(-(1)) 1302 0d62 3F4F sbci r19,hi8(-(1)) 1303 0d64 00C0 rjmp .L138 1304 .L113: 1305 0d66 8081 ld r24,Z 1306 0d68 9181 ldd r25,Z+1 1307 0d6a 8259 subi r24,lo8(-(110)) 1308 0d6c 9F4F sbci r25,hi8(-(110)) 1309 0d6e 8217 cp r24,r18 1310 0d70 9307 cpc r25,r19 1311 0d72 04F4 brge .L115 1312 0d74 2115 cp r18,__zero_reg__ 1313 0d76 3105 cpc r19,__zero_reg__ 1314 0d78 01F0 breq .L115 1315 0d7a 2150 subi r18,lo8(-(-1)) 1316 0d7c 3040 sbci r19,hi8(-(-1)) 1317 .L138: 1318 0d7e 3093 0000 sts (Poti4)+1,r19 1319 0d82 2093 0000 sts Poti4,r18 1320 .L115: 1321 0d86 8091 0000 lds r24,Poti1 1322 0d8a 9091 0000 lds r25,(Poti1)+1 1323 0d8e 97FF sbrs r25,7 1324 0d90 00C0 rjmp .L118 1325 0d92 1092 0000 sts (Poti1)+1,__zero_reg__ 1326 0d96 1092 0000 sts Poti1,__zero_reg__ 1327 0d9a 00C0 rjmp .L120 1328 .L118: 1329 0d9c 8F3F cpi r24,255 1330 0d9e 9105 cpc r25,__zero_reg__ 1331 0da0 01F0 breq .L120 1332 0da2 04F0 brlt .L120 1333 0da4 8FEF ldi r24,lo8(255) 1334 0da6 90E0 ldi r25,hi8(255) 1335 0da8 9093 0000 sts (Poti1)+1,r25 1336 0dac 8093 0000 sts Poti1,r24 1337 .L120: 1338 0db0 8091 0000 lds r24,Poti2 1339 0db4 9091 0000 lds r25,(Poti2)+1 1340 0db8 97FF sbrs r25,7 1341 0dba 00C0 rjmp .L122 1342 0dbc 1092 0000 sts (Poti2)+1,__zero_reg__ 1343 0dc0 1092 0000 sts Poti2,__zero_reg__ 1344 0dc4 00C0 rjmp .L124 1345 .L122: 1346 0dc6 8F3F cpi r24,255 1347 0dc8 9105 cpc r25,__zero_reg__ 1348 0dca 01F0 breq .L124 1349 0dcc 04F0 brlt .L124 1350 0dce 8FEF ldi r24,lo8(255) 1351 0dd0 90E0 ldi r25,hi8(255) 1352 0dd2 9093 0000 sts (Poti2)+1,r25 1353 0dd6 8093 0000 sts Poti2,r24 1354 .L124: 1355 0dda 8091 0000 lds r24,Poti3 1356 0dde 9091 0000 lds r25,(Poti3)+1 1357 0de2 97FF sbrs r25,7 1358 0de4 00C0 rjmp .L126 1359 0de6 1092 0000 sts (Poti3)+1,__zero_reg__ 1360 0dea 1092 0000 sts Poti3,__zero_reg__ 1361 0dee 00C0 rjmp .L128 1362 .L126: 1363 0df0 8F3F cpi r24,255 1364 0df2 9105 cpc r25,__zero_reg__ 1365 0df4 01F0 breq .L128 1366 0df6 04F0 brlt .L128 1367 0df8 8FEF ldi r24,lo8(255) 1368 0dfa 90E0 ldi r25,hi8(255) 1369 0dfc 9093 0000 sts (Poti3)+1,r25 1370 0e00 8093 0000 sts Poti3,r24 1371 .L128: 1372 0e04 8091 0000 lds r24,Poti4 1373 0e08 9091 0000 lds r25,(Poti4)+1 1374 0e0c 97FF sbrs r25,7 1375 0e0e 00C0 rjmp .L130 1376 0e10 1092 0000 sts (Poti4)+1,__zero_reg__ 1377 0e14 1092 0000 sts Poti4,__zero_reg__ 1378 0e18 00C0 rjmp .L132 1379 .L130: 1380 0e1a 8F3F cpi r24,255 1381 0e1c 9105 cpc r25,__zero_reg__ 1382 0e1e 01F0 breq .L132 1383 0e20 04F0 brlt .L132 1384 0e22 8FEF ldi r24,lo8(255) 1385 0e24 90E0 ldi r25,hi8(255) 1386 0e26 9093 0000 sts (Poti4)+1,r25 1387 0e2a 8093 0000 sts Poti4,r24 1388 .L132: 1389 0e2e 6091 0000 lds r22,EE_Parameter+43 1390 0e32 7727 clr r23 1391 0e34 8827 clr r24 1392 0e36 9927 clr r25 1393 0e38 24EC ldi r18,lo8(2500) 1394 0e3a 39E0 ldi r19,hi8(2500) 1395 0e3c 40E0 ldi r20,hlo8(2500) 1396 0e3e 50E0 ldi r21,hhi8(2500) 1397 0e40 0E94 0000 call __mulsi3 1398 0e44 6093 0000 sts Umschlag180Nick,r22 1399 0e48 7093 0000 sts (Umschlag180Nick)+1,r23 1400 0e4c 8093 0000 sts (Umschlag180Nick)+2,r24 1401 0e50 9093 0000 sts (Umschlag180Nick)+3,r25 1402 0e54 6093 0000 sts Umschlag180Roll,r22 1403 0e58 7093 0000 sts (Umschlag180Roll)+1,r23 1404 0e5c 8093 0000 sts (Umschlag180Roll)+2,r24 1405 0e60 9093 0000 sts (Umschlag180Roll)+3,r25 1406 /* epilogue: frame size=0 */ 1407 0e64 0895 ret 1408 /* epilogue end (size=1) */ 1409 /* function CalibrierMittelwert size 333 (332) */ 1411 .global ParameterZuordnung 1413 ParameterZuordnung: 1414 /* prologue: frame size=0 */ 1415 0e66 1F93 push r17 1416 /* prologue end (size=1) */ 1417 0e68 8091 0000 lds r24,EE_Parameter+11 1418 0e6c 8B3F cpi r24,lo8(-5) 1419 0e6e 00F0 brlo .L140 1420 0e70 8B3F cpi r24,lo8(-5) 1421 0e72 01F4 brne .L142 1422 0e74 8091 0000 lds r24,Poti1 1423 0e78 00C0 rjmp .L140 1424 .L142: 1425 0e7a 8C3F cpi r24,lo8(-4) 1426 0e7c 01F4 brne .L145 1427 0e7e 8091 0000 lds r24,Poti2 1428 0e82 00C0 rjmp .L140 1429 .L145: 1430 0e84 8D3F cpi r24,lo8(-3) 1431 0e86 01F4 brne .L147 1432 0e88 8091 0000 lds r24,Poti3 1433 0e8c 00C0 rjmp .L140 1434 .L147: 1435 0e8e 8E3F cpi r24,lo8(-2) 1436 0e90 01F4 brne .L144 1437 0e92 8091 0000 lds r24,Poti4 1438 .L140: 1439 0e96 8093 0000 sts Parameter_MaxHoehe,r24 1440 .L144: 1441 0e9a 8091 0000 lds r24,Parameter_MaxHoehe 1442 0e9e 8823 tst r24 1443 0ea0 01F4 brne .L150 1444 0ea2 1092 0000 sts Parameter_MaxHoehe,__zero_reg__ 1445 0ea6 00C0 rjmp .L152 1446 .L150: 1447 0ea8 8F3F cpi r24,lo8(-1) 1448 0eaa 01F4 brne .L152 1449 0eac 8093 0000 sts Parameter_MaxHoehe,r24 1450 .L152: 1451 0eb0 8091 0000 lds r24,EE_Parameter+10 1452 0eb4 8B3F cpi r24,lo8(-5) 1453 0eb6 00F0 brlo .L154 1454 0eb8 8B3F cpi r24,lo8(-5) 1455 0eba 01F4 brne .L156 1456 0ebc 8091 0000 lds r24,Poti1 1457 0ec0 00C0 rjmp .L154 1458 .L156: 1459 0ec2 8C3F cpi r24,lo8(-4) 1460 0ec4 01F4 brne .L159 1461 0ec6 8091 0000 lds r24,Poti2 1462 0eca 00C0 rjmp .L154 1463 .L159: 1464 0ecc 8D3F cpi r24,lo8(-3) 1465 0ece 01F4 brne .L161 1466 0ed0 8091 0000 lds r24,Poti3 1467 0ed4 00C0 rjmp .L154 1468 .L161: 1469 0ed6 8E3F cpi r24,lo8(-2) 1470 0ed8 01F4 brne .L158 1471 0eda 8091 0000 lds r24,Poti4 1472 .L154: 1473 0ede 8093 0000 sts Parameter_Luftdruck_D,r24 1474 .L158: 1475 0ee2 8091 0000 lds r24,Parameter_Luftdruck_D 1476 0ee6 8823 tst r24 1477 0ee8 01F4 brne .L164 1478 0eea 1092 0000 sts Parameter_Luftdruck_D,__zero_reg__ 1479 0eee 00C0 rjmp .L166 1480 .L164: 1481 0ef0 8436 cpi r24,lo8(100) 1482 0ef2 00F0 brlo .L166 1483 0ef4 84E6 ldi r24,lo8(100) 1484 0ef6 8093 0000 sts Parameter_Luftdruck_D,r24 1485 .L166: 1486 0efa 8091 0000 lds r24,EE_Parameter+12 1487 0efe 8B3F cpi r24,lo8(-5) 1488 0f00 00F0 brlo .L168 1489 0f02 8B3F cpi r24,lo8(-5) 1490 0f04 01F4 brne .L170 1491 0f06 8091 0000 lds r24,Poti1 1492 0f0a 00C0 rjmp .L168 1493 .L170: 1494 0f0c 8C3F cpi r24,lo8(-4) 1495 0f0e 01F4 brne .L173 1496 0f10 8091 0000 lds r24,Poti2 1497 0f14 00C0 rjmp .L168 1498 .L173: 1499 0f16 8D3F cpi r24,lo8(-3) 1500 0f18 01F4 brne .L175 1501 0f1a 8091 0000 lds r24,Poti3 1502 0f1e 00C0 rjmp .L168 1503 .L175: 1504 0f20 8E3F cpi r24,lo8(-2) 1505 0f22 01F4 brne .L172 1506 0f24 8091 0000 lds r24,Poti4 1507 .L168: 1508 0f28 8093 0000 sts Parameter_Hoehe_P,r24 1509 .L172: 1510 0f2c 8091 0000 lds r24,Parameter_Hoehe_P 1511 0f30 8823 tst r24 1512 0f32 01F4 brne .L178 1513 0f34 1092 0000 sts Parameter_Hoehe_P,__zero_reg__ 1514 0f38 00C0 rjmp .L180 1515 .L178: 1516 0f3a 8436 cpi r24,lo8(100) 1517 0f3c 00F0 brlo .L180 1518 0f3e 84E6 ldi r24,lo8(100) 1519 0f40 8093 0000 sts Parameter_Hoehe_P,r24 1520 .L180: 1521 0f44 8091 0000 lds r24,EE_Parameter+14 1522 0f48 8B3F cpi r24,lo8(-5) 1523 0f4a 00F0 brlo .L182 1524 0f4c 8B3F cpi r24,lo8(-5) 1525 0f4e 01F4 brne .L184 1526 0f50 8091 0000 lds r24,Poti1 1527 0f54 00C0 rjmp .L182 1528 .L184: 1529 0f56 8C3F cpi r24,lo8(-4) 1530 0f58 01F4 brne .L187 1531 0f5a 8091 0000 lds r24,Poti2 1532 0f5e 00C0 rjmp .L182 1533 .L187: 1534 0f60 8D3F cpi r24,lo8(-3) 1535 0f62 01F4 brne .L189 1536 0f64 8091 0000 lds r24,Poti3 1537 0f68 00C0 rjmp .L182 1538 .L189: 1539 0f6a 8E3F cpi r24,lo8(-2) 1540 0f6c 01F4 brne .L186 1541 0f6e 8091 0000 lds r24,Poti4 1542 .L182: 1543 0f72 8093 0000 sts Parameter_Hoehe_ACC_Wirkung,r24 1544 .L186: 1545 0f76 8091 0000 lds r24,Parameter_Hoehe_ACC_Wirkung 1546 0f7a 8823 tst r24 1547 0f7c 01F4 brne .L192 1548 0f7e 1092 0000 sts Parameter_Hoehe_ACC_Wirkung,__zero_reg__ 1549 0f82 00C0 rjmp .L194 1550 .L192: 1551 0f84 8F3F cpi r24,lo8(-1) 1552 0f86 01F4 brne .L194 1553 0f88 8093 0000 sts Parameter_Hoehe_ACC_Wirkung,r24 1554 .L194: 1555 0f8c 8091 0000 lds r24,EE_Parameter+21 1556 0f90 8B3F cpi r24,lo8(-5) 1557 0f92 00F0 brlo .L196 1558 0f94 8B3F cpi r24,lo8(-5) 1559 0f96 01F4 brne .L198 1560 0f98 8091 0000 lds r24,Poti1 1561 0f9c 00C0 rjmp .L196 1562 .L198: 1563 0f9e 8C3F cpi r24,lo8(-4) 1564 0fa0 01F4 brne .L201 1565 0fa2 8091 0000 lds r24,Poti2 1566 0fa6 00C0 rjmp .L196 1567 .L201: 1568 0fa8 8D3F cpi r24,lo8(-3) 1569 0faa 01F4 brne .L203 1570 0fac 8091 0000 lds r24,Poti3 1571 0fb0 00C0 rjmp .L196 1572 .L203: 1573 0fb2 8E3F cpi r24,lo8(-2) 1574 0fb4 01F4 brne .L200 1575 0fb6 8091 0000 lds r24,Poti4 1576 .L196: 1577 0fba 8093 0000 sts Parameter_KompassWirkung,r24 1578 .L200: 1579 0fbe 8091 0000 lds r24,Parameter_KompassWirkung 1580 0fc2 8823 tst r24 1581 0fc4 01F4 brne .L206 1582 0fc6 1092 0000 sts Parameter_KompassWirkung,__zero_reg__ 1583 0fca 00C0 rjmp .L208 1584 .L206: 1585 0fcc 8F3F cpi r24,lo8(-1) 1586 0fce 01F4 brne .L208 1587 0fd0 8093 0000 sts Parameter_KompassWirkung,r24 1588 .L208: 1589 0fd4 8091 0000 lds r24,EE_Parameter+22 1590 0fd8 8B3F cpi r24,lo8(-5) 1591 0fda 00F0 brlo .L210 1592 0fdc 8B3F cpi r24,lo8(-5) 1593 0fde 01F4 brne .L212 1594 0fe0 8091 0000 lds r24,Poti1 1595 0fe4 00C0 rjmp .L210 1596 .L212: 1597 0fe6 8C3F cpi r24,lo8(-4) 1598 0fe8 01F4 brne .L215 1599 0fea 8091 0000 lds r24,Poti2 1600 0fee 00C0 rjmp .L210 1601 .L215: 1602 0ff0 8D3F cpi r24,lo8(-3) 1603 0ff2 01F4 brne .L217 1604 0ff4 8091 0000 lds r24,Poti3 1605 0ff8 00C0 rjmp .L210 1606 .L217: 1607 0ffa 8E3F cpi r24,lo8(-2) 1608 0ffc 01F4 brne .L214 1609 0ffe 8091 0000 lds r24,Poti4 1610 .L210: 1611 1002 8093 0000 sts Parameter_Gyro_P,r24 1612 .L214: 1613 1006 8091 0000 lds r24,Parameter_Gyro_P 1614 100a 8B30 cpi r24,lo8(11) 1615 100c 00F4 brsh .L220 1616 100e 8AE0 ldi r24,lo8(10) 1617 1010 00C0 rjmp .L436 1618 .L220: 1619 1012 8F3F cpi r24,lo8(-1) 1620 1014 01F4 brne .L222 1621 .L436: 1622 1016 8093 0000 sts Parameter_Gyro_P,r24 1623 .L222: 1624 101a 8091 0000 lds r24,EE_Parameter+23 1625 101e 8B3F cpi r24,lo8(-5) 1626 1020 00F0 brlo .L224 1627 1022 8B3F cpi r24,lo8(-5) 1628 1024 01F4 brne .L226 1629 1026 8091 0000 lds r24,Poti1 1630 102a 00C0 rjmp .L224 1631 .L226: 1632 102c 8C3F cpi r24,lo8(-4) 1633 102e 01F4 brne .L229 1634 1030 8091 0000 lds r24,Poti2 1635 1034 00C0 rjmp .L224 1636 .L229: 1637 1036 8D3F cpi r24,lo8(-3) 1638 1038 01F4 brne .L231 1639 103a 8091 0000 lds r24,Poti3 1640 103e 00C0 rjmp .L224 1641 .L231: 1642 1040 8E3F cpi r24,lo8(-2) 1643 1042 01F4 brne .L228 1644 1044 8091 0000 lds r24,Poti4 1645 .L224: 1646 1048 8093 0000 sts Parameter_Gyro_I,r24 1647 .L228: 1648 104c 8091 0000 lds r24,Parameter_Gyro_I 1649 1050 8823 tst r24 1650 1052 01F4 brne .L234 1651 1054 1092 0000 sts Parameter_Gyro_I,__zero_reg__ 1652 1058 00C0 rjmp .L236 1653 .L234: 1654 105a 8F3F cpi r24,lo8(-1) 1655 105c 01F4 brne .L236 1656 105e 8093 0000 sts Parameter_Gyro_I,r24 1657 .L236: 1658 1062 8091 0000 lds r24,EE_Parameter+28 1659 1066 8B3F cpi r24,lo8(-5) 1660 1068 00F0 brlo .L238 1661 106a 8B3F cpi r24,lo8(-5) 1662 106c 01F4 brne .L240 1663 106e 8091 0000 lds r24,Poti1 1664 1072 00C0 rjmp .L238 1665 .L240: 1666 1074 8C3F cpi r24,lo8(-4) 1667 1076 01F4 brne .L243 1668 1078 8091 0000 lds r24,Poti2 1669 107c 00C0 rjmp .L238 1670 .L243: 1671 107e 8D3F cpi r24,lo8(-3) 1672 1080 01F4 brne .L245 1673 1082 8091 0000 lds r24,Poti3 1674 1086 00C0 rjmp .L238 1675 .L245: 1676 1088 8E3F cpi r24,lo8(-2) 1677 108a 01F4 brne .L242 1678 108c 8091 0000 lds r24,Poti4 1679 .L238: 1680 1090 8093 0000 sts Parameter_I_Faktor,r24 1681 .L242: 1682 1094 8091 0000 lds r24,Parameter_I_Faktor 1683 1098 8823 tst r24 1684 109a 01F4 brne .L248 1685 109c 1092 0000 sts Parameter_I_Faktor,__zero_reg__ 1686 10a0 00C0 rjmp .L250 1687 .L248: 1688 10a2 8F3F cpi r24,lo8(-1) 1689 10a4 01F4 brne .L250 1690 10a6 8093 0000 sts Parameter_I_Faktor,r24 1691 .L250: 1692 10aa 8091 0000 lds r24,EE_Parameter+29 1693 10ae 8B3F cpi r24,lo8(-5) 1694 10b0 00F0 brlo .L252 1695 10b2 8B3F cpi r24,lo8(-5) 1696 10b4 01F4 brne .L254 1697 10b6 8091 0000 lds r24,Poti1 1698 10ba 00C0 rjmp .L252 1699 .L254: 1700 10bc 8C3F cpi r24,lo8(-4) 1701 10be 01F4 brne .L257 1702 10c0 8091 0000 lds r24,Poti2 1703 10c4 00C0 rjmp .L252 1704 .L257: 1705 10c6 8D3F cpi r24,lo8(-3) 1706 10c8 01F4 brne .L259 1707 10ca 8091 0000 lds r24,Poti3 1708 10ce 00C0 rjmp .L252 1709 .L259: 1710 10d0 8E3F cpi r24,lo8(-2) 1711 10d2 01F4 brne .L256 1712 10d4 8091 0000 lds r24,Poti4 1713 .L252: 1714 10d8 8093 0000 sts Parameter_UserParam1,r24 1715 .L256: 1716 10dc 8091 0000 lds r24,Parameter_UserParam1 1717 10e0 8823 tst r24 1718 10e2 01F4 brne .L262 1719 10e4 1092 0000 sts Parameter_UserParam1,__zero_reg__ 1720 10e8 00C0 rjmp .L264 1721 .L262: 1722 10ea 8F3F cpi r24,lo8(-1) 1723 10ec 01F4 brne .L264 1724 10ee 8093 0000 sts Parameter_UserParam1,r24 1725 .L264: 1726 10f2 8091 0000 lds r24,EE_Parameter+30 1727 10f6 8B3F cpi r24,lo8(-5) 1728 10f8 00F0 brlo .L266 1729 10fa 8B3F cpi r24,lo8(-5) 1730 10fc 01F4 brne .L268 1731 10fe 8091 0000 lds r24,Poti1 1732 1102 00C0 rjmp .L266 1733 .L268: 1734 1104 8C3F cpi r24,lo8(-4) 1735 1106 01F4 brne .L271 1736 1108 8091 0000 lds r24,Poti2 1737 110c 00C0 rjmp .L266 1738 .L271: 1739 110e 8D3F cpi r24,lo8(-3) 1740 1110 01F4 brne .L273 1741 1112 8091 0000 lds r24,Poti3 1742 1116 00C0 rjmp .L266 1743 .L273: 1744 1118 8E3F cpi r24,lo8(-2) 1745 111a 01F4 brne .L270 1746 111c 8091 0000 lds r24,Poti4 1747 .L266: 1748 1120 8093 0000 sts Parameter_UserParam2,r24 1749 .L270: 1750 1124 8091 0000 lds r24,Parameter_UserParam2 1751 1128 8823 tst r24 1752 112a 01F4 brne .L276 1753 112c 1092 0000 sts Parameter_UserParam2,__zero_reg__ 1754 1130 00C0 rjmp .L278 1755 .L276: 1756 1132 8F3F cpi r24,lo8(-1) 1757 1134 01F4 brne .L278 1758 1136 8093 0000 sts Parameter_UserParam2,r24 1759 .L278: 1760 113a 8091 0000 lds r24,EE_Parameter+31 1761 113e 8B3F cpi r24,lo8(-5) 1762 1140 00F0 brlo .L280 1763 1142 8B3F cpi r24,lo8(-5) 1764 1144 01F4 brne .L282 1765 1146 8091 0000 lds r24,Poti1 1766 114a 00C0 rjmp .L280 1767 .L282: 1768 114c 8C3F cpi r24,lo8(-4) 1769 114e 01F4 brne .L285 1770 1150 8091 0000 lds r24,Poti2 1771 1154 00C0 rjmp .L280 1772 .L285: 1773 1156 8D3F cpi r24,lo8(-3) 1774 1158 01F4 brne .L287 1775 115a 8091 0000 lds r24,Poti3 1776 115e 00C0 rjmp .L280 1777 .L287: 1778 1160 8E3F cpi r24,lo8(-2) 1779 1162 01F4 brne .L284 1780 1164 8091 0000 lds r24,Poti4 1781 .L280: 1782 1168 8093 0000 sts Parameter_UserParam3,r24 1783 .L284: 1784 116c 8091 0000 lds r24,Parameter_UserParam3 1785 1170 8823 tst r24 1786 1172 01F4 brne .L290 1787 1174 1092 0000 sts Parameter_UserParam3,__zero_reg__ 1788 1178 00C0 rjmp .L292 1789 .L290: 1790 117a 8F3F cpi r24,lo8(-1) 1791 117c 01F4 brne .L292 1792 117e 8093 0000 sts Parameter_UserParam3,r24 1793 .L292: 1794 1182 8091 0000 lds r24,EE_Parameter+32 1795 1186 8B3F cpi r24,lo8(-5) 1796 1188 00F0 brlo .L294 1797 118a 8B3F cpi r24,lo8(-5) 1798 118c 01F4 brne .L296 1799 118e 8091 0000 lds r24,Poti1 1800 1192 00C0 rjmp .L294 1801 .L296: 1802 1194 8C3F cpi r24,lo8(-4) 1803 1196 01F4 brne .L299 1804 1198 8091 0000 lds r24,Poti2 1805 119c 00C0 rjmp .L294 1806 .L299: 1807 119e 8D3F cpi r24,lo8(-3) 1808 11a0 01F4 brne .L301 1809 11a2 8091 0000 lds r24,Poti3 1810 11a6 00C0 rjmp .L294 1811 .L301: 1812 11a8 8E3F cpi r24,lo8(-2) 1813 11aa 01F4 brne .L298 1814 11ac 8091 0000 lds r24,Poti4 1815 .L294: 1816 11b0 8093 0000 sts Parameter_UserParam4,r24 1817 .L298: 1818 11b4 8091 0000 lds r24,Parameter_UserParam4 1819 11b8 8823 tst r24 1820 11ba 01F4 brne .L304 1821 11bc 1092 0000 sts Parameter_UserParam4,__zero_reg__ 1822 11c0 00C0 rjmp .L306 1823 .L304: 1824 11c2 8F3F cpi r24,lo8(-1) 1825 11c4 01F4 brne .L306 1826 11c6 8093 0000 sts Parameter_UserParam4,r24 1827 .L306: 1828 11ca 8091 0000 lds r24,EE_Parameter+48 1829 11ce 8B3F cpi r24,lo8(-5) 1830 11d0 00F0 brlo .L308 1831 11d2 8B3F cpi r24,lo8(-5) 1832 11d4 01F4 brne .L310 1833 11d6 8091 0000 lds r24,Poti1 1834 11da 00C0 rjmp .L308 1835 .L310: 1836 11dc 8C3F cpi r24,lo8(-4) 1837 11de 01F4 brne .L313 1838 11e0 8091 0000 lds r24,Poti2 1839 11e4 00C0 rjmp .L308 1840 .L313: 1841 11e6 8D3F cpi r24,lo8(-3) 1842 11e8 01F4 brne .L315 1843 11ea 8091 0000 lds r24,Poti3 1844 11ee 00C0 rjmp .L308 1845 .L315: 1846 11f0 8E3F cpi r24,lo8(-2) 1847 11f2 01F4 brne .L312 1848 11f4 8091 0000 lds r24,Poti4 1849 .L308: 1850 11f8 8093 0000 sts Parameter_UserParam5,r24 1851 .L312: 1852 11fc 8091 0000 lds r24,Parameter_UserParam5 1853 1200 8823 tst r24 1854 1202 01F4 brne .L318 1855 1204 1092 0000 sts Parameter_UserParam5,__zero_reg__ 1856 1208 00C0 rjmp .L320 1857 .L318: 1858 120a 8F3F cpi r24,lo8(-1) 1859 120c 01F4 brne .L320 1860 120e 8093 0000 sts Parameter_UserParam5,r24 1861 .L320: 1862 1212 8091 0000 lds r24,EE_Parameter+49 1863 1216 8B3F cpi r24,lo8(-5) 1864 1218 00F0 brlo .L322 1865 121a 8B3F cpi r24,lo8(-5) 1866 121c 01F4 brne .L324 1867 121e 8091 0000 lds r24,Poti1 1868 1222 00C0 rjmp .L322 1869 .L324: 1870 1224 8C3F cpi r24,lo8(-4) 1871 1226 01F4 brne .L327 1872 1228 8091 0000 lds r24,Poti2 1873 122c 00C0 rjmp .L322 1874 .L327: 1875 122e 8D3F cpi r24,lo8(-3) 1876 1230 01F4 brne .L329 1877 1232 8091 0000 lds r24,Poti3 1878 1236 00C0 rjmp .L322 1879 .L329: 1880 1238 8E3F cpi r24,lo8(-2) 1881 123a 01F4 brne .L326 1882 123c 8091 0000 lds r24,Poti4 1883 .L322: 1884 1240 8093 0000 sts Parameter_UserParam6,r24 1885 .L326: 1886 1244 8091 0000 lds r24,Parameter_UserParam6 1887 1248 8823 tst r24 1888 124a 01F4 brne .L332 1889 124c 1092 0000 sts Parameter_UserParam6,__zero_reg__ 1890 1250 00C0 rjmp .L334 1891 .L332: 1892 1252 8F3F cpi r24,lo8(-1) 1893 1254 01F4 brne .L334 1894 1256 8093 0000 sts Parameter_UserParam6,r24 1895 .L334: 1896 125a 8091 0000 lds r24,EE_Parameter+50 1897 125e 8B3F cpi r24,lo8(-5) 1898 1260 00F0 brlo .L336 1899 1262 8B3F cpi r24,lo8(-5) 1900 1264 01F4 brne .L338 1901 1266 8091 0000 lds r24,Poti1 1902 126a 00C0 rjmp .L336 1903 .L338: 1904 126c 8C3F cpi r24,lo8(-4) 1905 126e 01F4 brne .L341 1906 1270 8091 0000 lds r24,Poti2 1907 1274 00C0 rjmp .L336 1908 .L341: 1909 1276 8D3F cpi r24,lo8(-3) 1910 1278 01F4 brne .L343 1911 127a 8091 0000 lds r24,Poti3 1912 127e 00C0 rjmp .L336 1913 .L343: 1914 1280 8E3F cpi r24,lo8(-2) 1915 1282 01F4 brne .L340 1916 1284 8091 0000 lds r24,Poti4 1917 .L336: 1918 1288 8093 0000 sts Parameter_UserParam7,r24 1919 .L340: 1920 128c 8091 0000 lds r24,Parameter_UserParam7 1921 1290 8823 tst r24 1922 1292 01F4 brne .L346 1923 1294 1092 0000 sts Parameter_UserParam7,__zero_reg__ 1924 1298 00C0 rjmp .L348 1925 .L346: 1926 129a 8F3F cpi r24,lo8(-1) 1927 129c 01F4 brne .L348 1928 129e 8093 0000 sts Parameter_UserParam7,r24 1929 .L348: 1930 12a2 8091 0000 lds r24,EE_Parameter+51 1931 12a6 8B3F cpi r24,lo8(-5) 1932 12a8 00F0 brlo .L350 1933 12aa 8B3F cpi r24,lo8(-5) 1934 12ac 01F4 brne .L352 1935 12ae 8091 0000 lds r24,Poti1 1936 12b2 00C0 rjmp .L350 1937 .L352: 1938 12b4 8C3F cpi r24,lo8(-4) 1939 12b6 01F4 brne .L355 1940 12b8 8091 0000 lds r24,Poti2 1941 12bc 00C0 rjmp .L350 1942 .L355: 1943 12be 8D3F cpi r24,lo8(-3) 1944 12c0 01F4 brne .L357 1945 12c2 8091 0000 lds r24,Poti3 1946 12c6 00C0 rjmp .L350 1947 .L357: 1948 12c8 8E3F cpi r24,lo8(-2) 1949 12ca 01F4 brne .L354 1950 12cc 8091 0000 lds r24,Poti4 1951 .L350: 1952 12d0 8093 0000 sts Parameter_UserParam8,r24 1953 .L354: 1954 12d4 8091 0000 lds r24,Parameter_UserParam8 1955 12d8 8823 tst r24 1956 12da 01F4 brne .L360 1957 12dc 1092 0000 sts Parameter_UserParam8,__zero_reg__ 1958 12e0 00C0 rjmp .L362 1959 .L360: 1960 12e2 8F3F cpi r24,lo8(-1) 1961 12e4 01F4 brne .L362 1962 12e6 8093 0000 sts Parameter_UserParam8,r24 1963 .L362: 1964 12ea 8091 0000 lds r24,EE_Parameter+33 1965 12ee 8B3F cpi r24,lo8(-5) 1966 12f0 00F0 brlo .L364 1967 12f2 8B3F cpi r24,lo8(-5) 1968 12f4 01F4 brne .L366 1969 12f6 8091 0000 lds r24,Poti1 1970 12fa 00C0 rjmp .L364 1971 .L366: 1972 12fc 8C3F cpi r24,lo8(-4) 1973 12fe 01F4 brne .L369 1974 1300 8091 0000 lds r24,Poti2 1975 1304 00C0 rjmp .L364 1976 .L369: 1977 1306 8D3F cpi r24,lo8(-3) 1978 1308 01F4 brne .L371 1979 130a 8091 0000 lds r24,Poti3 1980 130e 00C0 rjmp .L364 1981 .L371: 1982 1310 8E3F cpi r24,lo8(-2) 1983 1312 01F4 brne .L368 1984 1314 8091 0000 lds r24,Poti4 1985 .L364: 1986 1318 8093 0000 sts Parameter_ServoNickControl,r24 1987 .L368: 1988 131c 8091 0000 lds r24,Parameter_ServoNickControl 1989 1320 8823 tst r24 1990 1322 01F4 brne .L374 1991 1324 1092 0000 sts Parameter_ServoNickControl,__zero_reg__ 1992 1328 00C0 rjmp .L376 1993 .L374: 1994 132a 8F3F cpi r24,lo8(-1) 1995 132c 01F4 brne .L376 1996 132e 8093 0000 sts Parameter_ServoNickControl,r24 1997 .L376: 1998 1332 8091 0000 lds r24,EE_Parameter+38 1999 1336 8B3F cpi r24,lo8(-5) 2000 1338 00F0 brlo .L378 2001 133a 8B3F cpi r24,lo8(-5) 2002 133c 01F4 brne .L380 2003 133e 8091 0000 lds r24,Poti1 2004 1342 00C0 rjmp .L378 2005 .L380: 2006 1344 8C3F cpi r24,lo8(-4) 2007 1346 01F4 brne .L383 2008 1348 8091 0000 lds r24,Poti2 2009 134c 00C0 rjmp .L378 2010 .L383: 2011 134e 8D3F cpi r24,lo8(-3) 2012 1350 01F4 brne .L385 2013 1352 8091 0000 lds r24,Poti3 2014 1356 00C0 rjmp .L378 2015 .L385: 2016 1358 8E3F cpi r24,lo8(-2) 2017 135a 01F4 brne .L382 2018 135c 8091 0000 lds r24,Poti4 2019 .L378: 2020 1360 8093 0000 sts Parameter_LoopGasLimit,r24 2021 .L382: 2022 1364 8091 0000 lds r24,Parameter_LoopGasLimit 2023 1368 8823 tst r24 2024 136a 01F4 brne .L388 2025 136c 1092 0000 sts Parameter_LoopGasLimit,__zero_reg__ 2026 1370 00C0 rjmp .L390 2027 .L388: 2028 1372 8F3F cpi r24,lo8(-1) 2029 1374 01F4 brne .L390 2030 1376 8093 0000 sts Parameter_LoopGasLimit,r24 2031 .L390: 2032 137a 8091 0000 lds r24,EE_Parameter+41 2033 137e 8B3F cpi r24,lo8(-5) 2034 1380 00F0 brlo .L392 2035 1382 8B3F cpi r24,lo8(-5) 2036 1384 01F4 brne .L394 2037 1386 8091 0000 lds r24,Poti1 2038 138a 00C0 rjmp .L392 2039 .L394: 2040 138c 8C3F cpi r24,lo8(-4) 2041 138e 01F4 brne .L397 2042 1390 8091 0000 lds r24,Poti2 2043 1394 00C0 rjmp .L392 2044 .L397: 2045 1396 8D3F cpi r24,lo8(-3) 2046 1398 01F4 brne .L399 2047 139a 8091 0000 lds r24,Poti3 2048 139e 00C0 rjmp .L392 2049 .L399: 2050 13a0 8E3F cpi r24,lo8(-2) 2051 13a2 01F4 brne .L396 2052 13a4 8091 0000 lds r24,Poti4 2053 .L392: 2054 13a8 8093 0000 sts Parameter_AchsKopplung1,r24 2055 .L396: 2056 13ac 8091 0000 lds r24,Parameter_AchsKopplung1 2057 13b0 8823 tst r24 2058 13b2 01F4 brne .L402 2059 13b4 1092 0000 sts Parameter_AchsKopplung1,__zero_reg__ 2060 13b8 00C0 rjmp .L404 2061 .L402: 2062 13ba 8F3F cpi r24,lo8(-1) 2063 13bc 01F4 brne .L404 2064 13be 8093 0000 sts Parameter_AchsKopplung1,r24 2065 .L404: 2066 13c2 8091 0000 lds r24,EE_Parameter+42 2067 13c6 8B3F cpi r24,lo8(-5) 2068 13c8 00F0 brlo .L406 2069 13ca 8B3F cpi r24,lo8(-5) 2070 13cc 01F4 brne .L408 2071 13ce 8091 0000 lds r24,Poti1 2072 13d2 00C0 rjmp .L406 2073 .L408: 2074 13d4 8C3F cpi r24,lo8(-4) 2075 13d6 01F4 brne .L411 2076 13d8 8091 0000 lds r24,Poti2 2077 13dc 00C0 rjmp .L406 2078 .L411: 2079 13de 8D3F cpi r24,lo8(-3) 2080 13e0 01F4 brne .L413 2081 13e2 8091 0000 lds r24,Poti3 2082 13e6 00C0 rjmp .L406 2083 .L413: 2084 13e8 8E3F cpi r24,lo8(-2) 2085 13ea 01F4 brne .L410 2086 13ec 8091 0000 lds r24,Poti4 2087 .L406: 2088 13f0 8093 0000 sts Parameter_AchsGegenKopplung1,r24 2089 .L410: 2090 13f4 8091 0000 lds r24,Parameter_AchsGegenKopplung1 2091 13f8 8823 tst r24 2092 13fa 01F4 brne .L416 2093 13fc 1092 0000 sts Parameter_AchsGegenKopplung1,__zero_reg__ 2094 1400 00C0 rjmp .L418 2095 .L416: 2096 1402 8F3F cpi r24,lo8(-1) 2097 1404 01F4 brne .L418 2098 1406 8093 0000 sts Parameter_AchsGegenKopplung1,r24 2099 .L418: 2100 140a 8091 0000 lds r24,EE_Parameter+47 2101 140e 8B3F cpi r24,lo8(-5) 2102 1410 00F0 brlo .L420 2103 1412 8B3F cpi r24,lo8(-5) 2104 1414 01F4 brne .L422 2105 1416 8091 0000 lds r24,Poti1 2106 141a 00C0 rjmp .L420 2107 .L422: 2108 141c 8C3F cpi r24,lo8(-4) 2109 141e 01F4 brne .L425 2110 1420 8091 0000 lds r24,Poti2 2111 1424 00C0 rjmp .L420 2112 .L425: 2113 1426 8D3F cpi r24,lo8(-3) 2114 1428 01F4 brne .L427 2115 142a 8091 0000 lds r24,Poti3 2116 142e 00C0 rjmp .L420 2117 .L427: 2118 1430 8E3F cpi r24,lo8(-2) 2119 1432 01F4 brne .L424 2120 1434 8091 0000 lds r24,Poti4 2121 .L420: 2122 1438 8093 0000 sts Parameter_DynamicStability,r24 2123 .L424: 2124 143c 8091 0000 lds r24,Parameter_DynamicStability 2125 1440 8823 tst r24 2126 1442 01F4 brne .L430 2127 1444 1092 0000 sts Parameter_DynamicStability,__zero_reg__ 2128 1448 00C0 rjmp .L432 2129 .L430: 2130 144a 8F3F cpi r24,lo8(-1) 2131 144c 01F4 brne .L432 2132 144e 8093 0000 sts Parameter_DynamicStability,r24 2133 .L432: 2134 1452 1091 0000 lds r17,Parameter_I_Faktor 2135 1456 612F mov r22,r17 2136 1458 7727 clr r23 2137 145a 67FD sbrc r22,7 2138 145c 7095 com r23 2139 145e 872F mov r24,r23 2140 1460 972F mov r25,r23 2141 1462 0E94 0000 call __floatsisf 2142 1466 17FF sbrs r17,7 2143 1468 00C0 rjmp .L434 2144 146a 20E0 ldi r18,lo8(0x43800000) 2145 146c 30E0 ldi r19,hi8(0x43800000) 2146 146e 40E8 ldi r20,hlo8(0x43800000) 2147 1470 53E4 ldi r21,hhi8(0x43800000) 2148 1472 0E94 0000 call __addsf3 2149 .L434: 2150 1476 27E1 ldi r18,lo8(0x38d1b717) 2151 1478 37EB ldi r19,hi8(0x38d1b717) 2152 147a 41ED ldi r20,hlo8(0x38d1b717) 2153 147c 58E3 ldi r21,hhi8(0x38d1b717) 2154 147e 0E94 0000 call __mulsf3 2155 1482 6093 0000 sts Ki,r22 2156 1486 7093 0000 sts (Ki)+1,r23 2157 148a 8093 0000 sts (Ki)+2,r24 2158 148e 9093 0000 sts (Ki)+3,r25 2159 1492 8091 0000 lds r24,EE_Parameter+19 2160 1496 8093 0000 sts MAX_GAS,r24 2161 149a 8091 0000 lds r24,EE_Parameter+18 2162 149e 8093 0000 sts MIN_GAS,r24 2163 /* epilogue: frame size=0 */ 2164 14a2 1F91 pop r17 2165 14a4 0895 ret 2166 /* epilogue end (size=2) */ 2167 /* function ParameterZuordnung size 800 (797) */ 2169 .global SendMotorData 2171 SendMotorData: 2172 /* prologue: frame size=0 */ 2173 /* prologue end (size=0) */ 2174 14a6 8091 0000 lds r24,MotorenEin 2175 14aa 8823 tst r24 2176 14ac 01F4 brne .L438 2177 14ae 1092 0000 sts Motor_Hinten,__zero_reg__ 2178 14b2 1092 0000 sts Motor_Vorne,__zero_reg__ 2179 14b6 1092 0000 sts Motor_Rechts,__zero_reg__ 2180 14ba 1092 0000 sts Motor_Links,__zero_reg__ 2181 14be 8091 0000 lds r24,MotorTest 2182 14c2 8823 tst r24 2183 14c4 01F0 breq .L440 2184 14c6 8093 0000 sts Motor_Vorne,r24 2185 .L440: 2186 14ca 8091 0000 lds r24,MotorTest+1 2187 14ce 8823 tst r24 2188 14d0 01F0 breq .L442 2189 14d2 8093 0000 sts Motor_Hinten,r24 2190 .L442: 2191 14d6 8091 0000 lds r24,MotorTest+2 2192 14da 8823 tst r24 2193 14dc 01F0 breq .L444 2194 14de 8093 0000 sts Motor_Links,r24 2195 .L444: 2196 14e2 8091 0000 lds r24,MotorTest+3 2197 14e6 8823 tst r24 2198 14e8 01F0 breq .L438 2199 14ea 8093 0000 sts Motor_Rechts,r24 2200 .L438: 2201 14ee 8091 0000 lds r24,Motor_Vorne 2202 14f2 9927 clr r25 2203 14f4 9093 0000 sts (DebugOut+26)+1,r25 2204 14f8 8093 0000 sts DebugOut+26,r24 2205 14fc 8091 0000 lds r24,Motor_Hinten 2206 1500 9927 clr r25 2207 1502 9093 0000 sts (DebugOut+28)+1,r25 2208 1506 8093 0000 sts DebugOut+28,r24 2209 150a 8091 0000 lds r24,Motor_Links 2210 150e 9927 clr r25 2211 1510 9093 0000 sts (DebugOut+30)+1,r25 2212 1514 8093 0000 sts DebugOut+30,r24 2213 1518 8091 0000 lds r24,Motor_Rechts 2214 151c 9927 clr r25 2215 151e 9093 0000 sts (DebugOut+32)+1,r25 2216 1522 8093 0000 sts DebugOut+32,r24 2217 1526 1092 0000 sts twi_state,__zero_reg__ 2218 152a 1092 0000 sts motor,__zero_reg__ 2219 152e 0E94 0000 call i2c_start 2220 /* epilogue: frame size=0 */ 2221 1532 0895 ret 2222 /* epilogue end (size=1) */ 2223 /* function SendMotorData size 71 (70) */ 2225 .global SetNeutral 2227 SetNeutral: 2228 /* prologue: frame size=0 */ 2229 /* prologue end (size=0) */ 2230 1534 1092 0000 sts (NeutralAccX)+1,__zero_reg__ 2231 1538 1092 0000 sts NeutralAccX,__zero_reg__ 2232 153c 1092 0000 sts (NeutralAccY)+1,__zero_reg__ 2233 1540 1092 0000 sts NeutralAccY,__zero_reg__ 2234 1544 80E0 ldi r24,lo8(0x0) 2235 1546 90E0 ldi r25,hi8(0x0) 2236 1548 A0E0 ldi r26,hlo8(0x0) 2237 154a B0E0 ldi r27,hhi8(0x0) 2238 154c 8093 0000 sts NeutralAccZ,r24 2239 1550 9093 0000 sts (NeutralAccZ)+1,r25 2240 1554 A093 0000 sts (NeutralAccZ)+2,r26 2241 1558 B093 0000 sts (NeutralAccZ)+3,r27 2242 155c 1092 0000 sts (AdNeutralNick)+1,__zero_reg__ 2243 1560 1092 0000 sts AdNeutralNick,__zero_reg__ 2244 1564 1092 0000 sts (AdNeutralRoll)+1,__zero_reg__ 2245 1568 1092 0000 sts AdNeutralRoll,__zero_reg__ 2246 156c 1092 0000 sts (AdNeutralGier)+1,__zero_reg__ 2247 1570 1092 0000 sts AdNeutralGier,__zero_reg__ 2248 1574 1092 0000 sts Parameter_AchsKopplung1,__zero_reg__ 2249 1578 1092 0000 sts Parameter_AchsGegenKopplung1,__zero_reg__ 2250 157c 0E94 0000 call CalibrierMittelwert 2251 1580 84E6 ldi r24,lo8(100) 2252 1582 90E0 ldi r25,hi8(100) 2253 1584 0E94 0000 call Delay_ms_Mess 2254 1588 0E94 0000 call CalibrierMittelwert 2255 158c 8091 0000 lds r24,EE_Parameter+8 2256 1590 80FF sbrs r24,0 2257 1592 00C0 rjmp .L449 2258 1594 8091 0000 lds r24,MessLuftdruck 2259 1598 9091 0000 lds r25,(MessLuftdruck)+1 2260 159c 875B subi r24,lo8(951) 2261 159e 9340 sbci r25,hi8(951) 2262 15a0 00F4 brsh .L451 2263 15a2 8091 0000 lds r24,MessLuftdruck 2264 15a6 9091 0000 lds r25,(MessLuftdruck)+1 2265 15aa 8E5E subi r24,lo8(750) 2266 15ac 9240 sbci r25,hi8(750) 2267 15ae 00F4 brsh .L449 2268 .L451: 2269 15b0 0E94 0000 call SucheLuftruckOffset 2270 .L449: 2271 15b4 8091 0000 lds r24,AdWertNick 2272 15b8 9091 0000 lds r25,(AdWertNick)+1 2273 15bc 9093 0000 sts (AdNeutralNick)+1,r25 2274 15c0 8093 0000 sts AdNeutralNick,r24 2275 15c4 8091 0000 lds r24,AdWertRoll 2276 15c8 9091 0000 lds r25,(AdWertRoll)+1 2277 15cc 9093 0000 sts (AdNeutralRoll)+1,r25 2278 15d0 8093 0000 sts AdNeutralRoll,r24 2279 15d4 8091 0000 lds r24,AdWertGier 2280 15d8 9091 0000 lds r25,(AdWertGier)+1 2281 15dc 9093 0000 sts (AdNeutralGier)+1,r25 2282 15e0 8093 0000 sts AdNeutralGier,r24 2283 15e4 8091 0000 lds r24,AdNeutralRoll 2284 15e8 9091 0000 lds r25,(AdNeutralRoll)+1 2285 15ec 9093 0000 sts (StartNeutralRoll)+1,r25 2286 15f0 8093 0000 sts StartNeutralRoll,r24 2287 15f4 8091 0000 lds r24,AdNeutralNick 2288 15f8 9091 0000 lds r25,(AdNeutralNick)+1 2289 15fc 9093 0000 sts (StartNeutralNick)+1,r25 2290 1600 8093 0000 sts StartNeutralNick,r24 2291 1604 40E0 ldi r20,lo8(EEPromArray+4) 2292 1606 50E0 ldi r21,hi8(EEPromArray+4) 2293 1608 DA01 movw r26,r20 2294 /* #APP */ 2295 160a 0E94 0000 call __eeprom_read_byte_1F2021 2296 160e 802D mov r24,__tmp_reg__ 2297 /* #NOAPP */ 2298 1610 8530 cpi r24,lo8(5) 2299 1612 00F0 brlo .L453 2300 1614 8091 0000 lds r24,Mittelwert_AccRoll 2301 1618 9091 0000 lds r25,(Mittelwert_AccRoll)+1 2302 161c 97FF sbrs r25,7 2303 161e 00C0 rjmp .L455 2304 1620 9095 com r25 2305 1622 8195 neg r24 2306 1624 9F4F sbci r25,lo8(-1) 2307 .L455: 2308 1626 6CE0 ldi r22,lo8(12) 2309 1628 70E0 ldi r23,hi8(12) 2310 162a 0E94 0000 call __divmodhi4 2311 162e 7093 0000 sts (NeutralAccY)+1,r23 2312 1632 6093 0000 sts NeutralAccY,r22 2313 1636 8091 0000 lds r24,Mittelwert_AccNick 2314 163a 9091 0000 lds r25,(Mittelwert_AccNick)+1 2315 163e 97FF sbrs r25,7 2316 1640 00C0 rjmp .L456 2317 1642 9095 com r25 2318 1644 8195 neg r24 2319 1646 9F4F sbci r25,lo8(-1) 2320 .L456: 2321 1648 6CE0 ldi r22,lo8(12) 2322 164a 70E0 ldi r23,hi8(12) 2323 164c 0E94 0000 call __divmodhi4 2324 1650 7093 0000 sts (NeutralAccX)+1,r23 2325 1654 6093 0000 sts NeutralAccX,r22 2326 1658 6091 0000 lds r22,Aktuell_az 2327 165c 7091 0000 lds r23,(Aktuell_az)+1 2328 1660 00C0 rjmp .L459 2329 .L453: 2330 1662 DA01 movw r26,r20 2331 /* #APP */ 2332 1664 0E94 0000 call __eeprom_read_byte_1F2021 2333 1668 802D mov r24,__tmp_reg__ 2334 /* #NOAPP */ 2335 166a 4F5F subi r20,lo8(-(1)) 2336 166c 5F4F sbci r21,hi8(-(1)) 2337 166e DA01 movw r26,r20 2338 /* #APP */ 2339 1670 0E94 0000 call __eeprom_read_byte_1F2021 2340 1674 202D mov r18,__tmp_reg__ 2341 /* #NOAPP */ 2342 1676 9927 clr r25 2343 1678 982F mov r25,r24 2344 167a 8827 clr r24 2345 167c 820F add r24,r18 2346 167e 911D adc r25,__zero_reg__ 2347 1680 9093 0000 sts (NeutralAccX)+1,r25 2348 1684 8093 0000 sts NeutralAccX,r24 2349 1688 4F5F subi r20,lo8(-(1)) 2350 168a 5F4F sbci r21,hi8(-(1)) 2351 168c DA01 movw r26,r20 2352 /* #APP */ 2353 168e 0E94 0000 call __eeprom_read_byte_1F2021 2354 1692 802D mov r24,__tmp_reg__ 2355 /* #NOAPP */ 2356 1694 4F5F subi r20,lo8(-(1)) 2357 1696 5F4F sbci r21,hi8(-(1)) 2358 1698 DA01 movw r26,r20 2359 /* #APP */ 2360 169a 0E94 0000 call __eeprom_read_byte_1F2021 2361 169e 202D mov r18,__tmp_reg__ 2362 /* #NOAPP */ 2363 16a0 9927 clr r25 2364 16a2 982F mov r25,r24 2365 16a4 8827 clr r24 2366 16a6 820F add r24,r18 2367 16a8 911D adc r25,__zero_reg__ 2368 16aa 9093 0000 sts (NeutralAccY)+1,r25 2369 16ae 8093 0000 sts NeutralAccY,r24 2370 16b2 4F5F subi r20,lo8(-(1)) 2371 16b4 5F4F sbci r21,hi8(-(1)) 2372 16b6 DA01 movw r26,r20 2373 /* #APP */ 2374 16b8 0E94 0000 call __eeprom_read_byte_1F2021 2375 16bc 602D mov r22,__tmp_reg__ 2376 /* #NOAPP */ 2377 16be 4F5F subi r20,lo8(-(1)) 2378 16c0 5F4F sbci r21,hi8(-(1)) 2379 16c2 DA01 movw r26,r20 2380 /* #APP */ 2381 16c4 0E94 0000 call __eeprom_read_byte_1F2021 2382 16c8 202D mov r18,__tmp_reg__ 2383 /* #NOAPP */ 2384 16ca 7727 clr r23 2385 16cc 762F mov r23,r22 2386 16ce 6627 clr r22 2387 16d0 620F add r22,r18 2388 16d2 711D adc r23,__zero_reg__ 2389 .L459: 2390 16d4 8827 clr r24 2391 16d6 77FD sbrc r23,7 2392 16d8 8095 com r24 2393 16da 982F mov r25,r24 2394 16dc 0E94 0000 call __floatsisf 2395 16e0 6093 0000 sts NeutralAccZ,r22 2396 16e4 7093 0000 sts (NeutralAccZ)+1,r23 2397 16e8 8093 0000 sts (NeutralAccZ)+2,r24 2398 16ec 9093 0000 sts (NeutralAccZ)+3,r25 2399 16f0 1092 0000 sts Mess_IntegralNick,__zero_reg__ 2400 16f4 1092 0000 sts (Mess_IntegralNick)+1,__zero_reg__ 2401 16f8 1092 0000 sts (Mess_IntegralNick)+2,__zero_reg__ 2402 16fc 1092 0000 sts (Mess_IntegralNick)+3,__zero_reg__ 2403 1700 1092 0000 sts Mess_IntegralNick2,__zero_reg__ 2404 1704 1092 0000 sts (Mess_IntegralNick2)+1,__zero_reg__ 2405 1708 1092 0000 sts (Mess_IntegralNick2)+2,__zero_reg__ 2406 170c 1092 0000 sts (Mess_IntegralNick2)+3,__zero_reg__ 2407 1710 1092 0000 sts Mess_IntegralRoll,__zero_reg__ 2408 1714 1092 0000 sts (Mess_IntegralRoll)+1,__zero_reg__ 2409 1718 1092 0000 sts (Mess_IntegralRoll)+2,__zero_reg__ 2410 171c 1092 0000 sts (Mess_IntegralRoll)+3,__zero_reg__ 2411 1720 1092 0000 sts Mess_IntegralRoll2,__zero_reg__ 2412 1724 1092 0000 sts (Mess_IntegralRoll2)+1,__zero_reg__ 2413 1728 1092 0000 sts (Mess_IntegralRoll2)+2,__zero_reg__ 2414 172c 1092 0000 sts (Mess_IntegralRoll2)+3,__zero_reg__ 2415 1730 1092 0000 sts Mess_Integral_Gier,__zero_reg__ 2416 1734 1092 0000 sts (Mess_Integral_Gier)+1,__zero_reg__ 2417 1738 1092 0000 sts (Mess_Integral_Gier)+2,__zero_reg__ 2418 173c 1092 0000 sts (Mess_Integral_Gier)+3,__zero_reg__ 2419 1740 1092 0000 sts (MesswertNick)+1,__zero_reg__ 2420 1744 1092 0000 sts MesswertNick,__zero_reg__ 2421 1748 1092 0000 sts (MesswertRoll)+1,__zero_reg__ 2422 174c 1092 0000 sts MesswertRoll,__zero_reg__ 2423 1750 1092 0000 sts (MesswertGier)+1,__zero_reg__ 2424 1754 1092 0000 sts MesswertGier,__zero_reg__ 2425 1758 8091 0000 lds r24,Luftdruck 2426 175c 9091 0000 lds r25,(Luftdruck)+1 2427 1760 A091 0000 lds r26,(Luftdruck)+2 2428 1764 B091 0000 lds r27,(Luftdruck)+3 2429 1768 9093 0000 sts (StartLuftdruck)+1,r25 2430 176c 8093 0000 sts StartLuftdruck,r24 2431 1770 1092 0000 sts (HoeheD)+1,__zero_reg__ 2432 1774 1092 0000 sts HoeheD,__zero_reg__ 2433 1778 1092 0000 sts Mess_Integral_Hoch,__zero_reg__ 2434 177c 1092 0000 sts (Mess_Integral_Hoch)+1,__zero_reg__ 2435 1780 1092 0000 sts (Mess_Integral_Hoch)+2,__zero_reg__ 2436 1784 1092 0000 sts (Mess_Integral_Hoch)+3,__zero_reg__ 2437 1788 8091 0000 lds r24,KompassValue 2438 178c 9091 0000 lds r25,(KompassValue)+1 2439 1790 9093 0000 sts (KompassStartwert)+1,r25 2440 1794 8093 0000 sts KompassStartwert,r24 2441 1798 0E94 0000 call GPS_Neutral 2442 179c 82E3 ldi r24,lo8(50) 2443 179e 90E0 ldi r25,hi8(50) 2444 17a0 9093 0000 sts (beeptime)+1,r25 2445 17a4 8093 0000 sts beeptime,r24 2446 17a8 6091 0000 lds r22,EE_Parameter+43 2447 17ac 7727 clr r23 2448 17ae 8827 clr r24 2449 17b0 9927 clr r25 2450 17b2 24EC ldi r18,lo8(2500) 2451 17b4 39E0 ldi r19,hi8(2500) 2452 17b6 40E0 ldi r20,hlo8(2500) 2453 17b8 50E0 ldi r21,hhi8(2500) 2454 17ba 0E94 0000 call __mulsi3 2455 17be 6093 0000 sts Umschlag180Nick,r22 2456 17c2 7093 0000 sts (Umschlag180Nick)+1,r23 2457 17c6 8093 0000 sts (Umschlag180Nick)+2,r24 2458 17ca 9093 0000 sts (Umschlag180Nick)+3,r25 2459 17ce 6091 0000 lds r22,EE_Parameter+44 2460 17d2 7727 clr r23 2461 17d4 8827 clr r24 2462 17d6 9927 clr r25 2463 17d8 0E94 0000 call __mulsi3 2464 17dc 6093 0000 sts Umschlag180Roll,r22 2465 17e0 7093 0000 sts (Umschlag180Roll)+1,r23 2466 17e4 8093 0000 sts (Umschlag180Roll)+2,r24 2467 17e8 9093 0000 sts (Umschlag180Roll)+3,r25 2468 17ec 1092 0000 sts (ExternHoehenValue)+1,__zero_reg__ 2469 17f0 1092 0000 sts ExternHoehenValue,__zero_reg__ 2470 /* epilogue: frame size=0 */ 2471 17f4 0895 ret 2472 /* epilogue end (size=1) */ 2473 /* function SetNeutral size 362 (361) */ 2475 .global Piep 2477 Piep: 2478 /* prologue: frame size=0 */ 2479 17f6 1F93 push r17 2480 /* prologue end (size=1) */ 2481 17f8 182F mov r17,r24 2482 17fa 00C0 rjmp .L461 2483 .L462: 2484 17fc 8091 0000 lds r24,MotorenEin 2485 1800 8823 tst r24 2486 1802 01F4 brne .L465 2487 1804 84E6 ldi r24,lo8(100) 2488 1806 90E0 ldi r25,hi8(100) 2489 1808 9093 0000 sts (beeptime)+1,r25 2490 180c 8093 0000 sts beeptime,r24 2491 1810 8AEF ldi r24,lo8(250) 2492 1812 90E0 ldi r25,hi8(250) 2493 1814 0E94 0000 call Delay_ms 2494 .L461: 2495 1818 1150 subi r17,1 2496 181a 00F4 brcc .L462 2497 .L465: 2498 /* epilogue: frame size=0 */ 2499 181c 1F91 pop r17 2500 181e 0895 ret 2501 /* epilogue end (size=2) */ 2502 /* function Piep size 22 (19) */ 2504 .data 2505 .LC0: 2506 0000 4265 6769 .string "Beginner" 2506 6E6E 6572 2506 00 2507 0009 00 .string "" 2508 .text 2509 .global DefaultKonstanten3 2511 DefaultKonstanten3: 2512 /* prologue: frame size=0 */ 2513 /* prologue end (size=0) */ 2514 1820 81E0 ldi r24,lo8(1) 2515 1822 8093 0000 sts EE_Parameter,r24 2516 1826 62E0 ldi r22,lo8(2) 2517 1828 6093 0000 sts EE_Parameter+1,r22 2518 182c 53E0 ldi r21,lo8(3) 2519 182e 5093 0000 sts EE_Parameter+2,r21 2520 1832 E4E0 ldi r30,lo8(4) 2521 1834 E093 0000 sts EE_Parameter+3,r30 2522 1838 75E0 ldi r23,lo8(5) 2523 183a 7093 0000 sts EE_Parameter+4,r23 2524 183e 86E0 ldi r24,lo8(6) 2525 1840 8093 0000 sts EE_Parameter+5,r24 2526 1844 87E0 ldi r24,lo8(7) 2527 1846 8093 0000 sts EE_Parameter+6,r24 2528 184a 38E0 ldi r19,lo8(8) 2529 184c 3093 0000 sts EE_Parameter+7,r19 2530 1850 81EC ldi r24,lo8(-63) 2531 1852 8093 0000 sts EE_Parameter+8,r24 2532 1856 8EE1 ldi r24,lo8(30) 2533 1858 8093 0000 sts EE_Parameter+9,r24 2534 185c 24E6 ldi r18,lo8(100) 2535 185e 2093 0000 sts EE_Parameter+11,r18 2536 1862 4AE0 ldi r20,lo8(10) 2537 1864 4093 0000 sts EE_Parameter+12,r20 2538 1868 92E3 ldi r25,lo8(50) 2539 186a 9093 0000 sts EE_Parameter+10,r25 2540 186e 9093 0000 sts EE_Parameter+14,r25 2541 1872 6093 0000 sts EE_Parameter+13,r22 2542 1876 5093 0000 sts EE_Parameter+15,r21 2543 187a 1092 0000 sts EE_Parameter+16,__zero_reg__ 2544 187e 3093 0000 sts EE_Parameter+17,r19 2545 1882 8FE0 ldi r24,lo8(15) 2546 1884 8093 0000 sts EE_Parameter+18,r24 2547 1888 8AEF ldi r24,lo8(-6) 2548 188a 8093 0000 sts EE_Parameter+19,r24 2549 188e 8AE1 ldi r24,lo8(26) 2550 1890 8093 0000 sts EE_Parameter+20,r24 2551 1894 80E8 ldi r24,lo8(-128) 2552 1896 8093 0000 sts EE_Parameter+21,r24 2553 189a 88EC ldi r24,lo8(-56) 2554 189c 8093 0000 sts EE_Parameter+22,r24 2555 18a0 8FEA ldi r24,lo8(-81) 2556 18a2 8093 0000 sts EE_Parameter+23,r24 2557 18a6 8EE5 ldi r24,lo8(94) 2558 18a8 8093 0000 sts EE_Parameter+24,r24 2559 18ac 83E2 ldi r24,lo8(35) 2560 18ae 8093 0000 sts EE_Parameter+25,r24 2561 18b2 84E1 ldi r24,lo8(20) 2562 18b4 8093 0000 sts EE_Parameter+26,r24 2563 18b8 1092 0000 sts EE_Parameter+27,__zero_reg__ 2564 18bc 4093 0000 sts EE_Parameter+28,r20 2565 18c0 80E5 ldi r24,lo8(80) 2566 18c2 8093 0000 sts EE_Parameter+29,r24 2567 18c6 1092 0000 sts EE_Parameter+30,__zero_reg__ 2568 18ca 1092 0000 sts EE_Parameter+31,__zero_reg__ 2569 18ce 1092 0000 sts EE_Parameter+32,__zero_reg__ 2570 18d2 1092 0000 sts EE_Parameter+48,__zero_reg__ 2571 18d6 1092 0000 sts EE_Parameter+49,__zero_reg__ 2572 18da 1092 0000 sts EE_Parameter+50,__zero_reg__ 2573 18de 1092 0000 sts EE_Parameter+51,__zero_reg__ 2574 18e2 2093 0000 sts EE_Parameter+33,r18 2575 18e6 88E2 ldi r24,lo8(40) 2576 18e8 8093 0000 sts EE_Parameter+34,r24 2577 18ec 1092 0000 sts EE_Parameter+53,__zero_reg__ 2578 18f0 9093 0000 sts EE_Parameter+35,r25 2579 18f4 86E9 ldi r24,lo8(-106) 2580 18f6 8093 0000 sts EE_Parameter+36,r24 2581 18fa 7093 0000 sts EE_Parameter+37,r23 2582 18fe 9093 0000 sts EE_Parameter+38,r25 2583 1902 8AE5 ldi r24,lo8(90) 2584 1904 8093 0000 sts EE_Parameter+39,r24 2585 1908 9093 0000 sts EE_Parameter+40,r25 2586 190c 1092 0000 sts EE_Parameter+52,__zero_reg__ 2587 1910 2093 0000 sts EE_Parameter+41,r18 2588 1914 4093 0000 sts EE_Parameter+42,r20 2589 1918 2093 0000 sts EE_Parameter+43,r18 2590 191c 2093 0000 sts EE_Parameter+44,r18 2591 1920 2093 0000 sts EE_Parameter+45,r18 2592 1924 E093 0000 sts EE_Parameter+46,r30 2593 1928 9093 0000 sts EE_Parameter+47,r25 2594 192c A0E0 ldi r26,lo8(EE_Parameter+58) 2595 192e B0E0 ldi r27,hi8(EE_Parameter+58) 2596 1930 E0E0 ldi r30,lo8(.LC0) 2597 1932 F0E0 ldi r31,hi8(.LC0) 2598 1934 8CE0 ldi r24,lo8(12) 2599 .L467: 2600 1936 0190 ld r0,Z+ 2601 1938 0D92 st X+,r0 2602 193a 8150 subi r24,lo8(-(-1)) 2603 193c 01F4 brne .L467 2604 /* epilogue: frame size=0 */ 2605 193e 0895 ret 2606 /* epilogue end (size=1) */ 2607 /* function DefaultKonstanten3 size 145 (144) */ 2609 .data 2610 .LC1: 2611 000a 4E6F 726D .string "Normal" 2611 616C 00 2612 0011 00 .string "" 2613 .text 2614 .global DefaultKonstanten2 2616 DefaultKonstanten2: 2617 /* prologue: frame size=0 */ 2618 /* prologue end (size=0) */ 2619 1940 81E0 ldi r24,lo8(1) 2620 1942 8093 0000 sts EE_Parameter,r24 2621 1946 92E0 ldi r25,lo8(2) 2622 1948 9093 0000 sts EE_Parameter+1,r25 2623 194c 83E0 ldi r24,lo8(3) 2624 194e 8093 0000 sts EE_Parameter+2,r24 2625 1952 44E0 ldi r20,lo8(4) 2626 1954 4093 0000 sts EE_Parameter+3,r20 2627 1958 55E0 ldi r21,lo8(5) 2628 195a 5093 0000 sts EE_Parameter+4,r21 2629 195e 86E0 ldi r24,lo8(6) 2630 1960 8093 0000 sts EE_Parameter+5,r24 2631 1964 87E0 ldi r24,lo8(7) 2632 1966 8093 0000 sts EE_Parameter+6,r24 2633 196a 88E0 ldi r24,lo8(8) 2634 196c 8093 0000 sts EE_Parameter+7,r24 2635 1970 80E4 ldi r24,lo8(64) 2636 1972 8093 0000 sts EE_Parameter+8,r24 2637 1976 8EE1 ldi r24,lo8(30) 2638 1978 8093 0000 sts EE_Parameter+9,r24 2639 197c 8BEF ldi r24,lo8(-5) 2640 197e 8093 0000 sts EE_Parameter+11,r24 2641 1982 3AE0 ldi r19,lo8(10) 2642 1984 3093 0000 sts EE_Parameter+12,r19 2643 1988 22E3 ldi r18,lo8(50) 2644 198a 2093 0000 sts EE_Parameter+10,r18 2645 198e 2093 0000 sts EE_Parameter+14,r18 2646 1992 9093 0000 sts EE_Parameter+13,r25 2647 1996 4093 0000 sts EE_Parameter+15,r20 2648 199a 1092 0000 sts EE_Parameter+16,__zero_reg__ 2649 199e 3093 0000 sts EE_Parameter+17,r19 2650 19a2 8FE0 ldi r24,lo8(15) 2651 19a4 8093 0000 sts EE_Parameter+18,r24 2652 19a8 8AEF ldi r24,lo8(-6) 2653 19aa 8093 0000 sts EE_Parameter+19,r24 2654 19ae 8AE1 ldi r24,lo8(26) 2655 19b0 8093 0000 sts EE_Parameter+20,r24 2656 19b4 80E8 ldi r24,lo8(-128) 2657 19b6 8093 0000 sts EE_Parameter+21,r24 2658 19ba 8FEA ldi r24,lo8(-81) 2659 19bc 8093 0000 sts EE_Parameter+22,r24 2660 19c0 8093 0000 sts EE_Parameter+23,r24 2661 19c4 8EE5 ldi r24,lo8(94) 2662 19c6 8093 0000 sts EE_Parameter+24,r24 2663 19ca 83E2 ldi r24,lo8(35) 2664 19cc 8093 0000 sts EE_Parameter+25,r24 2665 19d0 84E1 ldi r24,lo8(20) 2666 19d2 8093 0000 sts EE_Parameter+26,r24 2667 19d6 1092 0000 sts EE_Parameter+27,__zero_reg__ 2668 19da 80E2 ldi r24,lo8(32) 2669 19dc 8093 0000 sts EE_Parameter+28,r24 2670 19e0 80E5 ldi r24,lo8(80) 2671 19e2 8093 0000 sts EE_Parameter+29,r24 2672 19e6 1092 0000 sts EE_Parameter+30,__zero_reg__ 2673 19ea 1092 0000 sts EE_Parameter+31,__zero_reg__ 2674 19ee 1092 0000 sts EE_Parameter+32,__zero_reg__ 2675 19f2 1092 0000 sts EE_Parameter+48,__zero_reg__ 2676 19f6 1092 0000 sts EE_Parameter+49,__zero_reg__ 2677 19fa 1092 0000 sts EE_Parameter+50,__zero_reg__ 2678 19fe 1092 0000 sts EE_Parameter+51,__zero_reg__ 2679 1a02 94E6 ldi r25,lo8(100) 2680 1a04 9093 0000 sts EE_Parameter+33,r25 2681 1a08 88E2 ldi r24,lo8(40) 2682 1a0a 8093 0000 sts EE_Parameter+34,r24 2683 1a0e 1092 0000 sts EE_Parameter+53,__zero_reg__ 2684 1a12 2093 0000 sts EE_Parameter+35,r18 2685 1a16 86E9 ldi r24,lo8(-106) 2686 1a18 8093 0000 sts EE_Parameter+36,r24 2687 1a1c 5093 0000 sts EE_Parameter+37,r21 2688 1a20 2093 0000 sts EE_Parameter+38,r18 2689 1a24 8AE5 ldi r24,lo8(90) 2690 1a26 8093 0000 sts EE_Parameter+39,r24 2691 1a2a 2093 0000 sts EE_Parameter+40,r18 2692 1a2e 1092 0000 sts EE_Parameter+52,__zero_reg__ 2693 1a32 9093 0000 sts EE_Parameter+41,r25 2694 1a36 3093 0000 sts EE_Parameter+42,r19 2695 1a3a 9093 0000 sts EE_Parameter+43,r25 2696 1a3e 9093 0000 sts EE_Parameter+44,r25 2697 1a42 9093 0000 sts EE_Parameter+45,r25 2698 1a46 4093 0000 sts EE_Parameter+46,r20 2699 1a4a 8BE4 ldi r24,lo8(75) 2700 1a4c 8093 0000 sts EE_Parameter+47,r24 2701 1a50 A0E0 ldi r26,lo8(EE_Parameter+58) 2702 1a52 B0E0 ldi r27,hi8(EE_Parameter+58) 2703 1a54 E0E0 ldi r30,lo8(.LC1) 2704 1a56 F0E0 ldi r31,hi8(.LC1) 2705 1a58 8CE0 ldi r24,lo8(12) 2706 .L472: 2707 1a5a 0190 ld r0,Z+ 2708 1a5c 0D92 st X+,r0 2709 1a5e 8150 subi r24,lo8(-(-1)) 2710 1a60 01F4 brne .L472 2711 /* epilogue: frame size=0 */ 2712 1a62 0895 ret 2713 /* epilogue end (size=1) */ 2714 /* function DefaultKonstanten2 size 147 (146) */ 2716 .data 2717 .LC2: 2718 0012 5370 6F72 .string "Sport" 2718 7400 2719 0018 00 .string "" 2720 .text 2721 .global DefaultKonstanten1 2723 DefaultKonstanten1: 2724 /* prologue: frame size=0 */ 2725 /* prologue end (size=0) */ 2726 1a64 81E0 ldi r24,lo8(1) 2727 1a66 8093 0000 sts EE_Parameter,r24 2728 1a6a 82E0 ldi r24,lo8(2) 2729 1a6c 8093 0000 sts EE_Parameter+1,r24 2730 1a70 83E0 ldi r24,lo8(3) 2731 1a72 8093 0000 sts EE_Parameter+2,r24 2732 1a76 34E0 ldi r19,lo8(4) 2733 1a78 3093 0000 sts EE_Parameter+3,r19 2734 1a7c 65E0 ldi r22,lo8(5) 2735 1a7e 6093 0000 sts EE_Parameter+4,r22 2736 1a82 86E0 ldi r24,lo8(6) 2737 1a84 8093 0000 sts EE_Parameter+5,r24 2738 1a88 87E0 ldi r24,lo8(7) 2739 1a8a 8093 0000 sts EE_Parameter+6,r24 2740 1a8e 98E0 ldi r25,lo8(8) 2741 1a90 9093 0000 sts EE_Parameter+7,r25 2742 1a94 80E4 ldi r24,lo8(64) 2743 1a96 8093 0000 sts EE_Parameter+8,r24 2744 1a9a 8EE1 ldi r24,lo8(30) 2745 1a9c 8093 0000 sts EE_Parameter+9,r24 2746 1aa0 8BEF ldi r24,lo8(-5) 2747 1aa2 8093 0000 sts EE_Parameter+11,r24 2748 1aa6 5AE0 ldi r21,lo8(10) 2749 1aa8 5093 0000 sts EE_Parameter+12,r21 2750 1aac 22E3 ldi r18,lo8(50) 2751 1aae 2093 0000 sts EE_Parameter+10,r18 2752 1ab2 2093 0000 sts EE_Parameter+14,r18 2753 1ab6 3093 0000 sts EE_Parameter+13,r19 2754 1aba 3093 0000 sts EE_Parameter+15,r19 2755 1abe 9093 0000 sts EE_Parameter+16,r25 2756 1ac2 8EE0 ldi r24,lo8(14) 2757 1ac4 8093 0000 sts EE_Parameter+17,r24 2758 1ac8 8FE0 ldi r24,lo8(15) 2759 1aca 8093 0000 sts EE_Parameter+18,r24 2760 1ace 8AEF ldi r24,lo8(-6) 2761 1ad0 8093 0000 sts EE_Parameter+19,r24 2762 1ad4 8AE1 ldi r24,lo8(26) 2763 1ad6 8093 0000 sts EE_Parameter+20,r24 2764 1ada 90E8 ldi r25,lo8(-128) 2765 1adc 9093 0000 sts EE_Parameter+21,r25 2766 1ae0 88E7 ldi r24,lo8(120) 2767 1ae2 8093 0000 sts EE_Parameter+22,r24 2768 1ae6 46E9 ldi r20,lo8(-106) 2769 1ae8 4093 0000 sts EE_Parameter+23,r20 2770 1aec 8EE5 ldi r24,lo8(94) 2771 1aee 8093 0000 sts EE_Parameter+24,r24 2772 1af2 83E2 ldi r24,lo8(35) 2773 1af4 8093 0000 sts EE_Parameter+25,r24 2774 1af8 84E1 ldi r24,lo8(20) 2775 1afa 8093 0000 sts EE_Parameter+26,r24 2776 1afe 1092 0000 sts EE_Parameter+27,__zero_reg__ 2777 1b02 80E2 ldi r24,lo8(32) 2778 1b04 8093 0000 sts EE_Parameter+28,r24 2779 1b08 9093 0000 sts EE_Parameter+29,r25 2780 1b0c 1092 0000 sts EE_Parameter+30,__zero_reg__ 2781 1b10 1092 0000 sts EE_Parameter+31,__zero_reg__ 2782 1b14 1092 0000 sts EE_Parameter+32,__zero_reg__ 2783 1b18 1092 0000 sts EE_Parameter+48,__zero_reg__ 2784 1b1c 1092 0000 sts EE_Parameter+49,__zero_reg__ 2785 1b20 1092 0000 sts EE_Parameter+50,__zero_reg__ 2786 1b24 1092 0000 sts EE_Parameter+51,__zero_reg__ 2787 1b28 94E6 ldi r25,lo8(100) 2788 1b2a 9093 0000 sts EE_Parameter+33,r25 2789 1b2e 88E2 ldi r24,lo8(40) 2790 1b30 8093 0000 sts EE_Parameter+34,r24 2791 1b34 1092 0000 sts EE_Parameter+53,__zero_reg__ 2792 1b38 2093 0000 sts EE_Parameter+35,r18 2793 1b3c 4093 0000 sts EE_Parameter+36,r20 2794 1b40 6093 0000 sts EE_Parameter+37,r22 2795 1b44 2093 0000 sts EE_Parameter+38,r18 2796 1b48 8AE5 ldi r24,lo8(90) 2797 1b4a 8093 0000 sts EE_Parameter+39,r24 2798 1b4e 2093 0000 sts EE_Parameter+40,r18 2799 1b52 1092 0000 sts EE_Parameter+52,__zero_reg__ 2800 1b56 9093 0000 sts EE_Parameter+41,r25 2801 1b5a 5093 0000 sts EE_Parameter+42,r21 2802 1b5e 9093 0000 sts EE_Parameter+43,r25 2803 1b62 9093 0000 sts EE_Parameter+44,r25 2804 1b66 2093 0000 sts EE_Parameter+45,r18 2805 1b6a 3093 0000 sts EE_Parameter+46,r19 2806 1b6e 9093 0000 sts EE_Parameter+47,r25 2807 1b72 A0E0 ldi r26,lo8(EE_Parameter+58) 2808 1b74 B0E0 ldi r27,hi8(EE_Parameter+58) 2809 1b76 E0E0 ldi r30,lo8(.LC2) 2810 1b78 F0E0 ldi r31,hi8(.LC2) 2811 1b7a 8CE0 ldi r24,lo8(12) 2812 .L477: 2813 1b7c 0190 ld r0,Z+ 2814 1b7e 0D92 st X+,r0 2815 1b80 8150 subi r24,lo8(-(-1)) 2816 1b82 01F4 brne .L477 2817 /* epilogue: frame size=0 */ 2818 1b84 0895 ret 2819 /* epilogue end (size=1) */ 2820 /* function DefaultKonstanten1 size 146 (145) */ 2822 .global MotorRegler 2824 MotorRegler: 2825 /* prologue: frame size=26 */ 2826 1b86 2F92 push r2 2827 1b88 3F92 push r3 2828 1b8a 4F92 push r4 2829 1b8c 5F92 push r5 2830 1b8e 6F92 push r6 2831 1b90 7F92 push r7 2832 1b92 8F92 push r8 2833 1b94 9F92 push r9 2834 1b96 AF92 push r10 2835 1b98 BF92 push r11 2836 1b9a CF92 push r12 2837 1b9c DF92 push r13 2838 1b9e EF92 push r14 2839 1ba0 FF92 push r15 2840 1ba2 0F93 push r16 2841 1ba4 1F93 push r17 2842 1ba6 CF93 push r28 2843 1ba8 DF93 push r29 2844 1baa CDB7 in r28,__SP_L__ 2845 1bac DEB7 in r29,__SP_H__ 2846 1bae 6A97 sbiw r28,26 2847 1bb0 0FB6 in __tmp_reg__,__SREG__ 2848 1bb2 F894 cli 2849 1bb4 DEBF out __SP_H__,r29 2850 1bb6 0FBE out __SREG__,__tmp_reg__ 2851 1bb8 CDBF out __SP_L__,r28 2852 /* prologue end (size=26) */ 2853 1bba 0E94 0000 call Mittelwert 2854 1bbe 299A sbi 37-0x20,1 2855 1bc0 E091 0000 lds r30,EE_Parameter+2 2856 1bc4 FF27 clr r31 2857 1bc6 EE0F lsl r30 2858 1bc8 FF1F rol r31 2859 1bca E050 subi r30,lo8(-(PPM_in)) 2860 1bcc F040 sbci r31,hi8(-(PPM_in)) 2861 1bce 0190 ld __tmp_reg__,Z+ 2862 1bd0 F081 ld r31,Z 2863 1bd2 E02D mov r30,__tmp_reg__ 2864 1bd4 E858 subi r30,lo8(-(120)) 2865 1bd6 FF4F sbci r31,hi8(-(120)) 2866 1bd8 8091 0000 lds r24,Parameter_UserParam2 2867 1bdc 8B30 cpi r24,lo8(11) 2868 1bde 00F0 brlo .L482 2869 1be0 8091 0000 lds r24,ControlIn+6 2870 1be4 9091 0000 lds r25,(ControlIn+6)+1 2871 1be8 E80F add r30,r24 2872 1bea F91F adc r31,r25 2873 .L482: 2874 1bec 8091 0000 lds r24,MAX_GAS 2875 1bf0 9927 clr r25 2876 1bf2 4497 sbiw r24,20 2877 1bf4 E817 cp r30,r24 2878 1bf6 F907 cpc r31,r25 2879 1bf8 04F4 brge .L484 2880 1bfa CF01 movw r24,r30 2881 .L484: 2882 1bfc 9A83 std Y+2,r25 2883 1bfe 8983 std Y+1,r24 2884 1c00 97FF sbrs r25,7 2885 1c02 00C0 rjmp .L485 2886 1c04 1A82 std Y+2,__zero_reg__ 2887 1c06 1982 std Y+1,__zero_reg__ 2888 .L485: 2889 1c08 8091 0000 lds r24,SenderOkay 2890 1c0c 8436 cpi r24,lo8(100) 2891 1c0e 00F0 brlo .+2 2892 1c10 00C0 rjmp .L486 2893 1c12 8091 0000 lds r24,PcZugriff 2894 1c16 8823 tst r24 2895 1c18 01F4 brne .L488 2896 1c1a 8091 0000 lds r24,BeepMuster 2897 1c1e 9091 0000 lds r25,(BeepMuster)+1 2898 1c22 8F5F subi r24,lo8(-1) 2899 1c24 9F4F sbci r25,hi8(-1) 2900 1c26 01F4 brne .L488 2901 1c28 88E9 ldi r24,lo8(15000) 2902 1c2a 9AE3 ldi r25,hi8(15000) 2903 1c2c 9093 0000 sts (beeptime)+1,r25 2904 1c30 8093 0000 sts beeptime,r24 2905 1c34 80E0 ldi r24,lo8(3072) 2906 1c36 9CE0 ldi r25,hi8(3072) 2907 1c38 9093 0000 sts (BeepMuster)+1,r25 2908 1c3c 8093 0000 sts BeepMuster,r24 2909 .L488: 2910 1c40 8091 0000 lds r24,RcLostTimer.2576 2911 1c44 9091 0000 lds r25,(RcLostTimer.2576)+1 2912 1c48 0097 sbiw r24,0 2913 1c4a 01F0 breq .L491 2914 1c4c 0197 sbiw r24,1 2915 1c4e 9093 0000 sts (RcLostTimer.2576)+1,r25 2916 1c52 8093 0000 sts RcLostTimer.2576,r24 2917 1c56 00C0 rjmp .L493 2918 .L491: 2919 1c58 1092 0000 sts MotorenEin,__zero_reg__ 2920 1c5c 1092 0000 sts Notlandung,__zero_reg__ 2921 .L493: 2922 1c60 8091 0000 lds r24,PlatinenVersion 2923 1c64 8A30 cpi r24,lo8(10) 2924 1c66 01F4 brne .L494 2925 1c68 289A sbi 37-0x20,0 2926 1c6a 00C0 rjmp .L496 2927 .L494: 2928 1c6c 2898 cbi 37-0x20,0 2929 .L496: 2930 1c6e 8091 0000 lds r24,modell_fliegt.2580 2931 1c72 9091 0000 lds r25,(modell_fliegt.2580)+1 2932 1c76 815D subi r24,lo8(2001) 2933 1c78 9740 sbci r25,hi8(2001) 2934 1c7a 00F0 brlo .L497 2935 1c7c 8091 0000 lds r24,EE_Parameter+25 2936 1c80 482F mov r20,r24 2937 1c82 5527 clr r21 2938 1c84 5A83 std Y+2,r21 2939 1c86 4983 std Y+1,r20 2940 1c88 81E0 ldi r24,lo8(1) 2941 1c8a 8093 0000 sts Notlandung,r24 2942 1c8e E091 0000 lds r30,EE_Parameter 2943 1c92 FF27 clr r31 2944 1c94 EE0F lsl r30 2945 1c96 FF1F rol r31 2946 1c98 E050 subi r30,lo8(-(PPM_in)) 2947 1c9a F040 sbci r31,hi8(-(PPM_in)) 2948 1c9c 1182 std Z+1,__zero_reg__ 2949 1c9e 1082 st Z,__zero_reg__ 2950 1ca0 E091 0000 lds r30,EE_Parameter+1 2951 1ca4 FF27 clr r31 2952 1ca6 EE0F lsl r30 2953 1ca8 FF1F rol r31 2954 1caa E050 subi r30,lo8(-(PPM_in)) 2955 1cac F040 sbci r31,hi8(-(PPM_in)) 2956 1cae 1182 std Z+1,__zero_reg__ 2957 1cb0 1082 st Z,__zero_reg__ 2958 1cb2 E091 0000 lds r30,EE_Parameter+3 2959 1cb6 FF27 clr r31 2960 1cb8 EE0F lsl r30 2961 1cba FF1F rol r31 2962 1cbc E050 subi r30,lo8(-(PPM_in)) 2963 1cbe F040 sbci r31,hi8(-(PPM_in)) 2964 1cc0 1182 std Z+1,__zero_reg__ 2965 1cc2 1082 st Z,__zero_reg__ 2966 1cc4 00C0 rjmp .L499 2967 .L497: 2968 1cc6 1092 0000 sts MotorenEin,__zero_reg__ 2969 1cca 00C0 rjmp .L499 2970 .L486: 2971 1ccc 8091 0000 lds r24,SenderOkay 2972 1cd0 8D38 cpi r24,lo8(-115) 2973 1cd2 00F4 brsh .+2 2974 1cd4 00C0 rjmp .L499 2975 1cd6 1092 0000 sts Notlandung,__zero_reg__ 2976 1cda 8091 0000 lds r24,EE_Parameter+26 2977 1cde 22E3 ldi r18,lo8(50) 2978 1ce0 829F mul r24,r18 2979 1ce2 C001 movw r24,r0 2980 1ce4 1124 clr r1 2981 1ce6 9093 0000 sts (RcLostTimer.2576)+1,r25 2982 1cea 8093 0000 sts RcLostTimer.2576,r24 2983 1cee 6981 ldd r22,Y+1 2984 1cf0 7A81 ldd r23,Y+2 2985 1cf2 6932 cpi r22,41 2986 1cf4 7105 cpc r23,__zero_reg__ 2987 1cf6 04F0 brlt .L501 2988 1cf8 8091 0000 lds r24,modell_fliegt.2580 2989 1cfc 9091 0000 lds r25,(modell_fliegt.2580)+1 2990 1d00 7FEF ldi r23,hi8(-1) 2991 1d02 8F3F cpi r24,lo8(-1) 2992 1d04 9707 cpc r25,r23 2993 1d06 01F0 breq .L503 2994 1d08 0196 adiw r24,1 2995 1d0a 9093 0000 sts (modell_fliegt.2580)+1,r25 2996 1d0e 8093 0000 sts modell_fliegt.2580,r24 2997 .L501: 2998 1d12 8091 0000 lds r24,modell_fliegt.2580 2999 1d16 9091 0000 lds r25,(modell_fliegt.2580)+1 3000 1d1a 883C cpi r24,200 3001 1d1c 9105 cpc r25,__zero_reg__ 3002 1d1e 00F0 brlo .L505 3003 1d20 8981 ldd r24,Y+1 3004 1d22 9A81 ldd r25,Y+2 3005 1d24 8897 sbiw r24,40 3006 1d26 04F4 brge .L503 3007 .L505: 3008 1d28 1092 0000 sts SummeNick.2569,__zero_reg__ 3009 1d2c 1092 0000 sts (SummeNick.2569)+1,__zero_reg__ 3010 1d30 1092 0000 sts (SummeNick.2569)+2,__zero_reg__ 3011 1d34 1092 0000 sts (SummeNick.2569)+3,__zero_reg__ 3012 1d38 1092 0000 sts SummeRoll.2570,__zero_reg__ 3013 1d3c 1092 0000 sts (SummeRoll.2570)+1,__zero_reg__ 3014 1d40 1092 0000 sts (SummeRoll.2570)+2,__zero_reg__ 3015 1d44 1092 0000 sts (SummeRoll.2570)+3,__zero_reg__ 3016 1d48 1092 0000 sts Mess_Integral_Gier,__zero_reg__ 3017 1d4c 1092 0000 sts (Mess_Integral_Gier)+1,__zero_reg__ 3018 1d50 1092 0000 sts (Mess_Integral_Gier)+2,__zero_reg__ 3019 1d54 1092 0000 sts (Mess_Integral_Gier)+3,__zero_reg__ 3020 1d58 1092 0000 sts Mess_Integral_Gier2,__zero_reg__ 3021 1d5c 1092 0000 sts (Mess_Integral_Gier2)+1,__zero_reg__ 3022 1d60 1092 0000 sts (Mess_Integral_Gier2)+2,__zero_reg__ 3023 1d64 1092 0000 sts (Mess_Integral_Gier2)+3,__zero_reg__ 3024 .L503: 3025 1d68 A981 ldd r26,Y+1 3026 1d6a BA81 ldd r27,Y+2 3027 1d6c A93C cpi r26,201 3028 1d6e B105 cpc r27,__zero_reg__ 3029 1d70 04F4 brge .+2 3030 1d72 00C0 rjmp .L507 3031 1d74 8091 0000 lds r24,MotorenEin 3032 1d78 8823 tst r24 3033 1d7a 01F0 breq .+2 3034 1d7c 00C0 rjmp .L499 3035 1d7e 8091 0000 lds r24,EE_Parameter+3 3036 1d82 E82F mov r30,r24 3037 1d84 FF27 clr r31 3038 1d86 EE0F lsl r30 3039 1d88 FF1F rol r31 3040 1d8a E050 subi r30,lo8(-(PPM_in)) 3041 1d8c F040 sbci r31,hi8(-(PPM_in)) 3042 1d8e 8081 ld r24,Z 3043 1d90 9181 ldd r25,Z+1 3044 1d92 8C34 cpi r24,76 3045 1d94 9105 cpc r25,__zero_reg__ 3046 1d96 04F4 brge .+2 3047 1d98 00C0 rjmp .L510 3048 1d9a 8091 0000 lds r24,delay_neutral.2577 3049 1d9e 8F5F subi r24,lo8(-(1)) 3050 1da0 8093 0000 sts delay_neutral.2577,r24 3051 1da4 893C cpi r24,lo8(-55) 3052 1da6 00F4 brsh .+2 3053 1da8 00C0 rjmp .L499 3054 1daa 2998 cbi 37-0x20,1 3055 1dac 1092 0000 sts MotorenEin,__zero_reg__ 3056 1db0 1092 0000 sts delay_neutral.2577,__zero_reg__ 3057 1db4 1092 0000 sts (modell_fliegt.2580)+1,__zero_reg__ 3058 1db8 1092 0000 sts modell_fliegt.2580,__zero_reg__ 3059 1dbc 8091 0000 lds r24,EE_Parameter 3060 1dc0 282F mov r18,r24 3061 1dc2 3327 clr r19 3062 1dc4 F901 movw r30,r18 3063 1dc6 EE0F lsl r30 3064 1dc8 FF1F rol r31 3065 1dca E050 subi r30,lo8(-(PPM_in)) 3066 1dcc F040 sbci r31,hi8(-(PPM_in)) 3067 1dce 8081 ld r24,Z 3068 1dd0 9181 ldd r25,Z+1 3069 1dd2 8734 cpi r24,71 3070 1dd4 9105 cpc r25,__zero_reg__ 3071 1dd6 04F4 brge .L513 3072 1dd8 E091 0000 lds r30,EE_Parameter+1 3073 1ddc FF27 clr r31 3074 1dde EE0F lsl r30 3075 1de0 FF1F rol r31 3076 1de2 E050 subi r30,lo8(-(PPM_in)) 3077 1de4 F040 sbci r31,hi8(-(PPM_in)) 3078 1de6 0190 ld __tmp_reg__,Z+ 3079 1de8 F081 ld r31,Z 3080 1dea E02D mov r30,__tmp_reg__ 3081 1dec F7FF sbrs r31,7 3082 1dee 00C0 rjmp .L516 3083 1df0 F095 com r31 3084 1df2 E195 neg r30 3085 1df4 FF4F sbci r31,lo8(-1) 3086 .L516: 3087 1df6 E734 cpi r30,71 3088 1df8 F105 cpc r31,__zero_reg__ 3089 1dfa 04F4 brge .+2 3090 1dfc 00C0 rjmp .L515 3091 .L513: 3092 1dfe 8091 0000 lds r24,EE_Parameter+1 3093 1e02 682F mov r22,r24 3094 1e04 7727 clr r23 3095 1e06 DB01 movw r26,r22 3096 1e08 AA0F lsl r26 3097 1e0a BB1F rol r27 3098 1e0c A050 subi r26,lo8(-(PPM_in)) 3099 1e0e B040 sbci r27,hi8(-(PPM_in)) 3100 1e10 8D91 ld r24,X+ 3101 1e12 9C91 ld r25,X 3102 1e14 1197 sbiw r26,1 3103 1e16 8734 cpi r24,71 3104 1e18 9105 cpc r25,__zero_reg__ 3105 1e1a 04F0 brlt .L517 3106 1e1c F901 movw r30,r18 3107 1e1e EE0F lsl r30 3108 1e20 FF1F rol r31 3109 1e22 E050 subi r30,lo8(-(PPM_in)) 3110 1e24 F040 sbci r31,hi8(-(PPM_in)) 3111 1e26 8081 ld r24,Z 3112 1e28 9181 ldd r25,Z+1 3113 .L517: 3114 1e2a 8D91 ld r24,X+ 3115 1e2c 9C91 ld r25,X 3116 1e2e 8734 cpi r24,71 3117 1e30 9105 cpc r25,__zero_reg__ 3118 1e32 04F0 brlt .L519 3119 1e34 F901 movw r30,r18 3120 1e36 EE0F lsl r30 3121 1e38 FF1F rol r31 3122 1e3a E050 subi r30,lo8(-(PPM_in)) 3123 1e3c F040 sbci r31,hi8(-(PPM_in)) 3124 1e3e 8081 ld r24,Z 3125 1e40 9181 ldd r25,Z+1 3126 1e42 8734 cpi r24,71 3127 1e44 9105 cpc r25,__zero_reg__ 3128 1e46 04F0 brlt .L519 3129 1e48 42E0 ldi r20,lo8(2) 3130 1e4a 00C0 rjmp .L522 3131 .L519: 3132 1e4c 41E0 ldi r20,lo8(1) 3133 .L522: 3134 1e4e FB01 movw r30,r22 3135 1e50 EE0F lsl r30 3136 1e52 FF1F rol r31 3137 1e54 E050 subi r30,lo8(-(PPM_in)) 3138 1e56 F040 sbci r31,hi8(-(PPM_in)) 3139 1e58 8081 ld r24,Z 3140 1e5a 9181 ldd r25,Z+1 3141 1e5c 8634 cpi r24,70 3142 1e5e 9105 cpc r25,__zero_reg__ 3143 1e60 04F4 brge .L523 3144 1e62 F901 movw r30,r18 3145 1e64 EE0F lsl r30 3146 1e66 FF1F rol r31 3147 1e68 E050 subi r30,lo8(-(PPM_in)) 3148 1e6a F040 sbci r31,hi8(-(PPM_in)) 3149 1e6c 8081 ld r24,Z 3150 1e6e 9181 ldd r25,Z+1 3151 1e70 8734 cpi r24,71 3152 1e72 9105 cpc r25,__zero_reg__ 3153 1e74 04F0 brlt .L523 3154 1e76 43E0 ldi r20,lo8(3) 3155 .L523: 3156 1e78 FB01 movw r30,r22 3157 1e7a EE0F lsl r30 3158 1e7c FF1F rol r31 3159 1e7e E050 subi r30,lo8(-(PPM_in)) 3160 1e80 F040 sbci r31,hi8(-(PPM_in)) 3161 1e82 8081 ld r24,Z 3162 1e84 9181 ldd r25,Z+1 3163 1e86 8A5B subi r24,lo8(-70) 3164 1e88 9F4F sbci r25,hi8(-70) 3165 1e8a 04F4 brge .L526 3166 1e8c F901 movw r30,r18 3167 1e8e EE0F lsl r30 3168 1e90 FF1F rol r31 3169 1e92 E050 subi r30,lo8(-(PPM_in)) 3170 1e94 F040 sbci r31,hi8(-(PPM_in)) 3171 1e96 8081 ld r24,Z 3172 1e98 9181 ldd r25,Z+1 3173 1e9a 8734 cpi r24,71 3174 1e9c 9105 cpc r25,__zero_reg__ 3175 1e9e 04F0 brlt .L526 3176 1ea0 44E0 ldi r20,lo8(4) 3177 .L526: 3178 1ea2 660F lsl r22 3179 1ea4 771F rol r23 3180 1ea6 6050 subi r22,lo8(-(PPM_in)) 3181 1ea8 7040 sbci r23,hi8(-(PPM_in)) 3182 1eaa FB01 movw r30,r22 3183 1eac 8081 ld r24,Z 3184 1eae 9181 ldd r25,Z+1 3185 1eb0 8A5B subi r24,lo8(-70) 3186 1eb2 9F4F sbci r25,hi8(-70) 3187 1eb4 04F4 brge .L529 3188 1eb6 220F lsl r18 3189 1eb8 331F rol r19 3190 1eba 2050 subi r18,lo8(-(PPM_in)) 3191 1ebc 3040 sbci r19,hi8(-(PPM_in)) 3192 1ebe D901 movw r26,r18 3193 1ec0 8D91 ld r24,X+ 3194 1ec2 9C91 ld r25,X 3195 1ec4 8634 cpi r24,70 3196 1ec6 9105 cpc r25,__zero_reg__ 3197 1ec8 04F4 brge .L529 3198 1eca 45E0 ldi r20,lo8(5) 3199 .L529: 3200 1ecc A0E0 ldi r26,lo8(EEPromArray+2) 3201 1ece B0E0 ldi r27,hi8(EEPromArray+2) 3202 /* #APP */ 3203 1ed0 042E mov __tmp_reg__,r20 3204 1ed2 0E94 0000 call __eeprom_write_byte_1F2021 3205 /* #NOAPP */ 3206 .L515: 3207 1ed6 8091 0000 lds r24,EE_Parameter+8 3208 1eda 80FF sbrs r24,0 3209 1edc 00C0 rjmp .L532 3210 1ede 8091 0000 lds r24,MessLuftdruck 3211 1ee2 9091 0000 lds r25,(MessLuftdruck)+1 3212 1ee6 875B subi r24,lo8(951) 3213 1ee8 9340 sbci r25,hi8(951) 3214 1eea 00F4 brsh .L534 3215 1eec 8091 0000 lds r24,MessLuftdruck 3216 1ef0 9091 0000 lds r25,(MessLuftdruck)+1 3217 1ef4 8E5E subi r24,lo8(750) 3218 1ef6 9240 sbci r25,hi8(750) 3219 1ef8 00F4 brsh .L532 3220 .L534: 3221 1efa 0E94 0000 call SucheLuftruckOffset 3222 .L532: 3223 1efe 0E94 0000 call GetActiveParamSetNumber 3224 1f02 47E4 ldi r20,lo8(71) 3225 1f04 60E0 ldi r22,lo8(EE_Parameter) 3226 1f06 70E0 ldi r23,hi8(EE_Parameter) 3227 1f08 0E94 0000 call ReadParameterSet 3228 1f0c 0E94 0000 call SetNeutral 3229 1f10 00C0 rjmp .L817 3230 .L510: 3231 1f12 8081 ld r24,Z 3232 1f14 9181 ldd r25,Z+1 3233 1f16 855B subi r24,lo8(-75) 3234 1f18 9F4F sbci r25,hi8(-75) 3235 1f1a 04F0 brlt .+2 3236 1f1c 00C0 rjmp .L536 3237 1f1e 8091 0000 lds r24,delay_neutral.2577 3238 1f22 8F5F subi r24,lo8(-(1)) 3239 1f24 8093 0000 sts delay_neutral.2577,r24 3240 1f28 893C cpi r24,lo8(-55) 3241 1f2a 00F4 brsh .+2 3242 1f2c 00C0 rjmp .L499 3243 1f2e 2998 cbi 37-0x20,1 3244 1f30 8FEF ldi r24,lo8(-1) 3245 1f32 00E0 ldi r16,lo8(EEPromArray+4) 3246 1f34 10E0 ldi r17,hi8(EEPromArray+4) 3247 1f36 D801 movw r26,r16 3248 /* #APP */ 3249 1f38 082E mov __tmp_reg__,r24 3250 1f3a 0E94 0000 call __eeprom_write_byte_1F2021 3251 /* #NOAPP */ 3252 1f3e 1092 0000 sts MotorenEin,__zero_reg__ 3253 1f42 1092 0000 sts delay_neutral.2577,__zero_reg__ 3254 1f46 1092 0000 sts (modell_fliegt.2580)+1,__zero_reg__ 3255 1f4a 1092 0000 sts modell_fliegt.2580,__zero_reg__ 3256 1f4e 0E94 0000 call SetNeutral 3257 1f52 8091 0000 lds r24,NeutralAccX 3258 1f56 9091 0000 lds r25,(NeutralAccX)+1 3259 1f5a 60E0 ldi r22,lo8(256) 3260 1f5c 71E0 ldi r23,hi8(256) 3261 1f5e 0E94 0000 call __divmodhi4 3262 1f62 D801 movw r26,r16 3263 /* #APP */ 3264 1f64 062E mov __tmp_reg__,r22 3265 1f66 0E94 0000 call __eeprom_write_byte_1F2021 3266 /* #NOAPP */ 3267 1f6a 8091 0000 lds r24,NeutralAccX 3268 1f6e 9091 0000 lds r25,(NeutralAccX)+1 3269 1f72 60E0 ldi r22,lo8(256) 3270 1f74 71E0 ldi r23,hi8(256) 3271 1f76 0E94 0000 call __divmodhi4 3272 1f7a 0F5F subi r16,lo8(-(1)) 3273 1f7c 1F4F sbci r17,hi8(-(1)) 3274 1f7e D801 movw r26,r16 3275 /* #APP */ 3276 1f80 082E mov __tmp_reg__,r24 3277 1f82 0E94 0000 call __eeprom_write_byte_1F2021 3278 /* #NOAPP */ 3279 1f86 8091 0000 lds r24,NeutralAccY 3280 1f8a 9091 0000 lds r25,(NeutralAccY)+1 3281 1f8e 60E0 ldi r22,lo8(256) 3282 1f90 71E0 ldi r23,hi8(256) 3283 1f92 0E94 0000 call __divmodhi4 3284 1f96 0F5F subi r16,lo8(-(1)) 3285 1f98 1F4F sbci r17,hi8(-(1)) 3286 1f9a D801 movw r26,r16 3287 /* #APP */ 3288 1f9c 062E mov __tmp_reg__,r22 3289 1f9e 0E94 0000 call __eeprom_write_byte_1F2021 3290 /* #NOAPP */ 3291 1fa2 8091 0000 lds r24,NeutralAccY 3292 1fa6 9091 0000 lds r25,(NeutralAccY)+1 3293 1faa 60E0 ldi r22,lo8(256) 3294 1fac 71E0 ldi r23,hi8(256) 3295 1fae 0E94 0000 call __divmodhi4 3296 1fb2 0F5F subi r16,lo8(-(1)) 3297 1fb4 1F4F sbci r17,hi8(-(1)) 3298 1fb6 D801 movw r26,r16 3299 /* #APP */ 3300 1fb8 082E mov __tmp_reg__,r24 3301 1fba 0E94 0000 call __eeprom_write_byte_1F2021 3302 /* #NOAPP */ 3303 1fbe 6091 0000 lds r22,NeutralAccZ 3304 1fc2 7091 0000 lds r23,(NeutralAccZ)+1 3305 1fc6 8091 0000 lds r24,(NeutralAccZ)+2 3306 1fca 9091 0000 lds r25,(NeutralAccZ)+3 3307 1fce 0E94 0000 call __fixsfsi 3308 1fd2 DC01 movw r26,r24 3309 1fd4 CB01 movw r24,r22 3310 1fd6 60E0 ldi r22,lo8(256) 3311 1fd8 71E0 ldi r23,hi8(256) 3312 1fda 0E94 0000 call __divmodhi4 3313 1fde 0F5F subi r16,lo8(-(1)) 3314 1fe0 1F4F sbci r17,hi8(-(1)) 3315 1fe2 D801 movw r26,r16 3316 /* #APP */ 3317 1fe4 062E mov __tmp_reg__,r22 3318 1fe6 0E94 0000 call __eeprom_write_byte_1F2021 3319 /* #NOAPP */ 3320 1fea 6091 0000 lds r22,NeutralAccZ 3321 1fee 7091 0000 lds r23,(NeutralAccZ)+1 3322 1ff2 8091 0000 lds r24,(NeutralAccZ)+2 3323 1ff6 9091 0000 lds r25,(NeutralAccZ)+3 3324 1ffa 0E94 0000 call __fixsfsi 3325 1ffe DC01 movw r26,r24 3326 2000 CB01 movw r24,r22 3327 2002 60E0 ldi r22,lo8(256) 3328 2004 71E0 ldi r23,hi8(256) 3329 2006 0E94 0000 call __divmodhi4 3330 200a 0F5F subi r16,lo8(-(1)) 3331 200c 1F4F sbci r17,hi8(-(1)) 3332 200e D801 movw r26,r16 3333 /* #APP */ 3334 2010 082E mov __tmp_reg__,r24 3335 2012 0E94 0000 call __eeprom_write_byte_1F2021 3336 /* #NOAPP */ 3337 .L817: 3338 2016 0E94 0000 call GetActiveParamSetNumber 3339 201a 0E94 0000 call Piep 3340 201e 00C0 rjmp .L499 3341 .L536: 3342 2020 1092 0000 sts delay_neutral.2577,__zero_reg__ 3343 2024 00C0 rjmp .L499 3344 .L507: 3345 2026 E981 ldd r30,Y+1 3346 2028 FA81 ldd r31,Y+2 3347 202a B397 sbiw r30,35 3348 202c 04F0 brlt .+2 3349 202e 00C0 rjmp .L499 3350 2030 8091 0000 lds r24,EE_Parameter+3 3351 2034 482F mov r20,r24 3352 2036 5527 clr r21 3353 2038 FA01 movw r30,r20 3354 203a EE0F lsl r30 3355 203c FF1F rol r31 3356 203e E050 subi r30,lo8(-(PPM_in)) 3357 2040 F040 sbci r31,hi8(-(PPM_in)) 3358 2042 8081 ld r24,Z 3359 2044 9181 ldd r25,Z+1 3360 2046 855B subi r24,lo8(-75) 3361 2048 9F4F sbci r25,hi8(-75) 3362 204a 04F0 brlt .+2 3363 204c 00C0 rjmp .L540 3364 204e 8091 0000 lds r24,delay_einschalten.2578 3365 2052 8F5F subi r24,lo8(-(1)) 3366 2054 8093 0000 sts delay_einschalten.2578,r24 3367 2058 893C cpi r24,lo8(-55) 3368 205a 00F4 brsh .+2 3369 205c 00C0 rjmp .L542 3370 205e 88EC ldi r24,lo8(-56) 3371 2060 8093 0000 sts delay_einschalten.2578,r24 3372 2064 81E0 ldi r24,lo8(1) 3373 2066 90E0 ldi r25,hi8(1) 3374 2068 9093 0000 sts (modell_fliegt.2580)+1,r25 3375 206c 8093 0000 sts modell_fliegt.2580,r24 3376 2070 81E0 ldi r24,lo8(1) 3377 2072 8093 0000 sts MotorenEin,r24 3378 2076 1092 0000 sts sollGier.2571,__zero_reg__ 3379 207a 1092 0000 sts (sollGier.2571)+1,__zero_reg__ 3380 207e 1092 0000 sts (sollGier.2571)+2,__zero_reg__ 3381 2082 1092 0000 sts (sollGier.2571)+3,__zero_reg__ 3382 2086 1092 0000 sts Mess_Integral_Gier,__zero_reg__ 3383 208a 1092 0000 sts (Mess_Integral_Gier)+1,__zero_reg__ 3384 208e 1092 0000 sts (Mess_Integral_Gier)+2,__zero_reg__ 3385 2092 1092 0000 sts (Mess_Integral_Gier)+3,__zero_reg__ 3386 2096 1092 0000 sts Mess_Integral_Gier2,__zero_reg__ 3387 209a 1092 0000 sts (Mess_Integral_Gier2)+1,__zero_reg__ 3388 209e 1092 0000 sts (Mess_Integral_Gier2)+2,__zero_reg__ 3389 20a2 1092 0000 sts (Mess_Integral_Gier2)+3,__zero_reg__ 3390 20a6 1092 0000 sts Mess_IntegralNick,__zero_reg__ 3391 20aa 1092 0000 sts (Mess_IntegralNick)+1,__zero_reg__ 3392 20ae 1092 0000 sts (Mess_IntegralNick)+2,__zero_reg__ 3393 20b2 1092 0000 sts (Mess_IntegralNick)+3,__zero_reg__ 3394 20b6 1092 0000 sts Mess_IntegralRoll,__zero_reg__ 3395 20ba 1092 0000 sts (Mess_IntegralRoll)+1,__zero_reg__ 3396 20be 1092 0000 sts (Mess_IntegralRoll)+2,__zero_reg__ 3397 20c2 1092 0000 sts (Mess_IntegralRoll)+3,__zero_reg__ 3398 20c6 8091 0000 lds r24,IntegralNick 3399 20ca 9091 0000 lds r25,(IntegralNick)+1 3400 20ce A091 0000 lds r26,(IntegralNick)+2 3401 20d2 B091 0000 lds r27,(IntegralNick)+3 3402 20d6 8093 0000 sts Mess_IntegralNick2,r24 3403 20da 9093 0000 sts (Mess_IntegralNick2)+1,r25 3404 20de A093 0000 sts (Mess_IntegralNick2)+2,r26 3405 20e2 B093 0000 sts (Mess_IntegralNick2)+3,r27 3406 20e6 8091 0000 lds r24,IntegralRoll 3407 20ea 9091 0000 lds r25,(IntegralRoll)+1 3408 20ee A091 0000 lds r26,(IntegralRoll)+2 3409 20f2 B091 0000 lds r27,(IntegralRoll)+3 3410 20f6 8093 0000 sts Mess_IntegralRoll2,r24 3411 20fa 9093 0000 sts (Mess_IntegralRoll2)+1,r25 3412 20fe A093 0000 sts (Mess_IntegralRoll2)+2,r26 3413 2102 B093 0000 sts (Mess_IntegralRoll2)+3,r27 3414 2106 1092 0000 sts SummeNick.2569,__zero_reg__ 3415 210a 1092 0000 sts (SummeNick.2569)+1,__zero_reg__ 3416 210e 1092 0000 sts (SummeNick.2569)+2,__zero_reg__ 3417 2112 1092 0000 sts (SummeNick.2569)+3,__zero_reg__ 3418 2116 1092 0000 sts SummeRoll.2570,__zero_reg__ 3419 211a 1092 0000 sts (SummeRoll.2570)+1,__zero_reg__ 3420 211e 1092 0000 sts (SummeRoll.2570)+2,__zero_reg__ 3421 2122 1092 0000 sts (SummeRoll.2570)+3,__zero_reg__ 3422 2126 00C0 rjmp .L542 3423 .L540: 3424 2128 1092 0000 sts delay_einschalten.2578,__zero_reg__ 3425 .L542: 3426 212c 440F lsl r20 3427 212e 551F rol r21 3428 2130 4050 subi r20,lo8(-(PPM_in)) 3429 2132 5040 sbci r21,hi8(-(PPM_in)) 3430 2134 DA01 movw r26,r20 3431 2136 8D91 ld r24,X+ 3432 2138 9C91 ld r25,X 3433 213a 8C34 cpi r24,76 3434 213c 9105 cpc r25,__zero_reg__ 3435 213e 04F0 brlt .L544 3436 2140 8091 0000 lds r24,delay_ausschalten.2579 3437 2144 8F5F subi r24,lo8(-(1)) 3438 2146 8093 0000 sts delay_ausschalten.2579,r24 3439 214a 893C cpi r24,lo8(-55) 3440 214c 00F0 brlo .L499 3441 214e 1092 0000 sts MotorenEin,__zero_reg__ 3442 2152 88EC ldi r24,lo8(-56) 3443 2154 8093 0000 sts delay_ausschalten.2579,r24 3444 2158 1092 0000 sts (modell_fliegt.2580)+1,__zero_reg__ 3445 215c 1092 0000 sts modell_fliegt.2580,__zero_reg__ 3446 2160 00C0 rjmp .L499 3447 .L544: 3448 2162 1092 0000 sts delay_ausschalten.2579,__zero_reg__ 3449 .L499: 3450 2166 8091 0000 lds r24,NewPpmData 3451 216a 8150 subi r24,lo8(-(-1)) 3452 216c 8093 0000 sts NewPpmData,r24 3453 2170 8091 0000 lds r24,NewPpmData 3454 2174 8F3F cpi r24,lo8(-1) 3455 2176 01F0 breq .L547 3456 2178 8091 0000 lds r24,Notlandung 3457 217c 8823 tst r24 3458 217e 01F4 brne .+2 3459 2180 00C0 rjmp .L549 3460 .L547: 3461 2182 0E94 0000 call ParameterZuordnung 3462 2186 8091 0000 lds r24,EE_Parameter 3463 218a 882E mov r8,r24 3464 218c 9924 clr r9 3465 218e D401 movw r26,r8 3466 2190 AA0F lsl r26 3467 2192 BB1F rol r27 3468 2194 CD01 movw r24,r26 3469 2196 8050 subi r24,lo8(-(PPM_in)) 3470 2198 9040 sbci r25,hi8(-(PPM_in)) 3471 219a FC01 movw r30,r24 3472 219c 8081 ld r24,Z 3473 219e 9181 ldd r25,Z+1 3474 21a0 9E8B std Y+22,r25 3475 21a2 8D8B std Y+21,r24 3476 21a4 8091 0000 lds r24,EE_Parameter+15 3477 21a8 C82E mov r12,r24 3478 21aa DD24 clr r13 3479 21ac A050 subi r26,lo8(-(PPM_diff)) 3480 21ae B040 sbci r27,hi8(-(PPM_diff)) 3481 21b0 0D90 ld __tmp_reg__,X+ 3482 21b2 BC91 ld r27,X 3483 21b4 A02D mov r26,__tmp_reg__ 3484 21b6 BC8B std Y+20,r27 3485 21b8 AB8B std Y+19,r26 3486 21ba 8091 0000 lds r24,EE_Parameter+16 3487 21be 282E mov r2,r24 3488 21c0 3324 clr r3 3489 21c2 8091 0000 lds r24,EE_Parameter+1 3490 21c6 A82E mov r10,r24 3491 21c8 BB24 clr r11 3492 21ca C501 movw r24,r10 3493 21cc 880F lsl r24 3494 21ce 991F rol r25 3495 21d0 DC01 movw r26,r24 3496 21d2 A050 subi r26,lo8(-(PPM_in)) 3497 21d4 B040 sbci r27,hi8(-(PPM_in)) 3498 21d6 0D90 ld __tmp_reg__,X+ 3499 21d8 BC91 ld r27,X 3500 21da A02D mov r26,__tmp_reg__ 3501 21dc BA8B std Y+18,r27 3502 21de A98B std Y+17,r26 3503 21e0 8050 subi r24,lo8(-(PPM_diff)) 3504 21e2 9040 sbci r25,hi8(-(PPM_diff)) 3505 21e4 DC01 movw r26,r24 3506 21e6 ED90 ld r14,X+ 3507 21e8 FC90 ld r15,X 3508 21ea E091 0000 lds r30,EE_Parameter+3 3509 21ee AE2F mov r26,r30 3510 21f0 BB27 clr r27 3511 21f2 AA0F lsl r26 3512 21f4 BB1F rol r27 3513 21f6 A050 subi r26,lo8(-(PPM_in)) 3514 21f8 B040 sbci r27,hi8(-(PPM_in)) 3515 21fa 0D90 ld __tmp_reg__,X+ 3516 21fc BC91 ld r27,X 3517 21fe A02D mov r26,__tmp_reg__ 3518 2200 BE87 std Y+14,r27 3519 2202 AD87 std Y+13,r26 3520 2204 1091 0000 lds r17,Parameter_Gyro_P 3521 2208 612F mov r22,r17 3522 220a 7727 clr r23 3523 220c 67FD sbrc r22,7 3524 220e 7095 com r23 3525 2210 872F mov r24,r23 3526 2212 972F mov r25,r23 3527 2214 0E94 0000 call __floatsisf 3528 2218 17FF sbrs r17,7 3529 221a 00C0 rjmp .L550 3530 221c 20E0 ldi r18,lo8(0x43800000) 3531 221e 30E0 ldi r19,hi8(0x43800000) 3532 2220 40E8 ldi r20,hlo8(0x43800000) 3533 2222 53E4 ldi r21,hhi8(0x43800000) 3534 2224 0E94 0000 call __addsf3 3535 .L550: 3536 2228 20E0 ldi r18,lo8(0x41200000) 3537 222a 30E0 ldi r19,hi8(0x41200000) 3538 222c 40E2 ldi r20,hlo8(0x41200000) 3539 222e 51E4 ldi r21,hhi8(0x41200000) 3540 2230 0E94 0000 call __addsf3 3541 2234 20E0 ldi r18,lo8(0x3b800000) 3542 2236 30E0 ldi r19,hi8(0x3b800000) 3543 2238 40E8 ldi r20,hlo8(0x3b800000) 3544 223a 5BE3 ldi r21,hhi8(0x3b800000) 3545 223c 0E94 0000 call __mulsf3 3546 2240 2B01 movw r4,r22 3547 2242 3C01 movw r6,r24 3548 2244 6093 0000 sts GyroFaktor,r22 3549 2248 7093 0000 sts (GyroFaktor)+1,r23 3550 224c 8093 0000 sts (GyroFaktor)+2,r24 3551 2250 9093 0000 sts (GyroFaktor)+3,r25 3552 2254 1091 0000 lds r17,Parameter_Gyro_I 3553 2258 612F mov r22,r17 3554 225a 7727 clr r23 3555 225c 67FD sbrc r22,7 3556 225e 7095 com r23 3557 2260 872F mov r24,r23 3558 2262 972F mov r25,r23 3559 2264 0E94 0000 call __floatsisf 3560 2268 17FF sbrs r17,7 3561 226a 00C0 rjmp .L551 3562 226c 20E0 ldi r18,lo8(0x43800000) 3563 226e 30E0 ldi r19,hi8(0x43800000) 3564 2270 40E8 ldi r20,hlo8(0x43800000) 3565 2272 53E4 ldi r21,hhi8(0x43800000) 3566 2274 0E94 0000 call __addsf3 3567 .L551: 3568 2278 20E0 ldi r18,lo8(0x472be000) 3569 227a 30EE ldi r19,hi8(0x472be000) 3570 227c 4BE2 ldi r20,hlo8(0x472be000) 3571 227e 57E4 ldi r21,hhi8(0x472be000) 3572 2280 0E94 0000 call __divsf3 3573 2284 6093 0000 sts IntegralFaktor,r22 3574 2288 7093 0000 sts (IntegralFaktor)+1,r23 3575 228c 8093 0000 sts (IntegralFaktor)+2,r24 3576 2290 9093 0000 sts (IntegralFaktor)+3,r25 3577 2294 2091 0000 lds r18,DubWiseKeys+1 3578 2298 2223 tst r18 3579 229a 01F4 brne .+4 3580 229c 0C94 0000 jmp .L552 3581 22a0 8AE0 ldi r24,lo8(10) 3582 22a2 90E0 ldi r25,hi8(10) 3583 22a4 9093 0000 sts (beeptime)+1,r25 3584 22a8 8093 0000 sts beeptime,r24 3585 22ac E22F mov r30,r18 3586 22ae FF27 clr r31 3587 22b0 E2FF sbrs r30,2 3588 22b2 00C0 rjmp .L554 3589 22b4 8091 0000 lds r24,Parameter_UserParam1 3590 22b8 482F mov r20,r24 3591 22ba 5527 clr r21 3592 22bc 440F lsl r20 3593 22be 551F rol r21 3594 22c0 440F lsl r20 3595 22c2 551F rol r21 3596 22c4 00C0 rjmp .L556 3597 .L554: 3598 22c6 E3FD sbrc r30,3 3599 22c8 00C0 rjmp .L557 3600 22ca 40E0 ldi r20,lo8(0) 3601 22cc 50E0 ldi r21,hi8(0) 3602 22ce 00C0 rjmp .L556 3603 .L557: 3604 22d0 8091 0000 lds r24,Parameter_UserParam1 3605 22d4 9927 clr r25 3606 22d6 880F lsl r24 3607 22d8 991F rol r25 3608 22da 880F lsl r24 3609 22dc 991F rol r25 3610 22de 4427 clr r20 3611 22e0 5527 clr r21 3612 22e2 481B sub r20,r24 3613 22e4 590B sbc r21,r25 3614 .L556: 3615 22e6 2091 0000 lds r18,ExternStickNick 3616 22ea 3091 0000 lds r19,(ExternStickNick)+1 3617 22ee C901 movw r24,r18 3618 22f0 03E0 ldi r16,3 3619 22f2 880F 1: lsl r24 3620 22f4 991F rol r25 3621 22f6 0A95 dec r16 3622 22f8 01F4 brne 1b 3623 22fa 821B sub r24,r18 3624 22fc 930B sbc r25,r19 3625 22fe 840F add r24,r20 3626 2300 951F adc r25,r21 3627 2302 68E0 ldi r22,lo8(8) 3628 2304 70E0 ldi r23,hi8(8) 3629 2306 0E94 0000 call __divmodhi4 3630 230a 788F std Y+24,r23 3631 230c 6F8B std Y+23,r22 3632 230e 7093 0000 sts (ExternStickNick)+1,r23 3633 2312 6093 0000 sts ExternStickNick,r22 3634 2316 E4FF sbrs r30,4 3635 2318 00C0 rjmp .L559 3636 231a 8091 0000 lds r24,Parameter_UserParam1 3637 231e 482F mov r20,r24 3638 2320 5527 clr r21 3639 2322 440F lsl r20 3640 2324 551F rol r21 3641 2326 440F lsl r20 3642 2328 551F rol r21 3643 232a 00C0 rjmp .L561 3644 .L559: 3645 232c E5FD sbrc r30,5 3646 232e 00C0 rjmp .+4 3647 2330 0C94 0000 jmp .L818 3648 2334 8091 0000 lds r24,Parameter_UserParam1 3649 2338 9927 clr r25 3650 233a 880F lsl r24 3651 233c 991F rol r25 3652 233e 880F lsl r24 3653 2340 991F rol r25 3654 2342 4427 clr r20 3655 2344 5527 clr r21 3656 2346 481B sub r20,r24 3657 2348 590B sbc r21,r25 3658 .L561: 3659 234a 2091 0000 lds r18,ExternStickRoll 3660 234e 3091 0000 lds r19,(ExternStickRoll)+1 3661 2352 C901 movw r24,r18 3662 2354 A3E0 ldi r26,3 3663 2356 880F 1: lsl r24 3664 2358 991F rol r25 3665 235a AA95 dec r26 3666 235c 01F4 brne 1b 3667 235e 821B sub r24,r18 3668 2360 930B sbc r25,r19 3669 2362 840F add r24,r20 3670 2364 951F adc r25,r21 3671 2366 68E0 ldi r22,lo8(8) 3672 2368 70E0 ldi r23,hi8(8) 3673 236a 0E94 0000 call __divmodhi4 3674 236e 8B01 movw r16,r22 3675 2370 7093 0000 sts (ExternStickRoll)+1,r23 3676 2374 6093 0000 sts ExternStickRoll,r22 3677 2378 8091 0000 lds r24,DubWiseKeys 3678 237c 282F mov r18,r24 3679 237e 3327 clr r19 3680 2380 23FF sbrs r18,3 3681 2382 00C0 rjmp .L564 3682 2384 82E3 ldi r24,lo8(50) 3683 2386 90E0 ldi r25,hi8(50) 3684 2388 00C0 rjmp .L819 3685 .L564: 3686 238a 22FF sbrs r18,2 3687 238c 00C0 rjmp .L567 3688 238e 8EEC ldi r24,lo8(-50) 3689 2390 9FEF ldi r25,hi8(-50) 3690 .L819: 3691 2392 9093 0000 sts (ExternStickGier)+1,r25 3692 2396 8093 0000 sts ExternStickGier,r24 3693 239a 00C0 rjmp .L566 3694 .L567: 3695 239c 1092 0000 sts (ExternStickGier)+1,__zero_reg__ 3696 23a0 1092 0000 sts ExternStickGier,__zero_reg__ 3697 .L566: 3698 23a4 21FF sbrs r18,1 3699 23a6 00C0 rjmp .L569 3700 23a8 8091 0000 lds r24,ExternHoehenValue 3701 23ac 9091 0000 lds r25,(ExternHoehenValue)+1 3702 23b0 0196 adiw r24,1 3703 23b2 9093 0000 sts (ExternHoehenValue)+1,r25 3704 23b6 8093 0000 sts ExternHoehenValue,r24 3705 .L569: 3706 23ba 24FF sbrs r18,4 3707 23bc 00C0 rjmp .L571 3708 23be 8091 0000 lds r24,ExternHoehenValue 3709 23c2 9091 0000 lds r25,(ExternHoehenValue)+1 3710 23c6 0197 sbiw r24,1 3711 23c8 9093 0000 sts (ExternHoehenValue)+1,r25 3712 23cc 8093 0000 sts ExternHoehenValue,r24 3713 .L571: 3714 23d0 2D89 ldd r18,Y+21 3715 23d2 3E89 ldd r19,Y+22 3716 23d4 2C9D mul r18,r12 3717 23d6 F001 movw r30,r0 3718 23d8 2D9D mul r18,r13 3719 23da F00D add r31,r0 3720 23dc 3C9D mul r19,r12 3721 23de F00D add r31,r0 3722 23e0 1124 clr r1 3723 23e2 4B89 ldd r20,Y+19 3724 23e4 5C89 ldd r21,Y+20 3725 23e6 429D mul r20,r2 3726 23e8 C001 movw r24,r0 3727 23ea 439D mul r20,r3 3728 23ec 900D add r25,r0 3729 23ee 529D mul r21,r2 3730 23f0 900D add r25,r0 3731 23f2 1124 clr r1 3732 23f4 E80F add r30,r24 3733 23f6 F91F adc r31,r25 3734 23f8 8F89 ldd r24,Y+23 3735 23fa 988D ldd r25,Y+24 3736 23fc 68E0 ldi r22,lo8(8) 3737 23fe 70E0 ldi r23,hi8(8) 3738 2400 0E94 0000 call __divmodhi4 3739 2404 E60F add r30,r22 3740 2406 F71F adc r31,r23 3741 2408 FA8F std Y+26,r31 3742 240a E98F std Y+25,r30 3743 240c F093 0000 sts (StickNick)+1,r31 3744 2410 E093 0000 sts StickNick,r30 3745 2414 6989 ldd r22,Y+17 3746 2416 7A89 ldd r23,Y+18 3747 2418 6C9D mul r22,r12 3748 241a 9001 movw r18,r0 3749 241c 6D9D mul r22,r13 3750 241e 300D add r19,r0 3751 2420 7C9D mul r23,r12 3752 2422 300D add r19,r0 3753 2424 1124 clr r1 3754 2426 E29C mul r14,r2 3755 2428 C001 movw r24,r0 3756 242a E39C mul r14,r3 3757 242c 900D add r25,r0 3758 242e F29C mul r15,r2 3759 2430 900D add r25,r0 3760 2432 1124 clr r1 3761 2434 280F add r18,r24 3762 2436 391F adc r19,r25 3763 2438 C801 movw r24,r16 3764 243a 68E0 ldi r22,lo8(8) 3765 243c 70E0 ldi r23,hi8(8) 3766 243e 0E94 0000 call __divmodhi4 3767 2442 260F add r18,r22 3768 2444 371F adc r19,r23 3769 2446 3093 0000 sts (StickRoll)+1,r19 3770 244a 2093 0000 sts StickRoll,r18 3771 244e 4091 0000 lds r20,ExternStickGier 3772 2452 5091 0000 lds r21,(ExternStickGier)+1 3773 2456 8D85 ldd r24,Y+13 3774 2458 9E85 ldd r25,Y+14 3775 245a 481B sub r20,r24 3776 245c 590B sbc r21,r25 3777 245e 5093 0000 sts (StickGier)+1,r21 3778 2462 4093 0000 sts StickGier,r20 3779 2466 8091 0000 lds r24,Parameter_UserParam2 3780 246a 8B30 cpi r24,lo8(11) 3781 246c 00F0 brlo .L573 3782 246e 8091 0000 lds r24,ControlIn+2 3783 2472 9091 0000 lds r25,(ControlIn+2)+1 3784 2476 E80F add r30,r24 3785 2478 F91F adc r31,r25 3786 247a F093 0000 sts (StickNick)+1,r31 3787 247e E093 0000 sts StickNick,r30 3788 2482 8091 0000 lds r24,ControlIn 3789 2486 9091 0000 lds r25,(ControlIn)+1 3790 248a 280F add r18,r24 3791 248c 391F adc r19,r25 3792 248e 3093 0000 sts (StickRoll)+1,r19 3793 2492 2093 0000 sts StickRoll,r18 3794 2496 8091 0000 lds r24,ControlIn+4 3795 249a 9091 0000 lds r25,(ControlIn+4)+1 3796 249e 480F add r20,r24 3797 24a0 591F adc r21,r25 3798 24a2 5093 0000 sts (StickGier)+1,r21 3799 24a6 4093 0000 sts StickGier,r20 3800 .L573: 3801 24aa 8091 0000 lds r24,EE_Parameter+8 3802 24ae 82FF sbrs r24,2 3803 24b0 00C0 rjmp .L575 3804 24b2 80E0 ldi r24,lo8(0x0) 3805 24b4 90E0 ldi r25,hi8(0x0) 3806 24b6 A0E0 ldi r26,hlo8(0x0) 3807 24b8 B0E0 ldi r27,hhi8(0x0) 3808 24ba 8093 0000 sts IntegralFaktor,r24 3809 24be 9093 0000 sts (IntegralFaktor)+1,r25 3810 24c2 A093 0000 sts (IntegralFaktor)+2,r26 3811 24c6 B093 0000 sts (IntegralFaktor)+3,r27 3812 .L575: 3813 24ca 20E0 ldi r18,lo8(0x0) 3814 24cc 30E0 ldi r19,hi8(0x0) 3815 24ce 40E0 ldi r20,hlo8(0x0) 3816 24d0 50E0 ldi r21,hhi8(0x0) 3817 24d2 C301 movw r24,r6 3818 24d4 B201 movw r22,r4 3819 24d6 0E94 0000 call __ltsf2 3820 24da 8823 tst r24 3821 24dc 04F4 brge .L577 3822 24de 80E0 ldi r24,lo8(0x0) 3823 24e0 90E0 ldi r25,hi8(0x0) 3824 24e2 A0E0 ldi r26,hlo8(0x0) 3825 24e4 B0E0 ldi r27,hhi8(0x0) 3826 24e6 8093 0000 sts GyroFaktor,r24 3827 24ea 9093 0000 sts (GyroFaktor)+1,r25 3828 24ee A093 0000 sts (GyroFaktor)+2,r26 3829 24f2 B093 0000 sts (GyroFaktor)+3,r27 3830 .L577: 3831 24f6 20E0 ldi r18,lo8(0x0) 3832 24f8 30E0 ldi r19,hi8(0x0) 3833 24fa 40E0 ldi r20,hlo8(0x0) 3834 24fc 50E0 ldi r21,hhi8(0x0) 3835 24fe 6091 0000 lds r22,IntegralFaktor 3836 2502 7091 0000 lds r23,(IntegralFaktor)+1 3837 2506 8091 0000 lds r24,(IntegralFaktor)+2 3838 250a 9091 0000 lds r25,(IntegralFaktor)+3 3839 250e 0E94 0000 call __ltsf2 3840 2512 8823 tst r24 3841 2514 04F4 brge .L580 3842 2516 80E0 ldi r24,lo8(0x0) 3843 2518 90E0 ldi r25,hi8(0x0) 3844 251a A0E0 ldi r26,hlo8(0x0) 3845 251c B0E0 ldi r27,hhi8(0x0) 3846 251e 8093 0000 sts IntegralFaktor,r24 3847 2522 9093 0000 sts (IntegralFaktor)+1,r25 3848 2526 A093 0000 sts (IntegralFaktor)+2,r26 3849 252a B093 0000 sts (IntegralFaktor)+3,r27 3850 .L580: 3851 252e 8091 0000 lds r24,EE_Parameter+52 3852 2532 682F mov r22,r24 3853 2534 7727 clr r23 3854 2536 8B01 movw r16,r22 3855 2538 0470 andi r16,lo8(4) 3856 253a 1070 andi r17,hi8(4) 3857 253c 62FD sbrc r22,2 3858 253e 00C0 rjmp .L583 3859 2540 63FD sbrc r22,3 3860 2542 00C0 rjmp .L583 3861 2544 8091 0000 lds r24,IntegralNick 3862 2548 9091 0000 lds r25,(IntegralNick)+1 3863 254c A091 0000 lds r26,(IntegralNick)+2 3864 2550 B091 0000 lds r27,(IntegralNick)+3 3865 2554 8156 subi r24,lo8(60001) 3866 2556 9A4E sbci r25,hi8(60001) 3867 2558 A040 sbci r26,hlo8(60001) 3868 255a B040 sbci r27,hhi8(60001) 3869 255c 04F0 brlt .L586 3870 255e 2091 0000 lds r18,StickNick 3871 2562 3091 0000 lds r19,(StickNick)+1 3872 2566 C601 movw r24,r12 3873 2568 F3E0 ldi r31,3 3874 256a 880F 1: lsl r24 3875 256c 991F rol r25 3876 256e FA95 dec r31 3877 2570 01F4 brne 1b 3878 2572 281B sub r18,r24 3879 2574 390B sbc r19,r25 3880 2576 3093 0000 sts (StickNick)+1,r19 3881 257a 2093 0000 sts StickNick,r18 3882 257e 8091 0000 lds r24,IntegralNick 3883 2582 9091 0000 lds r25,(IntegralNick)+1 3884 2586 A091 0000 lds r26,(IntegralNick)+2 3885 258a B091 0000 lds r27,(IntegralNick)+3 3886 258e 8158 subi r24,lo8(80001) 3887 2590 9843 sbci r25,hi8(80001) 3888 2592 A140 sbci r26,hlo8(80001) 3889 2594 B040 sbci r27,hhi8(80001) 3890 2596 04F0 brlt .L588 3891 2598 00C0 rjmp .L820 3892 .L586: 3893 259a 8091 0000 lds r24,IntegralNick 3894 259e 9091 0000 lds r25,(IntegralNick)+1 3895 25a2 A091 0000 lds r26,(IntegralNick)+2 3896 25a6 B091 0000 lds r27,(IntegralNick)+3 3897 25aa 805A subi r24,lo8(-60000) 3898 25ac 9541 sbci r25,hi8(-60000) 3899 25ae AF4F sbci r26,hlo8(-60000) 3900 25b0 BF4F sbci r27,hhi8(-60000) 3901 25b2 04F4 brge .L588 3902 25b4 2091 0000 lds r18,StickNick 3903 25b8 3091 0000 lds r19,(StickNick)+1 3904 25bc C601 movw r24,r12 3905 25be E3E0 ldi r30,3 3906 25c0 880F 1: lsl r24 3907 25c2 991F rol r25 3908 25c4 EA95 dec r30 3909 25c6 01F4 brne 1b 3910 25c8 280F add r18,r24 3911 25ca 391F adc r19,r25 3912 25cc 3093 0000 sts (StickNick)+1,r19 3913 25d0 2093 0000 sts StickNick,r18 3914 25d4 8091 0000 lds r24,IntegralNick 3915 25d8 9091 0000 lds r25,(IntegralNick)+1 3916 25dc A091 0000 lds r26,(IntegralNick)+2 3917 25e0 B091 0000 lds r27,(IntegralNick)+3 3918 25e4 8158 subi r24,lo8(80001) 3919 25e6 9843 sbci r25,hi8(80001) 3920 25e8 A140 sbci r26,hlo8(80001) 3921 25ea B040 sbci r27,hhi8(80001) 3922 25ec 04F0 brlt .L588 3923 .L820: 3924 25ee C601 movw r24,r12 3925 25f0 74E0 ldi r23,4 3926 25f2 880F 1: lsl r24 3927 25f4 991F rol r25 3928 25f6 7A95 dec r23 3929 25f8 01F4 brne 1b 3930 25fa 281B sub r18,r24 3931 25fc 390B sbc r19,r25 3932 25fe 3093 0000 sts (StickNick)+1,r19 3933 2602 2093 0000 sts StickNick,r18 3934 .L588: 3935 2606 8091 0000 lds r24,IntegralRoll 3936 260a 9091 0000 lds r25,(IntegralRoll)+1 3937 260e A091 0000 lds r26,(IntegralRoll)+2 3938 2612 B091 0000 lds r27,(IntegralRoll)+3 3939 2616 8156 subi r24,lo8(60001) 3940 2618 9A4E sbci r25,hi8(60001) 3941 261a A040 sbci r26,hlo8(60001) 3942 261c B040 sbci r27,hhi8(60001) 3943 261e 04F0 brlt .L592 3944 2620 2091 0000 lds r18,StickRoll 3945 2624 3091 0000 lds r19,(StickRoll)+1 3946 2628 C601 movw r24,r12 3947 262a 53E0 ldi r21,3 3948 262c 880F 1: lsl r24 3949 262e 991F rol r25 3950 2630 5A95 dec r21 3951 2632 01F4 brne 1b 3952 2634 281B sub r18,r24 3953 2636 390B sbc r19,r25 3954 2638 3093 0000 sts (StickRoll)+1,r19 3955 263c 2093 0000 sts StickRoll,r18 3956 2640 8091 0000 lds r24,IntegralRoll 3957 2644 9091 0000 lds r25,(IntegralRoll)+1 3958 2648 A091 0000 lds r26,(IntegralRoll)+2 3959 264c B091 0000 lds r27,(IntegralRoll)+3 3960 2650 8158 subi r24,lo8(80001) 3961 2652 9843 sbci r25,hi8(80001) 3962 2654 A140 sbci r26,hlo8(80001) 3963 2656 B040 sbci r27,hhi8(80001) 3964 2658 04F0 brlt .L583 3965 265a 00C0 rjmp .L821 3966 .L592: 3967 265c 8091 0000 lds r24,IntegralRoll 3968 2660 9091 0000 lds r25,(IntegralRoll)+1 3969 2664 A091 0000 lds r26,(IntegralRoll)+2 3970 2668 B091 0000 lds r27,(IntegralRoll)+3 3971 266c 805A subi r24,lo8(-60000) 3972 266e 9541 sbci r25,hi8(-60000) 3973 2670 AF4F sbci r26,hlo8(-60000) 3974 2672 BF4F sbci r27,hhi8(-60000) 3975 2674 04F4 brge .L583 3976 2676 2091 0000 lds r18,StickRoll 3977 267a 3091 0000 lds r19,(StickRoll)+1 3978 267e C601 movw r24,r12 3979 2680 43E0 ldi r20,3 3980 2682 880F 1: lsl r24 3981 2684 991F rol r25 3982 2686 4A95 dec r20 3983 2688 01F4 brne 1b 3984 268a 280F add r18,r24 3985 268c 391F adc r19,r25 3986 268e 3093 0000 sts (StickRoll)+1,r19 3987 2692 2093 0000 sts StickRoll,r18 3988 2696 8091 0000 lds r24,IntegralRoll 3989 269a 9091 0000 lds r25,(IntegralRoll)+1 3990 269e A091 0000 lds r26,(IntegralRoll)+2 3991 26a2 B091 0000 lds r27,(IntegralRoll)+3 3992 26a6 8158 subi r24,lo8(80001) 3993 26a8 9843 sbci r25,hi8(80001) 3994 26aa A140 sbci r26,hlo8(80001) 3995 26ac B040 sbci r27,hhi8(80001) 3996 26ae 04F0 brlt .L583 3997 .L821: 3998 26b0 B4E0 ldi r27,4 3999 26b2 CC0C 1: lsl r12 4000 26b4 DD1C rol r13 4001 26b6 BA95 dec r27 4002 26b8 01F4 brne 1b 4003 26ba 2C19 sub r18,r12 4004 26bc 3D09 sbc r19,r13 4005 26be 3093 0000 sts (StickRoll)+1,r19 4006 26c2 2093 0000 sts StickRoll,r18 4007 .L583: 4008 26c6 F501 movw r30,r10 4009 26c8 EE0F lsl r30 4010 26ca FF1F rol r31 4011 26cc E050 subi r30,lo8(-(PPM_in)) 4012 26ce F040 sbci r31,hi8(-(PPM_in)) 4013 26d0 2081 ld r18,Z 4014 26d2 3181 ldd r19,Z+1 4015 26d4 8091 0000 lds r24,EE_Parameter+39 4016 26d8 482F mov r20,r24 4017 26da 5527 clr r21 4018 26dc 4217 cp r20,r18 4019 26de 5307 cpc r21,r19 4020 26e0 04F4 brge .L597 4021 26e2 012B or r16,r17 4022 26e4 01F0 breq .L597 4023 26e6 81E0 ldi r24,lo8(1) 4024 26e8 8093 0000 sts Looping_Links,r24 4025 26ec 00C0 rjmp .L600 4026 .L597: 4027 26ee F501 movw r30,r10 4028 26f0 EE0F lsl r30 4029 26f2 FF1F rol r31 4030 26f4 E050 subi r30,lo8(-(PPM_in)) 4031 26f6 F040 sbci r31,hi8(-(PPM_in)) 4032 26f8 2081 ld r18,Z 4033 26fa 3181 ldd r19,Z+1 4034 26fc 8091 0000 lds r24,EE_Parameter+40 4035 2700 DA01 movw r26,r20 4036 2702 A81B sub r26,r24 4037 2704 B109 sbc r27,__zero_reg__ 4038 2706 2A17 cp r18,r26 4039 2708 3B07 cpc r19,r27 4040 270a 04F4 brge .L600 4041 270c 1092 0000 sts Looping_Links,__zero_reg__ 4042 .L600: 4043 2710 F501 movw r30,r10 4044 2712 EE0F lsl r30 4045 2714 FF1F rol r31 4046 2716 E050 subi r30,lo8(-(PPM_in)) 4047 2718 F040 sbci r31,hi8(-(PPM_in)) 4048 271a 8081 ld r24,Z 4049 271c 9181 ldd r25,Z+1 4050 271e AA27 clr r26 4051 2720 BB27 clr r27 4052 2722 A41B sub r26,r20 4053 2724 B50B sbc r27,r21 4054 2726 8A17 cp r24,r26 4055 2728 9B07 cpc r25,r27 4056 272a 04F4 brge .L602 4057 272c 63FF sbrs r22,3 4058 272e 00C0 rjmp .L602 4059 2730 81E0 ldi r24,lo8(1) 4060 2732 8093 0000 sts Looping_Rechts,r24 4061 2736 00C0 rjmp .L605 4062 .L602: 4063 2738 8091 0000 lds r24,Looping_Rechts 4064 273c 8823 tst r24 4065 273e 01F0 breq .L605 4066 2740 AA0C lsl r10 4067 2742 BB1C rol r11 4068 2744 E0E0 ldi r30,lo8(PPM_in) 4069 2746 F0E0 ldi r31,hi8(PPM_in) 4070 2748 AE0E add r10,r30 4071 274a BF1E adc r11,r31 4072 274c F501 movw r30,r10 4073 274e 2081 ld r18,Z 4074 2750 3181 ldd r19,Z+1 4075 2752 8091 0000 lds r24,EE_Parameter+40 4076 2756 9927 clr r25 4077 2758 841B sub r24,r20 4078 275a 950B sbc r25,r21 4079 275c 8217 cp r24,r18 4080 275e 9307 cpc r25,r19 4081 2760 04F4 brge .L605 4082 2762 1092 0000 sts Looping_Rechts,__zero_reg__ 4083 .L605: 4084 2766 F401 movw r30,r8 4085 2768 EE0F lsl r30 4086 276a FF1F rol r31 4087 276c E050 subi r30,lo8(-(PPM_in)) 4088 276e F040 sbci r31,hi8(-(PPM_in)) 4089 2770 8081 ld r24,Z 4090 2772 9181 ldd r25,Z+1 4091 2774 4817 cp r20,r24 4092 2776 5907 cpc r21,r25 4093 2778 04F4 brge .L608 4094 277a 60FF sbrs r22,0 4095 277c 00C0 rjmp .L608 4096 277e 81E0 ldi r24,lo8(1) 4097 2780 8093 0000 sts Looping_Oben,r24 4098 2784 00C0 rjmp .L611 4099 .L608: 4100 2786 8091 0000 lds r24,Looping_Oben 4101 278a 8823 tst r24 4102 278c 01F0 breq .L611 4103 278e F401 movw r30,r8 4104 2790 EE0F lsl r30 4105 2792 FF1F rol r31 4106 2794 E050 subi r30,lo8(-(PPM_in)) 4107 2796 F040 sbci r31,hi8(-(PPM_in)) 4108 2798 2081 ld r18,Z 4109 279a 3181 ldd r19,Z+1 4110 279c 8091 0000 lds r24,EE_Parameter+40 4111 27a0 FA01 movw r30,r20 4112 27a2 E81B sub r30,r24 4113 27a4 F109 sbc r31,__zero_reg__ 4114 27a6 2E17 cp r18,r30 4115 27a8 3F07 cpc r19,r31 4116 27aa 04F4 brge .L611 4117 27ac 1092 0000 sts Looping_Oben,__zero_reg__ 4118 .L611: 4119 27b0 F401 movw r30,r8 4120 27b2 EE0F lsl r30 4121 27b4 FF1F rol r31 4122 27b6 E050 subi r30,lo8(-(PPM_in)) 4123 27b8 F040 sbci r31,hi8(-(PPM_in)) 4124 27ba 8081 ld r24,Z 4125 27bc 9181 ldd r25,Z+1 4126 27be 8A17 cp r24,r26 4127 27c0 9B07 cpc r25,r27 4128 27c2 04F4 brge .L614 4129 27c4 61FF sbrs r22,1 4130 27c6 00C0 rjmp .L614 4131 27c8 81E0 ldi r24,lo8(1) 4132 27ca 8093 0000 sts Looping_Unten,r24 4133 27ce 00C0 rjmp .L617 4134 .L614: 4135 27d0 8091 0000 lds r24,Looping_Unten 4136 27d4 8823 tst r24 4137 27d6 01F0 breq .L617 4138 27d8 880C lsl r8 4139 27da 991C rol r9 4140 27dc 20E0 ldi r18,lo8(PPM_in) 4141 27de 30E0 ldi r19,hi8(PPM_in) 4142 27e0 820E add r8,r18 4143 27e2 931E adc r9,r19 4144 27e4 D401 movw r26,r8 4145 27e6 2D91 ld r18,X+ 4146 27e8 3C91 ld r19,X 4147 27ea 8091 0000 lds r24,EE_Parameter+40 4148 27ee 9927 clr r25 4149 27f0 841B sub r24,r20 4150 27f2 950B sbc r25,r21 4151 27f4 8217 cp r24,r18 4152 27f6 9307 cpc r25,r19 4153 27f8 04F4 brge .L617 4154 27fa 1092 0000 sts Looping_Unten,__zero_reg__ 4155 .L617: 4156 27fe 8091 0000 lds r24,Looping_Links 4157 2802 8823 tst r24 4158 2804 01F4 brne .L620 4159 2806 8091 0000 lds r24,Looping_Rechts 4160 280a 8823 tst r24 4161 280c 01F0 breq .L622 4162 .L620: 4163 280e 81E0 ldi r24,lo8(1) 4164 2810 8093 0000 sts Looping_Roll,r24 4165 2814 00C0 rjmp .L623 4166 .L622: 4167 2816 1092 0000 sts Looping_Roll,__zero_reg__ 4168 .L623: 4169 281a 8091 0000 lds r24,Looping_Oben 4170 281e 8823 tst r24 4171 2820 01F4 brne .L624 4172 2822 8091 0000 lds r24,Looping_Unten 4173 2826 8823 tst r24 4174 2828 01F0 breq .L626 4175 .L624: 4176 282a 81E0 ldi r24,lo8(1) 4177 282c 8093 0000 sts Looping_Nick,r24 4178 2830 1092 0000 sts Looping_Roll,__zero_reg__ 4179 2834 1092 0000 sts Looping_Links,__zero_reg__ 4180 2838 1092 0000 sts Looping_Rechts,__zero_reg__ 4181 283c 00C0 rjmp .L627 4182 .L626: 4183 283e 1092 0000 sts Looping_Nick,__zero_reg__ 4184 .L549: 4185 2842 8091 0000 lds r24,Looping_Roll 4186 2846 8823 tst r24 4187 2848 01F4 brne .+4 4188 284a 0C94 0000 jmp .L628 4189 284e 84E6 ldi r24,lo8(100) 4190 2850 90E0 ldi r25,hi8(100) 4191 2852 9093 0000 sts (beeptime)+1,r25 4192 2856 8093 0000 sts beeptime,r24 4193 .L627: 4194 285a 8091 0000 lds r24,EE_Parameter+38 4195 285e 9927 clr r25 4196 2860 E981 ldd r30,Y+1 4197 2862 FA81 ldd r31,Y+2 4198 2864 8E17 cp r24,r30 4199 2866 9F07 cpc r25,r31 4200 2868 04F4 brge .L630 4201 286a 9A83 std Y+2,r25 4202 286c 8983 std Y+1,r24 4203 .L630: 4204 286e 2090 0000 lds r2,Notlandung 4205 2872 2220 tst r2 4206 2874 01F0 breq .L632 4207 2876 1092 0000 sts (StickGier)+1,__zero_reg__ 4208 287a 1092 0000 sts StickGier,__zero_reg__ 4209 287e 1092 0000 sts (StickNick)+1,__zero_reg__ 4210 2882 1092 0000 sts StickNick,__zero_reg__ 4211 2886 1092 0000 sts (StickRoll)+1,__zero_reg__ 4212 288a 1092 0000 sts StickRoll,__zero_reg__ 4213 288e 8DEC ldi r24,lo8(0x3dcccccd) 4214 2890 9CEC ldi r25,hi8(0x3dcccccd) 4215 2892 ACEC ldi r26,hlo8(0x3dcccccd) 4216 2894 BDE3 ldi r27,hhi8(0x3dcccccd) 4217 2896 8093 0000 sts GyroFaktor,r24 4218 289a 9093 0000 sts (GyroFaktor)+1,r25 4219 289e A093 0000 sts (GyroFaktor)+2,r26 4220 28a2 B093 0000 sts (GyroFaktor)+3,r27 4221 28a6 8AE0 ldi r24,lo8(0x3ba3d70a) 4222 28a8 97ED ldi r25,hi8(0x3ba3d70a) 4223 28aa A3EA ldi r26,hlo8(0x3ba3d70a) 4224 28ac BBE3 ldi r27,hhi8(0x3ba3d70a) 4225 28ae 8093 0000 sts IntegralFaktor,r24 4226 28b2 9093 0000 sts (IntegralFaktor)+1,r25 4227 28b6 A093 0000 sts (IntegralFaktor)+2,r26 4228 28ba B093 0000 sts (IntegralFaktor)+3,r27 4229 28be 1092 0000 sts Looping_Roll,__zero_reg__ 4230 28c2 1092 0000 sts Looping_Nick,__zero_reg__ 4231 .L632: 4232 28c6 8091 0000 lds r24,MittelIntegralNick 4233 28ca 9091 0000 lds r25,(MittelIntegralNick)+1 4234 28ce A091 0000 lds r26,(MittelIntegralNick)+2 4235 28d2 B091 0000 lds r27,(MittelIntegralNick)+3 4236 28d6 2091 0000 lds r18,IntegralNick 4237 28da 3091 0000 lds r19,(IntegralNick)+1 4238 28de 4091 0000 lds r20,(IntegralNick)+2 4239 28e2 5091 0000 lds r21,(IntegralNick)+3 4240 28e6 820F add r24,r18 4241 28e8 931F adc r25,r19 4242 28ea A41F adc r26,r20 4243 28ec B51F adc r27,r21 4244 28ee 8093 0000 sts MittelIntegralNick,r24 4245 28f2 9093 0000 sts (MittelIntegralNick)+1,r25 4246 28f6 A093 0000 sts (MittelIntegralNick)+2,r26 4247 28fa B093 0000 sts (MittelIntegralNick)+3,r27 4248 28fe 8091 0000 lds r24,MittelIntegralRoll 4249 2902 9091 0000 lds r25,(MittelIntegralRoll)+1 4250 2906 A091 0000 lds r26,(MittelIntegralRoll)+2 4251 290a B091 0000 lds r27,(MittelIntegralRoll)+3 4252 290e 2091 0000 lds r18,IntegralRoll 4253 2912 3091 0000 lds r19,(IntegralRoll)+1 4254 2916 4091 0000 lds r20,(IntegralRoll)+2 4255 291a 5091 0000 lds r21,(IntegralRoll)+3 4256 291e 820F add r24,r18 4257 2920 931F adc r25,r19 4258 2922 A41F adc r26,r20 4259 2924 B51F adc r27,r21 4260 2926 8093 0000 sts MittelIntegralRoll,r24 4261 292a 9093 0000 sts (MittelIntegralRoll)+1,r25 4262 292e A093 0000 sts (MittelIntegralRoll)+2,r26 4263 2932 B093 0000 sts (MittelIntegralRoll)+3,r27 4264 2936 8091 0000 lds r24,MittelIntegralNick2 4265 293a 9091 0000 lds r25,(MittelIntegralNick2)+1 4266 293e A091 0000 lds r26,(MittelIntegralNick2)+2 4267 2942 B091 0000 lds r27,(MittelIntegralNick2)+3 4268 2946 2091 0000 lds r18,IntegralNick2 4269 294a 3091 0000 lds r19,(IntegralNick2)+1 4270 294e 4091 0000 lds r20,(IntegralNick2)+2 4271 2952 5091 0000 lds r21,(IntegralNick2)+3 4272 2956 820F add r24,r18 4273 2958 931F adc r25,r19 4274 295a A41F adc r26,r20 4275 295c B51F adc r27,r21 4276 295e 8093 0000 sts MittelIntegralNick2,r24 4277 2962 9093 0000 sts (MittelIntegralNick2)+1,r25 4278 2966 A093 0000 sts (MittelIntegralNick2)+2,r26 4279 296a B093 0000 sts (MittelIntegralNick2)+3,r27 4280 296e 8091 0000 lds r24,MittelIntegralRoll2 4281 2972 9091 0000 lds r25,(MittelIntegralRoll2)+1 4282 2976 A091 0000 lds r26,(MittelIntegralRoll2)+2 4283 297a B091 0000 lds r27,(MittelIntegralRoll2)+3 4284 297e 2091 0000 lds r18,IntegralRoll2 4285 2982 3091 0000 lds r19,(IntegralRoll2)+1 4286 2986 4091 0000 lds r20,(IntegralRoll2)+2 4287 298a 5091 0000 lds r21,(IntegralRoll2)+3 4288 298e 820F add r24,r18 4289 2990 931F adc r25,r19 4290 2992 A41F adc r26,r20 4291 2994 B51F adc r27,r21 4292 2996 8093 0000 sts MittelIntegralRoll2,r24 4293 299a 9093 0000 sts (MittelIntegralRoll2)+1,r25 4294 299e A093 0000 sts (MittelIntegralRoll2)+2,r26 4295 29a2 B093 0000 sts (MittelIntegralRoll2)+3,r27 4296 29a6 3090 0000 lds r3,Looping_Nick 4297 29aa 3320 tst r3 4298 29ac 01F0 breq .+4 4299 29ae 0C94 0000 jmp .L636 4300 29b2 8091 0000 lds r24,Looping_Roll 4301 29b6 8823 tst r24 4302 29b8 01F0 breq .+4 4303 29ba 0C94 0000 jmp .L636 4304 29be 0C94 0000 jmp .L816 4305 .L639: 4306 29c2 F0EE ldi r31,lo8(-32) 4307 29c4 6F16 cp r6,r31 4308 29c6 FFEF ldi r31,hi8(-32) 4309 29c8 7F06 cpc r7,r31 4310 29ca FFEF ldi r31,hlo8(-32) 4311 29cc 8F06 cpc r8,r31 4312 29ce FFEF ldi r31,hhi8(-32) 4313 29d0 9F06 cpc r9,r31 4314 29d2 04F4 brge .L640 4315 29d4 B0EE ldi r27,lo8(-32) 4316 29d6 6B2E mov r6,r27 4317 29d8 BFEF ldi r27,hi8(-32) 4318 29da 7B2E mov r7,r27 4319 29dc BFEF ldi r27,hlo8(-32) 4320 29de 8B2E mov r8,r27 4321 29e0 BFEF ldi r27,hhi8(-32) 4322 29e2 9B2E mov r9,r27 4323 .L640: 4324 29e4 2132 cpi r18,lo8(33) 4325 29e6 3105 cpc r19,__zero_reg__ 4326 29e8 4105 cpc r20,__zero_reg__ 4327 29ea 5105 cpc r21,__zero_reg__ 4328 29ec 04F0 brlt .L642 4329 29ee A0E2 ldi r26,lo8(32) 4330 29f0 AA2E mov r10,r26 4331 29f2 B12C mov r11,__zero_reg__ 4332 29f4 C12C mov r12,__zero_reg__ 4333 29f6 D12C mov r13,__zero_reg__ 4334 29f8 00C0 rjmp .L644 4335 .L642: 4336 29fa 205E subi r18,lo8(-32) 4337 29fc 3F4F sbci r19,hi8(-32) 4338 29fe 4F4F sbci r20,hlo8(-32) 4339 2a00 5F4F sbci r21,hhi8(-32) 4340 2a02 04F4 brge .L644 4341 2a04 F0EE ldi r31,lo8(-32) 4342 2a06 AF2E mov r10,r31 4343 2a08 FFEF ldi r31,hi8(-32) 4344 2a0a BF2E mov r11,r31 4345 2a0c FFEF ldi r31,hlo8(-32) 4346 2a0e CF2E mov r12,r31 4347 2a10 FFEF ldi r31,hhi8(-32) 4348 2a12 DF2E mov r13,r31 4349 .L644: 4350 2a14 8091 0000 lds r24,Mess_IntegralNick 4351 2a18 9091 0000 lds r25,(Mess_IntegralNick)+1 4352 2a1c A091 0000 lds r26,(Mess_IntegralNick)+2 4353 2a20 B091 0000 lds r27,(Mess_IntegralNick)+3 4354 2a24 8619 sub r24,r6 4355 2a26 9709 sbc r25,r7 4356 2a28 A809 sbc r26,r8 4357 2a2a B909 sbc r27,r9 4358 2a2c 8093 0000 sts Mess_IntegralNick,r24 4359 2a30 9093 0000 sts (Mess_IntegralNick)+1,r25 4360 2a34 A093 0000 sts (Mess_IntegralNick)+2,r26 4361 2a38 B093 0000 sts (Mess_IntegralNick)+3,r27 4362 2a3c 8091 0000 lds r24,Mess_IntegralRoll 4363 2a40 9091 0000 lds r25,(Mess_IntegralRoll)+1 4364 2a44 A091 0000 lds r26,(Mess_IntegralRoll)+2 4365 2a48 B091 0000 lds r27,(Mess_IntegralRoll)+3 4366 2a4c 8A19 sub r24,r10 4367 2a4e 9B09 sbc r25,r11 4368 2a50 AC09 sbc r26,r12 4369 2a52 BD09 sbc r27,r13 4370 2a54 8093 0000 sts Mess_IntegralRoll,r24 4371 2a58 9093 0000 sts (Mess_IntegralRoll)+1,r25 4372 2a5c A093 0000 sts (Mess_IntegralRoll)+2,r26 4373 2a60 B093 0000 sts (Mess_IntegralRoll)+3,r27 4374 .L638: 4375 2a64 8091 0000 lds r24,ZaehlMessungen 4376 2a68 9091 0000 lds r25,(ZaehlMessungen)+1 4377 2a6c 8F3F cpi r24,255 4378 2a6e 9105 cpc r25,__zero_reg__ 4379 2a70 01F0 breq .+2 4380 2a72 00F4 brsh .+2 4381 2a74 00C0 rjmp .L646 4382 2a76 3320 tst r3 4383 2a78 01F0 breq .+2 4384 2a7a 00C0 rjmp .L648 4385 2a7c 8091 0000 lds r24,Looping_Roll 4386 2a80 8823 tst r24 4387 2a82 01F0 breq .+2 4388 2a84 00C0 rjmp .L648 4389 2a86 6091 0000 lds r22,MittelIntegralNick 4390 2a8a 7091 0000 lds r23,(MittelIntegralNick)+1 4391 2a8e 8091 0000 lds r24,(MittelIntegralNick)+2 4392 2a92 9091 0000 lds r25,(MittelIntegralNick)+3 4393 2a96 20E0 ldi r18,lo8(256) 4394 2a98 31E0 ldi r19,hi8(256) 4395 2a9a 40E0 ldi r20,hlo8(256) 4396 2a9c 50E0 ldi r21,hhi8(256) 4397 2a9e 0E94 0000 call __divmodsi4 4398 2aa2 2093 0000 sts MittelIntegralNick,r18 4399 2aa6 3093 0000 sts (MittelIntegralNick)+1,r19 4400 2aaa 4093 0000 sts (MittelIntegralNick)+2,r20 4401 2aae 5093 0000 sts (MittelIntegralNick)+3,r21 4402 2ab2 6091 0000 lds r22,MittelIntegralRoll 4403 2ab6 7091 0000 lds r23,(MittelIntegralRoll)+1 4404 2aba 8091 0000 lds r24,(MittelIntegralRoll)+2 4405 2abe 9091 0000 lds r25,(MittelIntegralRoll)+3 4406 2ac2 20E0 ldi r18,lo8(256) 4407 2ac4 31E0 ldi r19,hi8(256) 4408 2ac6 40E0 ldi r20,hlo8(256) 4409 2ac8 50E0 ldi r21,hhi8(256) 4410 2aca 0E94 0000 call __divmodsi4 4411 2ace 2093 0000 sts MittelIntegralRoll,r18 4412 2ad2 3093 0000 sts (MittelIntegralRoll)+1,r19 4413 2ad6 4093 0000 sts (MittelIntegralRoll)+2,r20 4414 2ada 5093 0000 sts (MittelIntegralRoll)+3,r21 4415 2ade E090 0000 lds r14,EE_Parameter+20 4416 2ae2 FF24 clr r15 4417 2ae4 0027 clr r16 4418 2ae6 1127 clr r17 4419 2ae8 2091 0000 lds r18,IntegralAccNick 4420 2aec 3091 0000 lds r19,(IntegralAccNick)+1 4421 2af0 4091 0000 lds r20,(IntegralAccNick)+2 4422 2af4 5091 0000 lds r21,(IntegralAccNick)+3 4423 2af8 C801 movw r24,r16 4424 2afa B701 movw r22,r14 4425 2afc 0E94 0000 call __mulsi3 4426 2b00 20E0 ldi r18,lo8(256) 4427 2b02 31E0 ldi r19,hi8(256) 4428 2b04 40E0 ldi r20,hlo8(256) 4429 2b06 50E0 ldi r21,hhi8(256) 4430 2b08 0E94 0000 call __divmodsi4 4431 2b0c 2093 0000 sts IntegralAccNick,r18 4432 2b10 3093 0000 sts (IntegralAccNick)+1,r19 4433 2b14 4093 0000 sts (IntegralAccNick)+2,r20 4434 2b18 5093 0000 sts (IntegralAccNick)+3,r21 4435 2b1c 2091 0000 lds r18,IntegralAccRoll 4436 2b20 3091 0000 lds r19,(IntegralAccRoll)+1 4437 2b24 4091 0000 lds r20,(IntegralAccRoll)+2 4438 2b28 5091 0000 lds r21,(IntegralAccRoll)+3 4439 2b2c C801 movw r24,r16 4440 2b2e B701 movw r22,r14 4441 2b30 0E94 0000 call __mulsi3 4442 2b34 20E0 ldi r18,lo8(256) 4443 2b36 31E0 ldi r19,hi8(256) 4444 2b38 40E0 ldi r20,hlo8(256) 4445 2b3a 50E0 ldi r21,hhi8(256) 4446 2b3c 0E94 0000 call __divmodsi4 4447 2b40 2093 0000 sts IntegralAccRoll,r18 4448 2b44 3093 0000 sts (IntegralAccRoll)+1,r19 4449 2b48 4093 0000 sts (IntegralAccRoll)+2,r20 4450 2b4c 5093 0000 sts (IntegralAccRoll)+3,r21 4451 2b50 6091 0000 lds r22,IntegralAccZ 4452 2b54 7091 0000 lds r23,(IntegralAccZ)+1 4453 2b58 8091 0000 lds r24,(IntegralAccZ)+2 4454 2b5c 9091 0000 lds r25,(IntegralAccZ)+3 4455 2b60 20E0 ldi r18,lo8(256) 4456 2b62 31E0 ldi r19,hi8(256) 4457 2b64 40E0 ldi r20,hlo8(256) 4458 2b66 50E0 ldi r21,hhi8(256) 4459 2b68 0E94 0000 call __divmodsi4 4460 2b6c 2093 0000 sts IntegralAccZ,r18 4461 2b70 3093 0000 sts (IntegralAccZ)+1,r19 4462 2b74 4093 0000 sts (IntegralAccZ)+2,r20 4463 2b78 5093 0000 sts (IntegralAccZ)+3,r21 4464 2b7c 6091 0000 lds r22,MittelIntegralNick 4465 2b80 7091 0000 lds r23,(MittelIntegralNick)+1 4466 2b84 8091 0000 lds r24,(MittelIntegralNick)+2 4467 2b88 9091 0000 lds r25,(MittelIntegralNick)+3 4468 2b8c 2091 0000 lds r18,IntegralAccNick 4469 2b90 3091 0000 lds r19,(IntegralAccNick)+1 4470 2b94 4091 0000 lds r20,(IntegralAccNick)+2 4471 2b98 5091 0000 lds r21,(IntegralAccNick)+3 4472 2b9c E090 0000 lds r14,EE_Parameter+45 4473 2ba0 FF24 clr r15 4474 2ba2 0027 clr r16 4475 2ba4 1127 clr r17 4476 2ba6 621B sub r22,r18 4477 2ba8 730B sbc r23,r19 4478 2baa 840B sbc r24,r20 4479 2bac 950B sbc r25,r21 4480 2bae A801 movw r20,r16 4481 2bb0 9701 movw r18,r14 4482 2bb2 0E94 0000 call __divmodsi4 4483 2bb6 2093 0000 sts ausgleichNick.2584,r18 4484 2bba 3093 0000 sts (ausgleichNick.2584)+1,r19 4485 2bbe 4093 0000 sts (ausgleichNick.2584)+2,r20 4486 2bc2 5093 0000 sts (ausgleichNick.2584)+3,r21 4487 2bc6 CA01 movw r24,r20 4488 2bc8 B901 movw r22,r18 4489 2bca 20E0 ldi r18,lo8(256) 4490 2bcc 31E0 ldi r19,hi8(256) 4491 2bce 40E0 ldi r20,hlo8(256) 4492 2bd0 50E0 ldi r21,hhi8(256) 4493 2bd2 0E94 0000 call __divmodsi4 4494 2bd6 2901 movw r4,r18 4495 2bd8 3093 0000 sts (LageKorrekturNick)+1,r19 4496 2bdc 2093 0000 sts LageKorrekturNick,r18 4497 2be0 6091 0000 lds r22,MittelIntegralRoll 4498 2be4 7091 0000 lds r23,(MittelIntegralRoll)+1 4499 2be8 8091 0000 lds r24,(MittelIntegralRoll)+2 4500 2bec 9091 0000 lds r25,(MittelIntegralRoll)+3 4501 2bf0 2091 0000 lds r18,IntegralAccRoll 4502 2bf4 3091 0000 lds r19,(IntegralAccRoll)+1 4503 2bf8 4091 0000 lds r20,(IntegralAccRoll)+2 4504 2bfc 5091 0000 lds r21,(IntegralAccRoll)+3 4505 2c00 621B sub r22,r18 4506 2c02 730B sbc r23,r19 4507 2c04 840B sbc r24,r20 4508 2c06 950B sbc r25,r21 4509 2c08 A801 movw r20,r16 4510 2c0a 9701 movw r18,r14 4511 2c0c 0E94 0000 call __divmodsi4 4512 2c10 7901 movw r14,r18 4513 2c12 8A01 movw r16,r20 4514 2c14 CA01 movw r24,r20 4515 2c16 B901 movw r22,r18 4516 2c18 20E0 ldi r18,lo8(256) 4517 2c1a 31E0 ldi r19,hi8(256) 4518 2c1c 40E0 ldi r20,hlo8(256) 4519 2c1e 50E0 ldi r21,hhi8(256) 4520 2c20 0E94 0000 call __divmodsi4 4521 2c24 388F std Y+24,r19 4522 2c26 2F8B std Y+23,r18 4523 2c28 3093 0000 sts (LageKorrekturRoll)+1,r19 4524 2c2c 2093 0000 sts LageKorrekturRoll,r18 4525 2c30 6091 0000 lds r22,MittelIntegralNick2 4526 2c34 7091 0000 lds r23,(MittelIntegralNick2)+1 4527 2c38 8091 0000 lds r24,(MittelIntegralNick2)+2 4528 2c3c 9091 0000 lds r25,(MittelIntegralNick2)+3 4529 2c40 20E0 ldi r18,lo8(256) 4530 2c42 31E0 ldi r19,hi8(256) 4531 2c44 40E0 ldi r20,hlo8(256) 4532 2c46 50E0 ldi r21,hhi8(256) 4533 2c48 0E94 0000 call __divmodsi4 4534 2c4c 2093 0000 sts MittelIntegralNick2,r18 4535 2c50 3093 0000 sts (MittelIntegralNick2)+1,r19 4536 2c54 4093 0000 sts (MittelIntegralNick2)+2,r20 4537 2c58 5093 0000 sts (MittelIntegralNick2)+3,r21 4538 2c5c 6091 0000 lds r22,MittelIntegralRoll2 4539 2c60 7091 0000 lds r23,(MittelIntegralRoll2)+1 4540 2c64 8091 0000 lds r24,(MittelIntegralRoll2)+2 4541 2c68 9091 0000 lds r25,(MittelIntegralRoll2)+3 4542 2c6c 20E0 ldi r18,lo8(256) 4543 2c6e 31E0 ldi r19,hi8(256) 4544 2c70 40E0 ldi r20,hlo8(256) 4545 2c72 50E0 ldi r21,hhi8(256) 4546 2c74 0E94 0000 call __divmodsi4 4547 2c78 2093 0000 sts MittelIntegralRoll2,r18 4548 2c7c 3093 0000 sts (MittelIntegralRoll2)+1,r19 4549 2c80 4093 0000 sts (MittelIntegralRoll2)+2,r20 4550 2c84 5093 0000 sts (MittelIntegralRoll2)+3,r21 4551 2c88 A090 0000 lds r10,IntegralNick2 4552 2c8c B090 0000 lds r11,(IntegralNick2)+1 4553 2c90 C090 0000 lds r12,(IntegralNick2)+2 4554 2c94 D090 0000 lds r13,(IntegralNick2)+3 4555 2c98 8091 0000 lds r24,IntegralNick 4556 2c9c 9091 0000 lds r25,(IntegralNick)+1 4557 2ca0 A091 0000 lds r26,(IntegralNick)+2 4558 2ca4 B091 0000 lds r27,(IntegralNick)+3 4559 2ca8 A81A sub r10,r24 4560 2caa B90A sbc r11,r25 4561 2cac CA0A sbc r12,r26 4562 2cae DB0A sbc r13,r27 4563 2cb0 A092 0000 sts tmp_long.2572,r10 4564 2cb4 B092 0000 sts (tmp_long.2572)+1,r11 4565 2cb8 C092 0000 sts (tmp_long.2572)+2,r12 4566 2cbc D092 0000 sts (tmp_long.2572)+3,r13 4567 2cc0 6090 0000 lds r6,IntegralRoll2 4568 2cc4 7090 0000 lds r7,(IntegralRoll2)+1 4569 2cc8 8090 0000 lds r8,(IntegralRoll2)+2 4570 2ccc 9090 0000 lds r9,(IntegralRoll2)+3 4571 2cd0 8091 0000 lds r24,IntegralRoll 4572 2cd4 9091 0000 lds r25,(IntegralRoll)+1 4573 2cd8 A091 0000 lds r26,(IntegralRoll)+2 4574 2cdc B091 0000 lds r27,(IntegralRoll)+3 4575 2ce0 681A sub r6,r24 4576 2ce2 790A sbc r7,r25 4577 2ce4 8A0A sbc r8,r26 4578 2ce6 9B0A sbc r9,r27 4579 2ce8 6092 0000 sts tmp_long2.2573,r6 4580 2cec 7092 0000 sts (tmp_long2.2573)+1,r7 4581 2cf0 8092 0000 sts (tmp_long2.2573)+2,r8 4582 2cf4 9092 0000 sts (tmp_long2.2573)+3,r9 4583 2cf8 A092 0000 sts IntegralFehlerNick.2574,r10 4584 2cfc B092 0000 sts (IntegralFehlerNick.2574)+1,r11 4585 2d00 C092 0000 sts (IntegralFehlerNick.2574)+2,r12 4586 2d04 D092 0000 sts (IntegralFehlerNick.2574)+3,r13 4587 2d08 6092 0000 sts IntegralFehlerRoll.2575,r6 4588 2d0c 7092 0000 sts (IntegralFehlerRoll.2575)+1,r7 4589 2d10 8092 0000 sts (IntegralFehlerRoll.2575)+2,r8 4590 2d14 9092 0000 sts (IntegralFehlerRoll.2575)+3,r9 4591 2d18 8091 0000 lds r24,Mess_IntegralNick2 4592 2d1c 9091 0000 lds r25,(Mess_IntegralNick2)+1 4593 2d20 A091 0000 lds r26,(Mess_IntegralNick2)+2 4594 2d24 B091 0000 lds r27,(Mess_IntegralNick2)+3 4595 2d28 8A19 sub r24,r10 4596 2d2a 9B09 sbc r25,r11 4597 2d2c AC09 sbc r26,r12 4598 2d2e BD09 sbc r27,r13 4599 2d30 8093 0000 sts Mess_IntegralNick2,r24 4600 2d34 9093 0000 sts (Mess_IntegralNick2)+1,r25 4601 2d38 A093 0000 sts (Mess_IntegralNick2)+2,r26 4602 2d3c B093 0000 sts (Mess_IntegralNick2)+3,r27 4603 2d40 8091 0000 lds r24,Mess_IntegralRoll2 4604 2d44 9091 0000 lds r25,(Mess_IntegralRoll2)+1 4605 2d48 A091 0000 lds r26,(Mess_IntegralRoll2)+2 4606 2d4c B091 0000 lds r27,(Mess_IntegralRoll2)+3 4607 2d50 8619 sub r24,r6 4608 2d52 9709 sbc r25,r7 4609 2d54 A809 sbc r26,r8 4610 2d56 B909 sbc r27,r9 4611 2d58 8093 0000 sts Mess_IntegralRoll2,r24 4612 2d5c 9093 0000 sts (Mess_IntegralRoll2)+1,r25 4613 2d60 A093 0000 sts (Mess_IntegralRoll2)+2,r26 4614 2d64 B093 0000 sts (Mess_IntegralRoll2)+3,r27 4615 2d68 6091 0000 lds r22,IntegralAccNick 4616 2d6c 7091 0000 lds r23,(IntegralAccNick)+1 4617 2d70 8091 0000 lds r24,(IntegralAccNick)+2 4618 2d74 9091 0000 lds r25,(IntegralAccNick)+3 4619 2d78 2AE1 ldi r18,lo8(26) 4620 2d7a 30E0 ldi r19,hi8(26) 4621 2d7c 40E0 ldi r20,hlo8(26) 4622 2d7e 50E0 ldi r21,hhi8(26) 4623 2d80 0E94 0000 call __divmodsi4 4624 2d84 3093 0000 sts (DebugOut+36)+1,r19 4625 2d88 2093 0000 sts DebugOut+36,r18 4626 2d8c 6091 0000 lds r22,IntegralAccRoll 4627 2d90 7091 0000 lds r23,(IntegralAccRoll)+1 4628 2d94 8091 0000 lds r24,(IntegralAccRoll)+2 4629 2d98 9091 0000 lds r25,(IntegralAccRoll)+3 4630 2d9c 2AE1 ldi r18,lo8(26) 4631 2d9e 30E0 ldi r19,hi8(26) 4632 2da0 40E0 ldi r20,hlo8(26) 4633 2da2 50E0 ldi r21,hhi8(26) 4634 2da4 0E94 0000 call __divmodsi4 4635 2da8 3093 0000 sts (DebugOut+38)+1,r19 4636 2dac 2093 0000 sts DebugOut+38,r18 4637 2db0 B092 0000 sts (DebugOut+40)+1,r11 4638 2db4 A092 0000 sts DebugOut+40,r10 4639 2db8 7092 0000 sts (DebugOut+42)+1,r7 4640 2dbc 6092 0000 sts DebugOut+42,r6 4641 2dc0 6091 0000 lds r22,MittelIntegralNick 4642 2dc4 7091 0000 lds r23,(MittelIntegralNick)+1 4643 2dc8 8091 0000 lds r24,(MittelIntegralNick)+2 4644 2dcc 9091 0000 lds r25,(MittelIntegralNick)+3 4645 2dd0 2AE1 ldi r18,lo8(26) 4646 2dd2 30E0 ldi r19,hi8(26) 4647 2dd4 40E0 ldi r20,hlo8(26) 4648 2dd6 50E0 ldi r21,hhi8(26) 4649 2dd8 0E94 0000 call __divmodsi4 4650 2ddc 3093 0000 sts (DebugOut+44)+1,r19 4651 2de0 2093 0000 sts DebugOut+44,r18 4652 2de4 6091 0000 lds r22,MittelIntegralRoll 4653 2de8 7091 0000 lds r23,(MittelIntegralRoll)+1 4654 2dec 8091 0000 lds r24,(MittelIntegralRoll)+2 4655 2df0 9091 0000 lds r25,(MittelIntegralRoll)+3 4656 2df4 2AE1 ldi r18,lo8(26) 4657 2df6 30E0 ldi r19,hi8(26) 4658 2df8 40E0 ldi r20,hlo8(26) 4659 2dfa 50E0 ldi r21,hhi8(26) 4660 2dfc 0E94 0000 call __divmodsi4 4661 2e00 3093 0000 sts (DebugOut+46)+1,r19 4662 2e04 2093 0000 sts DebugOut+46,r18 4663 2e08 F092 0000 sts (DebugOut+60)+1,r15 4664 2e0c E092 0000 sts DebugOut+60,r14 4665 2e10 8F89 ldd r24,Y+23 4666 2e12 988D ldd r25,Y+24 4667 2e14 880F lsl r24 4668 2e16 991F rol r25 4669 2e18 2F89 ldd r18,Y+23 4670 2e1a 388D ldd r19,Y+24 4671 2e1c 73E0 ldi r23,3 4672 2e1e 220F 1: lsl r18 4673 2e20 331F rol r19 4674 2e22 7A95 dec r23 4675 2e24 01F4 brne 1b 4676 2e26 820F add r24,r18 4677 2e28 931F adc r25,r19 4678 2e2a 9093 0000 sts (DebugOut+62)+1,r25 4679 2e2e 8093 0000 sts DebugOut+62,r24 4680 2e32 81E0 ldi r24,lo8(1) 4681 2e34 90E0 ldi r25,hi8(1) 4682 2e36 9093 0000 sts (cnt.2590)+1,r25 4683 2e3a 8093 0000 sts cnt.2590,r24 4684 2e3e 8091 0000 lds r24,MittelIntegralNick 4685 2e42 9091 0000 lds r25,(MittelIntegralNick)+1 4686 2e46 A091 0000 lds r26,(MittelIntegralNick)+2 4687 2e4a B091 0000 lds r27,(MittelIntegralNick)+3 4688 2e4e 2091 0000 lds r18,MittelIntegralNick_Alt.2595 4689 2e52 3091 0000 lds r19,(MittelIntegralNick_Alt.2595)+1 4690 2e56 4091 0000 lds r20,(MittelIntegralNick_Alt.2595)+2 4691 2e5a 5091 0000 lds r21,(MittelIntegralNick_Alt.2595)+3 4692 2e5e 281B sub r18,r24 4693 2e60 390B sbc r19,r25 4694 2e62 4A0B sbc r20,r26 4695 2e64 5B0B sbc r21,r27 4696 2e66 57FF sbrs r21,7 4697 2e68 00C0 rjmp .L652 4698 2e6a 5095 com r21 4699 2e6c 4095 com r20 4700 2e6e 3095 com r19 4701 2e70 2195 neg r18 4702 2e72 3F4F sbci r19,lo8(-1) 4703 2e74 4F4F sbci r20,lo8(-1) 4704 2e76 5F4F sbci r21,lo8(-1) 4705 .L652: 4706 2e78 2052 subi r18,lo8(20000) 4707 2e7a 3E44 sbci r19,hi8(20000) 4708 2e7c 4040 sbci r20,hlo8(20000) 4709 2e7e 5040 sbci r21,hhi8(20000) 4710 2e80 04F0 brlt .+2 4711 2e82 00C0 rjmp .L651 4712 2e84 81E0 ldi r24,lo8(4097) 4713 2e86 A816 cp r10,r24 4714 2e88 80E1 ldi r24,hi8(4097) 4715 2e8a B806 cpc r11,r24 4716 2e8c 80E0 ldi r24,hlo8(4097) 4717 2e8e C806 cpc r12,r24 4718 2e90 80E0 ldi r24,hhi8(4097) 4719 2e92 D806 cpc r13,r24 4720 2e94 04F4 brge .+2 4721 2e96 00C0 rjmp .L654 4722 2e98 8091 0000 lds r24,last_n_p.2591 4723 2e9c 8823 tst r24 4724 2e9e 01F4 brne .+2 4725 2ea0 00C0 rjmp .L656 4726 2ea2 D601 movw r26,r12 4727 2ea4 C501 movw r24,r10 4728 2ea6 6CE0 ldi r22,12 4729 2ea8 B595 1: asr r27 4730 2eaa A795 ror r26 4731 2eac 9795 ror r25 4732 2eae 8795 ror r24 4733 2eb0 6A95 dec r22 4734 2eb2 01F4 brne 1b 4735 2eb4 0196 adiw r24,1 4736 2eb6 9093 0000 sts (cnt.2590)+1,r25 4737 2eba 8093 0000 sts cnt.2590,r24 4738 2ebe D601 movw r26,r12 4739 2ec0 C501 movw r24,r10 4740 2ec2 53E0 ldi r21,3 4741 2ec4 B595 1: asr r27 4742 2ec6 A795 ror r26 4743 2ec8 9795 ror r25 4744 2eca 8795 ror r24 4745 2ecc 5A95 dec r21 4746 2ece 01F4 brne 1b 4747 2ed0 8093 0000 sts ausgleichNick.2584,r24 4748 2ed4 9093 0000 sts (ausgleichNick.2584)+1,r25 4749 2ed8 A093 0000 sts (ausgleichNick.2584)+2,r26 4750 2edc B093 0000 sts (ausgleichNick.2584)+3,r27 4751 2ee0 8958 subi r24,lo8(5001) 4752 2ee2 9341 sbci r25,hi8(5001) 4753 2ee4 A040 sbci r26,hlo8(5001) 4754 2ee6 B040 sbci r27,hhi8(5001) 4755 2ee8 04F0 brlt .L658 4756 2eea 88E8 ldi r24,lo8(5000) 4757 2eec 93E1 ldi r25,hi8(5000) 4758 2eee A0E0 ldi r26,hlo8(5000) 4759 2ef0 B0E0 ldi r27,hhi8(5000) 4760 2ef2 8093 0000 sts ausgleichNick.2584,r24 4761 2ef6 9093 0000 sts (ausgleichNick.2584)+1,r25 4762 2efa A093 0000 sts (ausgleichNick.2584)+2,r26 4763 2efe B093 0000 sts (ausgleichNick.2584)+3,r27 4764 .L658: 4765 2f02 6091 0000 lds r22,ausgleichNick.2584 4766 2f06 7091 0000 lds r23,(ausgleichNick.2584)+1 4767 2f0a 8091 0000 lds r24,(ausgleichNick.2584)+2 4768 2f0e 9091 0000 lds r25,(ausgleichNick.2584)+3 4769 2f12 20E0 ldi r18,lo8(256) 4770 2f14 31E0 ldi r19,hi8(256) 4771 2f16 40E0 ldi r20,hlo8(256) 4772 2f18 50E0 ldi r21,hhi8(256) 4773 2f1a 0E94 0000 call __divmodsi4 4774 2f1e 420E add r4,r18 4775 2f20 531E adc r5,r19 4776 2f22 5092 0000 sts (LageKorrekturNick)+1,r5 4777 2f26 4092 0000 sts LageKorrekturNick,r4 4778 2f2a 00C0 rjmp .L660 4779 .L656: 4780 2f2c 81E0 ldi r24,lo8(1) 4781 2f2e 8093 0000 sts last_n_p.2591,r24 4782 2f32 00C0 rjmp .L660 4783 .L654: 4784 2f34 1092 0000 sts last_n_p.2591,__zero_reg__ 4785 2f38 F0E0 ldi r31,lo8(-4096) 4786 2f3a AF16 cp r10,r31 4787 2f3c F0EF ldi r31,hi8(-4096) 4788 2f3e BF06 cpc r11,r31 4789 2f40 FFEF ldi r31,hlo8(-4096) 4790 2f42 CF06 cpc r12,r31 4791 2f44 FFEF ldi r31,hhi8(-4096) 4792 2f46 DF06 cpc r13,r31 4793 2f48 04F0 brlt .+2 4794 2f4a 00C0 rjmp .L660 4795 2f4c 8091 0000 lds r24,last_n_n.2592 4796 2f50 8823 tst r24 4797 2f52 01F4 brne .+2 4798 2f54 00C0 rjmp .L662 4799 2f56 8827 clr r24 4800 2f58 9927 clr r25 4801 2f5a DC01 movw r26,r24 4802 2f5c 8A19 sub r24,r10 4803 2f5e 9B09 sbc r25,r11 4804 2f60 AC09 sbc r26,r12 4805 2f62 BD09 sbc r27,r13 4806 2f64 4CE0 ldi r20,12 4807 2f66 B595 1: asr r27 4808 2f68 A795 ror r26 4809 2f6a 9795 ror r25 4810 2f6c 8795 ror r24 4811 2f6e 4A95 dec r20 4812 2f70 01F4 brne 1b 4813 2f72 0196 adiw r24,1 4814 2f74 9093 0000 sts (cnt.2590)+1,r25 4815 2f78 8093 0000 sts cnt.2590,r24 4816 2f7c C601 movw r24,r12 4817 2f7e B501 movw r22,r10 4818 2f80 28E0 ldi r18,lo8(8) 4819 2f82 30E0 ldi r19,hi8(8) 4820 2f84 40E0 ldi r20,hlo8(8) 4821 2f86 50E0 ldi r21,hhi8(8) 4822 2f88 0E94 0000 call __divmodsi4 4823 2f8c 2093 0000 sts ausgleichNick.2584,r18 4824 2f90 3093 0000 sts (ausgleichNick.2584)+1,r19 4825 2f94 4093 0000 sts (ausgleichNick.2584)+2,r20 4826 2f98 5093 0000 sts (ausgleichNick.2584)+3,r21 4827 2f9c 2857 subi r18,lo8(-5000) 4828 2f9e 3C4E sbci r19,hi8(-5000) 4829 2fa0 4F4F sbci r20,hlo8(-5000) 4830 2fa2 5F4F sbci r21,hhi8(-5000) 4831 2fa4 04F4 brge .L664 4832 2fa6 88E7 ldi r24,lo8(-5000) 4833 2fa8 9CEE ldi r25,hi8(-5000) 4834 2faa AFEF ldi r26,hlo8(-5000) 4835 2fac BFEF ldi r27,hhi8(-5000) 4836 2fae 8093 0000 sts ausgleichNick.2584,r24 4837 2fb2 9093 0000 sts (ausgleichNick.2584)+1,r25 4838 2fb6 A093 0000 sts (ausgleichNick.2584)+2,r26 4839 2fba B093 0000 sts (ausgleichNick.2584)+3,r27 4840 .L664: 4841 2fbe 6091 0000 lds r22,ausgleichNick.2584 4842 2fc2 7091 0000 lds r23,(ausgleichNick.2584)+1 4843 2fc6 8091 0000 lds r24,(ausgleichNick.2584)+2 4844 2fca 9091 0000 lds r25,(ausgleichNick.2584)+3 4845 2fce 20E0 ldi r18,lo8(256) 4846 2fd0 31E0 ldi r19,hi8(256) 4847 2fd2 40E0 ldi r20,hlo8(256) 4848 2fd4 50E0 ldi r21,hhi8(256) 4849 2fd6 0E94 0000 call __divmodsi4 4850 2fda 420E add r4,r18 4851 2fdc 531E adc r5,r19 4852 2fde 5092 0000 sts (LageKorrekturNick)+1,r5 4853 2fe2 4092 0000 sts LageKorrekturNick,r4 4854 2fe6 00C0 rjmp .L666 4855 .L662: 4856 2fe8 81E0 ldi r24,lo8(1) 4857 2fea 8093 0000 sts last_n_n.2592,r24 4858 2fee 00C0 rjmp .L666 4859 .L660: 4860 2ff0 1092 0000 sts last_n_n.2592,__zero_reg__ 4861 2ff4 00C0 rjmp .L666 4862 .L651: 4863 2ff6 1092 0000 sts (cnt.2590)+1,__zero_reg__ 4864 2ffa 1092 0000 sts cnt.2590,__zero_reg__ 4865 .L666: 4866 2ffe 8091 0000 lds r24,EE_Parameter+46 4867 3002 082F mov r16,r24 4868 3004 1127 clr r17 4869 3006 8091 0000 lds r24,cnt.2590 4870 300a 9091 0000 lds r25,(cnt.2590)+1 4871 300e 0817 cp r16,r24 4872 3010 1907 cpc r17,r25 4873 3012 04F4 brge .L667 4874 3014 1093 0000 sts (cnt.2590)+1,r17 4875 3018 0093 0000 sts cnt.2590,r16 4876 .L667: 4877 301c 71E0 ldi r23,lo8(1025) 4878 301e A716 cp r10,r23 4879 3020 74E0 ldi r23,hi8(1025) 4880 3022 B706 cpc r11,r23 4881 3024 70E0 ldi r23,hlo8(1025) 4882 3026 C706 cpc r12,r23 4883 3028 70E0 ldi r23,hhi8(1025) 4884 302a D706 cpc r13,r23 4885 302c 04F0 brlt .L669 4886 302e 8091 0000 lds r24,AdNeutralNick 4887 3032 9091 0000 lds r25,(AdNeutralNick)+1 4888 3036 2091 0000 lds r18,cnt.2590 4889 303a 3091 0000 lds r19,(cnt.2590)+1 4890 303e 820F add r24,r18 4891 3040 931F adc r25,r19 4892 3042 00C0 rjmp .L822 4893 .L669: 4894 3044 80E0 ldi r24,lo8(-1024) 4895 3046 A816 cp r10,r24 4896 3048 8CEF ldi r24,hi8(-1024) 4897 304a B806 cpc r11,r24 4898 304c 8FEF ldi r24,hlo8(-1024) 4899 304e C806 cpc r12,r24 4900 3050 8FEF ldi r24,hhi8(-1024) 4901 3052 D806 cpc r13,r24 4902 3054 04F4 brge .L671 4903 3056 8091 0000 lds r24,AdNeutralNick 4904 305a 9091 0000 lds r25,(AdNeutralNick)+1 4905 305e 2091 0000 lds r18,cnt.2590 4906 3062 3091 0000 lds r19,(cnt.2590)+1 4907 3066 821B sub r24,r18 4908 3068 930B sbc r25,r19 4909 .L822: 4910 306a 9093 0000 sts (AdNeutralNick)+1,r25 4911 306e 8093 0000 sts AdNeutralNick,r24 4912 .L671: 4913 3072 81E0 ldi r24,lo8(1) 4914 3074 90E0 ldi r25,hi8(1) 4915 3076 9093 0000 sts (cnt.2590)+1,r25 4916 307a 8093 0000 sts cnt.2590,r24 4917 307e 1092 0000 sts ausgleichRoll.2585,__zero_reg__ 4918 3082 1092 0000 sts (ausgleichRoll.2585)+1,__zero_reg__ 4919 3086 1092 0000 sts (ausgleichRoll.2585)+2,__zero_reg__ 4920 308a 1092 0000 sts (ausgleichRoll.2585)+3,__zero_reg__ 4921 308e 8091 0000 lds r24,MittelIntegralRoll 4922 3092 9091 0000 lds r25,(MittelIntegralRoll)+1 4923 3096 A091 0000 lds r26,(MittelIntegralRoll)+2 4924 309a B091 0000 lds r27,(MittelIntegralRoll)+3 4925 309e 2091 0000 lds r18,MittelIntegralRoll_Alt.2596 4926 30a2 3091 0000 lds r19,(MittelIntegralRoll_Alt.2596)+1 4927 30a6 4091 0000 lds r20,(MittelIntegralRoll_Alt.2596)+2 4928 30aa 5091 0000 lds r21,(MittelIntegralRoll_Alt.2596)+3 4929 30ae 281B sub r18,r24 4930 30b0 390B sbc r19,r25 4931 30b2 4A0B sbc r20,r26 4932 30b4 5B0B sbc r21,r27 4933 30b6 57FF sbrs r21,7 4934 30b8 00C0 rjmp .L674 4935 30ba 5095 com r21 4936 30bc 4095 com r20 4937 30be 3095 com r19 4938 30c0 2195 neg r18 4939 30c2 3F4F sbci r19,lo8(-1) 4940 30c4 4F4F sbci r20,lo8(-1) 4941 30c6 5F4F sbci r21,lo8(-1) 4942 .L674: 4943 30c8 2052 subi r18,lo8(20000) 4944 30ca 3E44 sbci r19,hi8(20000) 4945 30cc 4040 sbci r20,hlo8(20000) 4946 30ce 5040 sbci r21,hhi8(20000) 4947 30d0 04F0 brlt .+2 4948 30d2 00C0 rjmp .L673 4949 30d4 A1E0 ldi r26,lo8(4097) 4950 30d6 6A16 cp r6,r26 4951 30d8 A0E1 ldi r26,hi8(4097) 4952 30da 7A06 cpc r7,r26 4953 30dc A0E0 ldi r26,hlo8(4097) 4954 30de 8A06 cpc r8,r26 4955 30e0 A0E0 ldi r26,hhi8(4097) 4956 30e2 9A06 cpc r9,r26 4957 30e4 04F4 brge .+2 4958 30e6 00C0 rjmp .L676 4959 30e8 8091 0000 lds r24,last_r_p.2593 4960 30ec 8823 tst r24 4961 30ee 01F4 brne .+2 4962 30f0 00C0 rjmp .L678 4963 30f2 D401 movw r26,r8 4964 30f4 C301 movw r24,r6 4965 30f6 3CE0 ldi r19,12 4966 30f8 B595 1: asr r27 4967 30fa A795 ror r26 4968 30fc 9795 ror r25 4969 30fe 8795 ror r24 4970 3100 3A95 dec r19 4971 3102 01F4 brne 1b 4972 3104 0196 adiw r24,1 4973 3106 9093 0000 sts (cnt.2590)+1,r25 4974 310a 8093 0000 sts cnt.2590,r24 4975 310e D401 movw r26,r8 4976 3110 C301 movw r24,r6 4977 3112 23E0 ldi r18,3 4978 3114 B595 1: asr r27 4979 3116 A795 ror r26 4980 3118 9795 ror r25 4981 311a 8795 ror r24 4982 311c 2A95 dec r18 4983 311e 01F4 brne 1b 4984 3120 8093 0000 sts ausgleichRoll.2585,r24 4985 3124 9093 0000 sts (ausgleichRoll.2585)+1,r25 4986 3128 A093 0000 sts (ausgleichRoll.2585)+2,r26 4987 312c B093 0000 sts (ausgleichRoll.2585)+3,r27 4988 3130 8958 subi r24,lo8(5001) 4989 3132 9341 sbci r25,hi8(5001) 4990 3134 A040 sbci r26,hlo8(5001) 4991 3136 B040 sbci r27,hhi8(5001) 4992 3138 04F0 brlt .L680 4993 313a 88E8 ldi r24,lo8(5000) 4994 313c 93E1 ldi r25,hi8(5000) 4995 313e A0E0 ldi r26,hlo8(5000) 4996 3140 B0E0 ldi r27,hhi8(5000) 4997 3142 8093 0000 sts ausgleichRoll.2585,r24 4998 3146 9093 0000 sts (ausgleichRoll.2585)+1,r25 4999 314a A093 0000 sts (ausgleichRoll.2585)+2,r26 5000 314e B093 0000 sts (ausgleichRoll.2585)+3,r27 5001 .L680: 5002 3152 6091 0000 lds r22,ausgleichRoll.2585 5003 3156 7091 0000 lds r23,(ausgleichRoll.2585)+1 5004 315a 8091 0000 lds r24,(ausgleichRoll.2585)+2 5005 315e 9091 0000 lds r25,(ausgleichRoll.2585)+3 5006 3162 20E0 ldi r18,lo8(256) 5007 3164 31E0 ldi r19,hi8(256) 5008 3166 40E0 ldi r20,hlo8(256) 5009 3168 50E0 ldi r21,hhi8(256) 5010 316a 0E94 0000 call __divmodsi4 5011 316e 6F89 ldd r22,Y+23 5012 3170 788D ldd r23,Y+24 5013 3172 620F add r22,r18 5014 3174 731F adc r23,r19 5015 3176 7093 0000 sts (LageKorrekturRoll)+1,r23 5016 317a 6093 0000 sts LageKorrekturRoll,r22 5017 317e 00C0 rjmp .L682 5018 .L678: 5019 3180 81E0 ldi r24,lo8(1) 5020 3182 8093 0000 sts last_r_p.2593,r24 5021 3186 00C0 rjmp .L682 5022 .L676: 5023 3188 1092 0000 sts last_r_p.2593,__zero_reg__ 5024 318c 70E0 ldi r23,lo8(-4096) 5025 318e 6716 cp r6,r23 5026 3190 70EF ldi r23,hi8(-4096) 5027 3192 7706 cpc r7,r23 5028 3194 7FEF ldi r23,hlo8(-4096) 5029 3196 8706 cpc r8,r23 5030 3198 7FEF ldi r23,hhi8(-4096) 5031 319a 9706 cpc r9,r23 5032 319c 04F0 brlt .+2 5033 319e 00C0 rjmp .L682 5034 31a0 8091 0000 lds r24,last_r_n.2594 5035 31a4 8823 tst r24 5036 31a6 01F4 brne .+2 5037 31a8 00C0 rjmp .L684 5038 31aa 8827 clr r24 5039 31ac 9927 clr r25 5040 31ae DC01 movw r26,r24 5041 31b0 8619 sub r24,r6 5042 31b2 9709 sbc r25,r7 5043 31b4 A809 sbc r26,r8 5044 31b6 B909 sbc r27,r9 5045 31b8 FCE0 ldi r31,12 5046 31ba B595 1: asr r27 5047 31bc A795 ror r26 5048 31be 9795 ror r25 5049 31c0 8795 ror r24 5050 31c2 FA95 dec r31 5051 31c4 01F4 brne 1b 5052 31c6 0196 adiw r24,1 5053 31c8 9093 0000 sts (cnt.2590)+1,r25 5054 31cc 8093 0000 sts cnt.2590,r24 5055 31d0 C401 movw r24,r8 5056 31d2 B301 movw r22,r6 5057 31d4 28E0 ldi r18,lo8(8) 5058 31d6 30E0 ldi r19,hi8(8) 5059 31d8 40E0 ldi r20,hlo8(8) 5060 31da 50E0 ldi r21,hhi8(8) 5061 31dc 0E94 0000 call __divmodsi4 5062 31e0 2093 0000 sts ausgleichRoll.2585,r18 5063 31e4 3093 0000 sts (ausgleichRoll.2585)+1,r19 5064 31e8 4093 0000 sts (ausgleichRoll.2585)+2,r20 5065 31ec 5093 0000 sts (ausgleichRoll.2585)+3,r21 5066 31f0 2857 subi r18,lo8(-5000) 5067 31f2 3C4E sbci r19,hi8(-5000) 5068 31f4 4F4F sbci r20,hlo8(-5000) 5069 31f6 5F4F sbci r21,hhi8(-5000) 5070 31f8 04F4 brge .L686 5071 31fa 88E7 ldi r24,lo8(-5000) 5072 31fc 9CEE ldi r25,hi8(-5000) 5073 31fe AFEF ldi r26,hlo8(-5000) 5074 3200 BFEF ldi r27,hhi8(-5000) 5075 3202 8093 0000 sts ausgleichRoll.2585,r24 5076 3206 9093 0000 sts (ausgleichRoll.2585)+1,r25 5077 320a A093 0000 sts (ausgleichRoll.2585)+2,r26 5078 320e B093 0000 sts (ausgleichRoll.2585)+3,r27 5079 .L686: 5080 3212 6091 0000 lds r22,ausgleichRoll.2585 5081 3216 7091 0000 lds r23,(ausgleichRoll.2585)+1 5082 321a 8091 0000 lds r24,(ausgleichRoll.2585)+2 5083 321e 9091 0000 lds r25,(ausgleichRoll.2585)+3 5084 3222 20E0 ldi r18,lo8(256) 5085 3224 31E0 ldi r19,hi8(256) 5086 3226 40E0 ldi r20,hlo8(256) 5087 3228 50E0 ldi r21,hhi8(256) 5088 322a 0E94 0000 call __divmodsi4 5089 322e AF89 ldd r26,Y+23 5090 3230 B88D ldd r27,Y+24 5091 3232 A20F add r26,r18 5092 3234 B31F adc r27,r19 5093 3236 B093 0000 sts (LageKorrekturRoll)+1,r27 5094 323a A093 0000 sts LageKorrekturRoll,r26 5095 323e 00C0 rjmp .L688 5096 .L684: 5097 3240 81E0 ldi r24,lo8(1) 5098 3242 8093 0000 sts last_r_n.2594,r24 5099 3246 00C0 rjmp .L688 5100 .L682: 5101 3248 1092 0000 sts last_r_n.2594,__zero_reg__ 5102 324c 00C0 rjmp .L688 5103 .L673: 5104 324e 1092 0000 sts (cnt.2590)+1,__zero_reg__ 5105 3252 1092 0000 sts cnt.2590,__zero_reg__ 5106 .L688: 5107 3256 8091 0000 lds r24,ausgleichRoll.2585 5108 325a 9091 0000 lds r25,(ausgleichRoll.2585)+1 5109 325e 9093 0000 sts (DebugOut+56)+1,r25 5110 3262 8093 0000 sts DebugOut+56,r24 5111 3266 8091 0000 lds r24,cnt.2590 5112 326a 9091 0000 lds r25,(cnt.2590)+1 5113 326e 0817 cp r16,r24 5114 3270 1907 cpc r17,r25 5115 3272 04F4 brge .L689 5116 3274 1093 0000 sts (cnt.2590)+1,r17 5117 3278 0093 0000 sts cnt.2590,r16 5118 .L689: 5119 327c B1E0 ldi r27,lo8(1025) 5120 327e 6B16 cp r6,r27 5121 3280 B4E0 ldi r27,hi8(1025) 5122 3282 7B06 cpc r7,r27 5123 3284 B0E0 ldi r27,hlo8(1025) 5124 3286 8B06 cpc r8,r27 5125 3288 B0E0 ldi r27,hhi8(1025) 5126 328a 9B06 cpc r9,r27 5127 328c 04F0 brlt .L691 5128 328e 8091 0000 lds r24,AdNeutralRoll 5129 3292 9091 0000 lds r25,(AdNeutralRoll)+1 5130 3296 2091 0000 lds r18,cnt.2590 5131 329a 3091 0000 lds r19,(cnt.2590)+1 5132 329e 820F add r24,r18 5133 32a0 931F adc r25,r19 5134 32a2 00C0 rjmp .L823 5135 .L691: 5136 32a4 E0E0 ldi r30,lo8(-1024) 5137 32a6 6E16 cp r6,r30 5138 32a8 ECEF ldi r30,hi8(-1024) 5139 32aa 7E06 cpc r7,r30 5140 32ac EFEF ldi r30,hlo8(-1024) 5141 32ae 8E06 cpc r8,r30 5142 32b0 EFEF ldi r30,hhi8(-1024) 5143 32b2 9E06 cpc r9,r30 5144 32b4 04F4 brge .L693 5145 32b6 8091 0000 lds r24,AdNeutralRoll 5146 32ba 9091 0000 lds r25,(AdNeutralRoll)+1 5147 32be 2091 0000 lds r18,cnt.2590 5148 32c2 3091 0000 lds r19,(cnt.2590)+1 5149 32c6 821B sub r24,r18 5150 32c8 930B sbc r25,r19 5151 .L823: 5152 32ca 9093 0000 sts (AdNeutralRoll)+1,r25 5153 32ce 8093 0000 sts AdNeutralRoll,r24 5154 .L693: 5155 32d2 8091 0000 lds r24,AdNeutralNick 5156 32d6 9091 0000 lds r25,(AdNeutralNick)+1 5157 32da 9093 0000 sts (DebugOut+48)+1,r25 5158 32de 8093 0000 sts DebugOut+48,r24 5159 32e2 8091 0000 lds r24,AdNeutralRoll 5160 32e6 9091 0000 lds r25,(AdNeutralRoll)+1 5161 32ea 2091 0000 lds r18,StartNeutralRoll 5162 32ee 3091 0000 lds r19,(StartNeutralRoll)+1 5163 32f2 821B sub r24,r18 5164 32f4 930B sbc r25,r19 5165 32f6 9C01 movw r18,r24 5166 32f8 E3E0 ldi r30,3 5167 32fa 220F 1: lsl r18 5168 32fc 331F rol r19 5169 32fe EA95 dec r30 5170 3300 01F4 brne 1b 5171 3302 880F lsl r24 5172 3304 991F rol r25 5173 3306 820F add r24,r18 5174 3308 931F adc r25,r19 5175 330a 9093 0000 sts (DebugOut+50)+1,r25 5176 330e 8093 0000 sts DebugOut+50,r24 5177 3312 00C0 rjmp .L695 5178 .L648: 5179 3314 1092 0000 sts (LageKorrekturRoll)+1,__zero_reg__ 5180 3318 1092 0000 sts LageKorrekturRoll,__zero_reg__ 5181 331c 1092 0000 sts (LageKorrekturNick)+1,__zero_reg__ 5182 3320 1092 0000 sts LageKorrekturNick,__zero_reg__ 5183 .L695: 5184 3324 20E0 ldi r18,lo8(0x0) 5185 3326 30E0 ldi r19,hi8(0x0) 5186 3328 40E0 ldi r20,hlo8(0x0) 5187 332a 50E0 ldi r21,hhi8(0x0) 5188 332c 6091 0000 lds r22,IntegralFaktor 5189 3330 7091 0000 lds r23,(IntegralFaktor)+1 5190 3334 8091 0000 lds r24,(IntegralFaktor)+2 5191 3338 9091 0000 lds r25,(IntegralFaktor)+3 5192 333c 0E94 0000 call __nesf2 5193 3340 8823 tst r24 5194 3342 01F4 brne .L696 5195 3344 1092 0000 sts (LageKorrekturRoll)+1,__zero_reg__ 5196 3348 1092 0000 sts LageKorrekturRoll,__zero_reg__ 5197 334c 1092 0000 sts (LageKorrekturNick)+1,__zero_reg__ 5198 3350 1092 0000 sts LageKorrekturNick,__zero_reg__ 5199 .L696: 5200 3354 8091 0000 lds r24,MittelIntegralNick 5201 3358 9091 0000 lds r25,(MittelIntegralNick)+1 5202 335c A091 0000 lds r26,(MittelIntegralNick)+2 5203 3360 B091 0000 lds r27,(MittelIntegralNick)+3 5204 3364 8093 0000 sts MittelIntegralNick_Alt.2595,r24 5205 3368 9093 0000 sts (MittelIntegralNick_Alt.2595)+1,r25 5206 336c A093 0000 sts (MittelIntegralNick_Alt.2595)+2,r26 5207 3370 B093 0000 sts (MittelIntegralNick_Alt.2595)+3,r27 5208 3374 8091 0000 lds r24,MittelIntegralRoll 5209 3378 9091 0000 lds r25,(MittelIntegralRoll)+1 5210 337c A091 0000 lds r26,(MittelIntegralRoll)+2 5211 3380 B091 0000 lds r27,(MittelIntegralRoll)+3 5212 3384 8093 0000 sts MittelIntegralRoll_Alt.2596,r24 5213 3388 9093 0000 sts (MittelIntegralRoll_Alt.2596)+1,r25 5214 338c A093 0000 sts (MittelIntegralRoll_Alt.2596)+2,r26 5215 3390 B093 0000 sts (MittelIntegralRoll_Alt.2596)+3,r27 5216 3394 1092 0000 sts IntegralAccNick,__zero_reg__ 5217 3398 1092 0000 sts (IntegralAccNick)+1,__zero_reg__ 5218 339c 1092 0000 sts (IntegralAccNick)+2,__zero_reg__ 5219 33a0 1092 0000 sts (IntegralAccNick)+3,__zero_reg__ 5220 33a4 1092 0000 sts IntegralAccRoll,__zero_reg__ 5221 33a8 1092 0000 sts (IntegralAccRoll)+1,__zero_reg__ 5222 33ac 1092 0000 sts (IntegralAccRoll)+2,__zero_reg__ 5223 33b0 1092 0000 sts (IntegralAccRoll)+3,__zero_reg__ 5224 33b4 1092 0000 sts IntegralAccZ,__zero_reg__ 5225 33b8 1092 0000 sts (IntegralAccZ)+1,__zero_reg__ 5226 33bc 1092 0000 sts (IntegralAccZ)+2,__zero_reg__ 5227 33c0 1092 0000 sts (IntegralAccZ)+3,__zero_reg__ 5228 33c4 1092 0000 sts MittelIntegralNick,__zero_reg__ 5229 33c8 1092 0000 sts (MittelIntegralNick)+1,__zero_reg__ 5230 33cc 1092 0000 sts (MittelIntegralNick)+2,__zero_reg__ 5231 33d0 1092 0000 sts (MittelIntegralNick)+3,__zero_reg__ 5232 33d4 1092 0000 sts MittelIntegralRoll,__zero_reg__ 5233 33d8 1092 0000 sts (MittelIntegralRoll)+1,__zero_reg__ 5234 33dc 1092 0000 sts (MittelIntegralRoll)+2,__zero_reg__ 5235 33e0 1092 0000 sts (MittelIntegralRoll)+3,__zero_reg__ 5236 33e4 1092 0000 sts MittelIntegralNick2,__zero_reg__ 5237 33e8 1092 0000 sts (MittelIntegralNick2)+1,__zero_reg__ 5238 33ec 1092 0000 sts (MittelIntegralNick2)+2,__zero_reg__ 5239 33f0 1092 0000 sts (MittelIntegralNick2)+3,__zero_reg__ 5240 33f4 1092 0000 sts MittelIntegralRoll2,__zero_reg__ 5241 33f8 1092 0000 sts (MittelIntegralRoll2)+1,__zero_reg__ 5242 33fc 1092 0000 sts (MittelIntegralRoll2)+2,__zero_reg__ 5243 3400 1092 0000 sts (MittelIntegralRoll2)+3,__zero_reg__ 5244 3404 1092 0000 sts (ZaehlMessungen)+1,__zero_reg__ 5245 3408 1092 0000 sts ZaehlMessungen,__zero_reg__ 5246 .L646: 5247 340c 8090 0000 lds r8,StickGier 5248 3410 9090 0000 lds r9,(StickGier)+1 5249 3414 5401 movw r10,r8 5250 3416 97FE sbrs r9,7 5251 3418 00C0 rjmp .L698 5252 341a AA24 clr r10 5253 341c BB24 clr r11 5254 341e A818 sub r10,r8 5255 3420 B908 sbc r11,r9 5256 .L698: 5257 3422 F5E1 ldi r31,lo8(21) 5258 3424 AF16 cp r10,r31 5259 3426 B104 cpc r11,__zero_reg__ 5260 3428 04F0 brlt .L699 5261 342a 8091 0000 lds r24,EE_Parameter+8 5262 342e 84FD sbrc r24,4 5263 3430 00C0 rjmp .L699 5264 3432 81E0 ldi r24,lo8(1) 5265 3434 8093 0000 sts NeueKompassRichtungMerken.2583,r24 5266 .L699: 5267 3438 E090 0000 lds r14,EE_Parameter+17 5268 343c CC24 clr r12 5269 343e B7FC sbrc r11,7 5270 3440 C094 com r12 5271 3442 DC2C mov r13,r12 5272 3444 B401 movw r22,r8 5273 3446 8827 clr r24 5274 3448 77FD sbrc r23,7 5275 344a 8095 com r24 5276 344c 982F mov r25,r24 5277 344e 2E2D mov r18,r14 5278 3450 3327 clr r19 5279 3452 4427 clr r20 5280 3454 5527 clr r21 5281 3456 0E94 0000 call __mulsi3 5282 345a 9B01 movw r18,r22 5283 345c AC01 movw r20,r24 5284 345e C601 movw r24,r12 5285 3460 B501 movw r22,r10 5286 3462 0E94 0000 call __mulsi3 5287 3466 20E0 ldi r18,lo8(512) 5288 3468 32E0 ldi r19,hi8(512) 5289 346a 40E0 ldi r20,hlo8(512) 5290 346c 50E0 ldi r21,hhi8(512) 5291 346e 0E94 0000 call __divmodsi4 5292 3472 8901 movw r16,r18 5293 3474 9A01 movw r18,r20 5294 3476 FF24 clr r15 5295 3478 E89C mul r14,r8 5296 347a C001 movw r24,r0 5297 347c E99C mul r14,r9 5298 347e 900D add r25,r0 5299 3480 F89C mul r15,r8 5300 3482 900D add r25,r0 5301 3484 1124 clr r1 5302 3486 64E0 ldi r22,lo8(4) 5303 3488 70E0 ldi r23,hi8(4) 5304 348a 0E94 0000 call __divmodhi4 5305 348e 600F add r22,r16 5306 3490 711F adc r23,r17 5307 3492 3B01 movw r6,r22 5308 3494 8824 clr r8 5309 3496 77FC sbrc r7,7 5310 3498 8094 com r8 5311 349a 982C mov r9,r8 5312 349c 6092 0000 sts sollGier.2571,r6 5313 34a0 7092 0000 sts (sollGier.2571)+1,r7 5314 34a4 8092 0000 sts (sollGier.2571)+2,r8 5315 34a8 9092 0000 sts (sollGier.2571)+3,r9 5316 34ac 8091 0000 lds r24,Mess_Integral_Gier 5317 34b0 9091 0000 lds r25,(Mess_Integral_Gier)+1 5318 34b4 A091 0000 lds r26,(Mess_Integral_Gier)+2 5319 34b8 B091 0000 lds r27,(Mess_Integral_Gier)+3 5320 34bc 8619 sub r24,r6 5321 34be 9709 sbc r25,r7 5322 34c0 A809 sbc r26,r8 5323 34c2 B909 sbc r27,r9 5324 34c4 8093 0000 sts Mess_Integral_Gier,r24 5325 34c8 9093 0000 sts (Mess_Integral_Gier)+1,r25 5326 34cc A093 0000 sts (Mess_Integral_Gier)+2,r26 5327 34d0 B093 0000 sts (Mess_Integral_Gier)+3,r27 5328 34d4 8091 0000 lds r24,Mess_Integral_Gier 5329 34d8 9091 0000 lds r25,(Mess_Integral_Gier)+1 5330 34dc A091 0000 lds r26,(Mess_Integral_Gier)+2 5331 34e0 B091 0000 lds r27,(Mess_Integral_Gier)+3 5332 34e4 8155 subi r24,lo8(50001) 5333 34e6 934C sbci r25,hi8(50001) 5334 34e8 A040 sbci r26,hlo8(50001) 5335 34ea B040 sbci r27,hhi8(50001) 5336 34ec 04F0 brlt .L702 5337 34ee 80E5 ldi r24,lo8(50000) 5338 34f0 93EC ldi r25,hi8(50000) 5339 34f2 A0E0 ldi r26,hlo8(50000) 5340 34f4 B0E0 ldi r27,hhi8(50000) 5341 34f6 8093 0000 sts Mess_Integral_Gier,r24 5342 34fa 9093 0000 sts (Mess_Integral_Gier)+1,r25 5343 34fe A093 0000 sts (Mess_Integral_Gier)+2,r26 5344 3502 B093 0000 sts (Mess_Integral_Gier)+3,r27 5345 .L702: 5346 3506 8091 0000 lds r24,Mess_Integral_Gier 5347 350a 9091 0000 lds r25,(Mess_Integral_Gier)+1 5348 350e A091 0000 lds r26,(Mess_Integral_Gier)+2 5349 3512 B091 0000 lds r27,(Mess_Integral_Gier)+3 5350 3516 805B subi r24,lo8(-50000) 5351 3518 9C43 sbci r25,hi8(-50000) 5352 351a AF4F sbci r26,hlo8(-50000) 5353 351c BF4F sbci r27,hhi8(-50000) 5354 351e 04F4 brge .L704 5355 3520 80EB ldi r24,lo8(-50000) 5356 3522 9CE3 ldi r25,hi8(-50000) 5357 3524 AFEF ldi r26,hlo8(-50000) 5358 3526 BFEF ldi r27,hhi8(-50000) 5359 3528 8093 0000 sts Mess_Integral_Gier,r24 5360 352c 9093 0000 sts (Mess_Integral_Gier)+1,r25 5361 3530 A093 0000 sts (Mess_Integral_Gier)+2,r26 5362 3534 B093 0000 sts (Mess_Integral_Gier)+3,r27 5363 .L704: 5364 3538 8091 0000 lds r24,KompassValue 5365 353c 9091 0000 lds r25,(KompassValue)+1 5366 3540 892B or r24,r25 5367 3542 01F4 brne .+2 5368 3544 00C0 rjmp .L706 5369 3546 8091 0000 lds r24,EE_Parameter+8 5370 354a 83FF sbrs r24,3 5371 354c 00C0 rjmp .L706 5372 354e 6091 0000 lds r22,IntegralNick 5373 3552 7091 0000 lds r23,(IntegralNick)+1 5374 3556 8091 0000 lds r24,(IntegralNick)+2 5375 355a 9091 0000 lds r25,(IntegralNick)+3 5376 355e 20E0 ldi r18,lo8(512) 5377 3560 32E0 ldi r19,hi8(512) 5378 3562 40E0 ldi r20,hlo8(512) 5379 3564 50E0 ldi r21,hhi8(512) 5380 3566 0E94 0000 call __divmodsi4 5381 356a 8901 movw r16,r18 5382 356c 37FF sbrs r19,7 5383 356e 00C0 rjmp .L709 5384 3570 1095 com r17 5385 3572 0195 neg r16 5386 3574 1F4F sbci r17,lo8(-1) 5387 .L709: 5388 3576 6091 0000 lds r22,IntegralRoll 5389 357a 7091 0000 lds r23,(IntegralRoll)+1 5390 357e 8091 0000 lds r24,(IntegralRoll)+2 5391 3582 9091 0000 lds r25,(IntegralRoll)+3 5392 3586 20E0 ldi r18,lo8(512) 5393 3588 32E0 ldi r19,hi8(512) 5394 358a 40E0 ldi r20,hlo8(512) 5395 358c 50E0 ldi r21,hhi8(512) 5396 358e 0E94 0000 call __divmodsi4 5397 3592 B901 movw r22,r18 5398 3594 37FF sbrs r19,7 5399 3596 00C0 rjmp .L710 5400 3598 7095 com r23 5401 359a 6195 neg r22 5402 359c 7F4F sbci r23,lo8(-1) 5403 .L710: 5404 359e 6017 cp r22,r16 5405 35a0 7107 cpc r23,r17 5406 35a2 04F4 brge .L711 5407 35a4 B801 movw r22,r16 5408 .L711: 5409 35a6 6931 cpi r22,25 5410 35a8 7105 cpc r23,__zero_reg__ 5411 35aa 04F4 brge .L712 5412 35ac 8091 0000 lds r24,NeueKompassRichtungMerken.2583 5413 35b0 8823 tst r24 5414 35b2 01F0 breq .L712 5415 35b4 8091 0000 lds r24,SignalSchlecht.2599 5416 35b8 9091 0000 lds r25,(SignalSchlecht.2599)+1 5417 35bc 892B or r24,r25 5418 35be 01F4 brne .L712 5419 35c0 8091 0000 lds r24,KompassValue 5420 35c4 9091 0000 lds r25,(KompassValue)+1 5421 35c8 9093 0000 sts (KompassStartwert)+1,r25 5422 35cc 8093 0000 sts KompassStartwert,r24 5423 35d0 1092 0000 sts NeueKompassRichtungMerken.2583,__zero_reg__ 5424 .L712: 5425 35d4 2091 0000 lds r18,Parameter_KompassWirkung 5426 35d8 3327 clr r19 5427 35da 629F mul r22,r18 5428 35dc C001 movw r24,r0 5429 35de 639F mul r22,r19 5430 35e0 900D add r25,r0 5431 35e2 729F mul r23,r18 5432 35e4 900D add r25,r0 5433 35e6 1124 clr r1 5434 35e8 60E4 ldi r22,lo8(64) 5435 35ea 70E0 ldi r23,hi8(64) 5436 35ec 0E94 0000 call __divmodhi4 5437 35f0 A901 movw r20,r18 5438 35f2 461B sub r20,r22 5439 35f4 570B sbc r21,r23 5440 35f6 1416 cp __zero_reg__,r20 5441 35f8 1506 cpc __zero_reg__,r21 5442 35fa 04F4 brge .L716 5443 35fc 8091 0000 lds r24,SignalSchlecht.2599 5444 3600 9091 0000 lds r25,(SignalSchlecht.2599)+1 5445 3604 0097 sbiw r24,0 5446 3606 01F4 brne .L718 5447 3608 0091 0000 lds r16,Mess_Integral_Gier 5448 360c 1091 0000 lds r17,(Mess_Integral_Gier)+1 5449 3610 2091 0000 lds r18,(Mess_Integral_Gier)+2 5450 3614 3091 0000 lds r19,(Mess_Integral_Gier)+3 5451 3618 8091 0000 lds r24,KompassRichtung 5452 361c 9091 0000 lds r25,(KompassRichtung)+1 5453 3620 BC01 movw r22,r24 5454 3622 649F mul r22,r20 5455 3624 C001 movw r24,r0 5456 3626 659F mul r22,r21 5457 3628 900D add r25,r0 5458 362a 749F mul r23,r20 5459 362c 900D add r25,r0 5460 362e 1124 clr r1 5461 3630 60E2 ldi r22,lo8(32) 5462 3632 70E0 ldi r23,hi8(32) 5463 3634 0E94 0000 call __divmodhi4 5464 3638 8827 clr r24 5465 363a 77FD sbrc r23,7 5466 363c 8095 com r24 5467 363e 982F mov r25,r24 5468 3640 060F add r16,r22 5469 3642 171F adc r17,r23 5470 3644 281F adc r18,r24 5471 3646 391F adc r19,r25 5472 3648 0093 0000 sts Mess_Integral_Gier,r16 5473 364c 1093 0000 sts (Mess_Integral_Gier)+1,r17 5474 3650 2093 0000 sts (Mess_Integral_Gier)+2,r18 5475 3654 3093 0000 sts (Mess_Integral_Gier)+3,r19 5476 3658 00C0 rjmp .L706 5477 .L718: 5478 365a 0197 sbiw r24,1 5479 365c 00C0 rjmp .L824 5480 .L716: 5481 365e 84EF ldi r24,lo8(500) 5482 3660 91E0 ldi r25,hi8(500) 5483 .L824: 5484 3662 9093 0000 sts (SignalSchlecht.2599)+1,r25 5485 3666 8093 0000 sts SignalSchlecht.2599,r24 5486 .L706: 5487 366a 8091 0000 lds r24,TimerWerteausgabe.2582 5488 366e 8150 subi r24,lo8(-(-1)) 5489 3670 8093 0000 sts TimerWerteausgabe.2582,r24 5490 3674 8F3F cpi r24,lo8(-1) 5491 3676 01F0 breq .+2 5492 3678 00C0 rjmp .L720 5493 367a 88E1 ldi r24,lo8(24) 5494 367c 8093 0000 sts TimerWerteausgabe.2582,r24 5495 3680 6091 0000 lds r22,IntegralNick 5496 3684 7091 0000 lds r23,(IntegralNick)+1 5497 3688 8091 0000 lds r24,(IntegralNick)+2 5498 368c 9091 0000 lds r25,(IntegralNick)+3 5499 3690 E090 0000 lds r14,EE_Parameter+20 5500 3694 FF24 clr r15 5501 3696 0027 clr r16 5502 3698 1127 clr r17 5503 369a A801 movw r20,r16 5504 369c 9701 movw r18,r14 5505 369e 0E94 0000 call __divmodsi4 5506 36a2 3093 0000 sts (DebugOut+2)+1,r19 5507 36a6 2093 0000 sts DebugOut+2,r18 5508 36aa 6091 0000 lds r22,IntegralRoll 5509 36ae 7091 0000 lds r23,(IntegralRoll)+1 5510 36b2 8091 0000 lds r24,(IntegralRoll)+2 5511 36b6 9091 0000 lds r25,(IntegralRoll)+3 5512 36ba A801 movw r20,r16 5513 36bc 9701 movw r18,r14 5514 36be 0E94 0000 call __divmodsi4 5515 36c2 3093 0000 sts (DebugOut+4)+1,r19 5516 36c6 2093 0000 sts DebugOut+4,r18 5517 36ca 8091 0000 lds r24,Mittelwert_AccNick 5518 36ce 9091 0000 lds r25,(Mittelwert_AccNick)+1 5519 36d2 9093 0000 sts (DebugOut+6)+1,r25 5520 36d6 8093 0000 sts DebugOut+6,r24 5521 36da 8091 0000 lds r24,Mittelwert_AccRoll 5522 36de 9091 0000 lds r25,(Mittelwert_AccRoll)+1 5523 36e2 9093 0000 sts (DebugOut+8)+1,r25 5524 36e6 8093 0000 sts DebugOut+8,r24 5525 36ea 8091 0000 lds r24,MesswertGier 5526 36ee 9091 0000 lds r25,(MesswertGier)+1 5527 36f2 9093 0000 sts (DebugOut+10)+1,r25 5528 36f6 8093 0000 sts DebugOut+10,r24 5529 36fa 8091 0000 lds r24,HoehenWert 5530 36fe 9091 0000 lds r25,(HoehenWert)+1 5531 3702 9093 0000 sts (DebugOut+12)+1,r25 5532 3706 8093 0000 sts DebugOut+12,r24 5533 370a 6091 0000 lds r22,Mess_Integral_Hoch 5534 370e 7091 0000 lds r23,(Mess_Integral_Hoch)+1 5535 3712 8091 0000 lds r24,(Mess_Integral_Hoch)+2 5536 3716 9091 0000 lds r25,(Mess_Integral_Hoch)+3 5537 371a 20E0 ldi r18,lo8(512) 5538 371c 32E0 ldi r19,hi8(512) 5539 371e 40E0 ldi r20,hlo8(512) 5540 3720 50E0 ldi r21,hhi8(512) 5541 3722 0E94 0000 call __divmodsi4 5542 3726 3093 0000 sts (DebugOut+14)+1,r19 5543 372a 2093 0000 sts DebugOut+14,r18 5544 372e 8091 0000 lds r24,KompassValue 5545 3732 9091 0000 lds r25,(KompassValue)+1 5546 3736 9093 0000 sts (DebugOut+18)+1,r25 5547 373a 8093 0000 sts DebugOut+18,r24 5548 373e 8091 0000 lds r24,UBat 5549 3742 9091 0000 lds r25,(UBat)+1 5550 3746 9093 0000 sts (DebugOut+20)+1,r25 5551 374a 8093 0000 sts DebugOut+20,r24 5552 374e 8091 0000 lds r24,SenderOkay 5553 3752 9927 clr r25 5554 3754 9093 0000 sts (DebugOut+22)+1,r25 5555 3758 8093 0000 sts DebugOut+22,r24 5556 375c 8091 0000 lds r24,Mittelwert_AccHoch 5557 3760 9091 0000 lds r25,(Mittelwert_AccHoch)+1 5558 3764 9093 0000 sts (DebugOut+34)+1,r25 5559 3768 8093 0000 sts DebugOut+34,r24 5560 .L720: 5561 376c 3320 tst r3 5562 376e 01F0 breq .L722 5563 3770 6091 0000 lds r22,MesswertNick 5564 3774 7091 0000 lds r23,(MesswertNick)+1 5565 3778 8827 clr r24 5566 377a 77FD sbrc r23,7 5567 377c 8095 com r24 5568 377e 982F mov r25,r24 5569 3780 0E94 0000 call __floatsisf 5570 3784 2091 0000 lds r18,GyroFaktor 5571 3788 3091 0000 lds r19,(GyroFaktor)+1 5572 378c 4091 0000 lds r20,(GyroFaktor)+2 5573 3790 5091 0000 lds r21,(GyroFaktor)+3 5574 3794 0E94 0000 call __mulsf3 5575 3798 00C0 rjmp .L825 5576 .L722: 5577 379a 6091 0000 lds r22,IntegralNick 5578 379e 7091 0000 lds r23,(IntegralNick)+1 5579 37a2 8091 0000 lds r24,(IntegralNick)+2 5580 37a6 9091 0000 lds r25,(IntegralNick)+3 5581 37aa E090 0000 lds r14,MesswertNick 5582 37ae F090 0000 lds r15,(MesswertNick)+1 5583 37b2 0E94 0000 call __floatsisf 5584 37b6 2091 0000 lds r18,IntegralFaktor 5585 37ba 3091 0000 lds r19,(IntegralFaktor)+1 5586 37be 4091 0000 lds r20,(IntegralFaktor)+2 5587 37c2 5091 0000 lds r21,(IntegralFaktor)+3 5588 37c6 0E94 0000 call __mulsf3 5589 37ca 5B01 movw r10,r22 5590 37cc 6C01 movw r12,r24 5591 37ce 0027 clr r16 5592 37d0 F7FC sbrc r15,7 5593 37d2 0095 com r16 5594 37d4 102F mov r17,r16 5595 37d6 C801 movw r24,r16 5596 37d8 B701 movw r22,r14 5597 37da 0E94 0000 call __floatsisf 5598 37de 2091 0000 lds r18,GyroFaktor 5599 37e2 3091 0000 lds r19,(GyroFaktor)+1 5600 37e6 4091 0000 lds r20,(GyroFaktor)+2 5601 37ea 5091 0000 lds r21,(GyroFaktor)+3 5602 37ee 0E94 0000 call __mulsf3 5603 37f2 9B01 movw r18,r22 5604 37f4 AC01 movw r20,r24 5605 37f6 C601 movw r24,r12 5606 37f8 B501 movw r22,r10 5607 37fa 0E94 0000 call __addsf3 5608 .L825: 5609 37fe 0E94 0000 call __fixsfsi 5610 3802 7093 0000 sts (MesswertNick)+1,r23 5611 3806 6093 0000 sts MesswertNick,r22 5612 380a 8091 0000 lds r24,Looping_Roll 5613 380e 8823 tst r24 5614 3810 01F0 breq .L725 5615 3812 6091 0000 lds r22,MesswertRoll 5616 3816 7091 0000 lds r23,(MesswertRoll)+1 5617 381a 8827 clr r24 5618 381c 77FD sbrc r23,7 5619 381e 8095 com r24 5620 3820 982F mov r25,r24 5621 3822 0E94 0000 call __floatsisf 5622 3826 2091 0000 lds r18,GyroFaktor 5623 382a 3091 0000 lds r19,(GyroFaktor)+1 5624 382e 4091 0000 lds r20,(GyroFaktor)+2 5625 3832 5091 0000 lds r21,(GyroFaktor)+3 5626 3836 0E94 0000 call __mulsf3 5627 383a 00C0 rjmp .L826 5628 .L725: 5629 383c 6091 0000 lds r22,IntegralRoll 5630 3840 7091 0000 lds r23,(IntegralRoll)+1 5631 3844 8091 0000 lds r24,(IntegralRoll)+2 5632 3848 9091 0000 lds r25,(IntegralRoll)+3 5633 384c E090 0000 lds r14,MesswertRoll 5634 3850 F090 0000 lds r15,(MesswertRoll)+1 5635 3854 0E94 0000 call __floatsisf 5636 3858 2091 0000 lds r18,IntegralFaktor 5637 385c 3091 0000 lds r19,(IntegralFaktor)+1 5638 3860 4091 0000 lds r20,(IntegralFaktor)+2 5639 3864 5091 0000 lds r21,(IntegralFaktor)+3 5640 3868 0E94 0000 call __mulsf3 5641 386c 5B01 movw r10,r22 5642 386e 6C01 movw r12,r24 5643 3870 0027 clr r16 5644 3872 F7FC sbrc r15,7 5645 3874 0095 com r16 5646 3876 102F mov r17,r16 5647 3878 C801 movw r24,r16 5648 387a B701 movw r22,r14 5649 387c 0E94 0000 call __floatsisf 5650 3880 2091 0000 lds r18,GyroFaktor 5651 3884 3091 0000 lds r19,(GyroFaktor)+1 5652 3888 4091 0000 lds r20,(GyroFaktor)+2 5653 388c 5091 0000 lds r21,(GyroFaktor)+3 5654 3890 0E94 0000 call __mulsf3 5655 3894 9B01 movw r18,r22 5656 3896 AC01 movw r20,r24 5657 3898 C601 movw r24,r12 5658 389a B501 movw r22,r10 5659 389c 0E94 0000 call __addsf3 5660 .L826: 5661 38a0 0E94 0000 call __fixsfsi 5662 38a4 7093 0000 sts (MesswertRoll)+1,r23 5663 38a8 6093 0000 sts MesswertRoll,r22 5664 38ac 6091 0000 lds r22,MesswertGier 5665 38b0 7091 0000 lds r23,(MesswertGier)+1 5666 38b4 E090 0000 lds r14,Integral_Gier 5667 38b8 F090 0000 lds r15,(Integral_Gier)+1 5668 38bc 0091 0000 lds r16,(Integral_Gier)+2 5669 38c0 1091 0000 lds r17,(Integral_Gier)+3 5670 38c4 8091 0000 lds r24,IntegralFaktor 5671 38c8 9091 0000 lds r25,(IntegralFaktor)+1 5672 38cc A091 0000 lds r26,(IntegralFaktor)+2 5673 38d0 B091 0000 lds r27,(IntegralFaktor)+3 5674 38d4 8987 std Y+9,r24 5675 38d6 9A87 std Y+10,r25 5676 38d8 AB87 std Y+11,r26 5677 38da BC87 std Y+12,r27 5678 38dc 8827 clr r24 5679 38de 77FD sbrc r23,7 5680 38e0 8095 com r24 5681 38e2 982F mov r25,r24 5682 38e4 0E94 0000 call __floatsisf 5683 38e8 2091 0000 lds r18,GyroFaktor 5684 38ec 3091 0000 lds r19,(GyroFaktor)+1 5685 38f0 4091 0000 lds r20,(GyroFaktor)+2 5686 38f4 5091 0000 lds r21,(GyroFaktor)+3 5687 38f8 0E94 0000 call __mulsf3 5688 38fc 5B01 movw r10,r22 5689 38fe 6C01 movw r12,r24 5690 3900 C801 movw r24,r16 5691 3902 B701 movw r22,r14 5692 3904 0E94 0000 call __floatsisf 5693 3908 2985 ldd r18,Y+9 5694 390a 3A85 ldd r19,Y+10 5695 390c 4B85 ldd r20,Y+11 5696 390e 5C85 ldd r21,Y+12 5697 3910 0E94 0000 call __mulsf3 5698 3914 20E0 ldi r18,lo8(0x3f000000) 5699 3916 30E0 ldi r19,hi8(0x3f000000) 5700 3918 40E0 ldi r20,hlo8(0x3f000000) 5701 391a 5FE3 ldi r21,hhi8(0x3f000000) 5702 391c 0E94 0000 call __mulsf3 5703 3920 9B01 movw r18,r22 5704 3922 AC01 movw r20,r24 5705 3924 C601 movw r24,r12 5706 3926 B501 movw r22,r10 5707 3928 0E94 0000 call __addsf3 5708 392c 0E94 0000 call __fixsfsi 5709 3930 7093 0000 sts (MesswertGier)+1,r23 5710 3934 6093 0000 sts MesswertGier,r22 5711 3938 8091 0000 lds r24,MesswertRoll 5712 393c 9091 0000 lds r25,(MesswertRoll)+1 5713 3940 9093 0000 sts (DebugOut+58)+1,r25 5714 3944 8093 0000 sts DebugOut+58,r24 5715 3948 6091 0000 lds r22,IntegralRoll 5716 394c 7091 0000 lds r23,(IntegralRoll)+1 5717 3950 8091 0000 lds r24,(IntegralRoll)+2 5718 3954 9091 0000 lds r25,(IntegralRoll)+3 5719 3958 0E94 0000 call __floatsisf 5720 395c 2985 ldd r18,Y+9 5721 395e 3A85 ldd r19,Y+10 5722 3960 4B85 ldd r20,Y+11 5723 3962 5C85 ldd r21,Y+12 5724 3964 0E94 0000 call __mulsf3 5725 3968 0E94 0000 call __fixunssfsi 5726 396c 7093 0000 sts (DebugOut+52)+1,r23 5727 3970 6093 0000 sts DebugOut+52,r22 5728 3974 A091 0000 lds r26,StickRoll 5729 3978 B091 0000 lds r27,(StickRoll)+1 5730 397c B88B std Y+16,r27 5731 397e AF87 std Y+15,r26 5732 3980 B093 0000 sts (DebugOut+64)+1,r27 5733 3984 A093 0000 sts DebugOut+64,r26 5734 3988 8091 0000 lds r24,MesswertNick 5735 398c 9091 0000 lds r25,(MesswertNick)+1 5736 3990 8150 subi r24,lo8(2049) 5737 3992 9840 sbci r25,hi8(2049) 5738 3994 04F0 brlt .L728 5739 3996 80E0 ldi r24,lo8(2048) 5740 3998 98E0 ldi r25,hi8(2048) 5741 399a 9093 0000 sts (MesswertNick)+1,r25 5742 399e 8093 0000 sts MesswertNick,r24 5743 .L728: 5744 39a2 8091 0000 lds r24,MesswertNick 5745 39a6 9091 0000 lds r25,(MesswertNick)+1 5746 39aa 8050 subi r24,lo8(-2048) 5747 39ac 984F sbci r25,hi8(-2048) 5748 39ae 04F4 brge .L730 5749 39b0 80E0 ldi r24,lo8(-2048) 5750 39b2 98EF ldi r25,hi8(-2048) 5751 39b4 9093 0000 sts (MesswertNick)+1,r25 5752 39b8 8093 0000 sts MesswertNick,r24 5753 .L730: 5754 39bc 8091 0000 lds r24,MesswertRoll 5755 39c0 9091 0000 lds r25,(MesswertRoll)+1 5756 39c4 8150 subi r24,lo8(2049) 5757 39c6 9840 sbci r25,hi8(2049) 5758 39c8 04F0 brlt .L732 5759 39ca 80E0 ldi r24,lo8(2048) 5760 39cc 98E0 ldi r25,hi8(2048) 5761 39ce 9093 0000 sts (MesswertRoll)+1,r25 5762 39d2 8093 0000 sts MesswertRoll,r24 5763 .L732: 5764 39d6 8091 0000 lds r24,MesswertRoll 5765 39da 9091 0000 lds r25,(MesswertRoll)+1 5766 39de 8050 subi r24,lo8(-2048) 5767 39e0 984F sbci r25,hi8(-2048) 5768 39e2 04F4 brge .L734 5769 39e4 80E0 ldi r24,lo8(-2048) 5770 39e6 98EF ldi r25,hi8(-2048) 5771 39e8 9093 0000 sts (MesswertRoll)+1,r25 5772 39ec 8093 0000 sts MesswertRoll,r24 5773 .L734: 5774 39f0 8091 0000 lds r24,MesswertGier 5775 39f4 9091 0000 lds r25,(MesswertGier)+1 5776 39f8 8150 subi r24,lo8(2049) 5777 39fa 9840 sbci r25,hi8(2049) 5778 39fc 04F0 brlt .L736 5779 39fe 80E0 ldi r24,lo8(2048) 5780 3a00 98E0 ldi r25,hi8(2048) 5781 3a02 9093 0000 sts (MesswertGier)+1,r25 5782 3a06 8093 0000 sts MesswertGier,r24 5783 .L736: 5784 3a0a 8091 0000 lds r24,MesswertGier 5785 3a0e 9091 0000 lds r25,(MesswertGier)+1 5786 3a12 8050 subi r24,lo8(-2048) 5787 3a14 984F sbci r25,hi8(-2048) 5788 3a16 04F4 brge .L738 5789 3a18 80E0 ldi r24,lo8(-2048) 5790 3a1a 98EF ldi r25,hi8(-2048) 5791 3a1c 9093 0000 sts (MesswertGier)+1,r25 5792 3a20 8093 0000 sts MesswertGier,r24 5793 .L738: 5794 3a24 8091 0000 lds r24,EE_Parameter+8 5795 3a28 9927 clr r25 5796 3a2a 80FF sbrs r24,0 5797 3a2c 00C0 rjmp .L740 5798 3a2e 4091 0000 lds r20,Parameter_MaxHoehe 5799 3a32 81FF sbrs r24,1 5800 3a34 00C0 rjmp .L742 5801 3a36 4233 cpi r20,lo8(50) 5802 3a38 00F4 brsh .L827 5803 3a3a 8091 0000 lds r24,HoehenWert 5804 3a3e 9091 0000 lds r25,(HoehenWert)+1 5805 3a42 4497 sbiw r24,20 5806 3a44 9093 0000 sts (SollHoehe)+1,r25 5807 3a48 8093 0000 sts SollHoehe,r24 5808 3a4c 1092 0000 sts HoehenReglerAktiv,__zero_reg__ 5809 3a50 00C0 rjmp .L746 5810 .L742: 5811 3a52 2091 0000 lds r18,ExternHoehenValue 5812 3a56 3091 0000 lds r19,(ExternHoehenValue)+1 5813 3a5a 240F add r18,r20 5814 3a5c 311D adc r19,__zero_reg__ 5815 3a5e 8091 0000 lds r24,EE_Parameter+13 5816 3a62 9927 clr r25 5817 3a64 BC01 movw r22,r24 5818 3a66 269F mul r18,r22 5819 3a68 C001 movw r24,r0 5820 3a6a 279F mul r18,r23 5821 3a6c 900D add r25,r0 5822 3a6e 369F mul r19,r22 5823 3a70 900D add r25,r0 5824 3a72 1124 clr r1 5825 3a74 4497 sbiw r24,20 5826 3a76 9093 0000 sts (SollHoehe)+1,r25 5827 3a7a 8093 0000 sts SollHoehe,r24 5828 .L827: 5829 3a7e 81E0 ldi r24,lo8(1) 5830 3a80 8093 0000 sts HoehenReglerAktiv,r24 5831 .L746: 5832 3a84 2220 tst r2 5833 3a86 01F0 breq .L747 5834 3a88 1092 0000 sts (SollHoehe)+1,__zero_reg__ 5835 3a8c 1092 0000 sts SollHoehe,__zero_reg__ 5836 .L747: 5837 3a90 2091 0000 lds r18,HoehenWert 5838 3a94 3091 0000 lds r19,(HoehenWert)+1 5839 3a98 4091 0000 lds r20,SollHoehe 5840 3a9c 5091 0000 lds r21,(SollHoehe)+1 5841 3aa0 4217 cp r20,r18 5842 3aa2 5307 cpc r21,r19 5843 3aa4 04F0 brlt .+2 5844 3aa6 00C0 rjmp .L740 5845 3aa8 8091 0000 lds r24,HoehenReglerAktiv 5846 3aac 8823 tst r24 5847 3aae 01F4 brne .+2 5848 3ab0 00C0 rjmp .L740 5849 3ab2 241B sub r18,r20 5850 3ab4 350B sbc r19,r21 5851 3ab6 8091 0000 lds r24,Parameter_Hoehe_P 5852 3aba 9927 clr r25 5853 3abc DC01 movw r26,r24 5854 3abe 2A9F mul r18,r26 5855 3ac0 C001 movw r24,r0 5856 3ac2 2B9F mul r18,r27 5857 3ac4 900D add r25,r0 5858 3ac6 3A9F mul r19,r26 5859 3ac8 900D add r25,r0 5860 3aca 1124 clr r1 5861 3acc 60E1 ldi r22,lo8(16) 5862 3ace 70E0 ldi r23,hi8(16) 5863 3ad0 0E94 0000 call __divmodhi4 5864 3ad4 0981 ldd r16,Y+1 5865 3ad6 1A81 ldd r17,Y+2 5866 3ad8 061B sub r16,r22 5867 3ada 170B sbc r17,r23 5868 3adc 2091 0000 lds r18,HoeheD 5869 3ae0 3091 0000 lds r19,(HoeheD)+1 5870 3ae4 8091 0000 lds r24,Parameter_Luftdruck_D 5871 3ae8 9927 clr r25 5872 3aea FC01 movw r30,r24 5873 3aec 2E9F mul r18,r30 5874 3aee C001 movw r24,r0 5875 3af0 2F9F mul r18,r31 5876 3af2 900D add r25,r0 5877 3af4 3E9F mul r19,r30 5878 3af6 900D add r25,r0 5879 3af8 1124 clr r1 5880 3afa 68E0 ldi r22,lo8(8) 5881 3afc 70E0 ldi r23,hi8(8) 5882 3afe 0E94 0000 call __divmodhi4 5883 3b02 061B sub r16,r22 5884 3b04 170B sbc r17,r23 5885 3b06 6091 0000 lds r22,Mess_Integral_Hoch 5886 3b0a 7091 0000 lds r23,(Mess_Integral_Hoch)+1 5887 3b0e 8091 0000 lds r24,(Mess_Integral_Hoch)+2 5888 3b12 9091 0000 lds r25,(Mess_Integral_Hoch)+3 5889 3b16 20E0 ldi r18,lo8(512) 5890 3b18 32E0 ldi r19,hi8(512) 5891 3b1a 40E0 ldi r20,hlo8(512) 5892 3b1c 50E0 ldi r21,hhi8(512) 5893 3b1e 0E94 0000 call __divmodsi4 5894 3b22 CA01 movw r24,r20 5895 3b24 B901 movw r22,r18 5896 3b26 2091 0000 lds r18,Parameter_Hoehe_ACC_Wirkung 5897 3b2a 3327 clr r19 5898 3b2c 4427 clr r20 5899 3b2e 5527 clr r21 5900 3b30 0E94 0000 call __mulsi3 5901 3b34 20E2 ldi r18,lo8(32) 5902 3b36 30E0 ldi r19,hi8(32) 5903 3b38 40E0 ldi r20,hlo8(32) 5904 3b3a 50E0 ldi r21,hhi8(32) 5905 3b3c 0E94 0000 call __divmodsi4 5906 3b40 FFEF ldi r31,hi8(-50) 5907 3b42 2E3C cpi r18,lo8(-50) 5908 3b44 3F07 cpc r19,r31 5909 3b46 04F4 brge .L751 5910 3b48 2EEC ldi r18,lo8(-50) 5911 3b4a 3FEF ldi r19,hi8(-50) 5912 .L751: 5913 3b4c 8091 0000 lds r24,hoehenregler.2581 5914 3b50 9091 0000 lds r25,(hoehenregler.2581)+1 5915 3b54 AC01 movw r20,r24 5916 3b56 64E0 ldi r22,4 5917 3b58 440F 1: lsl r20 5918 3b5a 551F rol r21 5919 3b5c 6A95 dec r22 5920 3b5e 01F4 brne 1b 5921 3b60 481B sub r20,r24 5922 3b62 590B sbc r21,r25 5923 3b64 2333 cpi r18,51 5924 3b66 3105 cpc r19,__zero_reg__ 5925 3b68 04F0 brlt .L752 5926 3b6a 22E3 ldi r18,lo8(50) 5927 3b6c 30E0 ldi r19,hi8(50) 5928 .L752: 5929 3b6e 021B sub r16,r18 5930 3b70 130B sbc r17,r19 5931 3b72 CA01 movw r24,r20 5932 3b74 800F add r24,r16 5933 3b76 911F adc r25,r17 5934 3b78 60E1 ldi r22,lo8(16) 5935 3b7a 70E0 ldi r23,hi8(16) 5936 3b7c 0E94 0000 call __divmodhi4 5937 3b80 7093 0000 sts (hoehenregler.2581)+1,r23 5938 3b84 6093 0000 sts hoehenregler.2581,r22 5939 3b88 8091 0000 lds r24,EE_Parameter+9 5940 3b8c 9927 clr r25 5941 3b8e 6817 cp r22,r24 5942 3b90 7907 cpc r23,r25 5943 3b92 04F4 brge .L753 5944 3b94 2981 ldd r18,Y+1 5945 3b96 3A81 ldd r19,Y+2 5946 3b98 2817 cp r18,r24 5947 3b9a 3907 cpc r19,r25 5948 3b9c 04F0 brlt .L755 5949 3b9e 9093 0000 sts (hoehenregler.2581)+1,r25 5950 3ba2 8093 0000 sts hoehenregler.2581,r24 5951 3ba6 00C0 rjmp .L753 5952 .L755: 5953 3ba8 4981 ldd r20,Y+1 5954 3baa 5A81 ldd r21,Y+2 5955 3bac 5093 0000 sts (hoehenregler.2581)+1,r21 5956 3bb0 4093 0000 sts hoehenregler.2581,r20 5957 3bb4 00C0 rjmp .L757 5958 .L753: 5959 3bb6 8091 0000 lds r24,hoehenregler.2581 5960 3bba 9091 0000 lds r25,(hoehenregler.2581)+1 5961 3bbe 6981 ldd r22,Y+1 5962 3bc0 7A81 ldd r23,Y+2 5963 3bc2 6817 cp r22,r24 5964 3bc4 7907 cpc r23,r25 5965 3bc6 04F4 brge .L757 5966 3bc8 7093 0000 sts (hoehenregler.2581)+1,r23 5967 3bcc 6093 0000 sts hoehenregler.2581,r22 5968 .L757: 5969 3bd0 8091 0000 lds r24,hoehenregler.2581 5970 3bd4 9091 0000 lds r25,(hoehenregler.2581)+1 5971 3bd8 9A83 std Y+2,r25 5972 3bda 8983 std Y+1,r24 5973 .L740: 5974 3bdc A981 ldd r26,Y+1 5975 3bde BA81 ldd r27,Y+2 5976 3be0 B093 0000 sts (DebugOut+16)+1,r27 5977 3be4 A093 0000 sts DebugOut+16,r26 5978 3be8 0091 0000 lds r16,MesswertGier 5979 3bec 1091 0000 lds r17,(MesswertGier)+1 5980 3bf0 8091 0000 lds r24,MAX_GAS 5981 3bf4 482E mov r4,r24 5982 3bf6 5524 clr r5 5983 3bf8 5497 sbiw r26,20 5984 3bfa 04F4 brge .L759 5985 3bfc 1C82 std Y+4,__zero_reg__ 5986 3bfe 1B82 std Y+3,__zero_reg__ 5987 3c00 00C0 rjmp .L761 5988 .L759: 5989 3c02 8981 ldd r24,Y+1 5990 3c04 9A81 ldd r25,Y+2 5991 3c06 62E0 ldi r22,lo8(2) 5992 3c08 70E0 ldi r23,hi8(2) 5993 3c0a 0E94 0000 call __divmodhi4 5994 3c0e 9B01 movw r18,r22 5995 3c10 C201 movw r24,r4 5996 3c12 E981 ldd r30,Y+1 5997 3c14 FA81 ldd r31,Y+2 5998 3c16 8E1B sub r24,r30 5999 3c18 9F0B sbc r25,r31 6000 3c1a 62E0 ldi r22,lo8(2) 6001 3c1c 70E0 ldi r23,hi8(2) 6002 3c1e 0E94 0000 call __divmodhi4 6003 3c22 AB01 movw r20,r22 6004 3c24 B801 movw r22,r16 6005 3c26 6619 sub r22,r6 6006 3c28 7709 sbc r23,r7 6007 3c2a C901 movw r24,r18 6008 3c2c 6217 cp r22,r18 6009 3c2e 7307 cpc r23,r19 6010 3c30 04F4 brge .L762 6011 3c32 CB01 movw r24,r22 6012 .L762: 6013 3c34 6627 clr r22 6014 3c36 7727 clr r23 6015 3c38 621B sub r22,r18 6016 3c3a 730B sbc r23,r19 6017 3c3c 6817 cp r22,r24 6018 3c3e 7907 cpc r23,r25 6019 3c40 04F4 brge .L763 6020 3c42 BC01 movw r22,r24 6021 .L763: 6022 3c44 CA01 movw r24,r20 6023 3c46 6417 cp r22,r20 6024 3c48 7507 cpc r23,r21 6025 3c4a 04F4 brge .L764 6026 3c4c CB01 movw r24,r22 6027 .L764: 6028 3c4e 2227 clr r18 6029 3c50 3327 clr r19 6030 3c52 241B sub r18,r20 6031 3c54 350B sbc r19,r21 6032 3c56 3C83 std Y+4,r19 6033 3c58 2B83 std Y+3,r18 6034 3c5a 2817 cp r18,r24 6035 3c5c 3907 cpc r19,r25 6036 3c5e 04F4 brge .L761 6037 3c60 9C83 std Y+4,r25 6038 3c62 8B83 std Y+3,r24 6039 .L761: 6040 3c64 2091 0000 lds r18,MesswertNick 6041 3c68 3091 0000 lds r19,(MesswertNick)+1 6042 3c6c 8090 0000 lds r8,StickNick 6043 3c70 9090 0000 lds r9,(StickNick)+1 6044 3c74 8091 0000 lds r24,GPS_Nick 6045 3c78 9091 0000 lds r25,(GPS_Nick)+1 6046 3c7c 881A sub r8,r24 6047 3c7e 990A sbc r9,r25 6048 3c80 2819 sub r18,r8 6049 3c82 3909 sbc r19,r9 6050 3c84 3093 0000 sts (DiffNick)+1,r19 6051 3c88 2093 0000 sts DiffNick,r18 6052 3c8c 20E0 ldi r18,lo8(0x0) 6053 3c8e 30E0 ldi r19,hi8(0x0) 6054 3c90 40E0 ldi r20,hlo8(0x0) 6055 3c92 50E0 ldi r21,hhi8(0x0) 6056 3c94 6985 ldd r22,Y+9 6057 3c96 7A85 ldd r23,Y+10 6058 3c98 8B85 ldd r24,Y+11 6059 3c9a 9C85 ldd r25,Y+12 6060 3c9c 0E94 0000 call __nesf2 6061 3ca0 8823 tst r24 6062 3ca2 01F0 breq .L766 6063 3ca4 E090 0000 lds r14,IntegralNick 6064 3ca8 F090 0000 lds r15,(IntegralNick)+1 6065 3cac 0091 0000 lds r16,(IntegralNick)+2 6066 3cb0 1091 0000 lds r17,(IntegralNick)+3 6067 3cb4 6091 0000 lds r22,SummeNick.2569 6068 3cb8 7091 0000 lds r23,(SummeNick.2569)+1 6069 3cbc 8091 0000 lds r24,(SummeNick.2569)+2 6070 3cc0 9091 0000 lds r25,(SummeNick.2569)+3 6071 3cc4 0E94 0000 call __floatsisf 6072 3cc8 5B01 movw r10,r22 6073 3cca 6C01 movw r12,r24 6074 3ccc C801 movw r24,r16 6075 3cce B701 movw r22,r14 6076 3cd0 0E94 0000 call __floatsisf 6077 3cd4 2985 ldd r18,Y+9 6078 3cd6 3A85 ldd r19,Y+10 6079 3cd8 4B85 ldd r20,Y+11 6080 3cda 5C85 ldd r21,Y+12 6081 3cdc 0E94 0000 call __mulsf3 6082 3ce0 7B01 movw r14,r22 6083 3ce2 8C01 movw r16,r24 6084 3ce4 B401 movw r22,r8 6085 3ce6 8827 clr r24 6086 3ce8 77FD sbrc r23,7 6087 3cea 8095 com r24 6088 3cec 982F mov r25,r24 6089 3cee 0E94 0000 call __floatsisf 6090 3cf2 9B01 movw r18,r22 6091 3cf4 AC01 movw r20,r24 6092 3cf6 C801 movw r24,r16 6093 3cf8 B701 movw r22,r14 6094 3cfa 0E94 0000 call __subsf3 6095 3cfe 9B01 movw r18,r22 6096 3d00 AC01 movw r20,r24 6097 3d02 C601 movw r24,r12 6098 3d04 B501 movw r22,r10 6099 3d06 0E94 0000 call __addsf3 6100 3d0a 0E94 0000 call __fixsfsi 6101 3d0e 6093 0000 sts SummeNick.2569,r22 6102 3d12 7093 0000 sts (SummeNick.2569)+1,r23 6103 3d16 8093 0000 sts (SummeNick.2569)+2,r24 6104 3d1a 9093 0000 sts (SummeNick.2569)+3,r25 6105 3d1e 00C0 rjmp .L769 6106 .L766: 6107 3d20 2091 0000 lds r18,DiffNick 6108 3d24 3091 0000 lds r19,(DiffNick)+1 6109 3d28 4427 clr r20 6110 3d2a 37FD sbrc r19,7 6111 3d2c 4095 com r20 6112 3d2e 542F mov r21,r20 6113 3d30 8091 0000 lds r24,SummeNick.2569 6114 3d34 9091 0000 lds r25,(SummeNick.2569)+1 6115 3d38 A091 0000 lds r26,(SummeNick.2569)+2 6116 3d3c B091 0000 lds r27,(SummeNick.2569)+3 6117 3d40 820F add r24,r18 6118 3d42 931F adc r25,r19 6119 3d44 A41F adc r26,r20 6120 3d46 B51F adc r27,r21 6121 3d48 8093 0000 sts SummeNick.2569,r24 6122 3d4c 9093 0000 sts (SummeNick.2569)+1,r25 6123 3d50 A093 0000 sts (SummeNick.2569)+2,r26 6124 3d54 B093 0000 sts (SummeNick.2569)+3,r27 6125 .L769: 6126 3d58 8091 0000 lds r24,SummeNick.2569 6127 3d5c 9091 0000 lds r25,(SummeNick.2569)+1 6128 3d60 A091 0000 lds r26,(SummeNick.2569)+2 6129 3d64 B091 0000 lds r27,(SummeNick.2569)+3 6130 3d68 1816 cp __zero_reg__,r24 6131 3d6a 1906 cpc __zero_reg__,r25 6132 3d6c 1A06 cpc __zero_reg__,r26 6133 3d6e 1B06 cpc __zero_reg__,r27 6134 3d70 04F4 brge .L770 6135 3d72 0297 sbiw r24,2 6136 3d74 A109 sbc r26,__zero_reg__ 6137 3d76 B109 sbc r27,__zero_reg__ 6138 3d78 00C0 rjmp .L828 6139 .L770: 6140 3d7a 0296 adiw r24,2 6141 3d7c A11D adc r26,__zero_reg__ 6142 3d7e B11D adc r27,__zero_reg__ 6143 .L828: 6144 3d80 8093 0000 sts SummeNick.2569,r24 6145 3d84 9093 0000 sts (SummeNick.2569)+1,r25 6146 3d88 A093 0000 sts (SummeNick.2569)+2,r26 6147 3d8c B093 0000 sts (SummeNick.2569)+3,r27 6148 3d90 8091 0000 lds r24,SummeNick.2569 6149 3d94 9091 0000 lds r25,(SummeNick.2569)+1 6150 3d98 A091 0000 lds r26,(SummeNick.2569)+2 6151 3d9c B091 0000 lds r27,(SummeNick.2569)+3 6152 3da0 8138 cpi r24,lo8(16001) 6153 3da2 3EE3 ldi r19,hi8(16001) 6154 3da4 9307 cpc r25,r19 6155 3da6 30E0 ldi r19,hlo8(16001) 6156 3da8 A307 cpc r26,r19 6157 3daa 30E0 ldi r19,hhi8(16001) 6158 3dac B307 cpc r27,r19 6159 3dae 04F0 brlt .L773 6160 3db0 80E8 ldi r24,lo8(16000) 6161 3db2 9EE3 ldi r25,hi8(16000) 6162 3db4 A0E0 ldi r26,hlo8(16000) 6163 3db6 B0E0 ldi r27,hhi8(16000) 6164 3db8 00C0 rjmp .L829 6165 .L773: 6166 3dba 8058 subi r24,lo8(-16000) 6167 3dbc 914C sbci r25,hi8(-16000) 6168 3dbe AF4F sbci r26,hlo8(-16000) 6169 3dc0 BF4F sbci r27,hhi8(-16000) 6170 3dc2 04F4 brge .L775 6171 3dc4 80E8 ldi r24,lo8(-16000) 6172 3dc6 91EC ldi r25,hi8(-16000) 6173 3dc8 AFEF ldi r26,hlo8(-16000) 6174 3dca BFEF ldi r27,hhi8(-16000) 6175 .L829: 6176 3dcc 8093 0000 sts SummeNick.2569,r24 6177 3dd0 9093 0000 sts (SummeNick.2569)+1,r25 6178 3dd4 A093 0000 sts (SummeNick.2569)+2,r26 6179 3dd8 B093 0000 sts (SummeNick.2569)+3,r27 6180 .L775: 6181 3ddc 6091 0000 lds r22,DiffNick 6182 3de0 7091 0000 lds r23,(DiffNick)+1 6183 3de4 8091 0000 lds r24,Ki 6184 3de8 9091 0000 lds r25,(Ki)+1 6185 3dec A091 0000 lds r26,(Ki)+2 6186 3df0 B091 0000 lds r27,(Ki)+3 6187 3df4 8D83 std Y+5,r24 6188 3df6 9E83 std Y+6,r25 6189 3df8 AF83 std Y+7,r26 6190 3dfa B887 std Y+8,r27 6191 3dfc 8827 clr r24 6192 3dfe 77FD sbrc r23,7 6193 3e00 8095 com r24 6194 3e02 982F mov r25,r24 6195 3e04 0E94 0000 call __floatsisf 6196 3e08 7B01 movw r14,r22 6197 3e0a 8C01 movw r16,r24 6198 3e0c 6091 0000 lds r22,SummeNick.2569 6199 3e10 7091 0000 lds r23,(SummeNick.2569)+1 6200 3e14 8091 0000 lds r24,(SummeNick.2569)+2 6201 3e18 9091 0000 lds r25,(SummeNick.2569)+3 6202 3e1c 0E94 0000 call __floatsisf 6203 3e20 9B01 movw r18,r22 6204 3e22 AC01 movw r20,r24 6205 3e24 6D81 ldd r22,Y+5 6206 3e26 7E81 ldd r23,Y+6 6207 3e28 8F81 ldd r24,Y+7 6208 3e2a 9885 ldd r25,Y+8 6209 3e2c 0E94 0000 call __mulsf3 6210 3e30 9B01 movw r18,r22 6211 3e32 AC01 movw r20,r24 6212 3e34 C801 movw r24,r16 6213 3e36 B701 movw r22,r14 6214 3e38 0E94 0000 call __addsf3 6215 3e3c 0E94 0000 call __fixsfsi 6216 3e40 3B01 movw r6,r22 6217 3e42 4C01 movw r8,r24 6218 3e44 8B01 movw r16,r22 6219 3e46 8091 0000 lds r24,Parameter_DynamicStability 6220 3e4a A82E mov r10,r24 6221 3e4c BB24 clr r11 6222 3e4e CC24 clr r12 6223 3e50 DD24 clr r13 6224 3e52 8B81 ldd r24,Y+3 6225 3e54 9C81 ldd r25,Y+4 6226 3e56 97FF sbrs r25,7 6227 3e58 00C0 rjmp .L777 6228 3e5a 9095 com r25 6229 3e5c 8195 neg r24 6230 3e5e 9F4F sbci r25,lo8(-1) 6231 .L777: 6232 3e60 62E0 ldi r22,lo8(2) 6233 3e62 70E0 ldi r23,hi8(2) 6234 3e64 0E94 0000 call __divmodhi4 6235 3e68 9B01 movw r18,r22 6236 3e6a A981 ldd r26,Y+1 6237 3e6c BA81 ldd r27,Y+2 6238 3e6e 2A0F add r18,r26 6239 3e70 3B1F adc r19,r27 6240 3e72 4427 clr r20 6241 3e74 37FD sbrc r19,7 6242 3e76 4095 com r20 6243 3e78 542F mov r21,r20 6244 3e7a C601 movw r24,r12 6245 3e7c B501 movw r22,r10 6246 3e7e 0E94 0000 call __mulsi3 6247 3e82 20E4 ldi r18,lo8(64) 6248 3e84 30E0 ldi r19,hi8(64) 6249 3e86 40E0 ldi r20,hlo8(64) 6250 3e88 50E0 ldi r21,hhi8(64) 6251 3e8a 0E94 0000 call __divmodsi4 6252 3e8e 1901 movw r2,r18 6253 3e90 0217 cp r16,r18 6254 3e92 1307 cpc r17,r19 6255 3e94 04F4 brge .L778 6256 3e96 9301 movw r18,r6 6257 .L778: 6258 3e98 6624 clr r6 6259 3e9a 7724 clr r7 6260 3e9c 6218 sub r6,r2 6261 3e9e 7308 sbc r7,r3 6262 3ea0 A301 movw r20,r6 6263 3ea2 6216 cp r6,r18 6264 3ea4 7306 cpc r7,r19 6265 3ea6 04F4 brge .L779 6266 3ea8 A901 movw r20,r18 6267 .L779: 6268 3eaa 8981 ldd r24,Y+1 6269 3eac 9A81 ldd r25,Y+2 6270 3eae EB81 ldd r30,Y+3 6271 3eb0 FC81 ldd r31,Y+4 6272 3eb2 8E0F add r24,r30 6273 3eb4 9F1F adc r25,r31 6274 3eb6 840F add r24,r20 6275 3eb8 951F adc r25,r21 6276 3eba 97FF sbrs r25,7 6277 3ebc 00C0 rjmp .L780 6278 3ebe 20E0 ldi r18,lo8(0) 6279 3ec0 30E0 ldi r19,hi8(0) 6280 3ec2 00C0 rjmp .L782 6281 .L780: 6282 3ec4 9201 movw r18,r4 6283 3ec6 8415 cp r24,r4 6284 3ec8 9505 cpc r25,r5 6285 3eca 04F4 brge .L782 6286 3ecc 9C01 movw r18,r24 6287 .L782: 6288 3ece 8091 0000 lds r24,MIN_GAS 6289 3ed2 682F mov r22,r24 6290 3ed4 7727 clr r23 6291 3ed6 788F std Y+24,r23 6292 3ed8 6F8B std Y+23,r22 6293 3eda CB01 movw r24,r22 6294 3edc 6217 cp r22,r18 6295 3ede 7307 cpc r23,r19 6296 3ee0 04F4 brge .L784 6297 3ee2 C901 movw r24,r18 6298 .L784: 6299 3ee4 8093 0000 sts Motor_Vorne,r24 6300 3ee8 8981 ldd r24,Y+1 6301 3eea 9A81 ldd r25,Y+2 6302 3eec 841B sub r24,r20 6303 3eee 950B sbc r25,r21 6304 3ef0 AB81 ldd r26,Y+3 6305 3ef2 BC81 ldd r27,Y+4 6306 3ef4 8A0F add r24,r26 6307 3ef6 9B1F adc r25,r27 6308 3ef8 97FF sbrs r25,7 6309 3efa 00C0 rjmp .L785 6310 3efc 20E0 ldi r18,lo8(0) 6311 3efe 30E0 ldi r19,hi8(0) 6312 3f00 00C0 rjmp .L787 6313 .L785: 6314 3f02 9201 movw r18,r4 6315 3f04 8415 cp r24,r4 6316 3f06 9505 cpc r25,r5 6317 3f08 04F4 brge .L787 6318 3f0a 9C01 movw r18,r24 6319 .L787: 6320 3f0c 8F89 ldd r24,Y+23 6321 3f0e 988D ldd r25,Y+24 6322 3f10 8217 cp r24,r18 6323 3f12 9307 cpc r25,r19 6324 3f14 04F4 brge .L789 6325 3f16 C901 movw r24,r18 6326 .L789: 6327 3f18 8093 0000 sts Motor_Hinten,r24 6328 3f1c 8091 0000 lds r24,MesswertRoll 6329 3f20 9091 0000 lds r25,(MesswertRoll)+1 6330 3f24 2091 0000 lds r18,GPS_Roll 6331 3f28 3091 0000 lds r19,(GPS_Roll)+1 6332 3f2c 8F84 ldd r8,Y+15 6333 3f2e 9888 ldd r9,Y+16 6334 3f30 821A sub r8,r18 6335 3f32 930A sbc r9,r19 6336 3f34 8819 sub r24,r8 6337 3f36 9909 sbc r25,r9 6338 3f38 9093 0000 sts (DiffRoll)+1,r25 6339 3f3c 8093 0000 sts DiffRoll,r24 6340 3f40 20E0 ldi r18,lo8(0x0) 6341 3f42 30E0 ldi r19,hi8(0x0) 6342 3f44 40E0 ldi r20,hlo8(0x0) 6343 3f46 50E0 ldi r21,hhi8(0x0) 6344 3f48 6985 ldd r22,Y+9 6345 3f4a 7A85 ldd r23,Y+10 6346 3f4c 8B85 ldd r24,Y+11 6347 3f4e 9C85 ldd r25,Y+12 6348 3f50 0E94 0000 call __nesf2 6349 3f54 8823 tst r24 6350 3f56 01F0 breq .L790 6351 3f58 E090 0000 lds r14,IntegralRoll 6352 3f5c F090 0000 lds r15,(IntegralRoll)+1 6353 3f60 0091 0000 lds r16,(IntegralRoll)+2 6354 3f64 1091 0000 lds r17,(IntegralRoll)+3 6355 3f68 6091 0000 lds r22,SummeRoll.2570 6356 3f6c 7091 0000 lds r23,(SummeRoll.2570)+1 6357 3f70 8091 0000 lds r24,(SummeRoll.2570)+2 6358 3f74 9091 0000 lds r25,(SummeRoll.2570)+3 6359 3f78 0E94 0000 call __floatsisf 6360 3f7c 5B01 movw r10,r22 6361 3f7e 6C01 movw r12,r24 6362 3f80 C801 movw r24,r16 6363 3f82 B701 movw r22,r14 6364 3f84 0E94 0000 call __floatsisf 6365 3f88 2985 ldd r18,Y+9 6366 3f8a 3A85 ldd r19,Y+10 6367 3f8c 4B85 ldd r20,Y+11 6368 3f8e 5C85 ldd r21,Y+12 6369 3f90 0E94 0000 call __mulsf3 6370 3f94 7B01 movw r14,r22 6371 3f96 8C01 movw r16,r24 6372 3f98 B401 movw r22,r8 6373 3f9a 8827 clr r24 6374 3f9c 77FD sbrc r23,7 6375 3f9e 8095 com r24 6376 3fa0 982F mov r25,r24 6377 3fa2 0E94 0000 call __floatsisf 6378 3fa6 9B01 movw r18,r22 6379 3fa8 AC01 movw r20,r24 6380 3faa C801 movw r24,r16 6381 3fac B701 movw r22,r14 6382 3fae 0E94 0000 call __subsf3 6383 3fb2 9B01 movw r18,r22 6384 3fb4 AC01 movw r20,r24 6385 3fb6 C601 movw r24,r12 6386 3fb8 B501 movw r22,r10 6387 3fba 0E94 0000 call __addsf3 6388 3fbe 0E94 0000 call __fixsfsi 6389 3fc2 6093 0000 sts SummeRoll.2570,r22 6390 3fc6 7093 0000 sts (SummeRoll.2570)+1,r23 6391 3fca 8093 0000 sts (SummeRoll.2570)+2,r24 6392 3fce 9093 0000 sts (SummeRoll.2570)+3,r25 6393 3fd2 00C0 rjmp .L793 6394 .L790: 6395 3fd4 2091 0000 lds r18,DiffRoll 6396 3fd8 3091 0000 lds r19,(DiffRoll)+1 6397 3fdc 4427 clr r20 6398 3fde 37FD sbrc r19,7 6399 3fe0 4095 com r20 6400 3fe2 542F mov r21,r20 6401 3fe4 8091 0000 lds r24,SummeRoll.2570 6402 3fe8 9091 0000 lds r25,(SummeRoll.2570)+1 6403 3fec A091 0000 lds r26,(SummeRoll.2570)+2 6404 3ff0 B091 0000 lds r27,(SummeRoll.2570)+3 6405 3ff4 820F add r24,r18 6406 3ff6 931F adc r25,r19 6407 3ff8 A41F adc r26,r20 6408 3ffa B51F adc r27,r21 6409 3ffc 8093 0000 sts SummeRoll.2570,r24 6410 4000 9093 0000 sts (SummeRoll.2570)+1,r25 6411 4004 A093 0000 sts (SummeRoll.2570)+2,r26 6412 4008 B093 0000 sts (SummeRoll.2570)+3,r27 6413 .L793: 6414 400c 8091 0000 lds r24,SummeRoll.2570 6415 4010 9091 0000 lds r25,(SummeRoll.2570)+1 6416 4014 A091 0000 lds r26,(SummeRoll.2570)+2 6417 4018 B091 0000 lds r27,(SummeRoll.2570)+3 6418 401c 1816 cp __zero_reg__,r24 6419 401e 1906 cpc __zero_reg__,r25 6420 4020 1A06 cpc __zero_reg__,r26 6421 4022 1B06 cpc __zero_reg__,r27 6422 4024 04F4 brge .L794 6423 4026 0297 sbiw r24,2 6424 4028 A109 sbc r26,__zero_reg__ 6425 402a B109 sbc r27,__zero_reg__ 6426 402c 00C0 rjmp .L830 6427 .L794: 6428 402e 0296 adiw r24,2 6429 4030 A11D adc r26,__zero_reg__ 6430 4032 B11D adc r27,__zero_reg__ 6431 .L830: 6432 4034 8093 0000 sts SummeRoll.2570,r24 6433 4038 9093 0000 sts (SummeRoll.2570)+1,r25 6434 403c A093 0000 sts (SummeRoll.2570)+2,r26 6435 4040 B093 0000 sts (SummeRoll.2570)+3,r27 6436 4044 8091 0000 lds r24,SummeRoll.2570 6437 4048 9091 0000 lds r25,(SummeRoll.2570)+1 6438 404c A091 0000 lds r26,(SummeRoll.2570)+2 6439 4050 B091 0000 lds r27,(SummeRoll.2570)+3 6440 4054 8138 cpi r24,lo8(16001) 6441 4056 EEE3 ldi r30,hi8(16001) 6442 4058 9E07 cpc r25,r30 6443 405a E0E0 ldi r30,hlo8(16001) 6444 405c AE07 cpc r26,r30 6445 405e E0E0 ldi r30,hhi8(16001) 6446 4060 BE07 cpc r27,r30 6447 4062 04F0 brlt .L797 6448 4064 80E8 ldi r24,lo8(16000) 6449 4066 9EE3 ldi r25,hi8(16000) 6450 4068 A0E0 ldi r26,hlo8(16000) 6451 406a B0E0 ldi r27,hhi8(16000) 6452 406c 00C0 rjmp .L831 6453 .L797: 6454 406e 8058 subi r24,lo8(-16000) 6455 4070 914C sbci r25,hi8(-16000) 6456 4072 AF4F sbci r26,hlo8(-16000) 6457 4074 BF4F sbci r27,hhi8(-16000) 6458 4076 04F4 brge .L799 6459 4078 80E8 ldi r24,lo8(-16000) 6460 407a 91EC ldi r25,hi8(-16000) 6461 407c AFEF ldi r26,hlo8(-16000) 6462 407e BFEF ldi r27,hhi8(-16000) 6463 .L831: 6464 4080 8093 0000 sts SummeRoll.2570,r24 6465 4084 9093 0000 sts (SummeRoll.2570)+1,r25 6466 4088 A093 0000 sts (SummeRoll.2570)+2,r26 6467 408c B093 0000 sts (SummeRoll.2570)+3,r27 6468 .L799: 6469 4090 6091 0000 lds r22,DiffRoll 6470 4094 7091 0000 lds r23,(DiffRoll)+1 6471 4098 8827 clr r24 6472 409a 77FD sbrc r23,7 6473 409c 8095 com r24 6474 409e 982F mov r25,r24 6475 40a0 0E94 0000 call __floatsisf 6476 40a4 7B01 movw r14,r22 6477 40a6 8C01 movw r16,r24 6478 40a8 6091 0000 lds r22,SummeRoll.2570 6479 40ac 7091 0000 lds r23,(SummeRoll.2570)+1 6480 40b0 8091 0000 lds r24,(SummeRoll.2570)+2 6481 40b4 9091 0000 lds r25,(SummeRoll.2570)+3 6482 40b8 0E94 0000 call __floatsisf 6483 40bc 9B01 movw r18,r22 6484 40be AC01 movw r20,r24 6485 40c0 6D81 ldd r22,Y+5 6486 40c2 7E81 ldd r23,Y+6 6487 40c4 8F81 ldd r24,Y+7 6488 40c6 9885 ldd r25,Y+8 6489 40c8 0E94 0000 call __mulsf3 6490 40cc 9B01 movw r18,r22 6491 40ce AC01 movw r20,r24 6492 40d0 C801 movw r24,r16 6493 40d2 B701 movw r22,r14 6494 40d4 0E94 0000 call __addsf3 6495 40d8 0E94 0000 call __fixsfsi 6496 40dc 9101 movw r18,r2 6497 40de 6215 cp r22,r2 6498 40e0 7305 cpc r23,r3 6499 40e2 04F4 brge .L801 6500 40e4 9B01 movw r18,r22 6501 .L801: 6502 40e6 C301 movw r24,r6 6503 40e8 6216 cp r6,r18 6504 40ea 7306 cpc r7,r19 6505 40ec 04F4 brge .L802 6506 40ee C901 movw r24,r18 6507 .L802: 6508 40f0 4981 ldd r20,Y+1 6509 40f2 5A81 ldd r21,Y+2 6510 40f4 480F add r20,r24 6511 40f6 591F adc r21,r25 6512 40f8 2B81 ldd r18,Y+3 6513 40fa 3C81 ldd r19,Y+4 6514 40fc 421B sub r20,r18 6515 40fe 530B sbc r21,r19 6516 4100 57FF sbrs r21,7 6517 4102 00C0 rjmp .L803 6518 4104 60E0 ldi r22,lo8(0) 6519 4106 70E0 ldi r23,hi8(0) 6520 4108 00C0 rjmp .L805 6521 .L803: 6522 410a B201 movw r22,r4 6523 410c 4415 cp r20,r4 6524 410e 5505 cpc r21,r5 6525 4110 04F4 brge .L805 6526 4112 BA01 movw r22,r20 6527 .L805: 6528 4114 4F89 ldd r20,Y+23 6529 4116 588D ldd r21,Y+24 6530 4118 4617 cp r20,r22 6531 411a 5707 cpc r21,r23 6532 411c 04F4 brge .L807 6533 411e AB01 movw r20,r22 6534 .L807: 6535 4120 4093 0000 sts Motor_Links,r20 6536 4124 2981 ldd r18,Y+1 6537 4126 3A81 ldd r19,Y+2 6538 4128 281B sub r18,r24 6539 412a 390B sbc r19,r25 6540 412c 4B81 ldd r20,Y+3 6541 412e 5C81 ldd r21,Y+4 6542 4130 241B sub r18,r20 6543 4132 350B sbc r19,r21 6544 4134 37FF sbrs r19,7 6545 4136 00C0 rjmp .L808 6546 4138 80E0 ldi r24,lo8(0) 6547 413a 90E0 ldi r25,hi8(0) 6548 413c 00C0 rjmp .L810 6549 .L808: 6550 413e C201 movw r24,r4 6551 4140 2415 cp r18,r4 6552 4142 3505 cpc r19,r5 6553 4144 04F4 brge .L810 6554 4146 C901 movw r24,r18 6555 .L810: 6556 4148 2F89 ldd r18,Y+23 6557 414a 388D ldd r19,Y+24 6558 414c 2817 cp r18,r24 6559 414e 3907 cpc r19,r25 6560 4150 04F0 brlt .+2 6561 4152 00C0 rjmp .L812 6562 4154 9C01 movw r18,r24 6563 4156 00C0 rjmp .L812 6564 .L552: 6565 4158 2091 0000 lds r18,ExternStickNick 6566 415c 3091 0000 lds r19,(ExternStickNick)+1 6567 4160 C901 movw r24,r18 6568 4162 13E0 ldi r17,3 6569 4164 880F 1: lsl r24 6570 4166 991F rol r25 6571 4168 1A95 dec r17 6572 416a 01F4 brne 1b 6573 416c 821B sub r24,r18 6574 416e 930B sbc r25,r19 6575 4170 68E0 ldi r22,lo8(8) 6576 4172 70E0 ldi r23,hi8(8) 6577 4174 0E94 0000 call __divmodhi4 6578 4178 788F std Y+24,r23 6579 417a 6F8B std Y+23,r22 6580 417c 7093 0000 sts (ExternStickNick)+1,r23 6581 4180 6093 0000 sts ExternStickNick,r22 6582 .L818: 6583 4184 40E0 ldi r20,lo8(0) 6584 4186 50E0 ldi r21,hi8(0) 6585 4188 0C94 0000 jmp .L561 6586 .L628: 6587 418c 8091 0000 lds r24,Looping_Nick 6588 4190 8823 tst r24 6589 4192 01F4 brne .+4 6590 4194 0C94 0000 jmp .L630 6591 4198 0C94 0000 jmp .L627 6592 .L816: 6593 419c 6091 0000 lds r22,IntegralNick 6594 41a0 7091 0000 lds r23,(IntegralNick)+1 6595 41a4 8091 0000 lds r24,(IntegralNick)+2 6596 41a8 9091 0000 lds r25,(IntegralNick)+3 6597 41ac A090 0000 lds r10,EE_Parameter+20 6598 41b0 BB24 clr r11 6599 41b2 CC24 clr r12 6600 41b4 DD24 clr r13 6601 41b6 E090 0000 lds r14,Mittelwert_AccNick 6602 41ba F090 0000 lds r15,(Mittelwert_AccNick)+1 6603 41be A601 movw r20,r12 6604 41c0 9501 movw r18,r10 6605 41c2 0E94 0000 call __divmodsi4 6606 41c6 0027 clr r16 6607 41c8 F7FC sbrc r15,7 6608 41ca 0095 com r16 6609 41cc 102F mov r17,r16 6610 41ce 2E19 sub r18,r14 6611 41d0 3F09 sbc r19,r15 6612 41d2 400B sbc r20,r16 6613 41d4 510B sbc r21,r17 6614 41d6 CA01 movw r24,r20 6615 41d8 B901 movw r22,r18 6616 41da 20E1 ldi r18,lo8(16) 6617 41dc 30E0 ldi r19,hi8(16) 6618 41de 40E0 ldi r20,hlo8(16) 6619 41e0 50E0 ldi r21,hhi8(16) 6620 41e2 0E94 0000 call __divmodsi4 6621 41e6 3901 movw r6,r18 6622 41e8 4A01 movw r8,r20 6623 41ea 6091 0000 lds r22,IntegralRoll 6624 41ee 7091 0000 lds r23,(IntegralRoll)+1 6625 41f2 8091 0000 lds r24,(IntegralRoll)+2 6626 41f6 9091 0000 lds r25,(IntegralRoll)+3 6627 41fa E090 0000 lds r14,Mittelwert_AccRoll 6628 41fe F090 0000 lds r15,(Mittelwert_AccRoll)+1 6629 4202 A601 movw r20,r12 6630 4204 9501 movw r18,r10 6631 4206 0E94 0000 call __divmodsi4 6632 420a 0027 clr r16 6633 420c F7FC sbrc r15,7 6634 420e 0095 com r16 6635 4210 102F mov r17,r16 6636 4212 2E19 sub r18,r14 6637 4214 3F09 sbc r19,r15 6638 4216 400B sbc r20,r16 6639 4218 510B sbc r21,r17 6640 421a CA01 movw r24,r20 6641 421c B901 movw r22,r18 6642 421e 20E1 ldi r18,lo8(16) 6643 4220 30E0 ldi r19,hi8(16) 6644 4222 40E0 ldi r20,hlo8(16) 6645 4224 50E0 ldi r21,hhi8(16) 6646 4226 0E94 0000 call __divmodsi4 6647 422a 5901 movw r10,r18 6648 422c 6A01 movw r12,r20 6649 422e 61E2 ldi r22,lo8(33) 6650 4230 6616 cp r6,r22 6651 4232 7104 cpc r7,__zero_reg__ 6652 4234 8104 cpc r8,__zero_reg__ 6653 4236 9104 cpc r9,__zero_reg__ 6654 4238 04F4 brge .+4 6655 423a 0C94 0000 jmp .L639 6656 423e B0E2 ldi r27,lo8(32) 6657 4240 6B2E mov r6,r27 6658 4242 712C mov r7,__zero_reg__ 6659 4244 812C mov r8,__zero_reg__ 6660 4246 912C mov r9,__zero_reg__ 6661 4248 0C94 0000 jmp .L640 6662 .L636: 6663 424c 1092 0000 sts IntegralAccNick,__zero_reg__ 6664 4250 1092 0000 sts (IntegralAccNick)+1,__zero_reg__ 6665 4254 1092 0000 sts (IntegralAccNick)+2,__zero_reg__ 6666 4258 1092 0000 sts (IntegralAccNick)+3,__zero_reg__ 6667 425c 1092 0000 sts IntegralAccRoll,__zero_reg__ 6668 4260 1092 0000 sts (IntegralAccRoll)+1,__zero_reg__ 6669 4264 1092 0000 sts (IntegralAccRoll)+2,__zero_reg__ 6670 4268 1092 0000 sts (IntegralAccRoll)+3,__zero_reg__ 6671 426c 1092 0000 sts MittelIntegralNick,__zero_reg__ 6672 4270 1092 0000 sts (MittelIntegralNick)+1,__zero_reg__ 6673 4274 1092 0000 sts (MittelIntegralNick)+2,__zero_reg__ 6674 4278 1092 0000 sts (MittelIntegralNick)+3,__zero_reg__ 6675 427c 1092 0000 sts MittelIntegralRoll,__zero_reg__ 6676 4280 1092 0000 sts (MittelIntegralRoll)+1,__zero_reg__ 6677 4284 1092 0000 sts (MittelIntegralRoll)+2,__zero_reg__ 6678 4288 1092 0000 sts (MittelIntegralRoll)+3,__zero_reg__ 6679 428c 1092 0000 sts MittelIntegralNick2,__zero_reg__ 6680 4290 1092 0000 sts (MittelIntegralNick2)+1,__zero_reg__ 6681 4294 1092 0000 sts (MittelIntegralNick2)+2,__zero_reg__ 6682 4298 1092 0000 sts (MittelIntegralNick2)+3,__zero_reg__ 6683 429c 1092 0000 sts MittelIntegralRoll2,__zero_reg__ 6684 42a0 1092 0000 sts (MittelIntegralRoll2)+1,__zero_reg__ 6685 42a4 1092 0000 sts (MittelIntegralRoll2)+2,__zero_reg__ 6686 42a8 1092 0000 sts (MittelIntegralRoll2)+3,__zero_reg__ 6687 42ac 8091 0000 lds r24,Mess_IntegralNick 6688 42b0 9091 0000 lds r25,(Mess_IntegralNick)+1 6689 42b4 A091 0000 lds r26,(Mess_IntegralNick)+2 6690 42b8 B091 0000 lds r27,(Mess_IntegralNick)+3 6691 42bc 8093 0000 sts Mess_IntegralNick2,r24 6692 42c0 9093 0000 sts (Mess_IntegralNick2)+1,r25 6693 42c4 A093 0000 sts (Mess_IntegralNick2)+2,r26 6694 42c8 B093 0000 sts (Mess_IntegralNick2)+3,r27 6695 42cc 8091 0000 lds r24,Mess_IntegralRoll 6696 42d0 9091 0000 lds r25,(Mess_IntegralRoll)+1 6697 42d4 A091 0000 lds r26,(Mess_IntegralRoll)+2 6698 42d8 B091 0000 lds r27,(Mess_IntegralRoll)+3 6699 42dc 8093 0000 sts Mess_IntegralRoll2,r24 6700 42e0 9093 0000 sts (Mess_IntegralRoll2)+1,r25 6701 42e4 A093 0000 sts (Mess_IntegralRoll2)+2,r26 6702 42e8 B093 0000 sts (Mess_IntegralRoll2)+3,r27 6703 42ec 1092 0000 sts (ZaehlMessungen)+1,__zero_reg__ 6704 42f0 1092 0000 sts ZaehlMessungen,__zero_reg__ 6705 42f4 1092 0000 sts (LageKorrekturNick)+1,__zero_reg__ 6706 42f8 1092 0000 sts LageKorrekturNick,__zero_reg__ 6707 42fc 1092 0000 sts (LageKorrekturRoll)+1,__zero_reg__ 6708 4300 1092 0000 sts LageKorrekturRoll,__zero_reg__ 6709 4304 0C94 0000 jmp .L638 6710 .L812: 6711 4308 2093 0000 sts Motor_Rechts,r18 6712 /* epilogue: frame size=26 */ 6713 430c 6A96 adiw r28,26 6714 430e 0FB6 in __tmp_reg__,__SREG__ 6715 4310 F894 cli 6716 4312 DEBF out __SP_H__,r29 6717 4314 0FBE out __SREG__,__tmp_reg__ 6718 4316 CDBF out __SP_L__,r28 6719 4318 DF91 pop r29 6720 431a CF91 pop r28 6721 431c 1F91 pop r17 6722 431e 0F91 pop r16 6723 4320 FF90 pop r15 6724 4322 EF90 pop r14 6725 4324 DF90 pop r13 6726 4326 CF90 pop r12 6727 4328 BF90 pop r11 6728 432a AF90 pop r10 6729 432c 9F90 pop r9 6730 432e 8F90 pop r8 6731 4330 7F90 pop r7 6732 4332 6F90 pop r6 6733 4334 5F90 pop r5 6734 4336 4F90 pop r4 6735 4338 3F90 pop r3 6736 433a 2F90 pop r2 6737 433c 0895 ret 6738 /* epilogue end (size=25) */ 6739 /* function MotorRegler size 5168 (5117) */ 6741 .global I2CTimeout 6742 .data 6745 I2CTimeout: 6746 0019 6400 .word 100 6747 .global AdNeutralNick 6748 .global AdNeutralNick 6749 .section .bss 6752 AdNeutralNick: 6753 0000 0000 .skip 2,0 6754 .global AdNeutralRoll 6755 .global AdNeutralRoll 6758 AdNeutralRoll: 6759 0002 0000 .skip 2,0 6760 .global AdNeutralGier 6761 .global AdNeutralGier 6764 AdNeutralGier: 6765 0004 0000 .skip 2,0 6766 .global StartNeutralRoll 6767 .global StartNeutralRoll 6770 StartNeutralRoll: 6771 0006 0000 .skip 2,0 6772 .global StartNeutralNick 6773 .global StartNeutralNick 6776 StartNeutralNick: 6777 0008 0000 .skip 2,0 6778 .global NeutralAccX 6779 .global NeutralAccX 6782 NeutralAccX: 6783 000a 0000 .skip 2,0 6784 .global NeutralAccY 6785 .global NeutralAccY 6788 NeutralAccY: 6789 000c 0000 .skip 2,0 6790 .global NeutralAccZ 6791 .global NeutralAccZ 6794 NeutralAccZ: 6795 000e 0000 0000 .skip 4,0 6796 .global CosinusNickWinkel 6797 .global CosinusNickWinkel 6800 CosinusNickWinkel: 6801 0012 00 .skip 1,0 6802 .global CosinusRollWinkel 6803 .global CosinusRollWinkel 6806 CosinusRollWinkel: 6807 0013 00 .skip 1,0 6808 .global IntegralNick 6809 .global IntegralNick 6812 IntegralNick: 6813 0014 0000 0000 .skip 4,0 6814 .global IntegralNick2 6815 .global IntegralNick2 6818 IntegralNick2: 6819 0018 0000 0000 .skip 4,0 6820 .global IntegralRoll 6821 .global IntegralRoll 6824 IntegralRoll: 6825 001c 0000 0000 .skip 4,0 6826 .global IntegralRoll2 6827 .global IntegralRoll2 6830 IntegralRoll2: 6831 0020 0000 0000 .skip 4,0 6832 .global IntegralAccNick 6833 .global IntegralAccNick 6836 IntegralAccNick: 6837 0024 0000 0000 .skip 4,0 6838 .global IntegralAccRoll 6839 .global IntegralAccRoll 6842 IntegralAccRoll: 6843 0028 0000 0000 .skip 4,0 6844 .global IntegralAccZ 6845 .global IntegralAccZ 6848 IntegralAccZ: 6849 002c 0000 0000 .skip 4,0 6850 .global Integral_Gier 6851 .global Integral_Gier 6854 Integral_Gier: 6855 0030 0000 0000 .skip 4,0 6856 .global Mess_IntegralNick 6857 .global Mess_IntegralNick 6860 Mess_IntegralNick: 6861 0034 0000 0000 .skip 4,0 6862 .global Mess_IntegralNick2 6863 .global Mess_IntegralNick2 6866 Mess_IntegralNick2: 6867 0038 0000 0000 .skip 4,0 6868 .global Mess_IntegralRoll 6869 .global Mess_IntegralRoll 6872 Mess_IntegralRoll: 6873 003c 0000 0000 .skip 4,0 6874 .global Mess_IntegralRoll2 6875 .global Mess_IntegralRoll2 6878 Mess_IntegralRoll2: 6879 0040 0000 0000 .skip 4,0 6880 .global Mess_Integral_Gier 6881 .global Mess_Integral_Gier 6884 Mess_Integral_Gier: 6885 0044 0000 0000 .skip 4,0 6886 .global Mess_Integral_Gier2 6887 .global Mess_Integral_Gier2 6890 Mess_Integral_Gier2: 6891 0048 0000 0000 .skip 4,0 6892 .global Mess_Integral_Hoch 6893 .global Mess_Integral_Hoch 6896 Mess_Integral_Hoch: 6897 004c 0000 0000 .skip 4,0 6898 .global KompassValue 6899 .global KompassValue 6902 KompassValue: 6903 0050 0000 .skip 2,0 6904 .global KompassStartwert 6905 .global KompassStartwert 6908 KompassStartwert: 6909 0052 0000 .skip 2,0 6910 .global KompassRichtung 6911 .global KompassRichtung 6914 KompassRichtung: 6915 0054 0000 .skip 2,0 6916 .global Notlandung 6917 .global Notlandung 6920 Notlandung: 6921 0056 00 .skip 1,0 6922 .global HoehenReglerAktiv 6923 .global HoehenReglerAktiv 6926 HoehenReglerAktiv: 6927 0057 00 .skip 1,0 6928 .global Umschlag180Nick 6929 .data 6932 Umschlag180Nick: 6933 001b 90 .byte -112 6934 001c D0 .byte -48 6935 001d 03 .byte 3 6936 001e 00 .byte 0 6937 .global Umschlag180Roll 6940 Umschlag180Roll: 6941 001f 90 .byte -112 6942 0020 D0 .byte -48 6943 0021 03 .byte 3 6944 0022 00 .byte 0 6945 .global Poti1 6946 .global Poti1 6947 .section .bss 6950 Poti1: 6951 0058 0000 .skip 2,0 6952 .global Poti2 6953 .global Poti2 6956 Poti2: 6957 005a 0000 .skip 2,0 6958 .global Poti3 6959 .global Poti3 6962 Poti3: 6963 005c 0000 .skip 2,0 6964 .global Poti4 6965 .global Poti4 6968 Poti4: 6969 005e 0000 .skip 2,0 6970 .global SenderOkay 6971 .global SenderOkay 6974 SenderOkay: 6975 0060 00 .skip 1,0 6976 .global StickNick 6977 .global StickNick 6980 StickNick: 6981 0061 0000 .skip 2,0 6982 .global StickRoll 6983 .global StickRoll 6986 StickRoll: 6987 0063 0000 .skip 2,0 6988 .global StickGier 6989 .global StickGier 6992 StickGier: 6993 0065 0000 .skip 2,0 6994 .global MotorenEin 6995 .global MotorenEin 6998 MotorenEin: 6999 0067 00 .skip 1,0 7000 .global HoehenWert 7001 .global HoehenWert 7004 HoehenWert: 7005 0068 0000 .skip 2,0 7006 .global SollHoehe 7007 .global SollHoehe 7010 SollHoehe: 7011 006a 0000 .skip 2,0 7012 .global LageKorrekturRoll 7013 .global LageKorrekturRoll 7016 LageKorrekturRoll: 7017 006c 0000 .skip 2,0 7018 .global LageKorrekturNick 7019 .global LageKorrekturNick 7022 LageKorrekturNick: 7023 006e 0000 .skip 2,0 7024 .global Ki 7025 .data 7028 Ki: 7029 0023 17 .byte 23 7030 0024 B7 .byte -73 7031 0025 D1 .byte -47 7032 0026 38 .byte 56 7033 .global Looping_Nick 7034 .global Looping_Nick 7035 .section .bss 7038 Looping_Nick: 7039 0070 00 .skip 1,0 7040 .global Looping_Roll 7041 .global Looping_Roll 7044 Looping_Roll: 7045 0071 00 .skip 1,0 7046 .global Looping_Links 7047 .global Looping_Links 7050 Looping_Links: 7051 0072 00 .skip 1,0 7052 .global Looping_Rechts 7053 .global Looping_Rechts 7056 Looping_Rechts: 7057 0073 00 .skip 1,0 7058 .global Looping_Unten 7059 .global Looping_Unten 7062 Looping_Unten: 7063 0074 00 .skip 1,0 7064 .global Looping_Oben 7065 .global Looping_Oben 7068 Looping_Oben: 7069 0075 00 .skip 1,0 7070 .global Parameter_Luftdruck_D 7071 .data 7074 Parameter_Luftdruck_D: 7075 0027 30 .byte 48 7076 .global Parameter_MaxHoehe 7079 Parameter_MaxHoehe: 7080 0028 FB .byte -5 7081 .global Parameter_Hoehe_P 7084 Parameter_Hoehe_P: 7085 0029 10 .byte 16 7086 .global Parameter_Hoehe_ACC_Wirkung 7089 Parameter_Hoehe_ACC_Wirkung: 7090 002a 3A .byte 58 7091 .global Parameter_KompassWirkung 7094 Parameter_KompassWirkung: 7095 002b 40 .byte 64 7096 .global Parameter_Gyro_P 7099 Parameter_Gyro_P: 7100 002c 96 .byte -106 7101 .global Parameter_Gyro_I 7104 Parameter_Gyro_I: 7105 002d 96 .byte -106 7106 .global Parameter_Gier_P 7109 Parameter_Gier_P: 7110 002e 02 .byte 2 7111 .global Parameter_I_Faktor 7114 Parameter_I_Faktor: 7115 002f 0A .byte 10 7116 .global Parameter_UserParam1 7117 .global Parameter_UserParam1 7118 .section .bss 7121 Parameter_UserParam1: 7122 0076 00 .skip 1,0 7123 .global Parameter_UserParam2 7124 .global Parameter_UserParam2 7127 Parameter_UserParam2: 7128 0077 00 .skip 1,0 7129 .global Parameter_UserParam3 7130 .global Parameter_UserParam3 7133 Parameter_UserParam3: 7134 0078 00 .skip 1,0 7135 .global Parameter_UserParam4 7136 .global Parameter_UserParam4 7139 Parameter_UserParam4: 7140 0079 00 .skip 1,0 7141 .global Parameter_UserParam5 7142 .global Parameter_UserParam5 7145 Parameter_UserParam5: 7146 007a 00 .skip 1,0 7147 .global Parameter_UserParam6 7148 .global Parameter_UserParam6 7151 Parameter_UserParam6: 7152 007b 00 .skip 1,0 7153 .global Parameter_UserParam7 7154 .global Parameter_UserParam7 7157 Parameter_UserParam7: 7158 007c 00 .skip 1,0 7159 .global Parameter_UserParam8 7160 .global Parameter_UserParam8 7163 Parameter_UserParam8: 7164 007d 00 .skip 1,0 7165 .global Parameter_ServoNickControl 7166 .data 7169 Parameter_ServoNickControl: 7170 0030 64 .byte 100 7171 .global Parameter_LoopGasLimit 7174 Parameter_LoopGasLimit: 7175 0031 46 .byte 70 7176 .global Parameter_AchsKopplung1 7177 .global Parameter_AchsKopplung1 7178 .section .bss 7181 Parameter_AchsKopplung1: 7182 007e 00 .skip 1,0 7183 .global Parameter_AchsGegenKopplung1 7184 .global Parameter_AchsGegenKopplung1 7187 Parameter_AchsGegenKopplung1: 7188 007f 00 .skip 1,0 7189 .global Parameter_DynamicStability 7190 .data 7193 Parameter_DynamicStability: 7194 0032 64 .byte 100 7195 .global ExternStickNick 7196 .global ExternStickNick 7197 .section .bss 7200 ExternStickNick: 7201 0080 0000 .skip 2,0 7202 .global ExternStickRoll 7203 .global ExternStickRoll 7206 ExternStickRoll: 7207 0082 0000 .skip 2,0 7208 .global ExternStickGier 7209 .global ExternStickGier 7212 ExternStickGier: 7213 0084 0000 .skip 2,0 7214 .global ExternHoehenValue 7215 .data 7218 ExternHoehenValue: 7219 0033 ECFF .word -20 7220 .lcomm SignalSchlecht.2599,2 7221 .lcomm MittelIntegralRoll_Alt.2596,4 7222 .lcomm MittelIntegralNick_Alt.2595,4 7223 .lcomm last_r_n.2594,1 7224 .lcomm last_r_p.2593,1 7225 .lcomm last_n_n.2592,1 7226 .lcomm last_n_p.2591,1 7227 .lcomm cnt.2590,2 7228 .lcomm ausgleichRoll.2585,4 7229 .lcomm ausgleichNick.2584,4 7230 .lcomm NeueKompassRichtungMerken.2583,1 7231 .lcomm TimerWerteausgabe.2582,1 7232 .lcomm hoehenregler.2581,2 7233 .lcomm modell_fliegt.2580,2 7234 .lcomm delay_ausschalten.2579,1 7235 .lcomm delay_einschalten.2578,1 7236 .lcomm delay_neutral.2577,1 7237 .lcomm RcLostTimer.2576,2 7238 .lcomm IntegralFehlerRoll.2575,4 7239 .lcomm IntegralFehlerNick.2574,4 7240 .lcomm tmp_long2.2573,4 7241 .lcomm tmp_long.2572,4 7242 .lcomm sollGier.2571,4 7243 .lcomm SummeRoll.2570,4 7244 .lcomm SummeNick.2569,4 7245 .lcomm tmpl2.2204,4 7246 .lcomm tmpl.2203,4 7247 .comm DiffNick,2,1 7248 .comm DiffRoll,2,1 7249 .comm MesswertNick,2,1 7250 .comm MesswertRoll,2,1 7251 .comm MesswertGier,2,1 7252 .comm Mittelwert_AccNick,2,1 7253 .comm Mittelwert_AccRoll,2,1 7254 .comm Mittelwert_AccHoch,2,1 7255 .comm h,1,1 7256 .comm m,1,1 7257 .comm s,1,1 7258 .comm Motor_Vorne,1,1 7259 .comm Motor_Hinten,1,1 7260 .comm Motor_Rechts,1,1 7261 .comm Motor_Links,1,1 7262 .comm Count,1,1 7263 .comm MotorWert,5,1 7264 .comm EE_Parameter,70,1 7265 .comm MittelIntegralNick,4,1 7266 .comm MittelIntegralRoll,4,1 7267 .comm MittelIntegralNick2,4,1 7268 .comm MittelIntegralRoll2,4,1 7269 .comm MAX_GAS,1,1 7270 .comm MIN_GAS,1,1 7271 .comm GyroFaktor,4,1 7272 .comm IntegralFaktor,4,1 7273 /* File "fc.c": code 8718 = 0x220e (8604), prologues 54, epilogues 60 */ DEFINED SYMBOLS *ABS*:00000000 fc.c C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:3 *ABS*:0000003f __SREG__ C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:4 *ABS*:0000003e __SP_H__ C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:5 *ABS*:0000003d __SP_L__ C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6 *ABS*:00000000 __tmp_reg__ C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7 *ABS*:00000001 __zero_reg__ C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:13 .text:00000000 Mittelwert C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6764 .bss:00000004 AdNeutralGier *COM*:00000002 MesswertGier C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6758 .bss:00000002 AdNeutralRoll *COM*:00000002 MesswertRoll C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6752 .bss:00000000 AdNeutralNick *COM*:00000002 MesswertNick *COM*:00000002 Mittelwert_AccNick *COM*:00000002 Mittelwert_AccRoll *COM*:00000002 Mittelwert_AccHoch C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6836 .bss:00000024 IntegralAccNick C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6842 .bss:00000028 IntegralAccRoll C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6848 .bss:0000002c IntegralAccZ C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6794 .bss:0000000e NeutralAccZ C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6884 .bss:00000044 Mess_Integral_Gier C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6890 .bss:00000048 Mess_Integral_Gier2 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7038 .bss:00000070 Looping_Nick C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7044 .bss:00000071 Looping_Roll *COM*:00000046 EE_Parameter C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6860 .bss:00000034 Mess_IntegralNick C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7181 .bss:0000007e Parameter_AchsKopplung1 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7245 .bss:000000c9 tmpl.2203 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6872 .bss:0000003c Mess_IntegralRoll C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7244 .bss:000000c5 tmpl2.2204 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7187 .bss:0000007f Parameter_AchsGegenKopplung1 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6878 .bss:00000040 Mess_IntegralRoll2 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7016 .bss:0000006c LageKorrekturRoll C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6940 .data:0000001f Umschlag180Roll C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6866 .bss:00000038 Mess_IntegralNick2 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7022 .bss:0000006e LageKorrekturNick C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6932 .data:0000001b Umschlag180Nick C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6854 .bss:00000030 Integral_Gier C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6812 .bss:00000014 IntegralNick C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6824 .bss:0000001c IntegralRoll C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6818 .bss:00000018 IntegralNick2 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6830 .bss:00000020 IntegralRoll2 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6950 .bss:00000058 Poti1 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6956 .bss:0000005a Poti2 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6962 .bss:0000005c Poti3 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6968 .bss:0000005e Poti4 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:1133 .text:00000bcc CalibrierMittelwert C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:1413 .text:00000e66 ParameterZuordnung C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7079 .data:00000028 Parameter_MaxHoehe C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7074 .data:00000027 Parameter_Luftdruck_D C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7084 .data:00000029 Parameter_Hoehe_P C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7089 .data:0000002a Parameter_Hoehe_ACC_Wirkung C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7094 .data:0000002b Parameter_KompassWirkung C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7099 .data:0000002c Parameter_Gyro_P C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7104 .data:0000002d Parameter_Gyro_I C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7114 .data:0000002f Parameter_I_Faktor C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7121 .bss:00000076 Parameter_UserParam1 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7127 .bss:00000077 Parameter_UserParam2 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7133 .bss:00000078 Parameter_UserParam3 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7139 .bss:00000079 Parameter_UserParam4 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7145 .bss:0000007a Parameter_UserParam5 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7151 .bss:0000007b Parameter_UserParam6 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7157 .bss:0000007c Parameter_UserParam7 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7163 .bss:0000007d Parameter_UserParam8 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7169 .data:00000030 Parameter_ServoNickControl C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7174 .data:00000031 Parameter_LoopGasLimit C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7193 .data:00000032 Parameter_DynamicStability C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7028 .data:00000023 Ki *COM*:00000001 MAX_GAS *COM*:00000001 MIN_GAS C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:2171 .text:000014a6 SendMotorData C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6998 .bss:00000067 MotorenEin *COM*:00000001 Motor_Hinten *COM*:00000001 Motor_Vorne *COM*:00000001 Motor_Rechts *COM*:00000001 Motor_Links C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:2227 .text:00001534 SetNeutral C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6782 .bss:0000000a NeutralAccX C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6788 .bss:0000000c NeutralAccY C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6770 .bss:00000006 StartNeutralRoll C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6776 .bss:00000008 StartNeutralNick C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6896 .bss:0000004c Mess_Integral_Hoch C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6902 .bss:00000050 KompassValue C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6908 .bss:00000052 KompassStartwert C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7218 .data:00000033 ExternHoehenValue C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:2477 .text:000017f6 Piep C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:2511 .text:00001820 DefaultKonstanten3 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:2616 .text:00001940 DefaultKonstanten2 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:2723 .text:00001a64 DefaultKonstanten1 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:2824 .text:00001b86 MotorRegler C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6974 .bss:00000060 SenderOkay C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7236 .bss:000000a7 RcLostTimer.2576 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6920 .bss:00000056 Notlandung C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7232 .bss:000000a2 modell_fliegt.2580 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7243 .bss:000000c1 SummeNick.2569 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7242 .bss:000000bd SummeRoll.2570 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7235 .bss:000000a6 delay_neutral.2577 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7234 .bss:000000a5 delay_einschalten.2578 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7241 .bss:000000b9 sollGier.2571 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7233 .bss:000000a4 delay_ausschalten.2579 *COM*:00000004 GyroFaktor *COM*:00000004 IntegralFaktor C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7200 .bss:00000080 ExternStickNick C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7206 .bss:00000082 ExternStickRoll C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7212 .bss:00000084 ExternStickGier C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6980 .bss:00000061 StickNick C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6986 .bss:00000063 StickRoll C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6992 .bss:00000065 StickGier C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7050 .bss:00000072 Looping_Links C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7056 .bss:00000073 Looping_Rechts C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7068 .bss:00000075 Looping_Oben C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7062 .bss:00000074 Looping_Unten *COM*:00000004 MittelIntegralNick *COM*:00000004 MittelIntegralRoll *COM*:00000004 MittelIntegralNick2 *COM*:00000004 MittelIntegralRoll2 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7228 .bss:0000009a ausgleichNick.2584 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7240 .bss:000000b5 tmp_long.2572 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7239 .bss:000000b1 tmp_long2.2573 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7238 .bss:000000ad IntegralFehlerNick.2574 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7237 .bss:000000a9 IntegralFehlerRoll.2575 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7226 .bss:00000094 cnt.2590 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7221 .bss:0000008c MittelIntegralNick_Alt.2595 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7225 .bss:00000093 last_n_p.2591 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7224 .bss:00000092 last_n_n.2592 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7227 .bss:00000096 ausgleichRoll.2585 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7220 .bss:00000088 MittelIntegralRoll_Alt.2596 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7223 .bss:00000091 last_r_p.2593 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7222 .bss:00000090 last_r_n.2594 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7229 .bss:0000009e NeueKompassRichtungMerken.2583 .bss:00000086 SignalSchlecht.2599 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6914 .bss:00000054 KompassRichtung C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7230 .bss:0000009f TimerWerteausgabe.2582 C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7004 .bss:00000068 HoehenWert C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7010 .bss:0000006a SollHoehe C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6926 .bss:00000057 HoehenReglerAktiv C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7231 .bss:000000a0 hoehenregler.2581 *COM*:00000002 DiffNick *COM*:00000002 DiffRoll C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6745 .data:00000019 I2CTimeout C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6800 .bss:00000012 CosinusNickWinkel C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:6806 .bss:00000013 CosinusRollWinkel C:\Users\gunterl\AppData\Local\Temp/ccWnqmMy.s:7109 .data:0000002e Parameter_Gier_P *COM*:00000001 h *COM*:00000001 m *COM*:00000001 s *COM*:00000001 Count *COM*:00000005 MotorWert UNDEFINED SYMBOLS __do_copy_data __do_clear_bss AdWertGier AdWertRoll AdWertNick AdWertAccNick __mulsi3 __divmodsi4 AdWertAccRoll AdWertAccHoch Aktuell_az __floatsisf __subsf3 __addsf3 __fixsfsi PlatinenVersion PPM_in __mulsf3 MotorTest DebugOut twi_state motor i2c_start Delay_ms_Mess MessLuftdruck SucheLuftruckOffset EEPromArray __eeprom_read_byte_1F2021 __divmodhi4 Luftdruck StartLuftdruck HoeheD GPS_Neutral beeptime Delay_ms ControlIn PcZugriff BeepMuster __eeprom_write_byte_1F2021 GetActiveParamSetNumber ReadParameterSet NewPpmData PPM_diff __divsf3 DubWiseKeys __ltsf2 ZaehlMessungen __nesf2 UBat __fixunssfsi GPS_Nick GPS_Roll