Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
116 | - | 1 | 1 .file "PPM_Decode.c" |
2 | 2 __SREG__ = 0x3f |
||
3 | 3 __SP_H__ = 0x3e |
||
4 | 4 __SP_L__ = 0x3d |
||
5 | 5 __CCP__ = 0x34 |
||
6 | 6 __tmp_reg__ = 0 |
||
7 | 7 __zero_reg__ = 1 |
||
8 | 15 .Ltext0: |
||
9 | 16 .global InitPPM |
||
10 | 18 InitPPM: |
||
11 | 19 .LFB3: |
||
12 | 20 .LM1: |
||
13 | 21 /* prologue: function */ |
||
14 | 22 /* frame size = 0 */ |
||
15 | 23 .LM2: |
||
16 | 24 0000 8EB5 in r24,78-32 |
||
17 | 25 0002 806C ori r24,lo8(-64) |
||
18 | 26 0004 8EBD out 78-32,r24 |
||
19 | 27 .LM3: |
||
20 | 28 0006 8EB5 in r24,78-32 |
||
21 | 29 0008 8064 ori r24,lo8(64) |
||
22 | 30 000a 8EBD out 78-32,r24 |
||
23 | 31 .LM4: |
||
24 | 32 000c 89B7 in r24,89-32 |
||
25 | 33 000e 8062 ori r24,lo8(32) |
||
26 | 34 0010 89BF out 89-32,r24 |
||
27 | 35 .LM5: |
||
28 | 36 0012 89B7 in r24,89-32 |
||
29 | 37 0014 8460 ori r24,lo8(4) |
||
30 | 38 0016 89BF out 89-32,r24 |
||
31 | 39 /* epilogue start */ |
||
32 | 40 .LM6: |
||
33 | 41 0018 0895 ret |
||
34 | 42 .LFE3: |
||
35 | 44 .global __vector_8 |
||
36 | 46 __vector_8: |
||
37 | 47 .LFB4: |
||
38 | 48 .LM7: |
||
39 | 49 001a 1F92 push __zero_reg__ |
||
40 | 50 001c 0F92 push r0 |
||
41 | 51 001e 0FB6 in r0,__SREG__ |
||
42 | 52 0020 0F92 push r0 |
||
43 | 53 0022 1124 clr __zero_reg__ |
||
44 | 54 0024 8F93 push r24 |
||
45 | 55 /* prologue: Signal */ |
||
46 | 56 /* frame size = 0 */ |
||
47 | 57 .LM8: |
||
48 | 58 0026 8091 0000 lds r24,Timer1Overflow |
||
49 | 59 002a 8F5F subi r24,lo8(-(1)) |
||
50 | 60 002c 8093 0000 sts Timer1Overflow,r24 |
||
51 | 61 /* epilogue start */ |
||
52 | 62 .LM9: |
||
53 | 63 0030 8F91 pop r24 |
||
54 | 64 0032 0F90 pop r0 |
||
55 | 65 0034 0FBE out __SREG__,r0 |
||
56 | 66 0036 0F90 pop r0 |
||
57 | 67 0038 1F90 pop __zero_reg__ |
||
58 | 68 003a 1895 reti |
||
59 | 69 .LFE4: |
||
60 | 71 .global __vector_5 |
||
61 | 73 __vector_5: |
||
62 | 74 .LFB5: |
||
63 | 75 .LM10: |
||
64 | 76 003c 1F92 push __zero_reg__ |
||
65 | 77 003e 0F92 push r0 |
||
66 | 78 0040 0FB6 in r0,__SREG__ |
||
67 | 79 0042 0F92 push r0 |
||
68 | 80 0044 1124 clr __zero_reg__ |
||
69 | 81 0046 2F93 push r18 |
||
70 | 82 0048 3F93 push r19 |
||
71 | 83 004a 4F93 push r20 |
||
72 | 84 004c 5F93 push r21 |
||
73 | 85 004e 8F93 push r24 |
||
74 | 86 0050 9F93 push r25 |
||
75 | 87 /* prologue: Signal */ |
||
76 | 88 /* frame size = 0 */ |
||
77 | 89 .LM11: |
||
78 | 90 0052 0EB4 in __tmp_reg__,78-32 |
||
79 | 91 0054 06FE sbrs __tmp_reg__,6 |
||
80 | 92 0056 00C0 rjmp .L6 |
||
81 | 93 .LM12: |
||
82 | 94 0058 1092 0000 sts Timer1Overflow,__zero_reg__ |
||
83 | 95 .LM13: |
||
84 | 96 005c 86B5 in r24,70-32 |
||
85 | 97 005e 97B5 in r25,(70)+1-32 |
||
86 | 98 0060 9093 0000 sts (tim_alt.1856)+1,r25 |
||
87 | 99 0064 8093 0000 sts tim_alt.1856,r24 |
||
88 | 100 .LM14: |
||
89 | 101 0068 8EB5 in r24,78-32 |
||
90 | 102 006a 8F7B andi r24,lo8(-65) |
||
91 | 103 006c 8EBD out 78-32,r24 |
||
92 | 104 .LM15: |
||
93 | 105 006e 84E6 ldi r24,lo8(100) |
||
94 | 106 0070 8093 0000 sts PPM_Timeout,r24 |
||
95 | 107 0074 00C0 rjmp .L12 |
||
96 | 108 .L6: |
||
97 | 109 .LM16: |
||
98 | 110 0076 8EB5 in r24,78-32 |
||
99 | 111 0078 8064 ori r24,lo8(64) |
||
100 | 112 007a 8EBD out 78-32,r24 |
||
101 | 113 .LM17: |
||
102 | 114 007c 26B5 in r18,70-32 |
||
103 | 115 007e 37B5 in r19,(70)+1-32 |
||
104 | 116 0080 4091 0000 lds r20,Timer1Overflow |
||
105 | 117 0084 8091 0000 lds r24,tim_alt.1856 |
||
106 | 118 0088 9091 0000 lds r25,(tim_alt.1856)+1 |
||
107 | 119 008c 281B sub r18,r24 |
||
108 | 120 008e 390B sbc r19,r25 |
||
109 | 121 0090 942F mov r25,r20 |
||
110 | 122 0092 990F lsl r25 |
||
111 | 123 0094 80E0 ldi r24,lo8(0) |
||
112 | 124 0096 280F add r18,r24 |
||
113 | 125 0098 391F adc r19,r25 |
||
114 | 126 009a 85E0 ldi r24,5 |
||
115 | 127 009c 3695 1: lsr r19 |
||
116 | 128 009e 2795 ror r18 |
||
117 | 129 00a0 8A95 dec r24 |
||
118 | 130 00a2 01F4 brne 1b |
||
119 | 131 00a4 3093 0000 sts (ppm.1857)+1,r19 |
||
120 | 132 00a8 2093 0000 sts ppm.1857,r18 |
||
121 | 133 .LM18: |
||
122 | 134 00ac 2851 subi r18,lo8(280) |
||
123 | 135 00ae 3140 sbci r19,hi8(280) |
||
124 | 136 00b0 00F4 brsh .L8 |
||
125 | 137 00b2 88E1 ldi r24,lo8(280) |
||
126 | 138 00b4 91E0 ldi r25,hi8(280) |
||
127 | 139 00b6 9093 0000 sts (ppm.1857)+1,r25 |
||
128 | 140 00ba 8093 0000 sts ppm.1857,r24 |
||
129 | 141 .L8: |
||
130 | 142 .LM19: |
||
131 | 143 00be 4091 0000 lds r20,ppm.1857 |
||
132 | 144 00c2 5091 0000 lds r21,(ppm.1857)+1 |
||
133 | 145 00c6 4851 subi r20,lo8(-(-280)) |
||
134 | 146 00c8 5140 sbci r21,hi8(-(-280)) |
||
135 | 147 .LM20: |
||
136 | 148 00ca 8091 0000 lds r24,PPM_Signal |
||
137 | 149 00ce 9091 0000 lds r25,(PPM_Signal)+1 |
||
138 | 150 00d2 8417 cp r24,r20 |
||
139 | 151 00d4 9507 cpc r25,r21 |
||
140 | 152 00d6 00F4 brsh .L9 |
||
141 | 153 00d8 8091 0000 lds r24,PPM_Signal |
||
142 | 154 00dc 9091 0000 lds r25,(PPM_Signal)+1 |
||
143 | 155 00e0 0196 adiw r24,1 |
||
144 | 156 00e2 00C0 rjmp .L13 |
||
145 | 157 .L9: |
||
146 | 158 .LM21: |
||
147 | 159 00e4 8091 0000 lds r24,PPM_Signal |
||
148 | 160 00e8 9091 0000 lds r25,(PPM_Signal)+1 |
||
149 | 161 00ec 4817 cp r20,r24 |
||
150 | 162 00ee 5907 cpc r21,r25 |
||
151 | 163 00f0 00F4 brsh .L10 |
||
152 | 164 00f2 8091 0000 lds r24,PPM_Signal |
||
153 | 165 00f6 9091 0000 lds r25,(PPM_Signal)+1 |
||
154 | 166 00fa 0197 sbiw r24,1 |
||
155 | 167 .L13: |
||
156 | 168 00fc 9093 0000 sts (PPM_Signal)+1,r25 |
||
157 | 169 0100 8093 0000 sts PPM_Signal,r24 |
||
158 | 170 .L10: |
||
159 | 171 .LM22: |
||
160 | 172 0104 8091 0000 lds r24,PPM_Signal |
||
161 | 173 0108 9091 0000 lds r25,(PPM_Signal)+1 |
||
162 | 174 010c 9C01 movw r18,r24 |
||
163 | 175 010e 220F lsl r18 |
||
164 | 176 0110 331F rol r19 |
||
165 | 177 0112 220F lsl r18 |
||
166 | 178 0114 331F rol r19 |
||
167 | 179 0116 220F lsl r18 |
||
168 | 180 0118 331F rol r19 |
||
169 | 181 011a 281B sub r18,r24 |
||
170 | 182 011c 390B sbc r19,r25 |
||
171 | 183 011e 240F add r18,r20 |
||
172 | 184 0120 351F adc r19,r21 |
||
173 | 185 0122 83E0 ldi r24,3 |
||
174 | 186 0124 3695 1: lsr r19 |
||
175 | 187 0126 2795 ror r18 |
||
176 | 188 0128 8A95 dec r24 |
||
177 | 189 012a 01F4 brne 1b |
||
178 | 190 012c 3093 0000 sts (ppm.1857)+1,r19 |
||
179 | 191 0130 2093 0000 sts ppm.1857,r18 |
||
180 | 192 .LM23: |
||
181 | 193 0134 3093 0000 sts (PPM_Signal)+1,r19 |
||
182 | 194 0138 2093 0000 sts PPM_Signal,r18 |
||
183 | 195 .LM24: |
||
184 | 196 013c 8091 0000 lds r24,anz_ppm_werte |
||
185 | 197 0140 8F3F cpi r24,lo8(-1) |
||
186 | 198 0142 01F0 breq .L11 |
||
187 | 199 0144 8091 0000 lds r24,anz_ppm_werte |
||
188 | 200 0148 8F5F subi r24,lo8(-(1)) |
||
189 | 201 014a 8093 0000 sts anz_ppm_werte,r24 |
||
190 | 202 .L11: |
||
191 | 203 .LM25: |
||
192 | 204 014e 81E0 ldi r24,lo8(1) |
||
193 | 205 0150 8093 0000 sts ZeitZumAdWandeln,r24 |
||
194 | 206 .L12: |
||
195 | 207 /* epilogue start */ |
||
196 | 208 .LM26: |
||
197 | 209 0154 9F91 pop r25 |
||
198 | 210 0156 8F91 pop r24 |
||
199 | 211 0158 5F91 pop r21 |
||
200 | 212 015a 4F91 pop r20 |
||
201 | 213 015c 3F91 pop r19 |
||
202 | 214 015e 2F91 pop r18 |
||
203 | 215 0160 0F90 pop r0 |
||
204 | 216 0162 0FBE out __SREG__,r0 |
||
205 | 217 0164 0F90 pop r0 |
||
206 | 218 0166 1F90 pop __zero_reg__ |
||
207 | 219 0168 1895 reti |
||
208 | 220 .LFE5: |
||
209 | 222 .global __vector_1 |
||
210 | 224 __vector_1: |
||
211 | 225 .LFB6: |
||
212 | 226 .LM27: |
||
213 | 227 016a 1F92 push __zero_reg__ |
||
214 | 228 016c 0F92 push r0 |
||
215 | 229 016e 0FB6 in r0,__SREG__ |
||
216 | 230 0170 0F92 push r0 |
||
217 | 231 0172 1124 clr __zero_reg__ |
||
218 | 232 0174 8F93 push r24 |
||
219 | 233 /* prologue: Signal */ |
||
220 | 234 /* frame size = 0 */ |
||
221 | 235 .LM28: |
||
222 | 236 0176 8AB7 in r24,90-32 |
||
223 | 237 0178 8F7B andi r24,lo8(-65) |
||
224 | 238 017a 8ABF out 90-32,r24 |
||
225 | 239 /* epilogue start */ |
||
226 | 240 .LM29: |
||
227 | 241 017c 8F91 pop r24 |
||
228 | 242 017e 0F90 pop r0 |
||
229 | 243 0180 0FBE out __SREG__,r0 |
||
230 | 244 0182 0F90 pop r0 |
||
231 | 245 0184 1F90 pop __zero_reg__ |
||
232 | 246 0186 1895 reti |
||
233 | 247 .LFE6: |
||
234 | 249 .global PPM_Signal |
||
235 | 250 .global PPM_Signal |
||
236 | 251 .section .bss |
||
237 | 254 PPM_Signal: |
||
238 | 255 0000 0000 .skip 2,0 |
||
239 | 256 .global Timer1Overflow |
||
240 | 257 .global Timer1Overflow |
||
241 | 260 Timer1Overflow: |
||
242 | 261 0002 00 .skip 1,0 |
||
243 | 262 .global PPM_Timeout |
||
244 | 263 .global PPM_Timeout |
||
245 | 266 PPM_Timeout: |
||
246 | 267 0003 00 .skip 1,0 |
||
247 | 268 .global anz_ppm_werte |
||
248 | 269 .global anz_ppm_werte |
||
249 | 272 anz_ppm_werte: |
||
250 | 273 0004 00 .skip 1,0 |
||
251 | 274 .lcomm ppm.1857,2 |
||
252 | 275 .lcomm tim_alt.1856,2 |
||
253 | 324 .Letext0: |
||
254 | DEFINED SYMBOLS |
||
255 | *ABS*:00000000 PPM_Decode.c |
||
256 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmt1bah.s:2 *ABS*:0000003f __SREG__ |
||
257 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmt1bah.s:3 *ABS*:0000003e __SP_H__ |
||
258 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmt1bah.s:4 *ABS*:0000003d __SP_L__ |
||
259 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmt1bah.s:5 *ABS*:00000034 __CCP__ |
||
260 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmt1bah.s:6 *ABS*:00000000 __tmp_reg__ |
||
261 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmt1bah.s:7 *ABS*:00000001 __zero_reg__ |
||
262 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmt1bah.s:18 .text:00000000 InitPPM |
||
263 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmt1bah.s:46 .text:0000001a __vector_8 |
||
264 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmt1bah.s:260 .bss:00000002 Timer1Overflow |
||
265 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmt1bah.s:73 .text:0000003c __vector_5 |
||
266 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmt1bah.s:274 .bss:00000007 tim_alt.1856 |
||
267 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmt1bah.s:266 .bss:00000003 PPM_Timeout |
||
268 | .bss:00000005 ppm.1857 |
||
269 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmt1bah.s:254 .bss:00000000 PPM_Signal |
||
270 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmt1bah.s:272 .bss:00000004 anz_ppm_werte |
||
271 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmt1bah.s:224 .text:0000016a __vector_1 |
||
272 | |||
273 | UNDEFINED SYMBOLS |
||
274 | ZeitZumAdWandeln |
||
275 | __do_clear_bss |