Subversion Repositories FlightCtrl

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2303 - 1
   1               		.file	"uart.c"
2
   2               		.arch atmega1284p
3
   3               	__SREG__ = 0x3f
4
   4               	__SP_H__ = 0x3e
5
   5               	__SP_L__ = 0x3d
6
   6               	__tmp_reg__ = 0
7
   7               	__zero_reg__ = 1
8
   8               		.global __do_copy_data
9
   9               		.global __do_clear_bss
10
  10               	.global	ANALOG_TEXT
11
  11               		.section	.progmem.data,"a",@progbits
12
  14               	ANALOG_TEXT:
13
  15 0000 416E 676C 		.ascii	"AngleNick       "
14
  15      654E 6963
15
  15      6B20 2020
16
  15      2020 2020
17
  16 0010 416E 676C 		.ascii	"AngleRoll       "
18
  16      6552 6F6C
19
  16      6C20 2020
20
  16      2020 2020
21
  17 0020 4163 634E 		.ascii	"AccNick         "
22
  17      6963 6B20
23
  17      2020 2020
24
  17      2020 2020
25
  18 0030 4163 6352 		.ascii	"AccRoll         "
26
  18      6F6C 6C20
27
  18      2020 2020
28
  18      2020 2020
29
  19 0040 4869 6768 		.ascii	"Hight Setpoint  "
30
  19      7420 5365
31
  19      7470 6F69
32
  19      6E74 2020
33
  20 0050 4865 6967 		.ascii	"Height Value    "
34
  20      6874 2056
35
  20      616C 7565
36
  20      2020 2020
37
  21 0060 436F 6D70 		.ascii	"Compass Setpoint"
38
  21      6173 7320
39
  21      5365 7470
40
  21      6F69 6E74
41
  22 0070 436F 6D70 		.ascii	"Compass Value   "
42
  22      6173 7320
43
  22      5661 6C75
44
  22      6520 2020
45
  23 0080 4375 7272 		.ascii	"Current [0.1A]  "
46
  23      656E 7420
47
  23      5B30 2E31
48
  23      415D 2020
49
  24 0090 566F 6C74 		.ascii	"Voltage [0.1V]  "
50
  24      6167 6520
51
  24      5B30 2E31
52
  24      565D 2020
53
  25 00a0 4D6F 746F 		.ascii	"Motor 1         "
54
  25      7220 3120
55
  25      2020 2020
56
  25      2020 2020
57
  26 00b0 4D6F 746F 		.ascii	"Motor 2         "
58
  26      7220 3220
59
  26      2020 2020
60
  26      2020 2020
61
  27 00c0 4D6F 746F 		.ascii	"Motor 3         "
62
  27      7220 3320
63
  27      2020 2020
64
  27      2020 2020
65
  28 00d0 4D6F 746F 		.ascii	"Motor 4         "
66
  28      7220 3420
67
  28      2020 2020
68
  28      2020 2020
69
  29 00e0 4D6F 746F 		.ascii	"Motor 5         "
70
  29      7220 3520
71
  29      2020 2020
72
  29      2020 2020
73
  30 00f0 4D6F 746F 		.ascii	"Motor 6         "
74
  30      7220 3620
75
  30      2020 2020
76
  30      2020 2020
77
  31 0100 5265 6365 		.ascii	"Receiver Level  "
78
  31      6976 6572
79
  31      204C 6576
80
  31      656C 2020
81
  32 0110 4779 726F 		.ascii	"Gyro Compass    "
82
  32      2043 6F6D
83
  32      7061 7373
84
  32      2020 2020
85
  33 0120 5961 7747 		.ascii	"YawGyro         "
86
  33      7972 6F20
87
  33      2020 2020
88
  33      2020 2020
89
  34 0130 2E2E 2E20 		.ascii	"...             "
90
  34      2020 2020
91
  34      2020 2020
92
  34      2020 2020
93
  35 0140 5365 7276 		.ascii	"Servo           "
94
  35      6F20 2020
95
  35      2020 2020
96
  35      2020 2020
97
  36 0150 486F 7665 		.ascii	"Hovergas        "
98
  36      7267 6173
99
  36      2020 2020
100
  36      2020 2020
101
  37 0160 2E2E 2E20 		.ascii	"...             "
102
  37      2020 2020
103
  37      2020 2020
104
  37      2020 2020
105
  38 0170 4361 7061 		.ascii	"Capacity [mAh]  "
106
  38      6369 7479
107
  38      205B 6D41
108
  38      685D 2020
109
  39 0180 424C 204C 		.ascii	"BL Limit        "
110
  39      696D 6974
111
  39      2020 2020
112
  39      2020 2020
113
  40 0190 2E2E 2E20 		.ascii	"...             "
114
  40      2020 2020
115
  40      2020 2020
116
  40      2020 2020
117
  41 01a0 2E2E 2E20 		.ascii	"...             "
118
  41      2020 2020
119
  41      2020 2020
120
  41      2020 2020
121
  42 01b0 2E2E 2E20 		.ascii	"...             "
122
  42      2020 2020
123
  42      2020 2020
124
  42      2020 2020
125
  43 01c0 4163 635A 		.ascii	"AccZ            "
126
  43      2020 2020
127
  43      2020 2020
128
  43      2020 2020
129
  44 01d0 2E2E 2E20 		.ascii	"...             "
130
  44      2020 2020
131
  44      2020 2020
132
  44      2020 2020
133
  45 01e0 4750 535F 		.ascii	"GPS_Nick        "
134
  45      4E69 636B
135
  45      2020 2020
136
  45      2020 2020
137
  46 01f0 4750 535F 		.ascii	"GPS_Roll        "
138
  46      526F 6C6C
139
  46      2020 2020
140
  46      2020 2020
141
  47               	.global	ReceiverUpdateModeActive
142
  48               	.global	ReceiverUpdateModeActive
143
  49               		.section .bss
144
  52               	ReceiverUpdateModeActive:
145
  53 0000 00        		.skip 1,0
146
  54               	.global	AboTimeOut
147
  55               	.global	AboTimeOut
148
  58               	AboTimeOut:
149
  59 0001 0000      		.skip 2,0
150
  60               	.global	Display_Interval
151
  61               	.global	Display_Interval
152
  64               	Display_Interval:
153
  65 0003 0000      		.skip 2,0
154
  66               	.global	Intervall3D
155
  67               	.global	Intervall3D
156
  70               	Intervall3D:
157
  71 0005 0000      		.skip 2,0
158
  72               	.global	DebugDataIntervall
159
  73               	.global	DebugDataIntervall
160
  76               	DebugDataIntervall:
161
  77 0007 0000      		.skip 2,0
162
  78               	.global	MeineSlaveAdresse
163
  79               		.data
164
  82               	MeineSlaveAdresse:
165
  83 0000 01        		.byte	1
166
  84               	.global	PcZugriff
167
  87               	PcZugriff:
168
  88 0001 64        		.byte	100
169
  89               	.global	DebugTextAnforderung
170
  92               	DebugTextAnforderung:
171
  93 0002 FF        		.byte	-1
172
  94               	.global	PC_MotortestActive
173
  95               	.global	PC_MotortestActive
174
  96               		.section .bss
175
  99               	PC_MotortestActive:
176
 100 0009 00        		.skip 1,0
177
 101               	.global	PC_DebugTimeout
178
 102               	.global	PC_DebugTimeout
179
 105               	PC_DebugTimeout:
180
 106 000a 00        		.skip 1,0
181
 107               	.global	RxDataLen
182
 108               	.global	RxDataLen
183
 111               	RxDataLen:
184
 112 000b 00        		.skip 1,0
185
 113               	.global	pRxData
186
 114               	.global	pRxData
187
 117               	pRxData:
188
 118 000c 0000      		.skip 2,0
189
 119               	.global	AnzahlEmpfangsBytes
190
 120               	.global	AnzahlEmpfangsBytes
191
 123               	AnzahlEmpfangsBytes:
192
 124 000e 00        		.skip 1,0
193
 125               	.global	CntCrcError
194
 126               	.global	CntCrcError
195
 129               	CntCrcError:
196
 130 000f 00        		.skip 1,0
197
 131               	.global	UebertragungAbgeschlossen
198
 132               		.data
199
 135               	UebertragungAbgeschlossen:
200
 136 0003 01        		.byte	1
201
 137               	.global	NeueKoordinateEmpfangen
202
 138               	.global	NeueKoordinateEmpfangen
203
 139               		.section .bss
204
 142               	NeueKoordinateEmpfangen:
205
 143 0010 00        		.skip 1,0
206
 144               	.global	NeuerDatensatzEmpfangen
207
 145               	.global	NeuerDatensatzEmpfangen
208
 148               	NeuerDatensatzEmpfangen:
209
 149 0011 00        		.skip 1,0
210
 150               	.global	SioTmp
211
 151               	.global	SioTmp
212
 154               	SioTmp:
213
 155 0012 00        		.skip 1,0
214
 156               	.global	DisplayLine
215
 157               	.global	DisplayLine
216
 160               	DisplayLine:
217
 161 0013 00        		.skip 1,0
218
 162               	.global	GetPPMChannelAnforderung
219
 163               	.global	GetPPMChannelAnforderung
220
 166               	GetPPMChannelAnforderung:
221
 167 0014 00        		.skip 1,0
222
 168               	.global	GetVersionAnforderung
223
 169               	.global	GetVersionAnforderung
224
 172               	GetVersionAnforderung:
225
 173 0015 00        		.skip 1,0
226
 174               	.global	DebugDataAnforderung
227
 175               	.global	DebugDataAnforderung
228
 178               	DebugDataAnforderung:
229
 179 0016 00        		.skip 1,0
230
 180               	.global	DebugDisplayAnforderung
231
 181               	.global	DebugDisplayAnforderung
232
 184               	DebugDisplayAnforderung:
233
 185 0017 00        		.skip 1,0
234
 186               	.global	DebugDisplayAnforderung1
235
 187               	.global	DebugDisplayAnforderung1
236
 190               	DebugDisplayAnforderung1:
237
 191 0018 00        		.skip 1,0
238
 192               	.global	GetExternalControl
239
 193               	.global	GetExternalControl
240
 196               	GetExternalControl:
241
 197 0019 00        		.skip 1,0
242
 198               		.lcomm ptr.6,2
243
 199               		.text
244
 200               	.global	__vector_22
245
 202               	__vector_22:
246
 203               	/* prologue: frame size=0 */
247
 204 0000 1F92      		push __zero_reg__
248
 205 0002 0F92      		push __tmp_reg__
249
 206 0004 0FB6      		in __tmp_reg__,__SREG__
250
 207 0006 0F92      		push __tmp_reg__
251
 208 0008 1124      		clr __zero_reg__
252
 209 000a 8F93      		push r24
253
 210 000c 9F93      		push r25
254
 211 000e EF93      		push r30
255
 212 0010 FF93      		push r31
256
 213               	/* prologue end (size=9) */
257
 214 0012 8091 0000 		lds r24,UebertragungAbgeschlossen
258
 215 0016 8823      		tst r24
259
 216 0018 01F4      		brne .L2
260
 217 001a 8091 0000 		lds r24,ptr.6
261
 218 001e 9091 0000 		lds r25,(ptr.6)+1
262
 219 0022 0196      		adiw r24,1
263
 220 0024 9093 0000 		sts (ptr.6)+1,r25
264
 221 0028 8093 0000 		sts ptr.6,r24
265
 222 002c FC01      		movw r30,r24
266
 223 002e E050      		subi r30,lo8(-(TxdBuffer))
267
 224 0030 F040      		sbci r31,hi8(-(TxdBuffer))
268
 225 0032 E081      		ld r30,Z
269
 226 0034 ED30      		cpi r30,lo8(13)
270
 227 0036 01F0      		breq .L4
271
 228 0038 8F3A      		cpi r24,175
272
 229 003a 9105      		cpc r25,__zero_reg__
273
 230 003c 01F4      		brne .L3
274
 231               	.L4:
275
 232 003e 1092 0000 		sts (ptr.6)+1,__zero_reg__
276
 233 0042 1092 0000 		sts ptr.6,__zero_reg__
277
 234 0046 81E0      		ldi r24,lo8(1)
278
 235 0048 8093 0000 		sts UebertragungAbgeschlossen,r24
279
 236               	.L3:
280
 237 004c E093 C600 		sts 198,r30
281
 238 0050 00C0      		rjmp .L1
282
 239               	.L2:
283
 240 0052 1092 0000 		sts (ptr.6)+1,__zero_reg__
284
 241 0056 1092 0000 		sts ptr.6,__zero_reg__
285
 242               	.L1:
286
 243               	/* epilogue: frame size=0 */
287
 244 005a FF91      		pop r31
288
 245 005c EF91      		pop r30
289
 246 005e 9F91      		pop r25
290
 247 0060 8F91      		pop r24
291
 248 0062 0F90      		pop __tmp_reg__
292
 249 0064 0FBE      		out __SREG__,__tmp_reg__
293
 250 0066 0F90      		pop __tmp_reg__
294
 251 0068 1F90      		pop __zero_reg__
295
 252 006a 1895      		reti
296
 253               	/* epilogue end (size=9) */
297
 254               	/* function __vector_22 size 54 (36) */
298
 256               		.lcomm crc.1,2
299
 257               		.lcomm crc1.2,1
300
 258               		.lcomm crc2.3,1
301
 259               		.lcomm buf_ptr.4,1
302
 260               		.lcomm UartState.5,1
303
 261               	.global	__vector_20
304
 263               	__vector_20:
305
 264               	/* prologue: frame size=0 */
306
 265 006c 1F92      		push __zero_reg__
307
 266 006e 0F92      		push __tmp_reg__
308
 267 0070 0FB6      		in __tmp_reg__,__SREG__
309
 268 0072 0F92      		push __tmp_reg__
310
 269 0074 1124      		clr __zero_reg__
311
 270 0076 2F93      		push r18
312
 271 0078 3F93      		push r19
313
 272 007a 4F93      		push r20
314
 273 007c 5F93      		push r21
315
 274 007e 6F93      		push r22
316
 275 0080 7F93      		push r23
317
 276 0082 8F93      		push r24
318
 277 0084 9F93      		push r25
319
 278 0086 AF93      		push r26
320
 279 0088 BF93      		push r27
321
 280 008a CF93      		push r28
322
 281 008c EF93      		push r30
323
 282 008e FF93      		push r31
324
 283               	/* prologue end (size=18) */
325
 284 0090 90E0      		ldi r25,lo8(0)
326
 285 0092 8091 0000 		lds r24,ReceiverUpdateModeActive
327
 286 0096 8130      		cpi r24,lo8(1)
328
 287 0098 01F4      		brne .L7
329
 288 009a 8091 C600 		lds r24,198
330
 289 009e 8093 CE00 		sts 206,r24
331
 290 00a2 00C0      		rjmp .L6
332
 291               	.L7:
333
 292 00a4 8091 0000 		lds r24,ReceiverUpdateModeActive
334
 293 00a8 8230      		cpi r24,lo8(2)
335
 294 00aa 01F4      		brne .L8
336
 295 00ac 8091 C600 		lds r24,198
337
 296 00b0 8093 0000 		sts RxdBuffer,r24
338
 297 00b4 00C0      		rjmp .L6
339
 298               	.L8:
340
 299 00b6 8091 C600 		lds r24,198
341
 300 00ba 8093 0000 		sts SioTmp,r24
342
 301 00be 5091 0000 		lds r21,buf_ptr.4
343
 302 00c2 5F3A      		cpi r21,lo8(-81)
344
 303 00c4 00F0      		brlo .L9
345
 304 00c6 9093 0000 		sts UartState.5,r25
346
 305               	.L9:
347
 306 00ca 8091 0000 		lds r24,SioTmp
348
 307 00ce 8D30      		cpi r24,lo8(13)
349
 308 00d0 01F0      		breq .+2
350
 309 00d2 00C0      		rjmp .L10
351
 310 00d4 8091 0000 		lds r24,UartState.5
352
 311 00d8 8230      		cpi r24,lo8(2)
353
 312 00da 01F0      		breq .+2
354
 313 00dc 00C0      		rjmp .L10
355
 314 00de 9093 0000 		sts UartState.5,r25
356
 315 00e2 852F      		mov r24,r21
357
 316 00e4 9927      		clr r25
358
 317 00e6 8050      		subi r24,lo8(-(RxdBuffer))
359
 318 00e8 9040      		sbci r25,hi8(-(RxdBuffer))
360
 319 00ea FC01      		movw r30,r24
361
 320 00ec 3297      		sbiw r30,2
362
 321 00ee 4081      		ld r20,Z
363
 322 00f0 2091 0000 		lds r18,crc.1
364
 323 00f4 3091 0000 		lds r19,(crc.1)+1
365
 324 00f8 241B      		sub r18,r20
366
 325 00fa 3109      		sbc r19,__zero_reg__
367
 326 00fc DC01      		movw r26,r24
368
 327 00fe 1197      		sbiw r26,1
369
 328 0100 8C91      		ld r24,X
370
 329 0102 281B      		sub r18,r24
371
 330 0104 3109      		sbc r19,__zero_reg__
372
 331 0106 C901      		movw r24,r18
373
 332 0108 9F70      		andi r25,hi8(4095)
374
 333 010a 9093 0000 		sts (crc.1)+1,r25
375
 334 010e 8093 0000 		sts crc.1,r24
376
 335 0112 46E0      		ldi r20,6
377
 336 0114 9695      	1:	lsr r25
378
 337 0116 8795      		ror r24
379
 338 0118 4A95      		dec r20
380
 339 011a 01F4      		brne 1b
381
 340 011c 982F      		mov r25,r24
382
 341 011e 935C      		subi r25,lo8(-(61))
383
 342 0120 9093 0000 		sts crc1.2,r25
384
 343 0124 2F73      		andi r18,lo8(63)
385
 344 0126 3070      		andi r19,hi8(63)
386
 345 0128 235C      		subi r18,lo8(-(61))
387
 346 012a 2093 0000 		sts crc2.3,r18
388
 347 012e 8081      		ld r24,Z
389
 348 0130 9817      		cp r25,r24
390
 349 0132 01F4      		brne .L11
391
 350 0134 8C91      		ld r24,X
392
 351 0136 2817      		cp r18,r24
393
 352 0138 01F4      		brne .L11
394
 353 013a 91E0      		ldi r25,lo8(1)
395
 354 013c 00C0      		rjmp .L12
396
 355               	.L11:
397
 356 013e 90E0      		ldi r25,lo8(0)
398
 357 0140 8091 0000 		lds r24,CntCrcError
399
 358 0144 8F5F      		subi r24,lo8(-(1))
400
 359 0146 8093 0000 		sts CntCrcError,r24
401
 360               	.L12:
402
 361 014a C091 0000 		lds r28,NeuerDatensatzEmpfangen
403
 362 014e CC23      		tst r28
404
 363 0150 01F0      		breq .+2
405
 364 0152 00C0      		rjmp .L6
406
 365 0154 9923      		tst r25
407
 366 0156 01F4      		brne .+2
408
 367 0158 00C0      		rjmp .L6
409
 368 015a 81E0      		ldi r24,lo8(1)
410
 369 015c 8093 0000 		sts NeuerDatensatzEmpfangen,r24
411
 370 0160 580F      		add r21,r24
412
 371 0162 5093 0000 		sts AnzahlEmpfangsBytes,r21
413
 372 0166 5150      		subi r21,lo8(-(-1))
414
 373 0168 E52F      		mov r30,r21
415
 374 016a FF27      		clr r31
416
 375 016c E050      		subi r30,lo8(-(RxdBuffer))
417
 376 016e F040      		sbci r31,hi8(-(RxdBuffer))
418
 377 0170 8DE0      		ldi r24,lo8(13)
419
 378 0172 8083      		st Z,r24
420
 379 0174 8091 0000 		lds r24,RxdBuffer+2
421
 380 0178 8235      		cpi r24,lo8(82)
422
 381 017a 01F0      		breq .+2
423
 382 017c 00C0      		rjmp .L6
424
 383 017e 0E94 0000 		call LcdClear
425
 384 0182 88E1      		ldi r24,lo8(24)
426
 385 0184 90E0      		ldi r25,hi8(24)
427
 386 0186 2CE0      		ldi r18,lo8(12)
428
 387               	/* #APP */
429
 388 0188 0FB6      		in __tmp_reg__,__SREG__
430
 389 018a F894      		cli
431
 390 018c A895      		wdr
432
 391 018e 8093 6000 		sts 96,r24
433
 392 0192 0FBE      		out __SREG__,__tmp_reg__
434
 393 0194 2093 6000 		sts 96,r18
435
 394
436
 395               	/* #NOAPP */
437
 396 0198 C093 0000 		sts ServoActive,r28
438
 397 019c 00C0      		rjmp .L6
439
 398               	.L10:
440
 399 019e 2091 0000 		lds r18,UartState.5
441
 400 01a2 822F      		mov r24,r18
442
 401 01a4 9927      		clr r25
443
 402 01a6 8130      		cpi r24,1
444
 403 01a8 9105      		cpc r25,__zero_reg__
445
 404 01aa 01F0      		breq .L19
446
 405 01ac 8230      		cpi r24,2
447
 406 01ae 9105      		cpc r25,__zero_reg__
448
 407 01b0 04F4      		brge .L24
449
 408 01b2 892B      		or r24,r25
450
 409 01b4 01F0      		breq .L17
451
 410 01b6 00C0      		rjmp .L23
452
 411               	.L24:
453
 412 01b8 0297      		sbiw r24,2
454
 413 01ba 01F0      		breq .L20
455
 414 01bc 00C0      		rjmp .L23
456
 415               	.L17:
457
 416 01be 8091 0000 		lds r24,SioTmp
458
 417 01c2 8332      		cpi r24,lo8(35)
459
 418 01c4 01F4      		brne .L18
460
 419 01c6 8091 0000 		lds r24,NeuerDatensatzEmpfangen
461
 420 01ca 8823      		tst r24
462
 421 01cc 01F4      		brne .L18
463
 422 01ce 81E0      		ldi r24,lo8(1)
464
 423 01d0 8093 0000 		sts UartState.5,r24
465
 424               	.L18:
466
 425 01d4 8091 0000 		lds r24,SioTmp
467
 426 01d8 8093 0000 		sts RxdBuffer,r24
468
 427 01dc 81E0      		ldi r24,lo8(1)
469
 428 01de 8093 0000 		sts buf_ptr.4,r24
470
 429 01e2 8091 0000 		lds r24,SioTmp
471
 430 01e6 9927      		clr r25
472
 431 01e8 00C0      		rjmp .L25
473
 432               	.L19:
474
 433 01ea 2F5F      		subi r18,lo8(-(1))
475
 434 01ec 2093 0000 		sts UartState.5,r18
476
 435 01f0 E52F      		mov r30,r21
477
 436 01f2 FF27      		clr r31
478
 437 01f4 E050      		subi r30,lo8(-(RxdBuffer))
479
 438 01f6 F040      		sbci r31,hi8(-(RxdBuffer))
480
 439 01f8 8091 0000 		lds r24,SioTmp
481
 440 01fc 8083      		st Z,r24
482
 441 01fe 00C0      		rjmp .L26
483
 442               	.L20:
484
 443 0200 E52F      		mov r30,r21
485
 444 0202 FF27      		clr r31
486
 445 0204 E050      		subi r30,lo8(-(RxdBuffer))
487
 446 0206 F040      		sbci r31,hi8(-(RxdBuffer))
488
 447 0208 8091 0000 		lds r24,SioTmp
489
 448 020c 8083      		st Z,r24
490
 449 020e 5F3A      		cpi r21,lo8(-81)
491
 450 0210 00F4      		brsh .L21
492
 451               	.L26:
493
 452 0212 5F5F      		subi r21,lo8(-(1))
494
 453 0214 5093 0000 		sts buf_ptr.4,r21
495
 454 0218 00C0      		rjmp .L22
496
 455               	.L21:
497
 456 021a 1092 0000 		sts UartState.5,__zero_reg__
498
 457               	.L22:
499
 458 021e 2091 0000 		lds r18,SioTmp
500
 459 0222 8091 0000 		lds r24,crc.1
501
 460 0226 9091 0000 		lds r25,(crc.1)+1
502
 461 022a 820F      		add r24,r18
503
 462 022c 911D      		adc r25,__zero_reg__
504
 463               	.L25:
505
 464 022e 9093 0000 		sts (crc.1)+1,r25
506
 465 0232 8093 0000 		sts crc.1,r24
507
 466 0236 00C0      		rjmp .L6
508
 467               	.L23:
509
 468 0238 1092 0000 		sts UartState.5,__zero_reg__
510
 469               	.L6:
511
 470               	/* epilogue: frame size=0 */
512
 471 023c FF91      		pop r31
513
 472 023e EF91      		pop r30
514
 473 0240 CF91      		pop r28
515
 474 0242 BF91      		pop r27
516
 475 0244 AF91      		pop r26
517
 476 0246 9F91      		pop r25
518
 477 0248 8F91      		pop r24
519
 478 024a 7F91      		pop r23
520
 479 024c 6F91      		pop r22
521
 480 024e 5F91      		pop r21
522
 481 0250 4F91      		pop r20
523
 482 0252 3F91      		pop r19
524
 483 0254 2F91      		pop r18
525
 484 0256 0F90      		pop __tmp_reg__
526
 485 0258 0FBE      		out __SREG__,__tmp_reg__
527
 486 025a 0F90      		pop __tmp_reg__
528
 487 025c 1F90      		pop __zero_reg__
529
 488 025e 1895      		reti
530
 489               	/* epilogue end (size=18) */
531
 490               	/* function __vector_20 size 258 (222) */
532
 492               	.global	AddCRC
533
 494               	AddCRC:
534
 495               	/* prologue: frame size=0 */
535
 496               	/* prologue end (size=0) */
536
 497 0260 AC01      		movw r20,r24
537
 498 0262 A0E0      		ldi r26,lo8(0)
538
 499 0264 B0E0      		ldi r27,hi8(0)
539
 500 0266 9D01      		movw r18,r26
540
 501 0268 A817      		cp r26,r24
541
 502 026a B907      		cpc r27,r25
542
 503 026c 00F4      		brsh .L33
543
 504 026e E0E0      		ldi r30,lo8(TxdBuffer)
544
 505 0270 F0E0      		ldi r31,hi8(TxdBuffer)
545
 506               	.L31:
546
 507 0272 8191      		ld r24,Z+
547
 508 0274 280F      		add r18,r24
548
 509 0276 311D      		adc r19,__zero_reg__
549
 510 0278 1196      		adiw r26,1
550
 511 027a A417      		cp r26,r20
551
 512 027c B507      		cpc r27,r21
552
 513 027e 00F0      		brlo .L31
553
 514               	.L33:
554
 515 0280 3F70      		andi r19,hi8(4095)
555
 516 0282 FD01      		movw r30,r26
556
 517 0284 E050      		subi r30,lo8(-(TxdBuffer))
557
 518 0286 F040      		sbci r31,hi8(-(TxdBuffer))
558
 519 0288 C901      		movw r24,r18
559
 520 028a 56E0      		ldi r21,6
560
 521 028c 9695      	1:	lsr r25
561
 522 028e 8795      		ror r24
562
 523 0290 5A95      		dec r21
563
 524 0292 01F4      		brne 1b
564
 525 0294 835C      		subi r24,lo8(-(61))
565
 526 0296 8083      		st Z,r24
566
 527 0298 1196      		adiw r26,1
567
 528 029a FD01      		movw r30,r26
568
 529 029c E050      		subi r30,lo8(-(TxdBuffer))
569
 530 029e F040      		sbci r31,hi8(-(TxdBuffer))
570
 531 02a0 2F73      		andi r18,lo8(63)
571
 532 02a2 3070      		andi r19,hi8(63)
572
 533 02a4 822F      		mov r24,r18
573
 534 02a6 835C      		subi r24,lo8(-(61))
574
 535 02a8 8083      		st Z,r24
575
 536 02aa A050      		subi r26,lo8(-(TxdBuffer+1))
576
 537 02ac B040      		sbci r27,hi8(-(TxdBuffer+1))
577
 538 02ae 8DE0      		ldi r24,lo8(13)
578
 539 02b0 8C93      		st X,r24
579
 540 02b2 1092 0000 		sts UebertragungAbgeschlossen,__zero_reg__
580
 541 02b6 8091 0000 		lds r24,TxdBuffer
581
 542 02ba 8093 C600 		sts 198,r24
582
 543               	/* epilogue: frame size=0 */
583
 544 02be 0895      		ret
584
 545               	/* epilogue end (size=1) */
585
 546               	/* function AddCRC size 49 (48) */
586
 548               	.global	SendOutData
587
 550               	SendOutData:
588
 551               	/* prologue: frame size=0 */
589
 552 02c0 A0E0      		ldi r26,lo8(0)
590
 553 02c2 B0E0      		ldi r27,hi8(0)
591
 554 02c4 E0E0      		ldi r30,pm_lo8(1f)
592
 555 02c6 F0E0      		ldi r31,pm_hi8(1f)
593
 556 02c8 0C94 0000 		jmp __prologue_saves__+18
594
 557               	1:
595
 558               	/* prologue end (size=6) */
596
 559 02cc 2C85      		ldd r18,Y+12
597
 560 02ce 9D85      		ldd r25,Y+13
598
 561 02d0 0E85      		ldd r16,Y+14
599
 562 02d2 BB24      		clr r11
600
 563 02d4 83E2      		ldi r24,lo8(35)
601
 564 02d6 8093 0000 		sts TxdBuffer,r24
602
 565 02da 9F59      		subi r25,lo8(-(97))
603
 566 02dc 9093 0000 		sts TxdBuffer+1,r25
604
 567 02e0 2093 0000 		sts TxdBuffer+2,r18
605
 568 02e4 33E0      		ldi r19,lo8(3)
606
 569 02e6 E32E      		mov r14,r19
607
 570 02e8 F12C      		mov r15,__zero_reg__
608
 571 02ea 0023      		tst r16
609
 572 02ec 01F4      		brne .+2
610
 573 02ee 00C0      		rjmp .L49
611
 574 02f0 CF84      		ldd r12,Y+15
612
 575 02f2 D888      		ldd r13,Y+16
613
 576 02f4 BE01      		movw r22,r28
614
 577 02f6 6D5E      		subi r22,lo8(-(19))
615
 578 02f8 7F4F      		sbci r23,hi8(-(19))
616
 579 02fa A989      		ldd r26,Y+17
617
 580 02fc BA89      		ldd r27,Y+18
618
 581 02fe 0150      		subi r16,lo8(-(-1))
619
 582               	.L50:
620
 583 0300 1097      		sbiw r26,0
621
 584 0302 01F4      		brne .+2
622
 585 0304 00C0      		rjmp .L49
623
 586 0306 1097      		sbiw r26,0
624
 587 0308 01F0      		breq .L38
625
 588 030a F601      		movw r30,r12
626
 589 030c EB0D      		add r30,r11
627
 590 030e F11D      		adc r31,__zero_reg__
628
 591 0310 B394      		inc r11
629
 592 0312 9081      		ld r25,Z
630
 593 0314 1197      		sbiw r26,1
631
 594 0316 01F4      		brne .L40
632
 595 0318 0023      		tst r16
633
 596 031a 01F0      		breq .L41
634
 597 031c FB01      		movw r30,r22
635
 598 031e 6E5F      		subi r22,lo8(-(2))
636
 599 0320 7F4F      		sbci r23,hi8(-(2))
637
 600 0322 DB01      		movw r26,r22
638
 601 0324 C080      		ld r12,Z
639
 602 0326 D180      		ldd r13,Z+1
640
 603 0328 6E5F      		subi r22,lo8(-(2))
641
 604 032a 7F4F      		sbci r23,hi8(-(2))
642
 605 032c 0D90      		ld __tmp_reg__,X+
643
 606 032e BC91      		ld r27,X
644
 607 0330 A02D      		mov r26,__tmp_reg__
645
 608 0332 BB24      		clr r11
646
 609 0334 0150      		subi r16,lo8(-(-1))
647
 610 0336 00C0      		rjmp .L40
648
 611               	.L38:
649
 612 0338 90E0      		ldi r25,lo8(0)
650
 613 033a 00C0      		rjmp .L41
651
 614               	.L40:
652
 615 033c 1097      		sbiw r26,0
653
 616 033e 01F0      		breq .L41
654
 617 0340 F601      		movw r30,r12
655
 618 0342 EB0D      		add r30,r11
656
 619 0344 F11D      		adc r31,__zero_reg__
657
 620 0346 B394      		inc r11
658
 621 0348 4081      		ld r20,Z
659
 622 034a 1197      		sbiw r26,1
660
 623 034c 01F4      		brne .L43
661
 624 034e 0023      		tst r16
662
 625 0350 01F0      		breq .L44
663
 626 0352 FB01      		movw r30,r22
664
 627 0354 6E5F      		subi r22,lo8(-(2))
665
 628 0356 7F4F      		sbci r23,hi8(-(2))
666
 629 0358 DB01      		movw r26,r22
667
 630 035a C080      		ld r12,Z
668
 631 035c D180      		ldd r13,Z+1
669
 632 035e 6E5F      		subi r22,lo8(-(2))
670
 633 0360 7F4F      		sbci r23,hi8(-(2))
671
 634 0362 0D90      		ld __tmp_reg__,X+
672
 635 0364 BC91      		ld r27,X
673
 636 0366 A02D      		mov r26,__tmp_reg__
674
 637 0368 BB24      		clr r11
675
 638 036a 0150      		subi r16,lo8(-(-1))
676
 639 036c 00C0      		rjmp .L43
677
 640               	.L41:
678
 641 036e 40E0      		ldi r20,lo8(0)
679
 642 0370 00C0      		rjmp .L44
680
 643               	.L43:
681
 644 0372 1097      		sbiw r26,0
682
 645 0374 01F0      		breq .L44
683
 646 0376 F601      		movw r30,r12
684
 647 0378 EB0D      		add r30,r11
685
 648 037a F11D      		adc r31,__zero_reg__
686
 649 037c B394      		inc r11
687
 650 037e 1081      		ld r17,Z
688
 651 0380 1197      		sbiw r26,1
689
 652 0382 01F4      		brne .L46
690
 653 0384 0023      		tst r16
691
 654 0386 01F0      		breq .L46
692
 655 0388 FB01      		movw r30,r22
693
 656 038a 3296      		adiw r30,2
694
 657 038c DB01      		movw r26,r22
695
 658 038e CD90      		ld r12,X+
696
 659 0390 DC90      		ld r13,X
697
 660 0392 BF01      		movw r22,r30
698
 661 0394 6E5F      		subi r22,lo8(-(2))
699
 662 0396 7F4F      		sbci r23,hi8(-(2))
700
 663 0398 A081      		ld r26,Z
701
 664 039a B181      		ldd r27,Z+1
702
 665 039c BB24      		clr r11
703
 666 039e 0150      		subi r16,lo8(-(-1))
704
 667 03a0 00C0      		rjmp .L46
705
 668               	.L44:
706
 669 03a2 10E0      		ldi r17,lo8(0)
707
 670               	.L46:
708
 671 03a4 F701      		movw r30,r14
709
 672 03a6 E050      		subi r30,lo8(-(TxdBuffer))
710
 673 03a8 F040      		sbci r31,hi8(-(TxdBuffer))
711
 674 03aa 892F      		mov r24,r25
712
 675 03ac 8695      		lsr r24
713
 676 03ae 8695      		lsr r24
714
 677 03b0 835C      		subi r24,lo8(-(61))
715
 678 03b2 8083      		st Z,r24
716
 679 03b4 0894      		sec
717
 680 03b6 E11C      		adc r14,__zero_reg__
718
 681 03b8 F11C      		adc r15,__zero_reg__
719
 682 03ba F701      		movw r30,r14
720
 683 03bc E050      		subi r30,lo8(-(TxdBuffer))
721
 684 03be F040      		sbci r31,hi8(-(TxdBuffer))
722
 685 03c0 892F      		mov r24,r25
723
 686 03c2 9927      		clr r25
724
 687 03c4 8370      		andi r24,lo8(3)
725
 688 03c6 9070      		andi r25,hi8(3)
726
 689 03c8 24E0      		ldi r18,4
727
 690 03ca 880F      	1:	lsl r24
728
 691 03cc 991F      		rol r25
729
 692 03ce 2A95      		dec r18
730
 693 03d0 01F4      		brne 1b
731
 694 03d2 5527      		clr r21
732
 695 03d4 9A01      		movw r18,r20
733
 696 03d6 94E0      		ldi r25,4
734
 697 03d8 3695      	1:	lsr r19
735
 698 03da 2795      		ror r18
736
 699 03dc 9A95      		dec r25
737
 700 03de 01F4      		brne 1b
738
 701 03e0 822B      		or r24,r18
739
 702 03e2 835C      		subi r24,lo8(-(61))
740
 703 03e4 8083      		st Z,r24
741
 704 03e6 0894      		sec
742
 705 03e8 E11C      		adc r14,__zero_reg__
743
 706 03ea F11C      		adc r15,__zero_reg__
744
 707 03ec F701      		movw r30,r14
745
 708 03ee E050      		subi r30,lo8(-(TxdBuffer))
746
 709 03f0 F040      		sbci r31,hi8(-(TxdBuffer))
747
 710 03f2 4F70      		andi r20,lo8(15)
748
 711 03f4 5070      		andi r21,hi8(15)
749
 712 03f6 440F      		lsl r20
750
 713 03f8 551F      		rol r21
751
 714 03fa 440F      		lsl r20
752
 715 03fc 551F      		rol r21
753
 716 03fe 812F      		mov r24,r17
754
 717 0400 9927      		clr r25
755
 718 0402 26E0      		ldi r18,6
756
 719 0404 9695      	1:	lsr r25
757
 720 0406 8795      		ror r24
758
 721 0408 2A95      		dec r18
759
 722 040a 01F4      		brne 1b
760
 723 040c 842B      		or r24,r20
761
 724 040e 835C      		subi r24,lo8(-(61))
762
 725 0410 8083      		st Z,r24
763
 726 0412 0894      		sec
764
 727 0414 E11C      		adc r14,__zero_reg__
765
 728 0416 F11C      		adc r15,__zero_reg__
766
 729 0418 F701      		movw r30,r14
767
 730 041a E050      		subi r30,lo8(-(TxdBuffer))
768
 731 041c F040      		sbci r31,hi8(-(TxdBuffer))
769
 732 041e 1F73      		andi r17,lo8(63)
770
 733 0420 135C      		subi r17,lo8(-(61))
771
 734 0422 1083      		st Z,r17
772
 735 0424 0894      		sec
773
 736 0426 E11C      		adc r14,__zero_reg__
774
 737 0428 F11C      		adc r15,__zero_reg__
775
 738 042a 00C0      		rjmp .L50
776
 739               	.L49:
777
 740 042c C701      		movw r24,r14
778
 741 042e 0E94 0000 		call AddCRC
779
 742               	/* epilogue: frame size=0 */
780
 743 0432 E9E0      		ldi r30,9
781
 744 0434 0C94 0000 		jmp __epilogue_restores__+18
782
 745               	/* epilogue end (size=3) */
783
 746               	/* function SendOutData size 191 (182) */
784
 748               	.global	Decode64
785
 750               	Decode64:
786
 751               	/* prologue: frame size=0 */
787
 752               	/* prologue end (size=0) */
788
 753 0438 A3E0      		ldi r26,lo8(3)
789
 754 043a 7A2F      		mov r23,r26
790
 755 043c 4091 0000 		lds r20,AnzahlEmpfangsBytes
791
 756 0440 4650      		subi r20,lo8(-(-6))
792
 757               	.L62:
793
 758 0442 4423      		tst r20
794
 759 0444 01F4      		brne .+2
795
 760 0446 00C0      		rjmp .L53
796
 761 0448 E72F      		mov r30,r23
797
 762 044a FF27      		clr r31
798
 763 044c E050      		subi r30,lo8(-(RxdBuffer))
799
 764 044e F040      		sbci r31,hi8(-(RxdBuffer))
800
 765 0450 8081      		ld r24,Z
801
 766 0452 8D53      		subi r24,lo8(-(-61))
802
 767 0454 7F5F      		subi r23,lo8(-(1))
803
 768 0456 E72F      		mov r30,r23
804
 769 0458 FF27      		clr r31
805
 770 045a E050      		subi r30,lo8(-(RxdBuffer))
806
 771 045c F040      		sbci r31,hi8(-(RxdBuffer))
807
 772 045e 2081      		ld r18,Z
808
 773 0460 2D53      		subi r18,lo8(-(-61))
809
 774 0462 7F5F      		subi r23,lo8(-(1))
810
 775 0464 E72F      		mov r30,r23
811
 776 0466 FF27      		clr r31
812
 777 0468 E050      		subi r30,lo8(-(RxdBuffer))
813
 778 046a F040      		sbci r31,hi8(-(RxdBuffer))
814
 779 046c 3081      		ld r19,Z
815
 780 046e 3D53      		subi r19,lo8(-(-61))
816
 781 0470 7F5F      		subi r23,lo8(-(1))
817
 782 0472 E72F      		mov r30,r23
818
 783 0474 FF27      		clr r31
819
 784 0476 E050      		subi r30,lo8(-(RxdBuffer))
820
 785 0478 F040      		sbci r31,hi8(-(RxdBuffer))
821
 786 047a 6081      		ld r22,Z
822
 787 047c 6D53      		subi r22,lo8(-(-61))
823
 788 047e 7F5F      		subi r23,lo8(-(1))
824
 789 0480 9927      		clr r25
825
 790 0482 880F      		lsl r24
826
 791 0484 991F      		rol r25
827
 792 0486 880F      		lsl r24
828
 793 0488 991F      		rol r25
829
 794 048a 522F      		mov r21,r18
830
 795 048c 5295      		swap r21
831
 796 048e 5F70      		andi r21,0x0f
832
 797 0490 582B      		or r21,r24
833
 798 0492 822F      		mov r24,r18
834
 799 0494 9927      		clr r25
835
 800 0496 8F70      		andi r24,lo8(15)
836
 801 0498 9070      		andi r25,hi8(15)
837
 802 049a F4E0      		ldi r31,4
838
 803 049c 880F      	1:	lsl r24
839
 804 049e 991F      		rol r25
840
 805 04a0 FA95      		dec r31
841
 806 04a2 01F4      		brne 1b
842
 807 04a4 232F      		mov r18,r19
843
 808 04a6 2695      		lsr r18
844
 809 04a8 2695      		lsr r18
845
 810 04aa 282B      		or r18,r24
846
 811 04ac 832F      		mov r24,r19
847
 812 04ae 9927      		clr r25
848
 813 04b0 8370      		andi r24,lo8(3)
849
 814 04b2 9070      		andi r25,hi8(3)
850
 815 04b4 E6E0      		ldi r30,6
851
 816 04b6 880F      	1:	lsl r24
852
 817 04b8 991F      		rol r25
853
 818 04ba EA95      		dec r30
854
 819 04bc 01F4      		brne 1b
855
 820 04be 682B      		or r22,r24
856
 821 04c0 4150      		subi r20,lo8(-(-1))
857
 822 04c2 4F3F      		cpi r20,lo8(-1)
858
 823 04c4 01F0      		breq .L53
859
 824 04c6 EA2F      		mov r30,r26
860
 825 04c8 FF27      		clr r31
861
 826 04ca E050      		subi r30,lo8(-(RxdBuffer))
862
 827 04cc F040      		sbci r31,hi8(-(RxdBuffer))
863
 828 04ce 5083      		st Z,r21
864
 829 04d0 AF5F      		subi r26,lo8(-(1))
865
 830 04d2 4150      		subi r20,lo8(-(-1))
866
 831 04d4 4F3F      		cpi r20,lo8(-1)
867
 832 04d6 01F0      		breq .L53
868
 833 04d8 EA2F      		mov r30,r26
869
 834 04da FF27      		clr r31
870
 835 04dc E050      		subi r30,lo8(-(RxdBuffer))
871
 836 04de F040      		sbci r31,hi8(-(RxdBuffer))
872
 837 04e0 2083      		st Z,r18
873
 838 04e2 AF5F      		subi r26,lo8(-(1))
874
 839 04e4 4150      		subi r20,lo8(-(-1))
875
 840 04e6 4F3F      		cpi r20,lo8(-1)
876
 841 04e8 01F0      		breq .L53
877
 842 04ea EA2F      		mov r30,r26
878
 843 04ec FF27      		clr r31
879
 844 04ee E050      		subi r30,lo8(-(RxdBuffer))
880
 845 04f0 F040      		sbci r31,hi8(-(RxdBuffer))
881
 846 04f2 6083      		st Z,r22
882
 847 04f4 AF5F      		subi r26,lo8(-(1))
883
 848 04f6 00C0      		rjmp .L62
884
 849               	.L53:
885
 850 04f8 80E0      		ldi r24,lo8(RxdBuffer+3)
886
 851 04fa 90E0      		ldi r25,hi8(RxdBuffer+3)
887
 852 04fc 9093 0000 		sts (pRxData)+1,r25
888
 853 0500 8093 0000 		sts pRxData,r24
889
 854 0504 A350      		subi r26,lo8(-(-3))
890
 855 0506 A093 0000 		sts RxDataLen,r26
891
 856               	/* epilogue: frame size=0 */
892
 857 050a 0895      		ret
893
 858               	/* epilogue end (size=1) */
894
 859               	/* function Decode64 size 106 (105) */
895
 861               	.global	BearbeiteRxDaten
896
 863               	BearbeiteRxDaten:
897
 864               	/* prologue: frame size=2 */
898
 865 050c A2E0      		ldi r26,lo8(2)
899
 866 050e B0E0      		ldi r27,hi8(2)
900
 867 0510 E0E0      		ldi r30,pm_lo8(1f)
901
 868 0512 F0E0      		ldi r31,pm_hi8(1f)
902
 869 0514 0C94 0000 		jmp __prologue_saves__+30
903
 870               	1:
904
 871               	/* prologue end (size=6) */
905
 872 0518 8091 0000 		lds r24,NeuerDatensatzEmpfangen
906
 873 051c 8823      		tst r24
907
 874 051e 01F4      		brne .+2
908
 875 0520 00C0      		rjmp .L63
909
 876 0522 0E94 0000 		call Decode64
910
 877 0526 8091 0000 		lds r24,RxdBuffer+1
911
 878 052a 8236      		cpi r24,lo8(98)
912
 879 052c 01F0      		breq .+2
913
 880 052e 00C0      		rjmp .L145
914
 881 0530 8091 0000 		lds r24,RxdBuffer+2
915
 882 0534 9927      		clr r25
916
 883 0536 8037      		cpi r24,112
917
 884 0538 9105      		cpc r25,__zero_reg__
918
 885 053a 01F4      		brne .+2
919
 886 053c 00C0      		rjmp .L82
920
 887 053e 8137      		cpi r24,113
921
 888 0540 9105      		cpc r25,__zero_reg__
922
 889 0542 04F4      		brge .L141
923
 890 0544 8A36      		cpi r24,106
924
 891 0546 9105      		cpc r25,__zero_reg__
925
 892 0548 01F4      		brne .+2
926
 893 054a 00C0      		rjmp .L128
927
 894 054c 8B36      		cpi r24,107
928
 895 054e 9105      		cpc r25,__zero_reg__
929
 896 0550 04F4      		brge .L142
930
 897 0552 8B34      		cpi r24,75
931
 898 0554 9105      		cpc r25,__zero_reg__
932
 899 0556 01F0      		breq .L68
933
 900 0558 8636      		cpi r24,102
934
 901 055a 9105      		cpc r25,__zero_reg__
935
 902 055c 01F4      		brne .+2
936
 903 055e 00C0      		rjmp .L108
937
 904 0560 00C0      		rjmp .L145
938
 905               	.L142:
939
 906 0562 8D36      		cpi r24,109
940
 907 0564 9105      		cpc r25,__zero_reg__
941
 908 0566 01F4      		brne .+2
942
 909 0568 00C0      		rjmp .L76
943
 910 056a 8E36      		cpi r24,110
944
 911 056c 9105      		cpc r25,__zero_reg__
945
 912 056e 01F4      		brne .+2
946
 913 0570 00C0      		rjmp .L73
947
 914 0572 00C0      		rjmp .L145
948
 915               	.L141:
949
 916 0574 8437      		cpi r24,116
950
 917 0576 9105      		cpc r25,__zero_reg__
951
 918 0578 01F0      		breq .L69
952
 919 057a 8537      		cpi r24,117
953
 920 057c 9105      		cpc r25,__zero_reg__
954
 921 057e 04F4      		brge .L143
955
 922 0580 8137      		cpi r24,113
956
 923 0582 9105      		cpc r25,__zero_reg__
957
 924 0584 01F4      		brne .+2
958
 925 0586 00C0      		rjmp .L83
959
 926 0588 8337      		cpi r24,115
960
 927 058a 9105      		cpc r25,__zero_reg__
961
 928 058c 01F4      		brne .+2
962
 929 058e 00C0      		rjmp .L101
963
 930 0590 00C0      		rjmp .L145
964
 931               	.L143:
965
 932 0592 8737      		cpi r24,119
966
 933 0594 9105      		cpc r25,__zero_reg__
967
 934 0596 01F4      		brne .+2
968
 935 0598 00C0      		rjmp .L121
969
 936 059a 8837      		cpi r24,120
970
 937 059c 9105      		cpc r25,__zero_reg__
971
 938 059e 04F4      		brge .L144
972
 939 05a0 8537      		cpi r24,117
973
 940 05a2 9105      		cpc r25,__zero_reg__
974
 941 05a4 01F4      		brne .+2
975
 942 05a6 00C0      		rjmp .L115
976
 943 05a8 00C0      		rjmp .L145
977
 944               	.L144:
978
 945 05aa 8937      		cpi r24,121
979
 946 05ac 9105      		cpc r25,__zero_reg__
980
 947 05ae 01F4      		brne .+2
981
 948 05b0 00C0      		rjmp .L114
982
 949 05b2 00C0      		rjmp .L145
983
 950               	.L68:
984
 951 05b4 E091 0000 		lds r30,pRxData
985
 952 05b8 F091 0000 		lds r31,(pRxData)+1
986
 953 05bc 8081      		ld r24,Z
987
 954 05be 9181      		ldd r25,Z+1
988
 955 05c0 9093 0000 		sts (KompassValue)+1,r25
989
 956 05c4 8093 0000 		sts KompassValue,r24
990
 957 05c8 00C0      		rjmp .L145
991
 958               	.L69:
992
 959 05ca 8091 0000 		lds r24,AnzahlEmpfangsBytes
993
 960 05ce A091 0000 		lds r26,pRxData
994
 961 05d2 B091 0000 		lds r27,(pRxData)+1
995
 962 05d6 8531      		cpi r24,lo8(21)
996
 963 05d8 00F0      		brlo .L70
997
 964 05da 80E1      		ldi r24,lo8(16)
998
 965 05dc E0E0      		ldi r30,lo8(MotorTest)
999
 966 05de F0E0      		ldi r31,hi8(MotorTest)
1000
 967 05e0 0D90      		ld __tmp_reg__,X+
1001
 968 05e2 0192      		st Z+,__tmp_reg__
1002
 969 05e4 8A95      		dec r24
1003
 970 05e6 01F4      		brne .-8
1004
 971 05e8 00C0      		rjmp .L71
1005
 972               	.L70:
1006
 973 05ea 8D91      		ld r24,X+
1007
 974 05ec 9D91      		ld r25,X+
1008
 975 05ee 0D90      		ld __tmp_reg__,X+
1009
 976 05f0 BC91      		ld r27,X
1010
 977 05f2 A02D      		mov r26,__tmp_reg__
1011
 978 05f4 8093 0000 		sts MotorTest,r24
1012
 979 05f8 9093 0000 		sts (MotorTest)+1,r25
1013
 980 05fc A093 0000 		sts (MotorTest)+2,r26
1014
 981 0600 B093 0000 		sts (MotorTest)+3,r27
1015
 982               	.L71:
1016
 983 0604 80EF      		ldi r24,lo8(-16)
1017
 984 0606 8093 0000 		sts PC_MotortestActive,r24
1018
 985 060a 00C0      		rjmp .L182
1019
 986               	.L73:
1020
 987 060c 8091 0000 		lds r24,UebertragungAbgeschlossen
1021
 988 0610 8823      		tst r24
1022
 989 0612 01F0      		breq .L73
1023
 990 0614 8DE4      		ldi r24,lo8(77)
1024
 991 0616 90E0      		ldi r25,hi8(77)
1025
 992 0618 9F93      		push r25
1026
 993 061a 8F93      		push r24
1027
 994 061c 80E0      		ldi r24,lo8(Mixer)
1028
 995 061e 90E0      		ldi r25,hi8(Mixer)
1029
 996 0620 9F93      		push r25
1030
 997 0622 8F93      		push r24
1031
 998 0624 81E0      		ldi r24,lo8(1)
1032
 999 0626 8F93      		push r24
1033
 1000 0628 8F93      		push r24
1034
 1001 062a 8EE4      		ldi r24,lo8(78)
1035
 1002 062c 8F93      		push r24
1036
 1003 062e 0E94 0000 		call SendOutData
1037
 1004 0632 8DB7      		in r24,__SP_L__
1038
 1005 0634 9EB7      		in r25,__SP_H__
1039
 1006 0636 0796      		adiw r24,7
1040
 1007 0638 8DBF      		out __SP_L__,r24
1041
 1008 063a 00C0      		rjmp .L145
1042
 1009               	.L76:
1043
 1010 063c A091 0000 		lds r26,pRxData
1044
 1011 0640 B091 0000 		lds r27,(pRxData)+1
1045
 1012 0644 1C91      		ld r17,X
1046
 1013 0646 1130      		cpi r17,lo8(1)
1047
 1014 0648 01F4      		brne .L77
1048
 1015 064a 8DE4      		ldi r24,lo8(77)
1049
 1016 064c E0E0      		ldi r30,lo8(Mixer)
1050
 1017 064e F0E0      		ldi r31,hi8(Mixer)
1051
 1018 0650 0D90      		ld __tmp_reg__,X+
1052
 1019 0652 0192      		st Z+,__tmp_reg__
1053
 1020 0654 8A95      		dec r24
1054
 1021 0656 01F4      		brne .-8
1055
 1022 0658 0E94 0000 		call MixerTable_WriteToEEProm
1056
 1023 065c 1983      		std Y+1,r17
1057
 1024 065e 8091 0000 		lds r24,VersionInfo+6
1058
 1025 0662 8F7E      		andi r24,lo8(-17)
1059
 1026 0664 8093 0000 		sts VersionInfo+6,r24
1060
 1027 0668 00C0      		rjmp .L79
1061
 1028               	.L77:
1062
 1029 066a 1982      		std Y+1,__zero_reg__
1063
 1030               	.L79:
1064
 1031 066c 8091 0000 		lds r24,UebertragungAbgeschlossen
1065
 1032 0670 8823      		tst r24
1066
 1033 0672 01F0      		breq .L79
1067
 1034 0674 81E0      		ldi r24,lo8(1)
1068
 1035 0676 90E0      		ldi r25,hi8(1)
1069
 1036 0678 9F93      		push r25
1070
 1037 067a 8F93      		push r24
1071
 1038 067c CE01      		movw r24,r28
1072
 1039 067e 0196      		adiw r24,1
1073
 1040 0680 9F93      		push r25
1074
 1041 0682 8F93      		push r24
1075
 1042 0684 81E0      		ldi r24,lo8(1)
1076
 1043 0686 8F93      		push r24
1077
 1044 0688 8F93      		push r24
1078
 1045 068a 8DE4      		ldi r24,lo8(77)
1079
 1046 068c 8F93      		push r24
1080
 1047 068e 0E94 0000 		call SendOutData
1081
 1048 0692 ADB7      		in r26,__SP_L__
1082
 1049 0694 BEB7      		in r27,__SP_H__
1083
 1050 0696 1796      		adiw r26,7
1084
 1051 0698 ADBF      		out __SP_L__,r26
1085
 1052 069a 00C0      		rjmp .L145
1086
 1053               	.L82:
1087
 1054 069c 81E0      		ldi r24,lo8(1)
1088
 1055 069e 8093 0000 		sts GetPPMChannelAnforderung,r24
1089
 1056               	.L182:
1090
 1057 06a2 8FEF      		ldi r24,lo8(-1)
1091
 1058 06a4 8093 0000 		sts PcZugriff,r24
1092
 1059 06a8 00C0      		rjmp .L145
1093
 1060               	.L83:
1094
 1061 06aa E091 0000 		lds r30,pRxData
1095
 1062 06ae F091 0000 		lds r31,(pRxData)+1
1096
 1063 06b2 E081      		ld r30,Z
1097
 1064 06b4 8E2F      		mov r24,r30
1098
 1065 06b6 8A50      		subi r24,lo8(-(-10))
1099
 1066 06b8 8A30      		cpi r24,lo8(10)
1100
 1067 06ba 00F4      		brsh .L84
1101
 1068 06bc 8983      		std Y+1,r24
1102
 1069 06be 8823      		tst r24
1103
 1070 06c0 01F4      		brne .L85
1104
 1071 06c2 81E0      		ldi r24,lo8(1)
1105
 1072 06c4 00C0      		rjmp .L176
1106
 1073               	.L85:
1107
 1074 06c6 8630      		cpi r24,lo8(6)
1108
 1075 06c8 00F0      		brlo .L86
1109
 1076 06ca 85E0      		ldi r24,lo8(5)
1110
 1077               	.L176:
1111
 1078 06cc 8983      		std Y+1,r24
1112
 1079               	.L86:
1113
 1080 06ce 61E0      		ldi r22,lo8(1)
1114
 1081 06d0 00C0      		rjmp .L179
1115
 1082               	.L84:
1116
 1083 06d2 8E2F      		mov r24,r30
1117
 1084 06d4 8451      		subi r24,lo8(-(-20))
1118
 1085 06d6 8A30      		cpi r24,lo8(10)
1119
 1086 06d8 00F4      		brsh .L89
1120
 1087 06da 8983      		std Y+1,r24
1121
 1088 06dc 8823      		tst r24
1122
 1089 06de 01F4      		brne .L90
1123
 1090 06e0 81E0      		ldi r24,lo8(1)
1124
 1091 06e2 00C0      		rjmp .L177
1125
 1092               	.L90:
1126
 1093 06e4 8630      		cpi r24,lo8(6)
1127
 1094 06e6 00F0      		brlo .L91
1128
 1095 06e8 85E0      		ldi r24,lo8(5)
1129
 1096               	.L177:
1130
 1097 06ea 8983      		std Y+1,r24
1131
 1098               	.L91:
1132
 1099 06ec 60E0      		ldi r22,lo8(0)
1133
 1100               	.L179:
1134
 1101 06ee 8981      		ldd r24,Y+1
1135
 1102 06f0 0E94 0000 		call SetDefaultParameter
1136
 1103 06f4 00C0      		rjmp .L98
1137
 1104               	.L89:
1138
 1105 06f6 E983      		std Y+1,r30
1139
 1106 06f8 EF3F      		cpi r30,lo8(-1)
1140
 1107 06fa 01F4      		brne .L94
1141
 1108 06fc 0E94 0000 		call GetActiveParamSet
1142
 1109 0700 8983      		std Y+1,r24
1143
 1110               	.L94:
1144
 1111 0702 8981      		ldd r24,Y+1
1145
 1112 0704 8823      		tst r24
1146
 1113 0706 01F4      		brne .L95
1147
 1114 0708 81E0      		ldi r24,lo8(1)
1148
 1115 070a 00C0      		rjmp .L178
1149
 1116               	.L95:
1150
 1117 070c 8630      		cpi r24,lo8(6)
1151
 1118 070e 00F0      		brlo .L96
1152
 1119 0710 85E0      		ldi r24,lo8(5)
1153
 1120               	.L178:
1154
 1121 0712 8983      		std Y+1,r24
1155
 1122               	.L96:
1156
 1123 0714 8981      		ldd r24,Y+1
1157
 1124 0716 0E94 0000 		call ParamSet_ReadFromEEProm
1158
 1125               	.L98:
1159
 1126 071a 8091 0000 		lds r24,UebertragungAbgeschlossen
1160
 1127 071e 8823      		tst r24
1161
 1128 0720 01F0      		breq .L98
1162
 1129 0722 8CE7      		ldi r24,lo8(124)
1163
 1130 0724 90E0      		ldi r25,hi8(124)
1164
 1131 0726 9F93      		push r25
1165
 1132 0728 8F93      		push r24
1166
 1133 072a 80E0      		ldi r24,lo8(EE_Parameter)
1167
 1134 072c 90E0      		ldi r25,hi8(EE_Parameter)
1168
 1135 072e 9F93      		push r25
1169
 1136 0730 8F93      		push r24
1170
 1137 0732 81E0      		ldi r24,lo8(1)
1171
 1138 0734 90E0      		ldi r25,hi8(1)
1172
 1139 0736 9F93      		push r25
1173
 1140 0738 8F93      		push r24
1174
 1141 073a CE01      		movw r24,r28
1175
 1142 073c 0196      		adiw r24,1
1176
 1143 073e 9F93      		push r25
1177
 1144 0740 8F93      		push r24
1178
 1145 0742 82E0      		ldi r24,lo8(2)
1179
 1146 0744 8F93      		push r24
1180
 1147 0746 81E0      		ldi r24,lo8(1)
1181
 1148 0748 8F93      		push r24
1182
 1149 074a 81E5      		ldi r24,lo8(81)
1183
 1150 074c 00C0      		rjmp .L185
1184
 1151               	.L101:
1185
 1152 074e 2091 0000 		lds r18,pRxData
1186
 1153 0752 3091 0000 		lds r19,(pRxData)+1
1187
 1154 0756 D901      		movw r26,r18
1188
 1155 0758 8C91      		ld r24,X
1189
 1156 075a 8150      		subi r24,lo8(-(-1))
1190
 1157 075c 8530      		cpi r24,lo8(5)
1191
 1158 075e 00F0      		brlo .+2
1192
 1159 0760 00C0      		rjmp .L102
1193
 1160 0762 F901      		movw r30,r18
1194
 1161 0764 8181      		ldd r24,Z+1
1195
 1162 0766 8D35      		cpi r24,lo8(93)
1196
 1163 0768 01F0      		breq .+2
1197
 1164 076a 00C0      		rjmp .L102
1198
 1165 076c 8091 0000 		lds r24,MotorenEin
1199
 1166 0770 8823      		tst r24
1200
 1167 0772 01F4      		brne .L102
1201
 1168 0774 2F5F      		subi r18,lo8(-(1))
1202
 1169 0776 3F4F      		sbci r19,hi8(-(1))
1203
 1170 0778 8CE7      		ldi r24,lo8(124)
1204
 1171 077a E0E0      		ldi r30,lo8(EE_Parameter)
1205
 1172 077c F0E0      		ldi r31,hi8(EE_Parameter)
1206
 1173 077e D901      		movw r26,r18
1207
 1174 0780 0D90      		ld __tmp_reg__,X+
1208
 1175 0782 0192      		st Z+,__tmp_reg__
1209
 1176 0784 8A95      		dec r24
1210
 1177 0786 01F4      		brne .-8
1211
 1178 0788 F901      		movw r30,r18
1212
 1179 078a 8291      		ld r24,-Z
1213
 1180 078c 0E94 0000 		call ParamSet_WriteToEEProm
1214
 1181 0790 8091 0000 		lds r24,EE_Parameter+65
1215
 1182 0794 9927      		clr r25
1216
 1183 0796 AA27      		clr r26
1217
 1184 0798 BB27      		clr r27
1218
 1185 079a BC01      		movw r22,r24
1219
 1186 079c CD01      		movw r24,r26
1220
 1187 079e 24EC      		ldi r18,lo8(2500)
1221
 1188 07a0 39E0      		ldi r19,hi8(2500)
1222
 1189 07a2 40E0      		ldi r20,hlo8(2500)
1223
 1190 07a4 50E0      		ldi r21,hhi8(2500)
1224
 1191 07a6 0E94 0000 		call __mulsi3
1225
 1192 07aa DC01      		movw r26,r24
1226
 1193 07ac CB01      		movw r24,r22
1227
 1194 07ae 8093 0000 		sts Umschlag180Nick,r24
1228
 1195 07b2 9093 0000 		sts (Umschlag180Nick)+1,r25
1229
 1196 07b6 A093 0000 		sts (Umschlag180Nick)+2,r26
1230
 1197 07ba B093 0000 		sts (Umschlag180Nick)+3,r27
1231
 1198 07be 8091 0000 		lds r24,EE_Parameter+66
1232
 1199 07c2 9927      		clr r25
1233
 1200 07c4 AA27      		clr r26
1234
 1201 07c6 BB27      		clr r27
1235
 1202 07c8 BC01      		movw r22,r24
1236
 1203 07ca CD01      		movw r24,r26
1237
 1204 07cc 0E94 0000 		call __mulsi3
1238
 1205 07d0 DC01      		movw r26,r24
1239
 1206 07d2 CB01      		movw r24,r22
1240
 1207 07d4 8093 0000 		sts Umschlag180Roll,r24
1241
 1208 07d8 9093 0000 		sts (Umschlag180Roll)+1,r25
1242
 1209 07dc A093 0000 		sts (Umschlag180Roll)+2,r26
1243
 1210 07e0 B093 0000 		sts (Umschlag180Roll)+3,r27
1244
 1211 07e4 0E94 0000 		call GetActiveParamSet
1245
 1212 07e8 8983      		std Y+1,r24
1246
 1213 07ea 00C0      		rjmp .L104
1247
 1214               	.L102:
1248
 1215 07ec 1982      		std Y+1,__zero_reg__
1249
 1216               	.L104:
1250
 1217 07ee 8091 0000 		lds r24,UebertragungAbgeschlossen
1251
 1218 07f2 8823      		tst r24
1252
 1219 07f4 01F0      		breq .L104
1253
 1220 07f6 81E0      		ldi r24,lo8(1)
1254
 1221 07f8 90E0      		ldi r25,hi8(1)
1255
 1222 07fa 9F93      		push r25
1256
 1223 07fc 8F93      		push r24
1257
 1224 07fe CE01      		movw r24,r28
1258
 1225 0800 0196      		adiw r24,1
1259
 1226 0802 9F93      		push r25
1260
 1227 0804 8F93      		push r24
1261
 1228 0806 81E0      		ldi r24,lo8(1)
1262
 1229 0808 8F93      		push r24
1263
 1230 080a 8F93      		push r24
1264
 1231 080c 83E5      		ldi r24,lo8(83)
1265
 1232 080e 8F93      		push r24
1266
 1233 0810 0E94 0000 		call SendOutData
1267
 1234 0814 8DB7      		in r24,__SP_L__
1268
 1235 0816 9EB7      		in r25,__SP_H__
1269
 1236 0818 0796      		adiw r24,7
1270
 1237 081a 8DBF      		out __SP_L__,r24
1271
 1238 081c 00C0      		rjmp .L186
1272
 1239               	.L108:
1273
 1240 081e E091 0000 		lds r30,pRxData
1274
 1241 0822 F091 0000 		lds r31,(pRxData)+1
1275
 1242 0826 E081      		ld r30,Z
1276
 1243 0828 8E2F      		mov r24,r30
1277
 1244 082a 8150      		subi r24,lo8(-(-1))
1278
 1245 082c 8530      		cpi r24,lo8(5)
1279
 1246 082e 00F4      		brsh .L109
1280
 1247 0830 8E2F      		mov r24,r30
1281
 1248 0832 0E94 0000 		call ParamSet_ReadFromEEProm
1282
 1249               	.L109:
1283
 1250 0836 0E94 0000 		call GetActiveParamSet
1284
 1251 083a 8983      		std Y+1,r24
1285
 1252               	.L110:
1286
 1253 083c 8091 0000 		lds r24,UebertragungAbgeschlossen
1287
 1254 0840 8823      		tst r24
1288
 1255 0842 01F0      		breq .L110
1289
 1256 0844 81E0      		ldi r24,lo8(1)
1290
 1257 0846 90E0      		ldi r25,hi8(1)
1291
 1258 0848 9F93      		push r25
1292
 1259 084a 8F93      		push r24
1293
 1260 084c CE01      		movw r24,r28
1294
 1261 084e 0196      		adiw r24,1
1295
 1262 0850 9F93      		push r25
1296
 1263 0852 8F93      		push r24
1297
 1264 0854 81E0      		ldi r24,lo8(1)
1298
 1265 0856 8F93      		push r24
1299
 1266 0858 8F93      		push r24
1300
 1267 085a 86E4      		ldi r24,lo8(70)
1301
 1268 085c 8F93      		push r24
1302
 1269 085e 0E94 0000 		call SendOutData
1303
 1270 0862 ADB7      		in r26,__SP_L__
1304
 1271 0864 BEB7      		in r27,__SP_H__
1305
 1272 0866 1796      		adiw r26,7
1306
 1273 0868 ADBF      		out __SP_L__,r26
1307
 1274               	.L186:
1308
 1275 086a 8091 0000 		lds r24,MotorenEin
1309
 1276 086e 8823      		tst r24
1310
 1277 0870 01F4      		brne .L113
1311
 1278 0872 6EE6      		ldi r22,lo8(110)
1312
 1279 0874 70E0      		ldi r23,hi8(110)
1313
 1280 0876 8981      		ldd r24,Y+1
1314
 1281 0878 0E94 0000 		call Piep
1315
 1282               	.L113:
1316
 1283 087c 80E0      		ldi r24,lo8(0)
1317
 1284 087e 0E94 0000 		call LipoDetection
1318
 1285 0882 8091 0000 		lds r24,EE_Parameter+39
1319
 1286 0886 0E94 0000 		call LIBFC_ReceiverInit
1320
 1287 088a 00C0      		rjmp .L145
1321
 1288               	.L114:
1322
 1289 088c E091 0000 		lds r30,pRxData
1323
 1290 0890 F091 0000 		lds r31,(pRxData)+1
1324
 1291 0894 8081      		ld r24,Z
1325
 1292 0896 9927      		clr r25
1326
 1293 0898 87FD      		sbrc r24,7
1327
 1294 089a 9095      		com r25
1328
 1295 089c 9093 0000 		sts (PPM_in+26)+1,r25
1329
 1296 08a0 8093 0000 		sts PPM_in+26,r24
1330
 1297 08a4 8181      		ldd r24,Z+1
1331
 1298 08a6 9927      		clr r25
1332
 1299 08a8 87FD      		sbrc r24,7
1333
 1300 08aa 9095      		com r25
1334
 1301 08ac 9093 0000 		sts (PPM_in+28)+1,r25
1335
 1302 08b0 8093 0000 		sts PPM_in+28,r24
1336
 1303 08b4 8281      		ldd r24,Z+2
1337
 1304 08b6 9927      		clr r25
1338
 1305 08b8 87FD      		sbrc r24,7
1339
 1306 08ba 9095      		com r25
1340
 1307 08bc 9093 0000 		sts (PPM_in+30)+1,r25
1341
 1308 08c0 8093 0000 		sts PPM_in+30,r24
1342
 1309 08c4 8381      		ldd r24,Z+3
1343
 1310 08c6 9927      		clr r25
1344
 1311 08c8 87FD      		sbrc r24,7
1345
 1312 08ca 9095      		com r25
1346
 1313 08cc 9093 0000 		sts (PPM_in+32)+1,r25
1347
 1314 08d0 8093 0000 		sts PPM_in+32,r24
1348
 1315 08d4 8481      		ldd r24,Z+4
1349
 1316 08d6 9927      		clr r25
1350
 1317 08d8 87FD      		sbrc r24,7
1351
 1318 08da 9095      		com r25
1352
 1319 08dc 9093 0000 		sts (PPM_in+34)+1,r25
1353
 1320 08e0 8093 0000 		sts PPM_in+34,r24
1354
 1321 08e4 8581      		ldd r24,Z+5
1355
 1322 08e6 9927      		clr r25
1356
 1323 08e8 87FD      		sbrc r24,7
1357
 1324 08ea 9095      		com r25
1358
 1325 08ec 9093 0000 		sts (PPM_in+36)+1,r25
1359
 1326 08f0 8093 0000 		sts PPM_in+36,r24
1360
 1327 08f4 8681      		ldd r24,Z+6
1361
 1328 08f6 9927      		clr r25
1362
 1329 08f8 87FD      		sbrc r24,7
1363
 1330 08fa 9095      		com r25
1364
 1331 08fc 9093 0000 		sts (PPM_in+38)+1,r25
1365
 1332 0900 8093 0000 		sts PPM_in+38,r24
1366
 1333 0904 8781      		ldd r24,Z+7
1367
 1334 0906 9927      		clr r25
1368
 1335 0908 87FD      		sbrc r24,7
1369
 1336 090a 9095      		com r25
1370
 1337 090c 9093 0000 		sts (PPM_in+40)+1,r25
1371
 1338 0910 8093 0000 		sts PPM_in+40,r24
1372
 1339 0914 8085      		ldd r24,Z+8
1373
 1340 0916 9927      		clr r25
1374
 1341 0918 87FD      		sbrc r24,7
1375
 1342 091a 9095      		com r25
1376
 1343 091c 9093 0000 		sts (PPM_in+42)+1,r25
1377
 1344 0920 8093 0000 		sts PPM_in+42,r24
1378
 1345 0924 8185      		ldd r24,Z+9
1379
 1346 0926 9927      		clr r25
1380
 1347 0928 87FD      		sbrc r24,7
1381
 1348 092a 9095      		com r25
1382
 1349 092c 9093 0000 		sts (PPM_in+44)+1,r25
1383
 1350 0930 8093 0000 		sts PPM_in+44,r24
1384
 1351 0934 8285      		ldd r24,Z+10
1385
 1352 0936 9927      		clr r25
1386
 1353 0938 87FD      		sbrc r24,7
1387
 1354 093a 9095      		com r25
1388
 1355 093c 9093 0000 		sts (PPM_in+46)+1,r25
1389
 1356 0940 8093 0000 		sts PPM_in+46,r24
1390
 1357 0944 8385      		ldd r24,Z+11
1391
 1358 0946 9927      		clr r25
1392
 1359 0948 87FD      		sbrc r24,7
1393
 1360 094a 9095      		com r25
1394
 1361 094c 9093 0000 		sts (PPM_in+48)+1,r25
1395
 1362 0950 8093 0000 		sts PPM_in+48,r24
1396
 1363 0954 00C0      		rjmp .L145
1397
 1364               	.L115:
1398
 1365 0956 E091 0000 		lds r30,pRxData
1399
 1366 095a F091 0000 		lds r31,(pRxData)+1
1400
 1367 095e 8081      		ld r24,Z
1401
 1368 0960 0E94 0000 		call I2C_ReadBLConfig
1402
 1369 0964 8A83      		std Y+2,r24
1403
 1370 0966 8823      		tst r24
1404
 1371 0968 01F4      		brne .L116
1405
 1372 096a 81E0      		ldi r24,lo8(1)
1406
 1373 096c 8983      		std Y+1,r24
1407
 1374 096e 00C0      		rjmp .L118
1408
 1375               	.L116:
1409
 1376 0970 1982      		std Y+1,__zero_reg__
1410
 1377               	.L118:
1411
 1378 0972 8091 0000 		lds r24,UebertragungAbgeschlossen
1412
 1379 0976 8823      		tst r24
1413
 1380 0978 01F0      		breq .L118
1414
 1381 097a 88E0      		ldi r24,lo8(8)
1415
 1382 097c 90E0      		ldi r25,hi8(8)
1416
 1383 097e 9F93      		push r25
1417
 1384 0980 8F93      		push r24
1418
 1385 0982 80E0      		ldi r24,lo8(BLConfig)
1419
 1386 0984 90E0      		ldi r25,hi8(BLConfig)
1420
 1387 0986 9F93      		push r25
1421
 1388 0988 8F93      		push r24
1422
 1389 098a 21E0      		ldi r18,lo8(1)
1423
 1390 098c 30E0      		ldi r19,hi8(1)
1424
 1391 098e 3F93      		push r19
1425
 1392 0990 2F93      		push r18
1426
 1393 0992 8091 0000 		lds r24,pRxData
1427
 1394 0996 9091 0000 		lds r25,(pRxData)+1
1428
 1395 099a 9F93      		push r25
1429
 1396 099c 8F93      		push r24
1430
 1397 099e 3F93      		push r19
1431
 1398 09a0 2F93      		push r18
1432
 1399 09a2 CE01      		movw r24,r28
1433
 1400 09a4 0296      		adiw r24,2
1434
 1401 09a6 9F93      		push r25
1435
 1402 09a8 8F93      		push r24
1436
 1403 09aa 3F93      		push r19
1437
 1404 09ac 2F93      		push r18
1438
 1405 09ae CE01      		movw r24,r28
1439
 1406 09b0 820F      		add r24,r18
1440
 1407 09b2 931F      		adc r25,r19
1441
 1408 09b4 9F93      		push r25
1442
 1409 09b6 8F93      		push r24
1443
 1410 09b8 84E0      		ldi r24,lo8(4)
1444
 1411 09ba 8F93      		push r24
1445
 1412 09bc 81E0      		ldi r24,lo8(1)
1446
 1413 09be 8F93      		push r24
1447
 1414 09c0 85E5      		ldi r24,lo8(85)
1448
 1415 09c2 8F93      		push r24
1449
 1416 09c4 0E94 0000 		call SendOutData
1450
 1417 09c8 EDB7      		in r30,__SP_L__
1451
 1418 09ca FEB7      		in r31,__SP_H__
1452
 1419 09cc 7396      		adiw r30,19
1453
 1420 09ce 00C0      		rjmp .L181
1454
 1421               	.L121:
1455
 1422 09d0 8091 0000 		lds r24,RxDataLen
1456
 1423 09d4 8930      		cpi r24,lo8(9)
1457
 1424 09d6 00F4      		brsh .+2
1458
 1425 09d8 00C0      		rjmp .L145
1459
 1426 09da 2091 0000 		lds r18,pRxData
1460
 1427 09de 3091 0000 		lds r19,(pRxData)+1
1461
 1428 09e2 2F5F      		subi r18,lo8(-(1))
1462
 1429 09e4 3F4F      		sbci r19,hi8(-(1))
1463
 1430 09e6 88E0      		ldi r24,lo8(8)
1464
 1431 09e8 A0E0      		ldi r26,lo8(BLConfig)
1465
 1432 09ea B0E0      		ldi r27,hi8(BLConfig)
1466
 1433 09ec F901      		movw r30,r18
1467
 1434 09ee 0190      		ld __tmp_reg__,Z+
1468
 1435 09f0 0D92      		st X+,__tmp_reg__
1469
 1436 09f2 8A95      		dec r24
1470
 1437 09f4 01F4      		brne .-8
1471
 1438 09f6 D901      		movw r26,r18
1472
 1439 09f8 8E91      		ld r24,-X
1473
 1440 09fa 0E94 0000 		call I2C_WriteBLConfig
1474
 1441 09fe 8A83      		std Y+2,r24
1475
 1442 0a00 8823      		tst r24
1476
 1443 0a02 01F4      		brne .L123
1477
 1444 0a04 81E0      		ldi r24,lo8(1)
1478
 1445 0a06 8983      		std Y+1,r24
1479
 1446 0a08 00C0      		rjmp .L125
1480
 1447               	.L123:
1481
 1448 0a0a 1982      		std Y+1,__zero_reg__
1482
 1449               	.L125:
1483
 1450 0a0c 8091 0000 		lds r24,UebertragungAbgeschlossen
1484
 1451 0a10 8823      		tst r24
1485
 1452 0a12 01F0      		breq .L125
1486
 1453 0a14 21E0      		ldi r18,lo8(1)
1487
 1454 0a16 30E0      		ldi r19,hi8(1)
1488
 1455 0a18 3F93      		push r19
1489
 1456 0a1a 2F93      		push r18
1490
 1457 0a1c CE01      		movw r24,r28
1491
 1458 0a1e 0296      		adiw r24,2
1492
 1459 0a20 9F93      		push r25
1493
 1460 0a22 8F93      		push r24
1494
 1461 0a24 3F93      		push r19
1495
 1462 0a26 2F93      		push r18
1496
 1463 0a28 CE01      		movw r24,r28
1497
 1464 0a2a 820F      		add r24,r18
1498
 1465 0a2c 931F      		adc r25,r19
1499
 1466 0a2e 9F93      		push r25
1500
 1467 0a30 8F93      		push r24
1501
 1468 0a32 82E0      		ldi r24,lo8(2)
1502
 1469 0a34 8F93      		push r24
1503
 1470 0a36 81E0      		ldi r24,lo8(1)
1504
 1471 0a38 8F93      		push r24
1505
 1472 0a3a 87E5      		ldi r24,lo8(87)
1506
 1473               	.L185:
1507
 1474 0a3c 8F93      		push r24
1508
 1475 0a3e 0E94 0000 		call SendOutData
1509
 1476 0a42 EDB7      		in r30,__SP_L__
1510
 1477 0a44 FEB7      		in r31,__SP_H__
1511
 1478 0a46 3B96      		adiw r30,11
1512
 1479               	.L181:
1513
 1480 0a48 EDBF      		out __SP_L__,r30
1514
 1481 0a4a 00C0      		rjmp .L145
1515
 1482               	.L128:
1516
 1483 0a4c 8091 0000 		lds r24,MotorenEin
1517
 1484 0a50 8823      		tst r24
1518
 1485 0a52 01F0      		breq .+2
1519
 1486 0a54 00C0      		rjmp .L145
1520
 1487 0a56 0E94 0000 		call LIBFC_GetCPUType
1521
 1488 0a5a 8983      		std Y+1,r24
1522
 1489 0a5c 8230      		cpi r24,lo8(2)
1523
 1490 0a5e 01F0      		breq .L131
1524
 1491 0a60 8430      		cpi r24,lo8(4)
1525
 1492 0a62 01F0      		breq .+2
1526
 1493 0a64 00C0      		rjmp .L145
1527
 1494               	.L131:
1528
 1495 0a66 20E4      		ldi r18,lo8(64)
1529
 1496 0a68 30E0      		ldi r19,hi8(64)
1530
 1497               	/* #APP */
1531
 1498 0a6a F894      		cli
1532
 1499               	/* #NOAPP */
1533
 1500 0a6c 8091 C100 		lds r24,193
1534
 1501 0a70 8F73      		andi r24,lo8(63)
1535
 1502 0a72 8093 C100 		sts 193,r24
1536
 1503 0a76 8091 C900 		lds r24,201
1537
 1504 0a7a 8F73      		andi r24,lo8(63)
1538
 1505 0a7c 8093 C900 		sts 201,r24
1539
 1506 0a80 8091 C100 		lds r24,193
1540
 1507 0a84 877E      		andi r24,lo8(-25)
1541
 1508 0a86 8093 C100 		sts 193,r24
1542
 1509 0a8a 8091 C900 		lds r24,201
1543
 1510 0a8e 877E      		andi r24,lo8(-25)
1544
 1511 0a90 8093 C900 		sts 201,r24
1545
 1512               	.L180:
1546
 1513 0a94 8091 C800 		lds r24,200
1547
 1514 0a98 87FF      		sbrs r24,7
1548
 1515 0a9a 00C0      		rjmp .L173
1549
 1516 0a9c 8091 CE00 		lds r24,206
1550
 1517 0aa0 00C0      		rjmp .L180
1551
 1518               	.L173:
1552
 1519 0aa2 8091 C000 		lds r24,192
1553
 1520 0aa6 87FF      		sbrs r24,7
1554
 1521 0aa8 00C0      		rjmp .L175
1555
 1522 0aaa 8091 C600 		lds r24,198
1556
 1523 0aae 00C0      		rjmp .L173
1557
 1524               	.L175:
1558
 1525 0ab0 E091 0000 		lds r30,pRxData
1559
 1526 0ab4 F091 0000 		lds r31,(pRxData)+1
1560
 1527 0ab8 E081      		ld r30,Z
1561
 1528 0aba E130      		cpi r30,lo8(1)
1562
 1529 0abc 01F4      		brne .L138
1563
 1530 0abe 82E0      		ldi r24,lo8(2)
1564
 1531 0ac0 8093 0000 		sts ReceiverUpdateModeActive,r24
1565
 1532 0ac4 00C0      		rjmp .L139
1566
 1533               	.L138:
1567
 1534 0ac6 E436      		cpi r30,lo8(100)
1568
 1535 0ac8 01F4      		brne .L140
1569
 1536 0aca 21E8      		ldi r18,lo8(129)
1570
 1537 0acc 30E0      		ldi r19,hi8(129)
1571
 1538               	.L140:
1572
 1539 0ace 81E0      		ldi r24,lo8(1)
1573
 1540 0ad0 8093 0000 		sts ReceiverUpdateModeActive,r24
1574
 1541 0ad4 832F      		mov r24,r19
1575
 1542 0ad6 9927      		clr r25
1576
 1543 0ad8 8093 CD00 		sts 205,r24
1577
 1544 0adc 2093 CC00 		sts 204,r18
1578
 1545 0ae0 8091 CD00 		lds r24,205
1579
 1546 0ae4 8093 C500 		sts 197,r24
1580
 1547 0ae8 8091 CC00 		lds r24,204
1581
 1548 0aec 8093 C400 		sts 196,r24
1582
 1549 0af0 8091 CA00 		lds r24,202
1583
 1550 0af4 8F7D      		andi r24,lo8(-33)
1584
 1551 0af6 8093 CA00 		sts 202,r24
1585
 1552 0afa 8091 CA00 		lds r24,202
1586
 1553 0afe 8F7E      		andi r24,lo8(-17)
1587
 1554 0b00 8093 CA00 		sts 202,r24
1588
 1555 0b04 8091 C900 		lds r24,201
1589
 1556 0b08 8B7F      		andi r24,lo8(-5)
1590
 1557 0b0a 8093 C900 		sts 201,r24
1591
 1558 0b0e 8091 CA00 		lds r24,202
1592
 1559 0b12 8460      		ori r24,lo8(4)
1593
 1560 0b14 8093 CA00 		sts 202,r24
1594
 1561 0b18 8091 CA00 		lds r24,202
1595
 1562 0b1c 8260      		ori r24,lo8(2)
1596
 1563 0b1e 8093 CA00 		sts 202,r24
1597
 1564               	.L139:
1598
 1565 0b22 8091 CA00 		lds r24,202
1599
 1566 0b26 877F      		andi r24,lo8(-9)
1600
 1567 0b28 8093 CA00 		sts 202,r24
1601
 1568 0b2c 8091 C200 		lds r24,194
1602
 1569 0b30 877F      		andi r24,lo8(-9)
1603
 1570 0b32 8093 C200 		sts 194,r24
1604
 1571 0b36 8091 C900 		lds r24,201
1605
 1572 0b3a 8E7F      		andi r24,lo8(-2)
1606
 1573 0b3c 8093 C900 		sts 201,r24
1607
 1574 0b40 8091 C100 		lds r24,193
1608
 1575 0b44 8861      		ori r24,lo8(24)
1609
 1576 0b46 8093 C100 		sts 193,r24
1610
 1577 0b4a 8091 C900 		lds r24,201
1611
 1578 0b4e 8861      		ori r24,lo8(24)
1612
 1579 0b50 8093 C900 		sts 201,r24
1613
 1580 0b54 8091 C100 		lds r24,193
1614
 1581 0b58 8068      		ori r24,lo8(-128)
1615
 1582 0b5a 8093 C100 		sts 193,r24
1616
 1583 0b5e 8091 C900 		lds r24,201
1617
 1584 0b62 8068      		ori r24,lo8(-128)
1618
 1585 0b64 8093 C900 		sts 201,r24
1619
 1586 0b68 1092 6E00 		sts 110,__zero_reg__
1620
 1587 0b6c 1092 6F00 		sts 111,__zero_reg__
1621
 1588 0b70 1092 7000 		sts 112,__zero_reg__
1622
 1589               	/* #APP */
1623
 1590 0b74 7894      		sei
1624
 1591               	/* #NOAPP */
1625
 1592               	.L145:
1626
 1593 0b76 8091 0000 		lds r24,RxdBuffer+2
1627
 1594 0b7a 9927      		clr r25
1628
 1595 0b7c 8436      		cpi r24,100
1629
 1596 0b7e 9105      		cpc r25,__zero_reg__
1630
 1597 0b80 01F4      		brne .+2
1631
 1598 0b82 00C0      		rjmp .L160
1632
 1599 0b84 8536      		cpi r24,101
1633
 1600 0b86 9105      		cpc r25,__zero_reg__
1634
 1601 0b88 04F4      		brge .L169
1635
 1602 0b8a 8136      		cpi r24,97
1636
 1603 0b8c 9105      		cpc r25,__zero_reg__
1637
 1604 0b8e 01F4      		brne .+2
1638
 1605 0b90 00C0      		rjmp .L154
1639
 1606 0b92 8236      		cpi r24,98
1640
 1607 0b94 9105      		cpc r25,__zero_reg__
1641
 1608 0b96 04F4      		brge .L170
1642
 1609 0b98 8B34      		cpi r24,75
1643
 1610 0b9a 9105      		cpc r25,__zero_reg__
1644
 1611 0b9c 01F4      		brne .+2
1645
 1612 0b9e 00C0      		rjmp .L153
1646
 1613 0ba0 00C0      		rjmp .L65
1647
 1614               	.L170:
1648
 1615 0ba2 8236      		cpi r24,98
1649
 1616 0ba4 9105      		cpc r25,__zero_reg__
1650
 1617 0ba6 01F4      		brne .+2
1651
 1618 0ba8 00C0      		rjmp .L156
1652
 1619 0baa 8336      		cpi r24,99
1653
 1620 0bac 9105      		cpc r25,__zero_reg__
1654
 1621 0bae 01F4      		brne .+2
1655
 1622 0bb0 00C0      		rjmp .L157
1656
 1623 0bb2 00C0      		rjmp .L65
1657
 1624               	.L169:
1658
 1625 0bb4 8C36      		cpi r24,108
1659
 1626 0bb6 9105      		cpc r25,__zero_reg__
1660
 1627 0bb8 01F4      		brne .+2
1661
 1628 0bba 00C0      		rjmp .L165
1662
 1629 0bbc 8D36      		cpi r24,109
1663
 1630 0bbe 9105      		cpc r25,__zero_reg__
1664
 1631 0bc0 04F4      		brge .L171
1665
 1632 0bc2 8736      		cpi r24,103
1666
 1633 0bc4 9105      		cpc r25,__zero_reg__
1667
 1634 0bc6 01F4      		brne .+2
1668
 1635 0bc8 00C0      		rjmp .L167
1669
 1636 0bca 8836      		cpi r24,104
1670
 1637 0bcc 9105      		cpc r25,__zero_reg__
1671
 1638 0bce 01F4      		brne .+2
1672
 1639 0bd0 00C0      		rjmp .L162
1673
 1640 0bd2 00C0      		rjmp .L65
1674
 1641               	.L171:
1675
 1642 0bd4 8437      		cpi r24,116
1676
 1643 0bd6 9105      		cpc r25,__zero_reg__
1677
 1644 0bd8 01F0      		breq .L147
1678
 1645 0bda 8637      		cpi r24,118
1679
 1646 0bdc 9105      		cpc r25,__zero_reg__
1680
 1647 0bde 01F4      		brne .+2
1681
 1648 0be0 00C0      		rjmp .L166
1682
 1649 0be2 00C0      		rjmp .L65
1683
 1650               	.L147:
1684
 1651 0be4 8091 0000 		lds r24,AnzahlEmpfangsBytes
1685
 1652 0be8 A091 0000 		lds r26,pRxData
1686
 1653 0bec B091 0000 		lds r27,(pRxData)+1
1687
 1654 0bf0 8031      		cpi r24,lo8(16)
1688
 1655 0bf2 00F0      		brlo .L148
1689
 1656 0bf4 80E1      		ldi r24,lo8(16)
1690
 1657 0bf6 E0E0      		ldi r30,lo8(MotorTest)
1691
 1658 0bf8 F0E0      		ldi r31,hi8(MotorTest)
1692
 1659 0bfa 0D90      		ld __tmp_reg__,X+
1693
 1660 0bfc 0192      		st Z+,__tmp_reg__
1694
 1661 0bfe 8A95      		dec r24
1695
 1662 0c00 01F4      		brne .-8
1696
 1663 0c02 00C0      		rjmp .L150
1697
 1664               	.L148:
1698
 1665 0c04 8D91      		ld r24,X+
1699
 1666 0c06 9D91      		ld r25,X+
1700
 1667 0c08 0D90      		ld __tmp_reg__,X+
1701
 1668 0c0a BC91      		ld r27,X
1702
 1669 0c0c A02D      		mov r26,__tmp_reg__
1703
 1670 0c0e 8093 0000 		sts MotorTest,r24
1704
 1671 0c12 9093 0000 		sts (MotorTest)+1,r25
1705
 1672 0c16 A093 0000 		sts (MotorTest)+2,r26
1706
 1673 0c1a B093 0000 		sts (MotorTest)+3,r27
1707
 1674               	.L150:
1708
 1675 0c1e 8091 0000 		lds r24,UebertragungAbgeschlossen
1709
 1676 0c22 8823      		tst r24
1710
 1677 0c24 01F0      		breq .L150
1711
 1678 0c26 1F92      		push __zero_reg__
1712
 1679 0c28 8091 0000 		lds r24,MeineSlaveAdresse
1713
 1680 0c2c 8F93      		push r24
1714
 1681 0c2e 84E5      		ldi r24,lo8(84)
1715
 1682 0c30 8F93      		push r24
1716
 1683 0c32 0E94 0000 		call SendOutData
1717
 1684 0c36 8AEF      		ldi r24,lo8(-6)
1718
 1685 0c38 8093 0000 		sts PC_MotortestActive,r24
1719
 1686 0c3c 8FEF      		ldi r24,lo8(-1)
1720
 1687 0c3e 8093 0000 		sts PcZugriff,r24
1721
 1688 0c42 80EA      		ldi r24,lo8(4000)
1722
 1689 0c44 9FE0      		ldi r25,hi8(4000)
1723
 1690 0c46 0E94 0000 		call SetDelay
1724
 1691 0c4a 9093 0000 		sts (AboTimeOut)+1,r25
1725
 1692 0c4e 8093 0000 		sts AboTimeOut,r24
1726
 1693 0c52 0F90      		pop __tmp_reg__
1727
 1694 0c54 0F90      		pop __tmp_reg__
1728
 1695 0c56 0F90      	 	pop __tmp_reg__
1729
 1696 0c58 00C0      		rjmp .L65
1730
 1697               	.L153:
1731
 1698 0c5a E091 0000 		lds r30,pRxData
1732
 1699 0c5e F091 0000 		lds r31,(pRxData)+1
1733
 1700 0c62 8081      		ld r24,Z
1734
 1701 0c64 9181      		ldd r25,Z+1
1735
 1702 0c66 9093 0000 		sts (KompassValue)+1,r25
1736
 1703 0c6a 8093 0000 		sts KompassValue,r24
1737
 1704 0c6e 00C0      		rjmp .L65
1738
 1705               	.L154:
1739
 1706 0c70 E091 0000 		lds r30,pRxData
1740
 1707 0c74 F091 0000 		lds r31,(pRxData)+1
1741
 1708 0c78 8081      		ld r24,Z
1742
 1709 0c7a 8093 0000 		sts DebugTextAnforderung,r24
1743
 1710 0c7e 8032      		cpi r24,lo8(32)
1744
 1711 0c80 00F0      		brlo .L183
1745
 1712 0c82 8FE1      		ldi r24,lo8(31)
1746
 1713 0c84 8093 0000 		sts DebugTextAnforderung,r24
1747
 1714 0c88 00C0      		rjmp .L183
1748
 1715               	.L156:
1749
 1716 0c8a A091 0000 		lds r26,pRxData
1750
 1717 0c8e B091 0000 		lds r27,(pRxData)+1
1751
 1718 0c92 8BE0      		ldi r24,lo8(11)
1752
 1719 0c94 E0E0      		ldi r30,lo8(ExternControl)
1753
 1720 0c96 F0E0      		ldi r31,hi8(ExternControl)
1754
 1721 0c98 0D90      		ld __tmp_reg__,X+
1755
 1722 0c9a 0192      		st Z+,__tmp_reg__
1756
 1723 0c9c 8A95      		dec r24
1757
 1724 0c9e 01F4      		brne .-8
1758
 1725 0ca0 8091 0000 		lds r24,ExternControl+9
1759
 1726 0ca4 8093 0000 		sts ConfirmFrame,r24
1760
 1727               	.L183:
1761
 1728 0ca8 8FEF      		ldi r24,lo8(-1)
1762
 1729 0caa 8093 0000 		sts PcZugriff,r24
1763
 1730 0cae 00C0      		rjmp .L65
1764
 1731               	.L157:
1765
 1732 0cb0 8091 0000 		lds r24,Intervall3D
1766
 1733 0cb4 9091 0000 		lds r25,(Intervall3D)+1
1767
 1734 0cb8 892B      		or r24,r25
1768
 1735 0cba 01F4      		brne .L158
1769
 1736 0cbc E091 0000 		lds r30,pRxData
1770
 1737 0cc0 F091 0000 		lds r31,(pRxData)+1
1771
 1738 0cc4 E081      		ld r30,Z
1772
 1739 0cc6 EE23      		tst r30
1773
 1740 0cc8 01F0      		breq .L158
1774
 1741 0cca 8AE0      		ldi r24,lo8(10)
1775
 1742 0ccc E89F      		mul r30,r24
1776
 1743 0cce C001      		movw r24,r0
1777
 1744 0cd0 1124      		clr r1
1778
 1745 0cd2 0E94 0000 		call SetDelay
1779
 1746 0cd6 9093 0000 		sts (Timer3D)+1,r25
1780
 1747 0cda 8093 0000 		sts Timer3D,r24
1781
 1748               	.L158:
1782
 1749 0cde E091 0000 		lds r30,pRxData
1783
 1750 0ce2 F091 0000 		lds r31,(pRxData)+1
1784
 1751 0ce6 9081      		ld r25,Z
1785
 1752 0ce8 8AE0      		ldi r24,lo8(10)
1786
 1753 0cea 989F      		mul r25,r24
1787
 1754 0cec C001      		movw r24,r0
1788
 1755 0cee 1124      		clr r1
1789
 1756 0cf0 9093 0000 		sts (Intervall3D)+1,r25
1790
 1757 0cf4 8093 0000 		sts Intervall3D,r24
1791
 1758 0cf8 00C0      		rjmp .L161
1792
 1759               	.L160:
1793
 1760 0cfa 8FEF      		ldi r24,lo8(-1)
1794
 1761 0cfc 8093 0000 		sts PcZugriff,r24
1795
 1762 0d00 E091 0000 		lds r30,pRxData
1796
 1763 0d04 F091 0000 		lds r31,(pRxData)+1
1797
 1764 0d08 9081      		ld r25,Z
1798
 1765 0d0a 8AE0      		ldi r24,lo8(10)
1799
 1766 0d0c 989F      		mul r25,r24
1800
 1767 0d0e C001      		movw r24,r0
1801
 1768 0d10 1124      		clr r1
1802
 1769 0d12 9093 0000 		sts (DebugDataIntervall)+1,r25
1803
 1770 0d16 8093 0000 		sts DebugDataIntervall,r24
1804
 1771 0d1a 892B      		or r24,r25
1805
 1772 0d1c 01F0      		breq .L161
1806
 1773 0d1e 81E0      		ldi r24,lo8(1)
1807
 1774 0d20 8093 0000 		sts DebugDataAnforderung,r24
1808
 1775               	.L161:
1809
 1776 0d24 80EA      		ldi r24,lo8(4000)
1810
 1777 0d26 9FE0      		ldi r25,hi8(4000)
1811
 1778 0d28 0E94 0000 		call SetDelay
1812
 1779 0d2c 9093 0000 		sts (AboTimeOut)+1,r25
1813
 1780 0d30 8093 0000 		sts AboTimeOut,r24
1814
 1781 0d34 00C0      		rjmp .L65
1815
 1782               	.L162:
1816
 1783 0d36 8FEF      		ldi r24,lo8(-1)
1817
 1784 0d38 8093 0000 		sts PcZugriff,r24
1818
 1785 0d3c E091 0000 		lds r30,pRxData
1819
 1786 0d40 F091 0000 		lds r31,(pRxData)+1
1820
 1787 0d44 9081      		ld r25,Z
1821
 1788 0d46 97FD      		sbrc r25,7
1822
 1789 0d48 00C0      		rjmp .L163
1823
 1790 0d4a 82E0      		ldi r24,lo8(2)
1824
 1791 0d4c 8093 0000 		sts DisplayLine,r24
1825
 1792 0d50 1092 0000 		sts (Display_Interval)+1,__zero_reg__
1826
 1793 0d54 1092 0000 		sts Display_Interval,__zero_reg__
1827
 1794 0d58 00C0      		rjmp .L164
1828
 1795               	.L163:
1829
 1796 0d5a 9095      		com r25
1830
 1797 0d5c 8091 0000 		lds r24,RemoteKeys
1831
 1798 0d60 892B      		or r24,r25
1832
 1799 0d62 8093 0000 		sts RemoteKeys,r24
1833
 1800 0d66 9181      		ldd r25,Z+1
1834
 1801 0d68 8AE0      		ldi r24,lo8(10)
1835
 1802 0d6a 989F      		mul r25,r24
1836
 1803 0d6c C001      		movw r24,r0
1837
 1804 0d6e 1124      		clr r1
1838
 1805 0d70 9093 0000 		sts (Display_Interval)+1,r25
1839
 1806 0d74 8093 0000 		sts Display_Interval,r24
1840
 1807 0d78 84E0      		ldi r24,lo8(4)
1841
 1808 0d7a 8093 0000 		sts DisplayLine,r24
1842
 1809 0d7e 80EA      		ldi r24,lo8(4000)
1843
 1810 0d80 9FE0      		ldi r25,hi8(4000)
1844
 1811 0d82 0E94 0000 		call SetDelay
1845
 1812 0d86 9093 0000 		sts (AboTimeOut)+1,r25
1846
 1813 0d8a 8093 0000 		sts AboTimeOut,r24
1847
 1814               	.L164:
1848
 1815 0d8e 81E0      		ldi r24,lo8(1)
1849
 1816 0d90 8093 0000 		sts DebugDisplayAnforderung,r24
1850
 1817 0d94 00C0      		rjmp .L65
1851
 1818               	.L165:
1852
 1819 0d96 8FEF      		ldi r24,lo8(-1)
1853
 1820 0d98 8093 0000 		sts PcZugriff,r24
1854
 1821 0d9c E091 0000 		lds r30,pRxData
1855
 1822 0da0 F091 0000 		lds r31,(pRxData)+1
1856
 1823 0da4 8081      		ld r24,Z
1857
 1824 0da6 8093 0000 		sts MenuePunkt,r24
1858
 1825 0daa 81E0      		ldi r24,lo8(1)
1859
 1826 0dac 8093 0000 		sts DebugDisplayAnforderung1,r24
1860
 1827 0db0 00C0      		rjmp .L65
1861
 1828               	.L166:
1862
 1829 0db2 81E0      		ldi r24,lo8(1)
1863
 1830 0db4 8093 0000 		sts GetVersionAnforderung,r24
1864
 1831 0db8 00C0      		rjmp .L65
1865
 1832               	.L167:
1866
 1833 0dba 81E0      		ldi r24,lo8(1)
1867
 1834 0dbc 8093 0000 		sts GetExternalControl,r24
1868
 1835               	.L65:
1869
 1836 0dc0 1092 0000 		sts NeuerDatensatzEmpfangen,__zero_reg__
1870
 1837 0dc4 1092 0000 		sts (pRxData)+1,__zero_reg__
1871
 1838 0dc8 1092 0000 		sts pRxData,__zero_reg__
1872
 1839 0dcc 1092 0000 		sts RxDataLen,__zero_reg__
1873
 1840               	.L63:
1874
 1841               	/* epilogue: frame size=2 */
1875
 1842 0dd0 E3E0      		ldi r30,3
1876
 1843 0dd2 CE5F      		subi r28,-2
1877
 1844 0dd4 0C94 0000 		jmp __epilogue_restores__+30
1878
 1845               	/* epilogue end (size=4) */
1879
 1846               	/* function BearbeiteRxDaten size 1128 (1118) */
1880
 1848               	.global	uart_putchar
1881
 1850               	uart_putchar:
1882
 1851               	/* prologue: frame size=0 */
1883
 1852               	/* prologue end (size=0) */
1884
 1853 0dd8 982F      		mov r25,r24
1885
 1854               	.L188:
1886
 1855 0dda 8091 C000 		lds r24,192
1887
 1856 0dde 85FF      		sbrs r24,5
1888
 1857 0de0 00C0      		rjmp .L188
1889
 1858 0de2 9093 C600 		sts 198,r25
1890
 1859               	/* epilogue: frame size=0 */
1891
 1860 0de6 0895      		ret
1892
 1861               	/* epilogue end (size=1) */
1893
 1862               	/* function uart_putchar size 8 (7) */
1894
 1864               	.global	UART_Init
1895
 1866               	UART_Init:
1896
 1867               	/* prologue: frame size=0 */
1897
 1868 0de8 0F93      		push r16
1898
 1869 0dea 1F93      		push r17
1899
 1870               	/* prologue end (size=2) */
1900
 1871 0dec 88E1      		ldi r24,lo8(24)
1901
 1872 0dee 8093 C100 		sts 193,r24
1902
 1873 0df2 8091 C000 		lds r24,192
1903
 1874 0df6 8260      		ori r24,lo8(2)
1904
 1875 0df8 8093 C000 		sts 192,r24
1905
 1876 0dfc 8091 C100 		lds r24,193
1906
 1877 0e00 8068      		ori r24,lo8(-128)
1907
 1878 0e02 8093 C100 		sts 193,r24
1908
 1879 0e06 8091 C100 		lds r24,193
1909
 1880 0e0a 8064      		ori r24,lo8(64)
1910
 1881 0e0c 8093 C100 		sts 193,r24
1911
 1882 0e10 00E0      		ldi r16,lo8(0)
1912
 1883 0e12 10E0      		ldi r17,hi8(0)
1913
 1884 0e14 0093 C500 		sts 197,r16
1914
 1885 0e18 8AE2      		ldi r24,lo8(42)
1915
 1886 0e1a 90E0      		ldi r25,hi8(42)
1916
 1887 0e1c 8093 C400 		sts 196,r24
1917
 1888 0e20 8091 0000 		lds r24,DebugDataIntervall
1918
 1889 0e24 9091 0000 		lds r25,(DebugDataIntervall)+1
1919
 1890 0e28 0E94 0000 		call SetDelay
1920
 1891 0e2c 9093 0000 		sts (Debug_Timer)+1,r25
1921
 1892 0e30 8093 0000 		sts Debug_Timer,r24
1922
 1893 0e34 8CED      		ldi r24,lo8(220)
1923
 1894 0e36 90E0      		ldi r25,hi8(220)
1924
 1895 0e38 0E94 0000 		call SetDelay
1925
 1896 0e3c 9093 0000 		sts (Kompass_Timer)+1,r25
1926
 1897 0e40 8093 0000 		sts Kompass_Timer,r24
1927
 1898 0e44 1092 0000 		sts VersionInfo,__zero_reg__
1928
 1899 0e48 8AE5      		ldi r24,lo8(90)
1929
 1900 0e4a 8093 0000 		sts VersionInfo+1,r24
1930
 1901 0e4e 84E0      		ldi r24,lo8(4)
1931
 1902 0e50 8093 0000 		sts VersionInfo+4,r24
1932
 1903 0e54 8BE0      		ldi r24,lo8(11)
1933
 1904 0e56 8093 0000 		sts VersionInfo+2,r24
1934
 1905 0e5a 1092 0000 		sts VersionInfo+3,__zero_reg__
1935
 1906 0e5e 1093 0000 		sts (pRxData)+1,r17
1936
 1907 0e62 0093 0000 		sts pRxData,r16
1937
 1908 0e66 1092 0000 		sts RxDataLen,__zero_reg__
1938
 1909               	/* epilogue: frame size=0 */
1939
 1910 0e6a 1F91      		pop r17
1940
 1911 0e6c 0F91      		pop r16
1941
 1912 0e6e 0895      		ret
1942
 1913               	/* epilogue end (size=3) */
1943
 1914               	/* function UART_Init size 68 (63) */
1944
 1916               		.section	.progmem.data
1945
 1919               	__c.0:
1946
 1920 0200 2121 2120 		.string	"!!! INCOMPATIBLE !!!"
1947
 1920      494E 434F
1948
 1920      4D50 4154
1949
 1920      4942 4C45
1950
 1920      2021 2121
1951
 1921               		.text
1952
 1922               	.global	DatenUebertragung
1953
 1924               	DatenUebertragung:
1954
 1925               	/* prologue: frame size=16 */
1955
 1926 0e70 A0E1      		ldi r26,lo8(16)
1956
 1927 0e72 B0E0      		ldi r27,hi8(16)
1957
 1928 0e74 E0E0      		ldi r30,pm_lo8(1f)
1958
 1929 0e76 F0E0      		ldi r31,pm_hi8(1f)
1959
 1930 0e78 0C94 0000 		jmp __prologue_saves__+24
1960
 1931               	1:
1961
 1932               	/* prologue end (size=6) */
1962
 1933 0e7c 8091 0000 		lds r24,UebertragungAbgeschlossen
1963
 1934 0e80 8823      		tst r24
1964
 1935 0e82 01F4      		brne .+2
1965
 1936 0e84 00C0      		rjmp .L192
1966
 1937 0e86 8091 0000 		lds r24,AboTimeOut
1967
 1938 0e8a 9091 0000 		lds r25,(AboTimeOut)+1
1968
 1939 0e8e 0E94 0000 		call CheckDelay
1969
 1940 0e92 8823      		tst r24
1970
 1941 0e94 01F0      		breq .L194
1971
 1942 0e96 1092 0000 		sts (Display_Interval)+1,__zero_reg__
1972
 1943 0e9a 1092 0000 		sts Display_Interval,__zero_reg__
1973
 1944 0e9e 1092 0000 		sts (DebugDataIntervall)+1,__zero_reg__
1974
 1945 0ea2 1092 0000 		sts DebugDataIntervall,__zero_reg__
1975
 1946 0ea6 1092 0000 		sts (Intervall3D)+1,__zero_reg__
1976
 1947 0eaa 1092 0000 		sts Intervall3D,__zero_reg__
1977
 1948               	.L194:
1978
 1949 0eae 8091 0000 		lds r24,Display_Interval
1979
 1950 0eb2 9091 0000 		lds r25,(Display_Interval)+1
1980
 1951 0eb6 892B      		or r24,r25
1981
 1952 0eb8 01F0      		breq .L197
1982
 1953 0eba 8091 0000 		lds r24,Display_Timer
1983
 1954 0ebe 9091 0000 		lds r25,(Display_Timer)+1
1984
 1955 0ec2 0E94 0000 		call CheckDelay
1985
 1956 0ec6 8823      		tst r24
1986
 1957 0ec8 01F4      		brne .L196
1987
 1958               	.L197:
1988
 1959 0eca 8091 0000 		lds r24,DebugDisplayAnforderung
1989
 1960 0ece 8823      		tst r24
1990
 1961 0ed0 01F4      		brne .+2
1991
 1962 0ed2 00C0      		rjmp .L195
1992
 1963               	.L196:
1993
 1964 0ed4 8091 0000 		lds r24,UebertragungAbgeschlossen
1994
 1965 0ed8 8823      		tst r24
1995
 1966 0eda 01F4      		brne .+2
1996
 1967 0edc 00C0      		rjmp .L195
1997
 1968 0ede 8091 0000 		lds r24,DisplayLine
1998
 1969 0ee2 00E0      		ldi r16,lo8(DisplayBuff)
1999
 1970 0ee4 10E0      		ldi r17,hi8(DisplayBuff)
2000
 1971 0ee6 8430      		cpi r24,lo8(4)
2001
 1972 0ee8 00F0      		brlo .L198
2002
 1973 0eea 0E94 0000 		call Menu
2003
 1974 0eee 80E5      		ldi r24,lo8(80)
2004
 1975 0ef0 90E0      		ldi r25,hi8(80)
2005
 1976 0ef2 9F93      		push r25
2006
 1977 0ef4 8F93      		push r24
2007
 1978 0ef6 1F93      		push r17
2008
 1979 0ef8 0F93      		push r16
2009
 1980 0efa 81E0      		ldi r24,lo8(1)
2010
 1981 0efc 8F93      		push r24
2011
 1982 0efe 8F93      		push r24
2012
 1983 0f00 88E4      		ldi r24,lo8(72)
2013
 1984 0f02 8F93      		push r24
2014
 1985 0f04 0E94 0000 		call SendOutData
2015
 1986 0f08 2DB7      		in r18,__SP_L__
2016
 1987 0f0a 3EB7      		in r19,__SP_H__
2017
 1988 0f0c 295F      		subi r18,lo8(-(7))
2018
 1989 0f0e 3F4F      		sbci r19,hi8(-(7))
2019
 1990 0f10 2DBF      		out __SP_L__,r18
2020
 1991 0f12 00C0      		rjmp .L199
2021
 1992               	.L198:
2022
 1993 0f14 1092 0000 		sts DispPtr,__zero_reg__
2023
 1994 0f18 80E0      		ldi r24,lo8(__c.0)
2024
 1995 0f1a 90E0      		ldi r25,hi8(__c.0)
2025
 1996 0f1c 9F93      		push r25
2026
 1997 0f1e 8F93      		push r24
2027
 1998 0f20 80E0      		ldi r24,lo8(pm(Menu_Putchar))
2028
 1999 0f22 90E0      		ldi r25,hi8(pm(Menu_Putchar))
2029
 2000 0f24 9F93      		push r25
2030
 2001 0f26 8F93      		push r24
2031
 2002 0f28 E091 0000 		lds r30,_printf_P
2032
 2003 0f2c F091 0000 		lds r31,(_printf_P)+1
2033
 2004 0f30 0995      		icall
2034
 2005 0f32 84E1      		ldi r24,lo8(20)
2035
 2006 0f34 90E0      		ldi r25,hi8(20)
2036
 2007 0f36 9F93      		push r25
2037
 2008 0f38 8F93      		push r24
2038
 2009 0f3a 1F93      		push r17
2039
 2010 0f3c 0F93      		push r16
2040
 2011 0f3e 81E0      		ldi r24,lo8(1)
2041
 2012 0f40 90E0      		ldi r25,hi8(1)
2042
 2013 0f42 9F93      		push r25
2043
 2014 0f44 8F93      		push r24
2044
 2015 0f46 80E0      		ldi r24,lo8(DisplayLine)
2045
 2016 0f48 90E0      		ldi r25,hi8(DisplayLine)
2046
 2017 0f4a 9F93      		push r25
2047
 2018 0f4c 8F93      		push r24
2048
 2019 0f4e 82E0      		ldi r24,lo8(2)
2049
 2020 0f50 8F93      		push r24
2050
 2021 0f52 81E0      		ldi r24,lo8(1)
2051
 2022 0f54 8F93      		push r24
2052
 2023 0f56 88E4      		ldi r24,lo8(72)
2053
 2024 0f58 8F93      		push r24
2054
 2025 0f5a 0E94 0000 		call SendOutData
2055
 2026 0f5e 8091 0000 		lds r24,DisplayLine
2056
 2027 0f62 982F      		mov r25,r24
2057
 2028 0f64 8F5F      		subi r24,lo8(-(1))
2058
 2029 0f66 8093 0000 		sts DisplayLine,r24
2059
 2030 0f6a 2DB7      		in r18,__SP_L__
2060
 2031 0f6c 3EB7      		in r19,__SP_H__
2061
 2032 0f6e 215F      		subi r18,lo8(-(15))
2062
 2033 0f70 3F4F      		sbci r19,hi8(-(15))
2063
 2034 0f72 2DBF      		out __SP_L__,r18
2064
 2035 0f74 9430      		cpi r25,lo8(4)
2065
 2036 0f76 00F0      		brlo .L199
2066
 2037 0f78 1092 0000 		sts DisplayLine,__zero_reg__
2067
 2038               	.L199:
2068
 2039 0f7c 8091 0000 		lds r24,Display_Interval
2069
 2040 0f80 9091 0000 		lds r25,(Display_Interval)+1
2070
 2041 0f84 0E94 0000 		call SetDelay
2071
 2042 0f88 9093 0000 		sts (Display_Timer)+1,r25
2072
 2043 0f8c 8093 0000 		sts Display_Timer,r24
2073
 2044 0f90 1092 0000 		sts DebugDisplayAnforderung,__zero_reg__
2074
 2045               	.L195:
2075
 2046 0f94 8091 0000 		lds r24,DebugDisplayAnforderung1
2076
 2047 0f98 8823      		tst r24
2077
 2048 0f9a 01F0      		breq .L201
2078
 2049 0f9c 8091 0000 		lds r24,UebertragungAbgeschlossen
2079
 2050 0fa0 8823      		tst r24
2080
 2051 0fa2 01F0      		breq .L201
2081
 2052 0fa4 0E94 0000 		call Menu
2082
 2053 0fa8 80E5      		ldi r24,lo8(80)
2083
 2054 0faa 90E0      		ldi r25,hi8(80)
2084
 2055 0fac 9F93      		push r25
2085
 2056 0fae 8F93      		push r24
2086
 2057 0fb0 80E0      		ldi r24,lo8(DisplayBuff)
2087
 2058 0fb2 90E0      		ldi r25,hi8(DisplayBuff)
2088
 2059 0fb4 9F93      		push r25
2089
 2060 0fb6 8F93      		push r24
2090
 2061 0fb8 21E0      		ldi r18,lo8(1)
2091
 2062 0fba 30E0      		ldi r19,hi8(1)
2092
 2063 0fbc 3F93      		push r19
2093
 2064 0fbe 2F93      		push r18
2094
 2065 0fc0 80E0      		ldi r24,lo8(MaxMenue)
2095
 2066 0fc2 90E0      		ldi r25,hi8(MaxMenue)
2096
 2067 0fc4 9F93      		push r25
2097
 2068 0fc6 8F93      		push r24
2098
 2069 0fc8 3F93      		push r19
2099
 2070 0fca 2F93      		push r18
2100
 2071 0fcc 80E0      		ldi r24,lo8(MenuePunkt)
2101
 2072 0fce 90E0      		ldi r25,hi8(MenuePunkt)
2102
 2073 0fd0 9F93      		push r25
2103
 2074 0fd2 8F93      		push r24
2104
 2075 0fd4 83E0      		ldi r24,lo8(3)
2105
 2076 0fd6 8F93      		push r24
2106
 2077 0fd8 81E0      		ldi r24,lo8(1)
2107
 2078 0fda 8F93      		push r24
2108
 2079 0fdc 8CE4      		ldi r24,lo8(76)
2109
 2080 0fde 8F93      		push r24
2110
 2081 0fe0 0E94 0000 		call SendOutData
2111
 2082 0fe4 1092 0000 		sts DebugDisplayAnforderung1,__zero_reg__
2112
 2083 0fe8 8DB7      		in r24,__SP_L__
2113
 2084 0fea 9EB7      		in r25,__SP_H__
2114
 2085 0fec 0F96      		adiw r24,15
2115
 2086 0fee 8DBF      		out __SP_L__,r24
2116
 2087               	.L201:
2117
 2088 0ff0 8091 0000 		lds r24,GetVersionAnforderung
2118
 2089 0ff4 8823      		tst r24
2119
 2090 0ff6 01F0      		breq .L202
2120
 2091 0ff8 8091 0000 		lds r24,UebertragungAbgeschlossen
2121
 2092 0ffc 8823      		tst r24
2122
 2093 0ffe 01F0      		breq .L202
2123
 2094 1000 8AE0      		ldi r24,lo8(10)
2124
 2095 1002 90E0      		ldi r25,hi8(10)
2125
 2096 1004 9F93      		push r25
2126
 2097 1006 8F93      		push r24
2127
 2098 1008 80E0      		ldi r24,lo8(VersionInfo)
2128
 2099 100a 90E0      		ldi r25,hi8(VersionInfo)
2129
 2100 100c 9F93      		push r25
2130
 2101 100e 8F93      		push r24
2131
 2102 1010 81E0      		ldi r24,lo8(1)
2132
 2103 1012 8F93      		push r24
2133
 2104 1014 8F93      		push r24
2134
 2105 1016 86E5      		ldi r24,lo8(86)
2135
 2106 1018 8F93      		push r24
2136
 2107 101a 0E94 0000 		call SendOutData
2137
 2108 101e 1092 0000 		sts GetVersionAnforderung,__zero_reg__
2138
 2109 1022 2DB7      		in r18,__SP_L__
2139
 2110 1024 3EB7      		in r19,__SP_H__
2140
 2111 1026 295F      		subi r18,lo8(-(7))
2141
 2112 1028 3F4F      		sbci r19,hi8(-(7))
2142
 2113 102a 2DBF      		out __SP_L__,r18
2143
 2114               	.L202:
2144
 2115 102c 8091 0000 		lds r24,GetExternalControl
2145
 2116 1030 8823      		tst r24
2146
 2117 1032 01F0      		breq .L203
2147
 2118 1034 8091 0000 		lds r24,UebertragungAbgeschlossen
2148
 2119 1038 8823      		tst r24
2149
 2120 103a 01F0      		breq .L203
2150
 2121 103c 8BE0      		ldi r24,lo8(11)
2151
 2122 103e 90E0      		ldi r25,hi8(11)
2152
 2123 1040 9F93      		push r25
2153
 2124 1042 8F93      		push r24
2154
 2125 1044 80E0      		ldi r24,lo8(ExternControl)
2155
 2126 1046 90E0      		ldi r25,hi8(ExternControl)
2156
 2127 1048 9F93      		push r25
2157
 2128 104a 8F93      		push r24
2158
 2129 104c 81E0      		ldi r24,lo8(1)
2159
 2130 104e 8F93      		push r24
2160
 2131 1050 8091 0000 		lds r24,MeineSlaveAdresse
2161
 2132 1054 8F93      		push r24
2162
 2133 1056 87E4      		ldi r24,lo8(71)
2163
 2134 1058 8F93      		push r24
2164
 2135 105a 0E94 0000 		call SendOutData
2165
 2136 105e 1092 0000 		sts GetExternalControl,__zero_reg__
2166
 2137 1062 8DB7      		in r24,__SP_L__
2167
 2138 1064 9EB7      		in r25,__SP_H__
2168
 2139 1066 0796      		adiw r24,7
2169
 2140 1068 8DBF      		out __SP_L__,r24
2170
 2141               	.L203:
2171
 2142 106a 8091 0000 		lds r24,Kompass_Timer
2172
 2143 106e 9091 0000 		lds r25,(Kompass_Timer)+1
2173
 2144 1072 0E94 0000 		call CheckDelay
2174
 2145 1076 8823      		tst r24
2175
 2146 1078 01F4      		brne .+2
2176
 2147 107a 00C0      		rjmp .L204
2177
 2148 107c 8091 0000 		lds r24,UebertragungAbgeschlossen
2178
 2149 1080 8823      		tst r24
2179
 2150 1082 01F4      		brne .+2
2180
 2151 1084 00C0      		rjmp .L204
2181
 2152 1086 8091 0000 		lds r24,EE_Parameter+28
2182
 2153 108a 9927      		clr r25
2183
 2154 108c 880F      		lsl r24
2184
 2155 108e 991F      		rol r25
2185
 2156 1090 880F      		lsl r24
2186
 2157 1092 991F      		rol r25
2187
 2158 1094 7C01      		movw r14,r24
2188
 2159 1096 0027      		clr r16
2189
 2160 1098 F7FC      		sbrc r15,7
2190
 2161 109a 0095      		com r16
2191
 2162 109c 102F      		mov r17,r16
2192
 2163 109e 8091 0000 		lds r24,IntegralNick
2193
 2164 10a2 9091 0000 		lds r25,(IntegralNick)+1
2194
 2165 10a6 A091 0000 		lds r26,(IntegralNick)+2
2195
 2166 10aa B091 0000 		lds r27,(IntegralNick)+3
2196
 2167 10ae BC01      		movw r22,r24
2197
 2168 10b0 CD01      		movw r24,r26
2198
 2169 10b2 A801      		movw r20,r16
2199
 2170 10b4 9701      		movw r18,r14
2200
 2171 10b6 0E94 0000 		call __divmodsi4
2201
 2172 10ba 3093 0000 		sts (WinkelOut)+1,r19
2202
 2173 10be 2093 0000 		sts WinkelOut,r18
2203
 2174 10c2 8091 0000 		lds r24,IntegralRoll
2204
 2175 10c6 9091 0000 		lds r25,(IntegralRoll)+1
2205
 2176 10ca A091 0000 		lds r26,(IntegralRoll)+2
2206
 2177 10ce B091 0000 		lds r27,(IntegralRoll)+3
2207
 2178 10d2 BC01      		movw r22,r24
2208
 2179 10d4 CD01      		movw r24,r26
2209
 2180 10d6 A801      		movw r20,r16
2210
 2181 10d8 9701      		movw r18,r14
2211
 2182 10da 0E94 0000 		call __divmodsi4
2212
 2183 10de 3093 0000 		sts (WinkelOut+2)+1,r19
2213
 2184 10e2 2093 0000 		sts WinkelOut+2,r18
2214
 2185 10e6 8091 0000 		lds r24,Parameter_UserParam1
2215
 2186 10ea 8093 0000 		sts WinkelOut+4,r24
2216
 2187 10ee 8091 0000 		lds r24,Parameter_UserParam2
2217
 2188 10f2 8093 0000 		sts WinkelOut+5,r24
2218
 2189 10f6 88E0      		ldi r24,lo8(8)
2219
 2190 10f8 90E0      		ldi r25,hi8(8)
2220
 2191 10fa 9F93      		push r25
2221
 2192 10fc 8F93      		push r24
2222
 2193 10fe 80E0      		ldi r24,lo8(WinkelOut)
2223
 2194 1100 90E0      		ldi r25,hi8(WinkelOut)
2224
 2195 1102 9F93      		push r25
2225
 2196 1104 8F93      		push r24
2226
 2197 1106 81E0      		ldi r24,lo8(1)
2227
 2198 1108 8F93      		push r24
2228
 2199 110a 83E0      		ldi r24,lo8(3)
2229
 2200 110c 8F93      		push r24
2230
 2201 110e 8BE6      		ldi r24,lo8(107)
2231
 2202 1110 8F93      		push r24
2232
 2203 1112 0E94 0000 		call SendOutData
2233
 2204 1116 8091 0000 		lds r24,WinkelOut+6
2234
 2205 111a 2DB7      		in r18,__SP_L__
2235
 2206 111c 3EB7      		in r19,__SP_H__
2236
 2207 111e 295F      		subi r18,lo8(-(7))
2237
 2208 1120 3F4F      		sbci r19,hi8(-(7))
2238
 2209 1122 2DBF      		out __SP_L__,r18
2239
 2210 1124 8530      		cpi r24,lo8(5)
2240
 2211 1126 00F0      		brlo .L205
2241
 2212 1128 86E0      		ldi r24,lo8(6)
2242
 2213 112a 8093 0000 		sts WinkelOut+6,r24
2243
 2214               	.L205:
2244
 2215 112e 83E6      		ldi r24,lo8(99)
2245
 2216 1130 90E0      		ldi r25,hi8(99)
2246
 2217 1132 0E94 0000 		call SetDelay
2247
 2218 1136 9093 0000 		sts (Kompass_Timer)+1,r25
2248
 2219 113a 8093 0000 		sts Kompass_Timer,r24
2249
 2220               	.L204:
2250
 2221 113e 8091 0000 		lds r24,DebugDataIntervall
2251
 2222 1142 9091 0000 		lds r25,(DebugDataIntervall)+1
2252
 2223 1146 892B      		or r24,r25
2253
 2224 1148 01F0      		breq .L208
2254
 2225 114a 8091 0000 		lds r24,Debug_Timer
2255
 2226 114e 9091 0000 		lds r25,(Debug_Timer)+1
2256
 2227 1152 0E94 0000 		call CheckDelay
2257
 2228 1156 8823      		tst r24
2258
 2229 1158 01F4      		brne .L207
2259
 2230               	.L208:
2260
 2231 115a 8091 0000 		lds r24,DebugDataAnforderung
2261
 2232 115e 8823      		tst r24
2262
 2233 1160 01F0      		breq .L206
2263
 2234               	.L207:
2264
 2235 1162 8091 0000 		lds r24,UebertragungAbgeschlossen
2265
 2236 1166 8823      		tst r24
2266
 2237 1168 01F0      		breq .L206
2267
 2238 116a 0E94 0000 		call CopyDebugValues
2268
 2239 116e 82E4      		ldi r24,lo8(66)
2269
 2240 1170 90E0      		ldi r25,hi8(66)
2270
 2241 1172 9F93      		push r25
2271
 2242 1174 8F93      		push r24
2272
 2243 1176 80E0      		ldi r24,lo8(DebugOut)
2273
 2244 1178 90E0      		ldi r25,hi8(DebugOut)
2274
 2245 117a 9F93      		push r25
2275
 2246 117c 8F93      		push r24
2276
 2247 117e 81E0      		ldi r24,lo8(1)
2277
 2248 1180 8F93      		push r24
2278
 2249 1182 8F93      		push r24
2279
 2250 1184 84E4      		ldi r24,lo8(68)
2280
 2251 1186 8F93      		push r24
2281
 2252 1188 0E94 0000 		call SendOutData
2282
 2253 118c 1092 0000 		sts DebugDataAnforderung,__zero_reg__
2283
 2254 1190 8DB7      		in r24,__SP_L__
2284
 2255 1192 9EB7      		in r25,__SP_H__
2285
 2256 1194 0796      		adiw r24,7
2286
 2257 1196 8DBF      		out __SP_L__,r24
2287
 2258 1198 8091 0000 		lds r24,DebugDataIntervall
2288
 2259 119c 9091 0000 		lds r25,(DebugDataIntervall)+1
2289
 2260 11a0 0097      		sbiw r24,0
2290
 2261 11a2 01F0      		breq .L206
2291
 2262 11a4 0E94 0000 		call SetDelay
2292
 2263 11a8 9093 0000 		sts (Debug_Timer)+1,r25
2293
 2264 11ac 8093 0000 		sts Debug_Timer,r24
2294
 2265               	.L206:
2295
 2266 11b0 8091 0000 		lds r24,Intervall3D
2296
 2267 11b4 9091 0000 		lds r25,(Intervall3D)+1
2297
 2268 11b8 892B      		or r24,r25
2298
 2269 11ba 01F4      		brne .+2
2299
 2270 11bc 00C0      		rjmp .L210
2300
 2271 11be 8091 0000 		lds r24,Timer3D
2301
 2272 11c2 9091 0000 		lds r25,(Timer3D)+1
2302
 2273 11c6 0E94 0000 		call CheckDelay
2303
 2274 11ca 8823      		tst r24
2304
 2275 11cc 01F4      		brne .+2
2305
 2276 11ce 00C0      		rjmp .L210
2306
 2277 11d0 8091 0000 		lds r24,UebertragungAbgeschlossen
2307
 2278 11d4 8823      		tst r24
2308
 2279 11d6 01F4      		brne .+2
2309
 2280 11d8 00C0      		rjmp .L210
2310
 2281 11da 8091 0000 		lds r24,EE_Parameter+28
2311
 2282 11de 9927      		clr r25
2312
 2283 11e0 880F      		lsl r24
2313
 2284 11e2 991F      		rol r25
2314
 2285 11e4 880F      		lsl r24
2315
 2286 11e6 991F      		rol r25
2316
 2287 11e8 7C01      		movw r14,r24
2317
 2288 11ea 0027      		clr r16
2318
 2289 11ec F7FC      		sbrc r15,7
2319
 2290 11ee 0095      		com r16
2320
 2291 11f0 102F      		mov r17,r16
2321
 2292 11f2 8091 0000 		lds r24,IntegralNick
2322
 2293 11f6 9091 0000 		lds r25,(IntegralNick)+1
2323
 2294 11fa A091 0000 		lds r26,(IntegralNick)+2
2324
 2295 11fe B091 0000 		lds r27,(IntegralNick)+3
2325
 2296 1202 BC01      		movw r22,r24
2326
 2297 1204 CD01      		movw r24,r26
2327
 2298 1206 A801      		movw r20,r16
2328
 2299 1208 9701      		movw r18,r14
2329
 2300 120a 0E94 0000 		call __divmodsi4
2330
 2301 120e 3093 0000 		sts (Data3D)+1,r19
2331
 2302 1212 2093 0000 		sts Data3D,r18
2332
 2303 1216 8091 0000 		lds r24,IntegralRoll
2333
 2304 121a 9091 0000 		lds r25,(IntegralRoll)+1
2334
 2305 121e A091 0000 		lds r26,(IntegralRoll)+2
2335
 2306 1222 B091 0000 		lds r27,(IntegralRoll)+3
2336
 2307 1226 BC01      		movw r22,r24
2337
 2308 1228 CD01      		movw r24,r26
2338
 2309 122a A801      		movw r20,r16
2339
 2310 122c 9701      		movw r18,r14
2340
 2311 122e 0E94 0000 		call __divmodsi4
2341
 2312 1232 3093 0000 		sts (Data3D+2)+1,r19
2342
 2313 1236 2093 0000 		sts Data3D+2,r18
2343
 2314 123a 2091 0000 		lds r18,ErsatzKompass
2344
 2315 123e 3091 0000 		lds r19,(ErsatzKompass)+1
2345
 2316 1242 4091 0000 		lds r20,(ErsatzKompass)+2
2346
 2317 1246 5091 0000 		lds r21,(ErsatzKompass)+3
2347
 2318 124a DA01      		movw r26,r20
2348
 2319 124c C901      		movw r24,r18
2349
 2320 124e 63E0      		ldi r22,3
2350
 2321 1250 880F      	1:	lsl r24
2351
 2322 1252 991F      		rol r25
2352
 2323 1254 AA1F      		rol r26
2353
 2324 1256 BB1F      		rol r27
2354
 2325 1258 6A95      		dec r22
2355
 2326 125a 01F4      		brne 1b
2356
 2327 125c 820F      		add r24,r18
2357
 2328 125e 931F      		adc r25,r19
2358
 2329 1260 A41F      		adc r26,r20
2359
 2330 1262 B51F      		adc r27,r21
2360
 2331 1264 820F      		add r24,r18
2361
 2332 1266 931F      		adc r25,r19
2362
 2333 1268 A41F      		adc r26,r20
2363
 2334 126a B51F      		adc r27,r21
2364
 2335 126c 2091 0000 		lds r18,GIER_GRAD_FAKTOR
2365
 2336 1270 3091 0000 		lds r19,(GIER_GRAD_FAKTOR)+1
2366
 2337 1274 4091 0000 		lds r20,(GIER_GRAD_FAKTOR)+2
2367
 2338 1278 5091 0000 		lds r21,(GIER_GRAD_FAKTOR)+3
2368
 2339 127c BC01      		movw r22,r24
2369
 2340 127e CD01      		movw r24,r26
2370
 2341 1280 0E94 0000 		call __divmodsi4
2371
 2342 1284 3093 0000 		sts (Data3D+4)+1,r19
2372
 2343 1288 2093 0000 		sts Data3D+4,r18
2373
 2344 128c 8091 0000 		lds r24,SummeNick
2374
 2345 1290 9091 0000 		lds r25,(SummeNick)+1
2375
 2346 1294 A091 0000 		lds r26,(SummeNick)+2
2376
 2347 1298 B091 0000 		lds r27,(SummeNick)+3
2377
 2348 129c 49E0      		ldi r20,9
2378
 2349 129e B595      	1:	asr r27
2379
 2350 12a0 A795      		ror r26
2380
 2351 12a2 9795      		ror r25
2381
 2352 12a4 8795      		ror r24
2382
 2353 12a6 4A95      		dec r20
2383
 2354 12a8 01F4      		brne 1b
2384
 2355 12aa 8093 0000 		sts Data3D+6,r24
2385
 2356 12ae 8091 0000 		lds r24,SummeRoll
2386
 2357 12b2 9091 0000 		lds r25,(SummeRoll)+1
2387
 2358 12b6 A091 0000 		lds r26,(SummeRoll)+2
2388
 2359 12ba B091 0000 		lds r27,(SummeRoll)+3
2389
 2360 12be 39E0      		ldi r19,9
2390
 2361 12c0 B595      	1:	asr r27
2391
 2362 12c2 A795      		ror r26
2392
 2363 12c4 9795      		ror r25
2393
 2364 12c6 8795      		ror r24
2394
 2365 12c8 3A95      		dec r19
2395
 2366 12ca 01F4      		brne 1b
2396
 2367 12cc 8093 0000 		sts Data3D+7,r24
2397
 2368 12d0 8091 0000 		lds r24,Mess_Integral_Gier
2398
 2369 12d4 9091 0000 		lds r25,(Mess_Integral_Gier)+1
2399
 2370 12d8 A091 0000 		lds r26,(Mess_Integral_Gier)+2
2400
 2371 12dc B091 0000 		lds r27,(Mess_Integral_Gier)+3
2401
 2372 12e0 29E0      		ldi r18,9
2402
 2373 12e2 B595      	1:	asr r27
2403
 2374 12e4 A795      		ror r26
2404
 2375 12e6 9795      		ror r25
2405
 2376 12e8 8795      		ror r24
2406
 2377 12ea 2A95      		dec r18
2407
 2378 12ec 01F4      		brne 1b
2408
 2379 12ee 8093 0000 		sts Data3D+8,r24
2409
 2380 12f2 8EE0      		ldi r24,lo8(14)
2410
 2381 12f4 90E0      		ldi r25,hi8(14)
2411
 2382 12f6 9F93      		push r25
2412
 2383 12f8 8F93      		push r24
2413
 2384 12fa 80E0      		ldi r24,lo8(Data3D)
2414
 2385 12fc 90E0      		ldi r25,hi8(Data3D)
2415
 2386 12fe 9F93      		push r25
2416
 2387 1300 8F93      		push r24
2417
 2388 1302 81E0      		ldi r24,lo8(1)
2418
 2389 1304 8F93      		push r24
2419
 2390 1306 8F93      		push r24
2420
 2391 1308 83E4      		ldi r24,lo8(67)
2421
 2392 130a 8F93      		push r24
2422
 2393 130c 0E94 0000 		call SendOutData
2423
 2394 1310 8091 0000 		lds r24,Intervall3D
2424
 2395 1314 9091 0000 		lds r25,(Intervall3D)+1
2425
 2396 1318 0E94 0000 		call SetDelay
2426
 2397 131c 9093 0000 		sts (Timer3D)+1,r25
2427
 2398 1320 8093 0000 		sts Timer3D,r24
2428
 2399 1324 2DB7      		in r18,__SP_L__
2429
 2400 1326 3EB7      		in r19,__SP_H__
2430
 2401 1328 295F      		subi r18,lo8(-(7))
2431
 2402 132a 3F4F      		sbci r19,hi8(-(7))
2432
 2403 132c 2DBF      		out __SP_L__,r18
2433
 2404               	.L210:
2434
 2405 132e 8091 0000 		lds r24,DebugTextAnforderung
2435
 2406 1332 8F3F      		cpi r24,lo8(-1)
2436
 2407 1334 01F0      		breq .L211
2437
 2408 1336 9927      		clr r25
2438
 2409 1338 04E0      		ldi r16,4
2439
 2410 133a 880F      	1:	lsl r24
2440
 2411 133c 991F      		rol r25
2441
 2412 133e 0A95      		dec r16
2442
 2413 1340 01F4      		brne 1b
2443
 2414 1342 8050      		subi r24,lo8(-(ANALOG_TEXT))
2444
 2415 1344 9040      		sbci r25,hi8(-(ANALOG_TEXT))
2445
 2416 1346 40E1      		ldi r20,lo8(16)
2446
 2417 1348 50E0      		ldi r21,hi8(16)
2447
 2418 134a BC01      		movw r22,r24
2448
 2419 134c CE01      		movw r24,r28
2449
 2420 134e 0196      		adiw r24,1
2450
 2421 1350 0E94 0000 		call memcpy_P
2451
 2422 1354 80E1      		ldi r24,lo8(16)
2452
 2423 1356 90E0      		ldi r25,hi8(16)
2453
 2424 1358 9F93      		push r25
2454
 2425 135a 8F93      		push r24
2455
 2426 135c CE01      		movw r24,r28
2456
 2427 135e 0196      		adiw r24,1
2457
 2428 1360 9F93      		push r25
2458
 2429 1362 8F93      		push r24
2459
 2430 1364 81E0      		ldi r24,lo8(1)
2460
 2431 1366 90E0      		ldi r25,hi8(1)
2461
 2432 1368 9F93      		push r25
2462
 2433 136a 8F93      		push r24
2463
 2434 136c 80E0      		ldi r24,lo8(DebugTextAnforderung)
2464
 2435 136e 90E0      		ldi r25,hi8(DebugTextAnforderung)
2465
 2436 1370 9F93      		push r25
2466
 2437 1372 8F93      		push r24
2467
 2438 1374 82E0      		ldi r24,lo8(2)
2468
 2439 1376 8F93      		push r24
2469
 2440 1378 81E0      		ldi r24,lo8(1)
2470
 2441 137a 8F93      		push r24
2471
 2442 137c 81E4      		ldi r24,lo8(65)
2472
 2443 137e 8F93      		push r24
2473
 2444 1380 0E94 0000 		call SendOutData
2474
 2445 1384 8FEF      		ldi r24,lo8(-1)
2475
 2446 1386 8093 0000 		sts DebugTextAnforderung,r24
2476
 2447 138a 8DB7      		in r24,__SP_L__
2477
 2448 138c 9EB7      		in r25,__SP_H__
2478
 2449 138e 0B96      		adiw r24,11
2479
 2450 1390 8DBF      		out __SP_L__,r24
2480
 2451               	.L211:
2481
 2452 1392 8091 0000 		lds r24,ConfirmFrame
2482
 2453 1396 8823      		tst r24
2483
 2454 1398 01F0      		breq .L212
2484
 2455 139a 8091 0000 		lds r24,UebertragungAbgeschlossen
2485
 2456 139e 8823      		tst r24
2486
 2457 13a0 01F0      		breq .L212
2487
 2458 13a2 81E0      		ldi r24,lo8(1)
2488
 2459 13a4 90E0      		ldi r25,hi8(1)
2489
 2460 13a6 9F93      		push r25
2490
 2461 13a8 8F93      		push r24
2491
 2462 13aa 80E0      		ldi r24,lo8(ConfirmFrame)
2492
 2463 13ac 90E0      		ldi r25,hi8(ConfirmFrame)
2493
 2464 13ae 9F93      		push r25
2494
 2465 13b0 8F93      		push r24
2495
 2466 13b2 81E0      		ldi r24,lo8(1)
2496
 2467 13b4 8F93      		push r24
2497
 2468 13b6 8F93      		push r24
2498
 2469 13b8 82E4      		ldi r24,lo8(66)
2499
 2470 13ba 8F93      		push r24
2500
 2471 13bc 0E94 0000 		call SendOutData
2501
 2472 13c0 1092 0000 		sts ConfirmFrame,__zero_reg__
2502
 2473 13c4 2DB7      		in r18,__SP_L__
2503
 2474 13c6 3EB7      		in r19,__SP_H__
2504
 2475 13c8 295F      		subi r18,lo8(-(7))
2505
 2476 13ca 3F4F      		sbci r19,hi8(-(7))
2506
 2477 13cc 2DBF      		out __SP_L__,r18
2507
 2478               	.L212:
2508
 2479 13ce 8091 0000 		lds r24,GetPPMChannelAnforderung
2509
 2480 13d2 8823      		tst r24
2510
 2481 13d4 01F0      		breq .L192
2511
 2482 13d6 8091 0000 		lds r24,UebertragungAbgeschlossen
2512
 2483 13da 8823      		tst r24
2513
 2484 13dc 01F0      		breq .L192
2514
 2485 13de 84E3      		ldi r24,lo8(52)
2515
 2486 13e0 90E0      		ldi r25,hi8(52)
2516
 2487 13e2 9F93      		push r25
2517
 2488 13e4 8F93      		push r24
2518
 2489 13e6 80E0      		ldi r24,lo8(PPM_in)
2519
 2490 13e8 90E0      		ldi r25,hi8(PPM_in)
2520
 2491 13ea 9F93      		push r25
2521
 2492 13ec 8F93      		push r24
2522
 2493 13ee 81E0      		ldi r24,lo8(1)
2523
 2494 13f0 8F93      		push r24
2524
 2495 13f2 8F93      		push r24
2525
 2496 13f4 80E5      		ldi r24,lo8(80)
2526
 2497 13f6 8F93      		push r24
2527
 2498 13f8 0E94 0000 		call SendOutData
2528
 2499 13fc 1092 0000 		sts GetPPMChannelAnforderung,__zero_reg__
2529
 2500 1400 8DB7      		in r24,__SP_L__
2530
 2501 1402 9EB7      		in r25,__SP_H__
2531
 2502 1404 0796      		adiw r24,7
2532
 2503 1406 8DBF      		out __SP_L__,r24
2533
 2504               	.L192:
2534
 2505               	/* epilogue: frame size=16 */
2535
 2506 1408 E6E0      		ldi r30,6
2536
 2507 140a C05F      		subi r28,-16
2537
 2508 140c 0C94 0000 		jmp __epilogue_restores__+24
2538
 2509               	/* epilogue end (size=4) */
2539
 2510               	/* function DatenUebertragung size 720 (710) */
2540
 2512               		.comm RxdBuffer,175,1
2541
 2513               		.comm Debug_Timer,2,1
2542
 2514               		.comm Kompass_Timer,2,1
2543
 2515               		.comm MotorTest,16,1
2544
 2516               		.comm DebugOut,66,1
2545
 2517               		.comm WinkelOut,8,1
2546
 2518               		.comm Data3D,14,1
2547
 2519               		.comm ExternControl,11,1
2548
 2520               		.comm VersionInfo,10,1
2549
 2521               		.comm TxdBuffer,175,1
2550
 2522               		.comm ConfirmFrame,1,1
2551
 2523               		.comm Display_Timer,2,1
2552
 2524               		.comm Timer3D,2,1
2553
 2525               	/* File "uart.c": code 2582 = 0x0a16 (2491), prologues  47, epilogues  44 */
2554
DEFINED SYMBOLS
2555
                            *ABS*:00000000 uart.c
2556
  C:\Temp/ccdL6VIZ.s:3      *ABS*:0000003f __SREG__
2557
  C:\Temp/ccdL6VIZ.s:4      *ABS*:0000003e __SP_H__
2558
  C:\Temp/ccdL6VIZ.s:5      *ABS*:0000003d __SP_L__
2559
  C:\Temp/ccdL6VIZ.s:6      *ABS*:00000000 __tmp_reg__
2560
  C:\Temp/ccdL6VIZ.s:7      *ABS*:00000001 __zero_reg__
2561
  C:\Temp/ccdL6VIZ.s:14     .progmem.data:00000000 ANALOG_TEXT
2562
  C:\Temp/ccdL6VIZ.s:52     .bss:00000000 ReceiverUpdateModeActive
2563
  C:\Temp/ccdL6VIZ.s:58     .bss:00000001 AboTimeOut
2564
  C:\Temp/ccdL6VIZ.s:64     .bss:00000003 Display_Interval
2565
  C:\Temp/ccdL6VIZ.s:70     .bss:00000005 Intervall3D
2566
  C:\Temp/ccdL6VIZ.s:76     .bss:00000007 DebugDataIntervall
2567
  C:\Temp/ccdL6VIZ.s:82     .data:00000000 MeineSlaveAdresse
2568
  C:\Temp/ccdL6VIZ.s:87     .data:00000001 PcZugriff
2569
  C:\Temp/ccdL6VIZ.s:92     .data:00000002 DebugTextAnforderung
2570
  C:\Temp/ccdL6VIZ.s:99     .bss:00000009 PC_MotortestActive
2571
  C:\Temp/ccdL6VIZ.s:105    .bss:0000000a PC_DebugTimeout
2572
  C:\Temp/ccdL6VIZ.s:111    .bss:0000000b RxDataLen
2573
  C:\Temp/ccdL6VIZ.s:117    .bss:0000000c pRxData
2574
  C:\Temp/ccdL6VIZ.s:123    .bss:0000000e AnzahlEmpfangsBytes
2575
  C:\Temp/ccdL6VIZ.s:129    .bss:0000000f CntCrcError
2576
  C:\Temp/ccdL6VIZ.s:135    .data:00000003 UebertragungAbgeschlossen
2577
  C:\Temp/ccdL6VIZ.s:142    .bss:00000010 NeueKoordinateEmpfangen
2578
  C:\Temp/ccdL6VIZ.s:148    .bss:00000011 NeuerDatensatzEmpfangen
2579
  C:\Temp/ccdL6VIZ.s:154    .bss:00000012 SioTmp
2580
  C:\Temp/ccdL6VIZ.s:160    .bss:00000013 DisplayLine
2581
  C:\Temp/ccdL6VIZ.s:166    .bss:00000014 GetPPMChannelAnforderung
2582
  C:\Temp/ccdL6VIZ.s:172    .bss:00000015 GetVersionAnforderung
2583
  C:\Temp/ccdL6VIZ.s:178    .bss:00000016 DebugDataAnforderung
2584
  C:\Temp/ccdL6VIZ.s:184    .bss:00000017 DebugDisplayAnforderung
2585
  C:\Temp/ccdL6VIZ.s:190    .bss:00000018 DebugDisplayAnforderung1
2586
  C:\Temp/ccdL6VIZ.s:196    .bss:00000019 GetExternalControl
2587
                             .bss:0000001a ptr.6
2588
  C:\Temp/ccdL6VIZ.s:202    .text:00000000 __vector_22
2589
                            *COM*:000000af TxdBuffer
2590
  C:\Temp/ccdL6VIZ.s:198    .bss:0000001c crc.1
2591
  C:\Temp/ccdL6VIZ.s:256    .bss:0000001e crc1.2
2592
  C:\Temp/ccdL6VIZ.s:257    .bss:0000001f crc2.3
2593
  C:\Temp/ccdL6VIZ.s:258    .bss:00000020 buf_ptr.4
2594
  C:\Temp/ccdL6VIZ.s:259    .bss:00000021 UartState.5
2595
  C:\Temp/ccdL6VIZ.s:263    .text:0000006c __vector_20
2596
                            *COM*:000000af RxdBuffer
2597
  C:\Temp/ccdL6VIZ.s:494    .text:00000260 AddCRC
2598
  C:\Temp/ccdL6VIZ.s:550    .text:000002c0 SendOutData
2599
  C:\Temp/ccdL6VIZ.s:750    .text:00000438 Decode64
2600
  C:\Temp/ccdL6VIZ.s:863    .text:0000050c BearbeiteRxDaten
2601
                            *COM*:00000010 MotorTest
2602
                            *COM*:0000000a VersionInfo
2603
                            *COM*:0000000b ExternControl
2604
                            *COM*:00000001 ConfirmFrame
2605
                            *COM*:00000002 Timer3D
2606
  C:\Temp/ccdL6VIZ.s:1850   .text:00000dd8 uart_putchar
2607
  C:\Temp/ccdL6VIZ.s:1866   .text:00000de8 UART_Init
2608
                            *COM*:00000002 Debug_Timer
2609
                            *COM*:00000002 Kompass_Timer
2610
  C:\Temp/ccdL6VIZ.s:1919   .progmem.data:00000200 __c.0
2611
  C:\Temp/ccdL6VIZ.s:1924   .text:00000e70 DatenUebertragung
2612
                            *COM*:00000002 Display_Timer
2613
                            *COM*:00000008 WinkelOut
2614
                            *COM*:00000042 DebugOut
2615
                            *COM*:0000000e Data3D
2616
 
2617
UNDEFINED SYMBOLS
2618
__do_copy_data
2619
__do_clear_bss
2620
LcdClear
2621
ServoActive
2622
__prologue_saves__
2623
__epilogue_restores__
2624
KompassValue
2625
Mixer
2626
MixerTable_WriteToEEProm
2627
SetDefaultParameter
2628
GetActiveParamSet
2629
ParamSet_ReadFromEEProm
2630
EE_Parameter
2631
MotorenEin
2632
ParamSet_WriteToEEProm
2633
__mulsi3
2634
Umschlag180Nick
2635
Umschlag180Roll
2636
Piep
2637
LipoDetection
2638
LIBFC_ReceiverInit
2639
PPM_in
2640
I2C_ReadBLConfig
2641
BLConfig
2642
I2C_WriteBLConfig
2643
LIBFC_GetCPUType
2644
SetDelay
2645
RemoteKeys
2646
MenuePunkt
2647
CheckDelay
2648
DisplayBuff
2649
Menu
2650
DispPtr
2651
Menu_Putchar
2652
_printf_P
2653
MaxMenue
2654
IntegralNick
2655
__divmodsi4
2656
IntegralRoll
2657
Parameter_UserParam1
2658
Parameter_UserParam2
2659
CopyDebugValues
2660
ErsatzKompass
2661
GIER_GRAD_FAKTOR
2662
SummeNick
2663
SummeRoll
2664
Mess_Integral_Gier
2665
memcpy_P