Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
14 | walter | 1 | 1 .file "main.c" |
2 | 2 .arch atmega8 |
||
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 | 17 .Ltext0: |
||
11 | 18 .global __vector_8 |
||
12 | 20 __vector_8: |
||
13 | 21 .LFB10: |
||
14 | 22 .LM1: |
||
15 | 23 /* prologue: frame size=0 */ |
||
16 | 24 0000 1F92 push __zero_reg__ |
||
17 | 25 0002 0F92 push __tmp_reg__ |
||
18 | 26 0004 0FB6 in __tmp_reg__,__SREG__ |
||
19 | 27 0006 0F92 push __tmp_reg__ |
||
20 | 28 0008 1124 clr __zero_reg__ |
||
21 | 29 000a 8F93 push r24 |
||
22 | 30 /* prologue end (size=6) */ |
||
23 | 31 .LM2: |
||
24 | 32 000c 8091 0000 lds r24,TMR1OvF |
||
25 | 33 0010 8F5F subi r24,lo8(-(1)) |
||
26 | 34 0012 8093 0000 sts TMR1OvF,r24 |
||
27 | 35 /* epilogue: frame size=0 */ |
||
28 | 36 0016 8F91 pop r24 |
||
29 | 37 0018 0F90 pop __tmp_reg__ |
||
30 | 38 001a 0FBE out __SREG__,__tmp_reg__ |
||
31 | 39 001c 0F90 pop __tmp_reg__ |
||
32 | 40 001e 1F90 pop __zero_reg__ |
||
33 | 41 0020 1895 reti |
||
34 | 42 /* epilogue end (size=6) */ |
||
35 | 43 /* function __vector_8 size 17 (5) */ |
||
36 | 44 .LFE10: |
||
37 | 46 .global __vector_5 |
||
38 | 48 __vector_5: |
||
39 | 49 .LFB11: |
||
40 | 50 .LM3: |
||
41 | 51 /* prologue: frame size=0 */ |
||
42 | 52 0022 1F92 push __zero_reg__ |
||
43 | 53 0024 0F92 push __tmp_reg__ |
||
44 | 54 0026 0FB6 in __tmp_reg__,__SREG__ |
||
45 | 55 0028 0F92 push __tmp_reg__ |
||
46 | 56 002a 1124 clr __zero_reg__ |
||
47 | 57 002c 2F93 push r18 |
||
48 | 58 002e 3F93 push r19 |
||
49 | 59 0030 4F93 push r20 |
||
50 | 60 0032 8F93 push r24 |
||
51 | 61 0034 9F93 push r25 |
||
52 | 62 /* prologue end (size=10) */ |
||
53 | 63 .LM4: |
||
54 | 64 0036 0EB4 in __tmp_reg__,78-0x20 |
||
55 | 65 0038 06FE sbrs __tmp_reg__,6 |
||
56 | 66 003a 00C0 rjmp .L4 |
||
57 | 67 .LM5: |
||
58 | 68 003c 8EB5 in r24,78-0x20 |
||
59 | 69 003e 8F7B andi r24,lo8(-65) |
||
60 | 70 0040 8EBD out 78-0x20,r24 |
||
61 | 71 .LM6: |
||
62 | 72 0042 1092 0000 sts TMR1OvF,__zero_reg__ |
||
63 | 73 .LM7: |
||
64 | 74 0046 86B5 in r24,70-0x20 |
||
65 | 75 0048 97B5 in r25,(70)+1-0x20 |
||
66 | 76 004a 9093 0000 sts (pos_ICR.1752)+1,r25 |
||
67 | 77 004e 8093 0000 sts pos_ICR.1752,r24 |
||
68 | 78 0052 00C0 rjmp .L12 |
||
69 | 79 .L4: |
||
70 | 80 .LM8: |
||
71 | 81 0054 8EB5 in r24,78-0x20 |
||
72 | 82 0056 8064 ori r24,lo8(64) |
||
73 | 83 0058 8EBD out 78-0x20,r24 |
||
74 | 84 .LM9: |
||
75 | 85 005a 26B5 in r18,70-0x20 |
||
76 | 86 005c 37B5 in r19,(70)+1-0x20 |
||
77 | 87 005e 8091 0000 lds r24,TMR1OvF |
||
78 | 88 0062 8091 0000 lds r24,pos_ICR.1752 |
||
79 | 89 0066 9091 0000 lds r25,(pos_ICR.1752)+1 |
||
80 | 90 006a 281B sub r18,r24 |
||
81 | 91 006c 390B sbc r19,r25 |
||
82 | 92 006e 3093 0000 sts (ppm.1753)+1,r19 |
||
83 | 93 0072 2093 0000 sts ppm.1753,r18 |
||
84 | 94 .LM10: |
||
85 | 95 0076 C901 movw r24,r18 |
||
86 | 96 0078 8955 subi r24,lo8(-(-601)) |
||
87 | 97 007a 9240 sbci r25,hi8(-(-601)) |
||
88 | 98 007c 8750 subi r24,lo8(1799) |
||
89 | 99 007e 9740 sbci r25,hi8(1799) |
||
90 | 100 0080 00F4 brsh .L12 |
||
91 | 101 .LM11: |
||
92 | 102 0082 88E0 ldi r24,hi8(2101) |
||
93 | 103 0084 2533 cpi r18,lo8(2101) |
||
94 | 104 0086 3807 cpc r19,r24 |
||
95 | 105 0088 00F0 brlo .L8 |
||
96 | 106 008a 84E3 ldi r24,lo8(2100) |
||
97 | 107 008c 98E0 ldi r25,hi8(2100) |
||
98 | 108 008e 00C0 rjmp .L13 |
||
99 | 109 .L8: |
||
100 | 110 .LM12: |
||
101 | 111 0090 2458 subi r18,lo8(900) |
||
102 | 112 0092 3340 sbci r19,hi8(900) |
||
103 | 113 0094 00F4 brsh .L10 |
||
104 | 114 0096 84E8 ldi r24,lo8(900) |
||
105 | 115 0098 93E0 ldi r25,hi8(900) |
||
106 | 116 .L13: |
||
107 | 117 009a 9093 0000 sts (ppm.1753)+1,r25 |
||
108 | 118 009e 8093 0000 sts ppm.1753,r24 |
||
109 | 119 .L10: |
||
110 | 120 .LM13: |
||
111 | 121 00a2 2091 0000 lds r18,ppm_signal |
||
112 | 122 00a6 3091 0000 lds r19,(ppm_signal)+1 |
||
113 | 123 00aa C901 movw r24,r18 |
||
114 | 124 00ac 43E0 ldi r20,3 |
||
115 | 125 00ae 880F 1: lsl r24 |
||
116 | 126 00b0 991F rol r25 |
||
117 | 127 00b2 4A95 dec r20 |
||
118 | 128 00b4 01F4 brne 1b |
||
119 | 129 00b6 821B sub r24,r18 |
||
120 | 130 00b8 930B sbc r25,r19 |
||
121 | 131 00ba 2091 0000 lds r18,ppm.1753 |
||
122 | 132 00be 3091 0000 lds r19,(ppm.1753)+1 |
||
123 | 133 00c2 820F add r24,r18 |
||
124 | 134 00c4 931F adc r25,r19 |
||
125 | 135 00c6 23E0 ldi r18,3 |
||
126 | 136 00c8 9695 1: lsr r25 |
||
127 | 137 00ca 8795 ror r24 |
||
128 | 138 00cc 2A95 dec r18 |
||
129 | 139 00ce 01F4 brne 1b |
||
130 | 140 00d0 9093 0000 sts (ppm.1753)+1,r25 |
||
131 | 141 00d4 8093 0000 sts ppm.1753,r24 |
||
132 | 142 .LM14: |
||
133 | 143 00d8 9093 0000 sts (ppm_signal)+1,r25 |
||
134 | 144 00dc 8093 0000 sts ppm_signal,r24 |
||
135 | 145 .LM15: |
||
136 | 146 00e0 81E0 ldi r24,lo8(1) |
||
137 | 147 00e2 8093 0000 sts ppm_new,r24 |
||
138 | 148 .L12: |
||
139 | 149 /* epilogue: frame size=0 */ |
||
140 | 150 00e6 9F91 pop r25 |
||
141 | 151 00e8 8F91 pop r24 |
||
142 | 152 00ea 4F91 pop r20 |
||
143 | 153 00ec 3F91 pop r19 |
||
144 | 154 00ee 2F91 pop r18 |
||
145 | 155 00f0 0F90 pop __tmp_reg__ |
||
146 | 156 00f2 0FBE out __SREG__,__tmp_reg__ |
||
147 | 157 00f4 0F90 pop __tmp_reg__ |
||
148 | 158 00f6 1F90 pop __zero_reg__ |
||
149 | 159 00f8 1895 reti |
||
150 | 160 /* epilogue end (size=10) */ |
||
151 | 161 /* function __vector_5 size 110 (90) */ |
||
152 | 162 .LFE11: |
||
153 | 164 .global StartIRModulation |
||
154 | 166 StartIRModulation: |
||
155 | 167 .LFB12: |
||
156 | 168 .LM16: |
||
157 | 169 /* prologue: frame size=0 */ |
||
158 | 170 /* prologue end (size=0) */ |
||
159 | 171 .LM17: |
||
160 | 172 00fa 89E0 ldi r24,lo8(9) |
||
161 | 173 00fc 85BD out 69-0x20,r24 |
||
162 | 174 .LM18: |
||
163 | 175 00fe 8CE6 ldi r24,lo8(108) |
||
164 | 176 0100 83BD out 67-0x20,r24 |
||
165 | 177 .LM19: |
||
166 | 178 0102 85E0 ldi r24,lo8(5) |
||
167 | 179 0104 83BF out 83-0x20,r24 |
||
168 | 180 .LM20: |
||
169 | 181 0106 89B7 in r24,89-0x20 |
||
170 | 182 0108 8E7F andi r24,lo8(-2) |
||
171 | 183 010a 89BF out 89-0x20,r24 |
||
172 | 184 /* epilogue: frame size=0 */ |
||
173 | 185 010c 0895 ret |
||
174 | 186 /* epilogue end (size=1) */ |
||
175 | 187 /* function StartIRModulation size 10 (9) */ |
||
176 | 188 .LFE12: |
||
177 | 190 .global __vector_9 |
||
178 | 192 __vector_9: |
||
179 | 193 .LFB13: |
||
180 | 194 .LM21: |
||
181 | 195 /* prologue: frame size=0 */ |
||
182 | 196 010e 1F92 push __zero_reg__ |
||
183 | 197 0110 0F92 push __tmp_reg__ |
||
184 | 198 0112 0FB6 in __tmp_reg__,__SREG__ |
||
185 | 199 0114 0F92 push __tmp_reg__ |
||
186 | 200 0116 1124 clr __zero_reg__ |
||
187 | 201 0118 8F93 push r24 |
||
188 | 202 011a 9F93 push r25 |
||
189 | 203 /* prologue end (size=7) */ |
||
190 | 204 .LM22: |
||
191 | 205 011c 9091 0000 lds r25,IRstate |
||
192 | 206 0120 9230 cpi r25,lo8(2) |
||
193 | 207 0122 01F0 breq .L19 |
||
194 | 208 .LM23: |
||
195 | 209 0124 9330 cpi r25,lo8(3) |
||
196 | 210 0126 00F4 brsh .L22 |
||
197 | 211 0128 9130 cpi r25,lo8(1) |
||
198 | 212 012a 01F0 breq .+2 |
||
199 | 213 012c 00C0 rjmp .L17 |
||
200 | 214 012e 00C0 rjmp .L18 |
||
201 | 215 .L22: |
||
202 | 216 0130 9330 cpi r25,lo8(3) |
||
203 | 217 0132 01F0 breq .L20 |
||
204 | 218 0134 9430 cpi r25,lo8(4) |
||
205 | 219 0136 01F0 breq .+2 |
||
206 | 220 0138 00C0 rjmp .L17 |
||
207 | 221 013a 00C0 rjmp .L21 |
||
208 | 222 .L18: |
||
209 | 223 .LM24: |
||
210 | 224 013c 85B5 in r24,69-0x20 |
||
211 | 225 013e 8061 ori r24,lo8(16) |
||
212 | 226 0140 85BD out 69-0x20,r24 |
||
213 | 227 .LM25: |
||
214 | 228 0142 82E0 ldi r24,lo8(2) |
||
215 | 229 0144 8093 0000 sts IRstate,r24 |
||
216 | 230 .LM26: |
||
217 | 231 0148 1092 0000 sts IRbit,__zero_reg__ |
||
218 | 232 .LM27: |
||
219 | 233 014c 8AE9 ldi r24,lo8(-102) |
||
220 | 234 014e 00C0 rjmp .L32 |
||
221 | 235 .L19: |
||
222 | 236 .LM28: |
||
223 | 237 0150 85B5 in r24,69-0x20 |
||
224 | 238 0152 8F7E andi r24,lo8(-17) |
||
225 | 239 0154 85BD out 69-0x20,r24 |
||
226 | 240 .LM29: |
||
227 | 241 0156 83E0 ldi r24,lo8(3) |
||
228 | 242 0158 8093 0000 sts IRstate,r24 |
||
229 | 243 .LM30: |
||
230 | 244 015c 8091 0000 lds r24,IRdat |
||
231 | 245 0160 86FD sbrc r24,6 |
||
232 | 246 0162 00C0 rjmp .L24 |
||
233 | 247 0164 88EF ldi r24,lo8(-8) |
||
234 | 248 .L32: |
||
235 | 249 0166 82BF out 82-0x20,r24 |
||
236 | 250 0168 00C0 rjmp .L31 |
||
237 | 251 .L24: |
||
238 | 252 .LM31: |
||
239 | 253 016a 88EE ldi r24,lo8(-24) |
||
240 | 254 016c 00C0 rjmp .L32 |
||
241 | 255 .L20: |
||
242 | 256 .LM32: |
||
243 | 257 016e 85B5 in r24,69-0x20 |
||
244 | 258 0170 8061 ori r24,lo8(16) |
||
245 | 259 0172 85BD out 69-0x20,r24 |
||
246 | 260 .LM33: |
||
247 | 261 0174 88EF ldi r24,lo8(-8) |
||
248 | 262 0176 82BF out 82-0x20,r24 |
||
249 | 263 .LM34: |
||
250 | 264 0178 8091 0000 lds r24,IRdat |
||
251 | 265 017c 880F lsl r24 |
||
252 | 266 017e 8093 0000 sts IRdat,r24 |
||
253 | 267 .LM35: |
||
254 | 268 0182 8091 0000 lds r24,IRbit |
||
255 | 269 0186 8F5F subi r24,lo8(-(1)) |
||
256 | 270 0188 8093 0000 sts IRbit,r24 |
||
257 | 271 .LM36: |
||
258 | 272 018c 8091 0000 lds r24,IRbit |
||
259 | 273 0190 8730 cpi r24,lo8(7) |
||
260 | 274 0192 00F4 brsh .L26 |
||
261 | 275 0194 82E0 ldi r24,lo8(2) |
||
262 | 276 0196 8093 0000 sts IRstate,r24 |
||
263 | 277 019a 00C0 rjmp .L31 |
||
264 | 278 .L26: |
||
265 | 279 .LM37: |
||
266 | 280 019c 84E0 ldi r24,lo8(4) |
||
267 | 281 019e 8093 0000 sts IRstate,r24 |
||
268 | 282 .LM38: |
||
269 | 283 01a2 1092 0000 sts IRbit,__zero_reg__ |
||
270 | 284 01a6 00C0 rjmp .L31 |
||
271 | 285 .L21: |
||
272 | 286 .LM39: |
||
273 | 287 01a8 85B5 in r24,69-0x20 |
||
274 | 288 01aa 8F7E andi r24,lo8(-17) |
||
275 | 289 01ac 85BD out 69-0x20,r24 |
||
276 | 290 .LM40: |
||
277 | 291 01ae 8CE3 ldi r24,lo8(60) |
||
278 | 292 01b0 82BF out 82-0x20,r24 |
||
279 | 293 .LM41: |
||
280 | 294 01b2 8091 0000 lds r24,IRbit |
||
281 | 295 01b6 8431 cpi r24,lo8(20) |
||
282 | 296 01b8 00F4 brsh .L28 |
||
283 | 297 01ba 9093 0000 sts IRstate,r25 |
||
284 | 298 01be 00C0 rjmp .L30 |
||
285 | 299 .L28: |
||
286 | 300 .LM42: |
||
287 | 301 01c0 85E0 ldi r24,lo8(5) |
||
288 | 302 01c2 8093 0000 sts IRstate,r24 |
||
289 | 303 .L30: |
||
290 | 304 .LM43: |
||
291 | 305 01c6 8091 0000 lds r24,IRbit |
||
292 | 306 01ca 8F5F subi r24,lo8(-(1)) |
||
293 | 307 01cc 8093 0000 sts IRbit,r24 |
||
294 | 308 01d0 00C0 rjmp .L31 |
||
295 | 309 .L17: |
||
296 | 310 .LM44: |
||
297 | 311 01d2 89B7 in r24,89-0x20 |
||
298 | 312 01d4 8E7F andi r24,lo8(-2) |
||
299 | 313 01d6 89BF out 89-0x20,r24 |
||
300 | 314 .LM45: |
||
301 | 315 01d8 1092 0000 sts IRstate,__zero_reg__ |
||
302 | 316 .L31: |
||
303 | 317 /* epilogue: frame size=0 */ |
||
304 | 318 01dc 9F91 pop r25 |
||
305 | 319 01de 8F91 pop r24 |
||
306 | 320 01e0 0F90 pop __tmp_reg__ |
||
307 | 321 01e2 0FBE out __SREG__,__tmp_reg__ |
||
308 | 322 01e4 0F90 pop __tmp_reg__ |
||
309 | 323 01e6 1F90 pop __zero_reg__ |
||
310 | 324 01e8 1895 reti |
||
311 | 325 /* epilogue end (size=7) */ |
||
312 | 326 /* function __vector_9 size 110 (96) */ |
||
313 | 327 .LFE13: |
||
314 | 329 .global SendIRSignal |
||
315 | 331 SendIRSignal: |
||
316 | 332 .LFB14: |
||
317 | 333 .LM46: |
||
318 | 334 /* prologue: frame size=0 */ |
||
319 | 335 /* prologue end (size=0) */ |
||
320 | 336 .LVL0: |
||
321 | 337 01ea 982F mov r25,r24 |
||
322 | 338 .LVL1: |
||
323 | 339 .L35: |
||
324 | 340 .LM47: |
||
325 | 341 01ec 8091 0000 lds r24,IRstate |
||
326 | 342 01f0 8823 tst r24 |
||
327 | 343 01f2 01F4 brne .L35 |
||
328 | 344 .LM48: |
||
329 | 345 01f4 81E0 ldi r24,lo8(1) |
||
330 | 346 01f6 8093 0000 sts IRstate,r24 |
||
331 | 347 .LM49: |
||
332 | 348 01fa 9093 0000 sts IRdat,r25 |
||
333 | 349 .LM50: |
||
334 | 350 01fe 88B7 in r24,88-0x20 |
||
335 | 351 0200 18BE out 88-0x20,__zero_reg__ |
||
336 | 352 .LM51: |
||
337 | 353 0202 89B7 in r24,89-0x20 |
||
338 | 354 0204 8160 ori r24,lo8(1) |
||
339 | 355 0206 89BF out 89-0x20,r24 |
||
340 | 356 /* epilogue: frame size=0 */ |
||
341 | 357 0208 0895 ret |
||
342 | 358 /* epilogue end (size=1) */ |
||
343 | 359 /* function SendIRSignal size 16 (15) */ |
||
344 | 360 .LFE14: |
||
345 | 362 .global StartPPM |
||
346 | 364 StartPPM: |
||
347 | 365 .LFB15: |
||
348 | 366 .LM52: |
||
349 | 367 /* prologue: frame size=0 */ |
||
350 | 368 /* prologue end (size=0) */ |
||
351 | 369 .LM53: |
||
352 | 370 020a 1FBC out 79-0x20,__zero_reg__ |
||
353 | 371 .LM54: |
||
354 | 372 020c 82EC ldi r24,lo8(-62) |
||
355 | 373 020e 8EBD out 78-0x20,r24 |
||
356 | 374 .LM55: |
||
357 | 375 0210 89B7 in r24,89-0x20 |
||
358 | 376 0212 8462 ori r24,lo8(36) |
||
359 | 377 0214 89BF out 89-0x20,r24 |
||
360 | 378 /* epilogue: frame size=0 */ |
||
361 | 379 0216 0895 ret |
||
362 | 380 /* epilogue end (size=1) */ |
||
363 | 381 /* function StartPPM size 7 (6) */ |
||
364 | 382 .LFE15: |
||
365 | 384 .global GetPPM |
||
366 | 386 GetPPM: |
||
367 | 387 .LFB16: |
||
368 | 388 .LM56: |
||
369 | 389 /* prologue: frame size=0 */ |
||
370 | 390 /* prologue end (size=0) */ |
||
371 | 391 .LM57: |
||
372 | 392 0218 29B7 in r18,89-0x20 |
||
373 | 393 .LVL2: |
||
374 | 394 .LM58: |
||
375 | 395 021a 89B7 in r24,89-0x20 |
||
376 | 396 021c 8F7D andi r24,lo8(-33) |
||
377 | 397 021e 89BF out 89-0x20,r24 |
||
378 | 398 .LM59: |
||
379 | 399 0220 8091 0000 lds r24,ppm_signal |
||
380 | 400 0224 9091 0000 lds r25,(ppm_signal)+1 |
||
381 | 401 .LVL3: |
||
382 | 402 .LM60: |
||
383 | 403 0228 29BF out 89-0x20,r18 |
||
384 | 404 .LVL4: |
||
385 | 405 /* epilogue: frame size=0 */ |
||
386 | 406 022a 0895 ret |
||
387 | 407 /* epilogue end (size=1) */ |
||
388 | 408 /* function GetPPM size 10 (9) */ |
||
389 | 409 .LFE16: |
||
390 | 411 .global main |
||
391 | 413 main: |
||
392 | 414 .LFB17: |
||
393 | 415 .LM61: |
||
394 | 416 /* prologue: frame size=0 */ |
||
395 | 417 /* prologue end (size=0) */ |
||
396 | 418 .LM62: |
||
397 | 419 022c 88E0 ldi r24,lo8(8) |
||
398 | 420 022e 84BB out 52-0x20,r24 |
||
399 | 421 .LM63: |
||
400 | 422 0230 15BA out 53-0x20,__zero_reg__ |
||
401 | 423 .LM64: |
||
402 | 424 0232 80E8 ldi r24,lo8(-128) |
||
403 | 425 0234 81BB out 49-0x20,r24 |
||
404 | 426 .LM65: |
||
405 | 427 0236 12BA out 50-0x20,__zero_reg__ |
||
406 | 428 .LM66: |
||
407 | 429 0238 8EE0 ldi r24,lo8(14) |
||
408 | 430 023a 87BB out 55-0x20,r24 |
||
409 | 431 .LM67: |
||
410 | 432 023c 18BA out 56-0x20,__zero_reg__ |
||
411 | 433 .LM68: |
||
412 | 434 023e 00D0 rcall StartUART |
||
413 | 435 .LBB12: |
||
414 | 436 .LBB13: |
||
415 | 437 .LM69: |
||
416 | 438 0240 1FBC out 79-0x20,__zero_reg__ |
||
417 | 439 .LM70: |
||
418 | 440 0242 82EC ldi r24,lo8(-62) |
||
419 | 441 0244 8EBD out 78-0x20,r24 |
||
420 | 442 .LM71: |
||
421 | 443 0246 89B7 in r24,89-0x20 |
||
422 | 444 0248 8462 ori r24,lo8(36) |
||
423 | 445 024a 89BF out 89-0x20,r24 |
||
424 | 446 .LBE13: |
||
425 | 447 .LBE12: |
||
426 | 448 .LM72: |
||
427 | 449 024c 00D0 rcall StartIRModulation |
||
428 | 450 .LM73: |
||
429 | 451 /* #APP */ |
||
430 | 452 024e 7894 sei |
||
431 | 453 .LVL5: |
||
432 | 454 /* #NOAPP */ |
||
433 | 455 .L64: |
||
434 | 456 .LM74: |
||
435 | 457 0250 8091 0000 lds r24,ppm_new |
||
436 | 458 0254 8130 cpi r24,lo8(1) |
||
437 | 459 0256 01F4 brne .L64 |
||
438 | 460 .LM75: |
||
439 | 461 0258 1092 0000 sts ppm_new,__zero_reg__ |
||
440 | 462 .LBB14: |
||
441 | 463 .LBB15: |
||
442 | 464 .LM76: |
||
443 | 465 025c 89B7 in r24,89-0x20 |
||
444 | 466 .LVL6: |
||
445 | 467 .LM77: |
||
446 | 468 025e 99B7 in r25,89-0x20 |
||
447 | 469 0260 9F7D andi r25,lo8(-33) |
||
448 | 470 0262 99BF out 89-0x20,r25 |
||
449 | 471 .LM78: |
||
450 | 472 0264 2091 0000 lds r18,ppm_signal |
||
451 | 473 0268 3091 0000 lds r19,(ppm_signal)+1 |
||
452 | 474 .LVL7: |
||
453 | 475 .LM79: |
||
454 | 476 026c 89BF out 89-0x20,r24 |
||
455 | 477 .LBE15: |
||
456 | 478 .LBE14: |
||
457 | 479 .LM80: |
||
458 | 480 026e 275D subi r18,lo8(1751) |
||
459 | 481 0270 3640 sbci r19,hi8(1751) |
||
460 | 482 .LVL8: |
||
461 | 483 0272 04F0 brlt .L47 |
||
462 | 484 .LM81: |
||
463 | 485 0274 81E4 ldi r24,lo8(65) |
||
464 | 486 0276 00D0 rcall SendIRSignal |
||
465 | 487 .LVL9: |
||
466 | 488 .LM82: |
||
467 | 489 0278 AB9A sbi 53-0x20,3 |
||
468 | 490 .L49: |
||
469 | 491 .LBB16: |
||
470 | 492 .LBB17: |
||
471 | 493 .LM83: |
||
472 | 494 027a 89B7 in r24,89-0x20 |
||
473 | 495 .LVL10: |
||
474 | 496 .LM84: |
||
475 | 497 027c 99B7 in r25,89-0x20 |
||
476 | 498 027e 9F7D andi r25,lo8(-33) |
||
477 | 499 0280 99BF out 89-0x20,r25 |
||
478 | 500 .LM85: |
||
479 | 501 0282 2091 0000 lds r18,ppm_signal |
||
480 | 502 0286 3091 0000 lds r19,(ppm_signal)+1 |
||
481 | 503 .LVL11: |
||
482 | 504 .LM86: |
||
483 | 505 028a 89BF out 89-0x20,r24 |
||
484 | 506 .LBE17: |
||
485 | 507 .LBE16: |
||
486 | 508 .LM87: |
||
487 | 509 028c 2357 subi r18,lo8(1651) |
||
488 | 510 028e 3640 sbci r19,hi8(1651) |
||
489 | 511 .LVL12: |
||
490 | 512 0290 04F4 brge .L49 |
||
491 | 513 .LM88: |
||
492 | 514 0292 AB98 cbi 53-0x20,3 |
||
493 | 515 .LVL13: |
||
494 | 516 .L47: |
||
495 | 517 .LBB18: |
||
496 | 518 .LBB19: |
||
497 | 519 .LM89: |
||
498 | 520 0294 89B7 in r24,89-0x20 |
||
499 | 521 .LVL14: |
||
500 | 522 .LM90: |
||
501 | 523 0296 99B7 in r25,89-0x20 |
||
502 | 524 0298 9F7D andi r25,lo8(-33) |
||
503 | 525 029a 99BF out 89-0x20,r25 |
||
504 | 526 .LM91: |
||
505 | 527 029c 2091 0000 lds r18,ppm_signal |
||
506 | 528 02a0 3091 0000 lds r19,(ppm_signal)+1 |
||
507 | 529 .LVL15: |
||
508 | 530 .LM92: |
||
509 | 531 02a4 89BF out 89-0x20,r24 |
||
510 | 532 .LBE19: |
||
511 | 533 .LBE18: |
||
512 | 534 .LM93: |
||
513 | 535 02a6 225E subi r18,lo8(1250) |
||
514 | 536 02a8 3440 sbci r19,hi8(1250) |
||
515 | 537 .LVL16: |
||
516 | 538 02aa 04F4 brge .L64 |
||
517 | 539 .LM94: |
||
518 | 540 02ac 979A sbi 50-0x20,7 |
||
519 | 541 .LM95: |
||
520 | 542 02ae 80E4 ldi r24,lo8(64) |
||
521 | 543 02b0 00D0 rcall SendIRSignal |
||
522 | 544 .LVL17: |
||
523 | 545 .L52: |
||
524 | 546 .LBB20: |
||
525 | 547 .LBB21: |
||
526 | 548 .LM96: |
||
527 | 549 02b2 89B7 in r24,89-0x20 |
||
528 | 550 .LVL18: |
||
529 | 551 .LM97: |
||
530 | 552 02b4 99B7 in r25,89-0x20 |
||
531 | 553 02b6 9F7D andi r25,lo8(-33) |
||
532 | 554 02b8 99BF out 89-0x20,r25 |
||
533 | 555 .LM98: |
||
534 | 556 02ba 2091 0000 lds r18,ppm_signal |
||
535 | 557 02be 3091 0000 lds r19,(ppm_signal)+1 |
||
536 | 558 .LVL19: |
||
537 | 559 .LM99: |
||
538 | 560 02c2 89BF out 89-0x20,r24 |
||
539 | 561 .LBE21: |
||
540 | 562 .LBE20: |
||
541 | 563 .LM100: |
||
542 | 564 02c4 2654 subi r18,lo8(1350) |
||
543 | 565 02c6 3540 sbci r19,hi8(1350) |
||
544 | 566 .LVL20: |
||
545 | 567 02c8 04F0 brlt .L52 |
||
546 | 568 .LM101: |
||
547 | 569 02ca 9798 cbi 50-0x20,7 |
||
548 | 570 02cc 00C0 rjmp .L64 |
||
549 | 571 /* epilogue: frame size=0 */ |
||
550 | 572 /* epilogue: noreturn */ |
||
551 | 573 /* epilogue end (size=0) */ |
||
552 | 574 /* function main size 86 (86) */ |
||
553 | 575 .LFE17: |
||
554 | 577 .global ppm_signal |
||
555 | 578 .global ppm_signal |
||
556 | 579 .section .bss |
||
557 | 582 ppm_signal: |
||
558 | 583 0000 0000 .skip 2,0 |
||
559 | 584 .global ppm_new |
||
560 | 585 .global ppm_new |
||
561 | 588 ppm_new: |
||
562 | 589 0002 00 .skip 1,0 |
||
563 | 590 .global TMR1OvF |
||
564 | 591 .global TMR1OvF |
||
565 | 594 TMR1OvF: |
||
566 | 595 0003 00 .skip 1,0 |
||
567 | 596 .global IRstate |
||
568 | 597 .global IRstate |
||
569 | 600 IRstate: |
||
570 | 601 0004 00 .skip 1,0 |
||
571 | 602 .global IRdat |
||
572 | 603 .global IRdat |
||
573 | 606 IRdat: |
||
574 | 607 0005 00 .skip 1,0 |
||
575 | 608 .global IRbit |
||
576 | 609 .global IRbit |
||
577 | 612 IRbit: |
||
578 | 613 0006 00 .skip 1,0 |
||
579 | 614 .lcomm ppm.1753,2 |
||
580 | 615 .lcomm pos_ICR.1752,2 |
||
581 | 696 .Letext0: |
||
582 | DEFINED SYMBOLS |
||
583 | *ABS*:00000000 main.c |
||
584 | C:\DOKUME~1\Walter\LOKALE~1\Temp/cclgOpT2.s:3 *ABS*:0000003f __SREG__ |
||
585 | C:\DOKUME~1\Walter\LOKALE~1\Temp/cclgOpT2.s:4 *ABS*:0000003e __SP_H__ |
||
586 | C:\DOKUME~1\Walter\LOKALE~1\Temp/cclgOpT2.s:5 *ABS*:0000003d __SP_L__ |
||
587 | C:\DOKUME~1\Walter\LOKALE~1\Temp/cclgOpT2.s:6 *ABS*:00000000 __tmp_reg__ |
||
588 | C:\DOKUME~1\Walter\LOKALE~1\Temp/cclgOpT2.s:7 *ABS*:00000001 __zero_reg__ |
||
589 | C:\DOKUME~1\Walter\LOKALE~1\Temp/cclgOpT2.s:20 .text:00000000 __vector_8 |
||
590 | C:\DOKUME~1\Walter\LOKALE~1\Temp/cclgOpT2.s:594 .bss:00000003 TMR1OvF |
||
591 | C:\DOKUME~1\Walter\LOKALE~1\Temp/cclgOpT2.s:48 .text:00000022 __vector_5 |
||
592 | C:\DOKUME~1\Walter\LOKALE~1\Temp/cclgOpT2.s:614 .bss:00000009 pos_ICR.1752 |
||
593 | .bss:00000007 ppm.1753 |
||
594 | C:\DOKUME~1\Walter\LOKALE~1\Temp/cclgOpT2.s:582 .bss:00000000 ppm_signal |
||
595 | C:\DOKUME~1\Walter\LOKALE~1\Temp/cclgOpT2.s:588 .bss:00000002 ppm_new |
||
596 | C:\DOKUME~1\Walter\LOKALE~1\Temp/cclgOpT2.s:166 .text:000000fa StartIRModulation |
||
597 | C:\DOKUME~1\Walter\LOKALE~1\Temp/cclgOpT2.s:192 .text:0000010e __vector_9 |
||
598 | C:\DOKUME~1\Walter\LOKALE~1\Temp/cclgOpT2.s:600 .bss:00000004 IRstate |
||
599 | C:\DOKUME~1\Walter\LOKALE~1\Temp/cclgOpT2.s:612 .bss:00000006 IRbit |
||
600 | C:\DOKUME~1\Walter\LOKALE~1\Temp/cclgOpT2.s:606 .bss:00000005 IRdat |
||
601 | C:\DOKUME~1\Walter\LOKALE~1\Temp/cclgOpT2.s:331 .text:000001ea SendIRSignal |
||
602 | C:\DOKUME~1\Walter\LOKALE~1\Temp/cclgOpT2.s:364 .text:0000020a StartPPM |
||
603 | C:\DOKUME~1\Walter\LOKALE~1\Temp/cclgOpT2.s:386 .text:00000218 GetPPM |
||
604 | C:\DOKUME~1\Walter\LOKALE~1\Temp/cclgOpT2.s:413 .text:0000022c main |
||
605 | |||
606 | UNDEFINED SYMBOLS |
||
607 | __do_copy_data |
||
608 | __do_clear_bss |
||
609 | StartUART |