Rev 1189 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1189 | kmpec | 1 | 1 .file "Spectrum.c" |
2 | 2 __SREG__ = 0x3f |
||
3 | 3 __SP_H__ = 0x3e |
||
4 | 4 __SP_L__ = 0x3d |
||
5 | 5 __tmp_reg__ = 0 |
||
6 | 6 __zero_reg__ = 1 |
||
7 | 7 .global __do_copy_data |
||
8 | 8 .global __do_clear_bss |
||
9 | 9 .text |
||
10 | 10 .global Uart1Init |
||
11 | 12 Uart1Init: |
||
12 | 13 /* prologue: frame size=0 */ |
||
13 | 14 /* prologue end (size=0) */ |
||
14 | 15 0000 8091 C900 lds r24,201 |
||
15 | 16 0004 8F77 andi r24,lo8(127) |
||
16 | 17 0006 8093 C900 sts 201,r24 |
||
17 | 18 000a 8091 C900 lds r24,201 |
||
18 | 19 000e 8F7B andi r24,lo8(-65) |
||
19 | 20 0010 8093 C900 sts 201,r24 |
||
20 | 21 0014 8091 C900 lds r24,201 |
||
21 | 22 0018 8F7D andi r24,lo8(-33) |
||
22 | 23 001a 8093 C900 sts 201,r24 |
||
23 | 24 001e 5A9A sbi 43-0x20,2 |
||
24 | 25 0020 5298 cbi 42-0x20,2 |
||
25 | 26 0022 1092 CD00 sts 205,__zero_reg__ |
||
26 | 27 0026 84E1 ldi r24,lo8(20) |
||
27 | 28 0028 8093 CC00 sts 204,r24 |
||
28 | 29 002c 8091 C800 lds r24,200 |
||
29 | 30 0030 8260 ori r24,lo8(2) |
||
30 | 31 0032 8093 C800 sts 200,r24 |
||
31 | 32 0036 80E1 ldi r24,lo8(16) |
||
32 | 33 0038 8093 C900 sts 201,r24 |
||
33 | 34 003c 8091 CA00 lds r24,202 |
||
34 | 35 0040 8F77 andi r24,lo8(127) |
||
35 | 36 0042 8093 CA00 sts 202,r24 |
||
36 | 37 0046 8091 CA00 lds r24,202 |
||
37 | 38 004a 8F7B andi r24,lo8(-65) |
||
38 | 39 004c 8093 CA00 sts 202,r24 |
||
39 | 40 0050 8091 CA00 lds r24,202 |
||
40 | 41 0054 8F7D andi r24,lo8(-33) |
||
41 | 42 0056 8093 CA00 sts 202,r24 |
||
42 | 43 005a 8091 CA00 lds r24,202 |
||
43 | 44 005e 8F7E andi r24,lo8(-17) |
||
44 | 45 0060 8093 CA00 sts 202,r24 |
||
45 | 46 0064 8091 CA00 lds r24,202 |
||
46 | 47 0068 877F andi r24,lo8(-9) |
||
47 | 48 006a 8093 CA00 sts 202,r24 |
||
48 | 49 006e 8091 C900 lds r24,201 |
||
49 | 50 0072 8B7F andi r24,lo8(-5) |
||
50 | 51 0074 8093 C900 sts 201,r24 |
||
51 | 52 0078 8091 CA00 lds r24,202 |
||
52 | 53 007c 8460 ori r24,lo8(4) |
||
53 | 54 007e 8093 CA00 sts 202,r24 |
||
54 | 55 0082 8091 CA00 lds r24,202 |
||
55 | 56 0086 8260 ori r24,lo8(2) |
||
56 | 57 0088 8093 CA00 sts 202,r24 |
||
57 | 58 008c 8091 C800 lds r24,200 |
||
58 | 59 0090 87FF sbrs r24,7 |
||
59 | 60 0092 00C0 rjmp .L2 |
||
60 | 61 .L5: |
||
61 | 62 0094 8091 CE00 lds r24,206 |
||
62 | 63 0098 8091 C800 lds r24,200 |
||
63 | 64 009c 87FD sbrc r24,7 |
||
64 | 65 009e 00C0 rjmp .L5 |
||
65 | 66 .L2: |
||
66 | 67 00a0 8091 C900 lds r24,201 |
||
67 | 68 00a4 8068 ori r24,lo8(-128) |
||
68 | 69 00a6 8093 C900 sts 201,r24 |
||
69 | 70 /* epilogue: frame size=0 */ |
||
70 | 71 00aa 0895 ret |
||
71 | 72 /* epilogue end (size=1) */ |
||
72 | 73 /* function Uart1Init size 86 (85) */ |
||
73 | 75 .global __vector_28 |
||
74 | 77 __vector_28: |
||
75 | 78 /* prologue: frame size=0 */ |
||
76 | 79 00ac 1F92 push __zero_reg__ |
||
77 | 80 00ae 0F92 push __tmp_reg__ |
||
78 | 81 00b0 0FB6 in __tmp_reg__,__SREG__ |
||
79 | 82 00b2 0F92 push __tmp_reg__ |
||
80 | 83 00b4 1124 clr __zero_reg__ |
||
81 | 84 00b6 0F93 push r16 |
||
82 | 85 00b8 1F93 push r17 |
||
83 | 86 00ba 2F93 push r18 |
||
84 | 87 00bc 3F93 push r19 |
||
85 | 88 00be 4F93 push r20 |
||
86 | 89 00c0 5F93 push r21 |
||
87 | 90 00c2 6F93 push r22 |
||
88 | 91 00c4 7F93 push r23 |
||
89 | 92 00c6 8F93 push r24 |
||
90 | 93 00c8 9F93 push r25 |
||
91 | 94 00ca AF93 push r26 |
||
92 | 95 00cc BF93 push r27 |
||
93 | 96 00ce CF93 push r28 |
||
94 | 97 00d0 DF93 push r29 |
||
95 | 98 00d2 EF93 push r30 |
||
96 | 99 00d4 FF93 push r31 |
||
97 | 100 /* prologue end (size=21) */ |
||
98 | 101 00d6 1091 CE00 lds r17,206 |
||
99 | 102 00da 8091 0000 lds r24,ReSync.2413 |
||
100 | 103 00de 9091 0000 lds r25,(ReSync.2413)+1 |
||
101 | 104 00e2 0197 sbiw r24,1 |
||
102 | 105 00e4 01F4 brne .+2 |
||
103 | 106 00e6 00C0 rjmp .L48 |
||
104 | 107 00e8 8091 0000 lds r24,FrameTimer.2415 |
||
105 | 108 00ec 9091 0000 lds r25,(FrameTimer.2415)+1 |
||
106 | 109 00f0 0E94 0000 call CheckDelay |
||
107 | 110 00f4 2091 0000 lds r18,Sync.2410 |
||
108 | 111 00f8 3091 0000 lds r19,(Sync.2410)+1 |
||
109 | 112 00fc 2115 cp r18,__zero_reg__ |
||
110 | 113 00fe 3105 cpc r19,__zero_reg__ |
||
111 | 114 0100 01F0 breq .L49 |
||
112 | 115 0102 2130 cpi r18,1 |
||
113 | 116 0104 3105 cpc r19,__zero_reg__ |
||
114 | 117 0106 01F4 brne .+2 |
||
115 | 118 0108 00C0 rjmp .L50 |
||
116 | 119 .L16: |
||
117 | 120 010a 2230 cpi r18,2 |
||
118 | 121 010c 3105 cpc r19,__zero_reg__ |
||
119 | 122 010e 01F4 brne .+2 |
||
120 | 123 0110 00C0 rjmp .L51 |
||
121 | 124 .L19: |
||
122 | 125 0112 2330 cpi r18,3 |
||
123 | 126 0114 3105 cpc r19,__zero_reg__ |
||
124 | 127 0116 01F4 brne .+2 |
||
125 | 128 0118 00C0 rjmp .L52 |
||
126 | 129 .L25: |
||
127 | 130 011a 81E0 ldi r24,lo8(1) |
||
128 | 131 011c 90E0 ldi r25,hi8(1) |
||
129 | 132 011e 9093 0000 sts (ReSync.2413)+1,r25 |
||
130 | 133 0122 8093 0000 sts ReSync.2413,r24 |
||
131 | 134 0126 1092 0000 sts (FrameCnt.2411)+1,__zero_reg__ |
||
132 | 135 012a 1092 0000 sts FrameCnt.2411,__zero_reg__ |
||
133 | 136 012e 1092 0000 sts (Frame2.2414)+1,__zero_reg__ |
||
134 | 137 0132 1092 0000 sts Frame2.2414,__zero_reg__ |
||
135 | 138 .L42: |
||
136 | 139 0136 87E0 ldi r24,lo8(7) |
||
137 | 140 0138 90E0 ldi r25,hi8(7) |
||
138 | 141 013a 0E94 0000 call SetDelay |
||
139 | 142 013e 9093 0000 sts (FrameTimer.2415)+1,r25 |
||
140 | 143 0142 8093 0000 sts FrameTimer.2415,r24 |
||
141 | 144 0146 00C0 rjmp .L46 |
||
142 | 145 .L49: |
||
143 | 146 0148 8823 tst r24 |
||
144 | 147 014a 01F4 brne .L53 |
||
145 | 148 014c C091 0000 lds r28,FrameCnt.2411 |
||
146 | 149 0150 D091 0000 lds r29,(FrameCnt.2411)+1 |
||
147 | 150 .L14: |
||
148 | 151 0154 6097 sbiw r28,16 |
||
149 | 152 0156 00F0 brlo .L42 |
||
150 | 153 0158 8091 0000 lds r24,Frame2.2414 |
||
151 | 154 015c 9091 0000 lds r25,(Frame2.2414)+1 |
||
152 | 155 0160 892B or r24,r25 |
||
153 | 156 0162 01F4 brne .L44 |
||
154 | 157 0164 1092 0000 sts NewPpmData,__zero_reg__ |
||
155 | 158 .L44: |
||
156 | 159 0168 1092 0000 sts (FrameCnt.2411)+1,__zero_reg__ |
||
157 | 160 016c 1092 0000 sts FrameCnt.2411,__zero_reg__ |
||
158 | 161 0170 1092 0000 sts (Frame2.2414)+1,__zero_reg__ |
||
159 | 162 0174 1092 0000 sts Frame2.2414,__zero_reg__ |
||
160 | 163 0178 1092 0000 sts (Sync.2410)+1,__zero_reg__ |
||
161 | 164 017c 1092 0000 sts Sync.2410,__zero_reg__ |
||
162 | 165 0180 00C0 rjmp .L42 |
||
163 | 166 .L48: |
||
164 | 167 0182 1092 0000 sts (ReSync.2413)+1,__zero_reg__ |
||
165 | 168 0186 1092 0000 sts ReSync.2413,__zero_reg__ |
||
166 | 169 018a 87E0 ldi r24,lo8(7) |
||
167 | 170 018c 90E0 ldi r25,hi8(7) |
||
168 | 171 018e 0E94 0000 call SetDelay |
||
169 | 172 0192 9093 0000 sts (FrameTimer.2415)+1,r25 |
||
170 | 173 0196 8093 0000 sts FrameTimer.2415,r24 |
||
171 | 174 019a 1092 0000 sts (FrameCnt.2411)+1,__zero_reg__ |
||
172 | 175 019e 1092 0000 sts FrameCnt.2411,__zero_reg__ |
||
173 | 176 01a2 1092 0000 sts (Sync.2410)+1,__zero_reg__ |
||
174 | 177 01a6 1092 0000 sts Sync.2410,__zero_reg__ |
||
175 | 178 01aa 1092 0000 sts (ByteHigh.2412)+1,__zero_reg__ |
||
176 | 179 01ae 1092 0000 sts ByteHigh.2412,__zero_reg__ |
||
177 | 180 01b2 00C0 rjmp .L46 |
||
178 | 181 .L53: |
||
179 | 182 01b4 81E0 ldi r24,lo8(1) |
||
180 | 183 01b6 90E0 ldi r25,hi8(1) |
||
181 | 184 01b8 9093 0000 sts (Sync.2410)+1,r25 |
||
182 | 185 01bc 8093 0000 sts Sync.2410,r24 |
||
183 | 186 01c0 C091 0000 lds r28,FrameCnt.2411 |
||
184 | 187 01c4 D091 0000 lds r29,(FrameCnt.2411)+1 |
||
185 | 188 01c8 2196 adiw r28,1 |
||
186 | 189 01ca D093 0000 sts (FrameCnt.2411)+1,r29 |
||
187 | 190 01ce C093 0000 sts FrameCnt.2411,r28 |
||
188 | 191 01d2 00C0 rjmp .L14 |
||
189 | 192 .L52: |
||
190 | 193 01d4 8823 tst r24 |
||
191 | 194 01d6 01F0 breq .+2 |
||
192 | 195 01d8 00C0 rjmp .L25 |
||
193 | 196 01da 82E0 ldi r24,lo8(2) |
||
194 | 197 01dc 90E0 ldi r25,hi8(2) |
||
195 | 198 01de 9093 0000 sts (Sync.2410)+1,r25 |
||
196 | 199 01e2 8093 0000 sts Sync.2410,r24 |
||
197 | 200 01e6 C091 0000 lds r28,FrameCnt.2411 |
||
198 | 201 01ea D091 0000 lds r29,(FrameCnt.2411)+1 |
||
199 | 202 01ee 2196 adiw r28,1 |
||
200 | 203 01f0 D093 0000 sts (FrameCnt.2411)+1,r29 |
||
201 | 204 01f4 C093 0000 sts FrameCnt.2411,r28 |
||
202 | 205 01f8 2091 0000 lds r18,ByteHigh.2412 |
||
203 | 206 01fc 3091 0000 lds r19,(ByteHigh.2412)+1 |
||
204 | 207 0200 F901 movw r30,r18 |
||
205 | 208 0202 F695 lsr r31 |
||
206 | 209 0204 E795 ror r30 |
||
207 | 210 0206 F695 lsr r31 |
||
208 | 211 0208 E795 ror r30 |
||
209 | 212 020a EF70 andi r30,lo8(15) |
||
210 | 213 020c F070 andi r31,hi8(15) |
||
211 | 214 020e 3196 adiw r30,1 |
||
212 | 215 0210 EB30 cpi r30,11 |
||
213 | 216 0212 F105 cpc r31,__zero_reg__ |
||
214 | 217 0214 00F0 brlo .+2 |
||
215 | 218 0216 00C0 rjmp .L14 |
||
216 | 219 0218 812F mov r24,r17 |
||
217 | 220 021a 90E0 ldi r25,lo8(0) |
||
218 | 221 021c 322F mov r19,r18 |
||
219 | 222 021e 2227 clr r18 |
||
220 | 223 0220 822B or r24,r18 |
||
221 | 224 0222 932B or r25,r19 |
||
222 | 225 0224 9370 andi r25,hi8(1023) |
||
223 | 226 0226 8050 subi r24,lo8(-(-512)) |
||
224 | 227 0228 9240 sbci r25,hi8(-(-512)) |
||
225 | 228 022a 63E0 ldi r22,lo8(3) |
||
226 | 229 022c 70E0 ldi r23,hi8(3) |
||
227 | 230 022e 0E94 0000 call __divmodhi4 |
||
228 | 231 0232 8F01 movw r16,r30 |
||
229 | 232 0234 000F lsl r16 |
||
230 | 233 0236 111F rol r17 |
||
231 | 234 0238 F801 movw r30,r16 |
||
232 | 235 023a E050 subi r30,lo8(-(PPM_in)) |
||
233 | 236 023c F040 sbci r31,hi8(-(PPM_in)) |
||
234 | 237 023e 8081 ld r24,Z |
||
235 | 238 0240 9181 ldd r25,Z+1 |
||
236 | 239 0242 9B01 movw r18,r22 |
||
237 | 240 0244 281B sub r18,r24 |
||
238 | 241 0246 390B sbc r19,r25 |
||
239 | 242 0248 C901 movw r24,r18 |
||
240 | 243 024a 37FD sbrc r19,7 |
||
241 | 244 024c 00C0 rjmp .L54 |
||
242 | 245 .L30: |
||
243 | 246 024e 0697 sbiw r24,6 |
||
244 | 247 0250 04F4 brge .L29 |
||
245 | 248 0252 8091 0000 lds r24,SenderOkay |
||
246 | 249 0256 883C cpi r24,lo8(-56) |
||
247 | 250 0258 00F0 brlo .+2 |
||
248 | 251 025a 00C0 rjmp .L32 |
||
249 | 252 025c 8091 0000 lds r24,SenderOkay |
||
250 | 253 0260 865F subi r24,lo8(-(10)) |
||
251 | 254 0262 8093 0000 sts SenderOkay,r24 |
||
252 | 255 .L29: |
||
253 | 256 0266 F801 movw r30,r16 |
||
254 | 257 0268 E050 subi r30,lo8(-(PPM_in)) |
||
255 | 258 026a F040 sbci r31,hi8(-(PPM_in)) |
||
256 | 259 026c 8081 ld r24,Z |
||
257 | 260 026e 9181 ldd r25,Z+1 |
||
258 | 261 0270 9C01 movw r18,r24 |
||
259 | 262 0272 220F lsl r18 |
||
260 | 263 0274 331F rol r19 |
||
261 | 264 0276 280F add r18,r24 |
||
262 | 265 0278 391F adc r19,r25 |
||
263 | 266 027a 260F add r18,r22 |
||
264 | 267 027c 371F adc r19,r23 |
||
265 | 268 027e 37FD sbrc r19,7 |
||
266 | 269 0280 00C0 rjmp .L55 |
||
267 | 270 .L34: |
||
268 | 271 0282 3595 asr r19 |
||
269 | 272 0284 2795 ror r18 |
||
270 | 273 0286 3595 asr r19 |
||
271 | 274 0288 2795 ror r18 |
||
272 | 275 028a CB01 movw r24,r22 |
||
273 | 276 028c 0196 adiw r24,1 |
||
274 | 277 028e 8217 cp r24,r18 |
||
275 | 278 0290 9307 cpc r25,r19 |
||
276 | 279 0292 04F0 brlt .+2 |
||
277 | 280 0294 00C0 rjmp .L35 |
||
278 | 281 0296 2150 subi r18,lo8(-(-1)) |
||
279 | 282 0298 3040 sbci r19,hi8(-(-1)) |
||
280 | 283 .L37: |
||
281 | 284 029a 8091 0000 lds r24,SenderOkay |
||
282 | 285 029e 843B cpi r24,lo8(-76) |
||
283 | 286 02a0 00F4 brsh .+2 |
||
284 | 287 02a2 00C0 rjmp .L39 |
||
285 | 288 02a4 F801 movw r30,r16 |
||
286 | 289 02a6 E050 subi r30,lo8(-(PPM_in)) |
||
287 | 290 02a8 F040 sbci r31,hi8(-(PPM_in)) |
||
288 | 291 02aa 8081 ld r24,Z |
||
289 | 292 02ac 9181 ldd r25,Z+1 |
||
290 | 293 02ae A901 movw r20,r18 |
||
291 | 294 02b0 481B sub r20,r24 |
||
292 | 295 02b2 590B sbc r21,r25 |
||
293 | 296 02b4 CA01 movw r24,r20 |
||
294 | 297 02b6 63E0 ldi r22,lo8(3) |
||
295 | 298 02b8 70E0 ldi r23,hi8(3) |
||
296 | 299 02ba 0E94 0000 call __divmodhi4 |
||
297 | 300 02be CB01 movw r24,r22 |
||
298 | 301 02c0 880F lsl r24 |
||
299 | 302 02c2 991F rol r25 |
||
300 | 303 02c4 860F add r24,r22 |
||
301 | 304 02c6 971F adc r25,r23 |
||
302 | 305 02c8 F801 movw r30,r16 |
||
303 | 306 02ca E050 subi r30,lo8(-(PPM_diff)) |
||
304 | 307 02cc F040 sbci r31,hi8(-(PPM_diff)) |
||
305 | 308 02ce 9183 std Z+1,r25 |
||
306 | 309 02d0 8083 st Z,r24 |
||
307 | 310 .L41: |
||
308 | 311 02d2 0050 subi r16,lo8(-(PPM_in)) |
||
309 | 312 02d4 1040 sbci r17,hi8(-(PPM_in)) |
||
310 | 313 02d6 F801 movw r30,r16 |
||
311 | 314 02d8 3183 std Z+1,r19 |
||
312 | 315 02da 2083 st Z,r18 |
||
313 | 316 02dc 00C0 rjmp .L14 |
||
314 | 317 .L50: |
||
315 | 318 02de 8823 tst r24 |
||
316 | 319 02e0 01F0 breq .+2 |
||
317 | 320 02e2 00C0 rjmp .L16 |
||
318 | 321 02e4 82E0 ldi r24,lo8(2) |
||
319 | 322 02e6 90E0 ldi r25,hi8(2) |
||
320 | 323 02e8 9093 0000 sts (Sync.2410)+1,r25 |
||
321 | 324 02ec 8093 0000 sts Sync.2410,r24 |
||
322 | 325 02f0 C091 0000 lds r28,FrameCnt.2411 |
||
323 | 326 02f4 D091 0000 lds r29,(FrameCnt.2411)+1 |
||
324 | 327 02f8 2196 adiw r28,1 |
||
325 | 328 02fa D093 0000 sts (FrameCnt.2411)+1,r29 |
||
326 | 329 02fe C093 0000 sts FrameCnt.2411,r28 |
||
327 | 330 0302 00C0 rjmp .L14 |
||
328 | 331 .L51: |
||
329 | 332 0304 8823 tst r24 |
||
330 | 333 0306 01F0 breq .+2 |
||
331 | 334 0308 00C0 rjmp .L19 |
||
332 | 335 030a 812F mov r24,r17 |
||
333 | 336 030c 90E0 ldi r25,lo8(0) |
||
334 | 337 030e 9093 0000 sts (ByteHigh.2412)+1,r25 |
||
335 | 338 0312 8093 0000 sts ByteHigh.2412,r24 |
||
336 | 339 0316 2091 0000 lds r18,FrameCnt.2411 |
||
337 | 340 031a 3091 0000 lds r19,(FrameCnt.2411)+1 |
||
338 | 341 031e 2230 cpi r18,2 |
||
339 | 342 0320 3105 cpc r19,__zero_reg__ |
||
340 | 343 0322 01F0 breq .L56 |
||
341 | 344 .L22: |
||
342 | 345 0324 83E0 ldi r24,lo8(3) |
||
343 | 346 0326 90E0 ldi r25,hi8(3) |
||
344 | 347 0328 9093 0000 sts (Sync.2410)+1,r25 |
||
345 | 348 032c 8093 0000 sts Sync.2410,r24 |
||
346 | 349 0330 E901 movw r28,r18 |
||
347 | 350 0332 2196 adiw r28,1 |
||
348 | 351 0334 D093 0000 sts (FrameCnt.2411)+1,r29 |
||
349 | 352 0338 C093 0000 sts FrameCnt.2411,r28 |
||
350 | 353 033c 00C0 rjmp .L14 |
||
351 | 354 .L56: |
||
352 | 355 033e 1092 0000 sts (Frame2.2414)+1,__zero_reg__ |
||
353 | 356 0342 1092 0000 sts Frame2.2414,__zero_reg__ |
||
354 | 357 0346 17FF sbrs r17,7 |
||
355 | 358 0348 00C0 rjmp .L22 |
||
356 | 359 034a 81E0 ldi r24,lo8(1) |
||
357 | 360 034c 90E0 ldi r25,hi8(1) |
||
358 | 361 034e 9093 0000 sts (Frame2.2414)+1,r25 |
||
359 | 362 0352 8093 0000 sts Frame2.2414,r24 |
||
360 | 363 0356 00C0 rjmp .L22 |
||
361 | 364 .L39: |
||
362 | 365 0358 F801 movw r30,r16 |
||
363 | 366 035a E050 subi r30,lo8(-(PPM_diff)) |
||
364 | 367 035c F040 sbci r31,hi8(-(PPM_diff)) |
||
365 | 368 035e 1182 std Z+1,__zero_reg__ |
||
366 | 369 0360 1082 st Z,__zero_reg__ |
||
367 | 370 0362 00C0 rjmp .L41 |
||
368 | 371 .L35: |
||
369 | 372 0364 6150 subi r22,lo8(-(-1)) |
||
370 | 373 0366 7040 sbci r23,hi8(-(-1)) |
||
371 | 374 0368 2617 cp r18,r22 |
||
372 | 375 036a 3707 cpc r19,r23 |
||
373 | 376 036c 04F0 brlt .+2 |
||
374 | 377 036e 00C0 rjmp .L37 |
||
375 | 378 0370 2F5F subi r18,lo8(-(1)) |
||
376 | 379 0372 3F4F sbci r19,hi8(-(1)) |
||
377 | 380 0374 00C0 rjmp .L37 |
||
378 | 381 .L32: |
||
379 | 382 0376 88EC ldi r24,lo8(-56) |
||
380 | 383 0378 8093 0000 sts SenderOkay,r24 |
||
381 | 384 037c 00C0 rjmp .L29 |
||
382 | 385 .L55: |
||
383 | 386 037e 2D5F subi r18,lo8(-(3)) |
||
384 | 387 0380 3F4F sbci r19,hi8(-(3)) |
||
385 | 388 0382 00C0 rjmp .L34 |
||
386 | 389 .L54: |
||
387 | 390 0384 9095 com r25 |
||
388 | 391 0386 8195 neg r24 |
||
389 | 392 0388 9F4F sbci r25,lo8(-1) |
||
390 | 393 038a 00C0 rjmp .L30 |
||
391 | 394 .L46: |
||
392 | 395 /* epilogue: frame size=0 */ |
||
393 | 396 038c FF91 pop r31 |
||
394 | 397 038e EF91 pop r30 |
||
395 | 398 0390 DF91 pop r29 |
||
396 | 399 0392 CF91 pop r28 |
||
397 | 400 0394 BF91 pop r27 |
||
398 | 401 0396 AF91 pop r26 |
||
399 | 402 0398 9F91 pop r25 |
||
400 | 403 039a 8F91 pop r24 |
||
401 | 404 039c 7F91 pop r23 |
||
402 | 405 039e 6F91 pop r22 |
||
403 | 406 03a0 5F91 pop r21 |
||
404 | 407 03a2 4F91 pop r20 |
||
405 | 408 03a4 3F91 pop r19 |
||
406 | 409 03a6 2F91 pop r18 |
||
407 | 410 03a8 1F91 pop r17 |
||
408 | 411 03aa 0F91 pop r16 |
||
409 | 412 03ac 0F90 pop __tmp_reg__ |
||
410 | 413 03ae 0FBE out __SREG__,__tmp_reg__ |
||
411 | 414 03b0 0F90 pop __tmp_reg__ |
||
412 | 415 03b2 1F90 pop __zero_reg__ |
||
413 | 416 03b4 1895 reti |
||
414 | 417 /* epilogue end (size=21) */ |
||
415 | 418 /* function __vector_28 size 393 (351) */ |
||
416 | 420 .lcomm FrameTimer.2415,2 |
||
417 | 421 .lcomm Frame2.2414,2 |
||
418 | 422 .data |
||
419 | 425 ReSync.2413: |
||
420 | 426 0000 0100 .word 1 |
||
421 | 427 .lcomm ByteHigh.2412,2 |
||
422 | 428 .lcomm FrameCnt.2411,2 |
||
423 | 429 .lcomm Sync.2410,2 |
||
424 | 430 /* File "Spectrum.c": code 479 = 0x01df ( 436), prologues 21, epilogues 22 */ |
||
425 | DEFINED SYMBOLS |
||
426 | *ABS*:00000000 Spectrum.c |
||
1193 | kmpec | 427 | C:\DOKUME~1\David\LOKALE~1\Temp/ccuy9Rcd.s:2 *ABS*:0000003f __SREG__ |
428 | C:\DOKUME~1\David\LOKALE~1\Temp/ccuy9Rcd.s:3 *ABS*:0000003e __SP_H__ |
||
429 | C:\DOKUME~1\David\LOKALE~1\Temp/ccuy9Rcd.s:4 *ABS*:0000003d __SP_L__ |
||
430 | C:\DOKUME~1\David\LOKALE~1\Temp/ccuy9Rcd.s:5 *ABS*:00000000 __tmp_reg__ |
||
431 | C:\DOKUME~1\David\LOKALE~1\Temp/ccuy9Rcd.s:6 *ABS*:00000001 __zero_reg__ |
||
432 | C:\DOKUME~1\David\LOKALE~1\Temp/ccuy9Rcd.s:12 .text:00000000 Uart1Init |
||
433 | C:\DOKUME~1\David\LOKALE~1\Temp/ccuy9Rcd.s:77 .text:000000ac __vector_28 |
||
434 | C:\DOKUME~1\David\LOKALE~1\Temp/ccuy9Rcd.s:425 .data:00000000 ReSync.2413 |
||
1189 | kmpec | 435 | .bss:00000000 FrameTimer.2415 |
1193 | kmpec | 436 | C:\DOKUME~1\David\LOKALE~1\Temp/ccuy9Rcd.s:428 .bss:00000008 Sync.2410 |
437 | C:\DOKUME~1\David\LOKALE~1\Temp/ccuy9Rcd.s:427 .bss:00000006 FrameCnt.2411 |
||
438 | C:\DOKUME~1\David\LOKALE~1\Temp/ccuy9Rcd.s:420 .bss:00000002 Frame2.2414 |
||
439 | C:\DOKUME~1\David\LOKALE~1\Temp/ccuy9Rcd.s:421 .bss:00000004 ByteHigh.2412 |
||
1189 | kmpec | 440 | |
441 | UNDEFINED SYMBOLS |
||
442 | __do_copy_data |
||
443 | __do_clear_bss |
||
444 | CheckDelay |
||
445 | SetDelay |
||
446 | NewPpmData |
||
447 | __divmodhi4 |
||
448 | PPM_in |
||
449 | SenderOkay |
||
450 | PPM_diff |