Rev 1193 | Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1189 | kmpec | 1 | 1 .file "led.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 LED_Init |
||
11 | 12 LED_Init: |
||
12 | 13 /* prologue: frame size=0 */ |
||
13 | 14 /* prologue end (size=0) */ |
||
14 | 15 0000 87B1 in r24,39-0x20 |
||
15 | 16 0002 8C60 ori r24,lo8(12) |
||
16 | 17 0004 87B9 out 39-0x20,r24 |
||
17 | 18 0006 4298 cbi 40-0x20,2 |
||
18 | 19 0008 4398 cbi 40-0x20,3 |
||
19 | 20 000a 1092 0000 sts J16Blinkcount,__zero_reg__ |
||
20 | 21 000e 80E8 ldi r24,lo8(-128) |
||
21 | 22 0010 8093 0000 sts J16Mask,r24 |
||
22 | 23 0014 1092 0000 sts J17Blinkcount,__zero_reg__ |
||
23 | 24 0018 8093 0000 sts J17Mask,r24 |
||
24 | 25 /* epilogue: frame size=0 */ |
||
25 | 26 001c 0895 ret |
||
26 | 27 /* epilogue end (size=1) */ |
||
27 | 28 /* function LED_Init size 15 (14) */ |
||
28 | 30 .global LED_Update |
||
29 | 32 LED_Update: |
||
30 | 33 /* prologue: frame size=0 */ |
||
31 | 34 /* prologue end (size=0) */ |
||
32 | 35 001e 8091 0000 lds r24,delay.2372 |
||
33 | 36 0022 8150 subi r24,lo8(-(-1)) |
||
34 | 37 0024 8093 0000 sts delay.2372,r24 |
||
35 | 38 0028 8F3F cpi r24,lo8(-1) |
||
36 | 39 002a 01F0 breq .L51 |
||
37 | 40 .L46: |
||
38 | 41 002c 0895 ret |
||
39 | 42 .L51: |
||
40 | 43 002e 84E0 ldi r24,lo8(4) |
||
41 | 44 0030 8093 0000 sts delay.2372,r24 |
||
42 | 45 0034 8091 0000 lds r24,HoehenReglerAktiv |
||
43 | 46 0038 8823 tst r24 |
||
44 | 47 003a 01F0 breq .L6 |
||
45 | 48 003c 8091 0000 lds r24,J16Blinkcount |
||
46 | 49 0040 8150 subi r24,lo8(-(-1)) |
||
47 | 50 0042 8093 0000 sts J16Blinkcount,r24 |
||
48 | 51 0046 8F3F cpi r24,lo8(-1) |
||
49 | 52 0048 01F4 brne .+2 |
||
50 | 53 004a 00C0 rjmp .L52 |
||
51 | 54 .L8: |
||
52 | 55 004c 4298 cbi 40-0x20,2 |
||
53 | 56 004e 8091 0000 lds r24,EE_Parameter+57 |
||
54 | 57 0052 8B3F cpi r24,lo8(-5) |
||
55 | 58 0054 00F0 brlo .L31 |
||
56 | 59 0056 8091 0000 lds r24,Parameter_J17Timing |
||
57 | 60 005a 873E cpi r24,lo8(-25) |
||
58 | 61 005c 00F0 brlo .+2 |
||
59 | 62 005e 00C0 rjmp .L53 |
||
60 | 63 0060 8A30 cpi r24,lo8(10) |
||
61 | 64 0062 00F4 brsh .L31 |
||
62 | 65 0064 8091 0000 lds r24,EE_Parameter+56 |
||
63 | 66 0068 87FD sbrc r24,7 |
||
64 | 67 006a 00C0 rjmp .L48 |
||
65 | 68 .L47: |
||
66 | 69 006c 439A sbi 40-0x20,3 |
||
67 | 70 006e 0895 ret |
||
68 | 71 .L31: |
||
69 | 72 0070 8091 0000 lds r24,J17Blinkcount |
||
70 | 73 0074 8150 subi r24,lo8(-(-1)) |
||
71 | 74 0076 8093 0000 sts J17Blinkcount,r24 |
||
72 | 75 007a 8F3F cpi r24,lo8(-1) |
||
73 | 76 007c 01F4 brne .L46 |
||
74 | 77 007e 8091 0000 lds r24,Parameter_J17Timing |
||
75 | 78 0082 8150 subi r24,lo8(-(-1)) |
||
76 | 79 0084 8093 0000 sts J17Blinkcount,r24 |
||
77 | 80 0088 8091 0000 lds r24,J17Mask |
||
78 | 81 008c 8130 cpi r24,lo8(1) |
||
79 | 82 008e 01F4 brne .+2 |
||
80 | 83 0090 00C0 rjmp .L54 |
||
81 | 84 0092 8695 lsr r24 |
||
82 | 85 0094 8093 0000 sts J17Mask,r24 |
||
83 | 86 .L43: |
||
84 | 87 0098 8091 0000 lds r24,J17Mask |
||
85 | 88 009c 9091 0000 lds r25,EE_Parameter+56 |
||
86 | 89 00a0 8923 and r24,r25 |
||
87 | 90 00a2 01F4 brne .L47 |
||
88 | 91 00a4 4398 cbi 40-0x20,3 |
||
89 | 92 00a6 0895 ret |
||
90 | 93 .L6: |
||
91 | 94 00a8 8091 0000 lds r24,Parameter_NaviGpsModeControl |
||
92 | 95 00ac 8436 cpi r24,lo8(100) |
||
93 | 96 00ae 00F0 brlo .L55 |
||
94 | 97 00b0 8739 cpi r24,lo8(-105) |
||
95 | 98 00b2 00F0 brlo .L23 |
||
96 | 99 00b4 8091 0000 lds r24,J16Blinkcount |
||
97 | 100 00b8 8150 subi r24,lo8(-(-1)) |
||
98 | 101 00ba 8093 0000 sts J16Blinkcount,r24 |
||
99 | 102 00be 8F3F cpi r24,lo8(-1) |
||
100 | 103 00c0 01F4 brne .L8 |
||
101 | 104 00c2 8091 0000 lds r24,Parameter_J16Timing |
||
102 | 105 00c6 8150 subi r24,lo8(-(-1)) |
||
103 | 106 00c8 8093 0000 sts J16Blinkcount,r24 |
||
104 | 107 00cc 8091 0000 lds r24,J16Mask |
||
105 | 108 00d0 8130 cpi r24,lo8(1) |
||
106 | 109 00d2 01F4 brne .+2 |
||
107 | 110 00d4 00C0 rjmp .L56 |
||
108 | 111 00d6 8695 lsr r24 |
||
109 | 112 00d8 8093 0000 sts J16Mask,r24 |
||
110 | 113 .L28: |
||
111 | 114 00dc 8091 0000 lds r24,J16Mask |
||
112 | 115 00e0 9091 0000 lds r25,EE_Parameter+32 |
||
113 | 116 00e4 8923 and r24,r25 |
||
114 | 117 00e6 01F0 breq .L29 |
||
115 | 118 .L23: |
||
116 | 119 00e8 429A sbi 40-0x20,2 |
||
117 | 120 00ea 00C0 rjmp .L8 |
||
118 | 121 .L53: |
||
119 | 122 00ec 8091 0000 lds r24,EE_Parameter+56 |
||
120 | 123 00f0 8823 tst r24 |
||
121 | 124 00f2 04F4 brge .+2 |
||
122 | 125 00f4 00C0 rjmp .L47 |
||
123 | 126 .L48: |
||
124 | 127 00f6 4398 cbi 40-0x20,3 |
||
125 | 128 00f8 0895 ret |
||
126 | 129 .L55: |
||
127 | 130 00fa 8091 0000 lds r24,J16Blinkcount |
||
128 | 131 00fe 8150 subi r24,lo8(-(-1)) |
||
129 | 132 0100 8093 0000 sts J16Blinkcount,r24 |
||
130 | 133 0104 8F3F cpi r24,lo8(-1) |
||
131 | 134 0106 01F0 breq .+2 |
||
132 | 135 0108 00C0 rjmp .L8 |
||
133 | 136 010a 8091 0000 lds r24,Parameter_J16Timing |
||
134 | 137 010e 8150 subi r24,lo8(-(-1)) |
||
135 | 138 0110 8093 0000 sts J16Blinkcount,r24 |
||
136 | 139 0114 8091 0000 lds r24,J16Mask |
||
137 | 140 0118 8130 cpi r24,lo8(1) |
||
138 | 141 011a 01F0 breq .L57 |
||
139 | 142 011c 8695 lsr r24 |
||
140 | 143 011e 8093 0000 sts J16Mask,r24 |
||
141 | 144 .L20: |
||
142 | 145 0122 8091 0000 lds r24,J16Mask |
||
143 | 146 0126 9091 0000 lds r25,EE_Parameter+31 |
||
144 | 147 012a 8923 and r24,r25 |
||
145 | 148 012c 01F4 brne .L23 |
||
146 | 149 .L29: |
||
147 | 150 012e 4298 cbi 40-0x20,2 |
||
148 | 151 0130 00C0 rjmp .L8 |
||
149 | 152 .L52: |
||
150 | 153 0132 8091 0000 lds r24,Parameter_J16Timing |
||
151 | 154 0136 8150 subi r24,lo8(-(-1)) |
||
152 | 155 0138 8093 0000 sts J16Blinkcount,r24 |
||
153 | 156 013c 8091 0000 lds r24,J16Mask |
||
154 | 157 0140 8130 cpi r24,lo8(1) |
||
155 | 158 0142 01F0 breq .L58 |
||
156 | 159 0144 8695 lsr r24 |
||
157 | 160 0146 8093 0000 sts J16Mask,r24 |
||
158 | 161 .L12: |
||
159 | 162 014a 8091 0000 lds r24,J16Mask |
||
160 | 163 014e 9091 0000 lds r25,EE_Parameter+30 |
||
161 | 164 0152 8923 and r24,r25 |
||
162 | 165 0154 01F0 breq .L29 |
||
163 | 166 0156 429A sbi 40-0x20,2 |
||
164 | 167 0158 00C0 rjmp .L8 |
||
165 | 168 .L58: |
||
166 | 169 015a 80E8 ldi r24,lo8(-128) |
||
167 | 170 015c 8093 0000 sts J16Mask,r24 |
||
168 | 171 0160 00C0 rjmp .L12 |
||
169 | 172 .L54: |
||
170 | 173 0162 80E8 ldi r24,lo8(-128) |
||
171 | 174 0164 8093 0000 sts J17Mask,r24 |
||
172 | 175 0168 00C0 rjmp .L43 |
||
173 | 176 .L57: |
||
174 | 177 016a 80E8 ldi r24,lo8(-128) |
||
175 | 178 016c 8093 0000 sts J16Mask,r24 |
||
176 | 179 0170 00C0 rjmp .L20 |
||
177 | 180 .L56: |
||
178 | 181 0172 80E8 ldi r24,lo8(-128) |
||
179 | 182 0174 8093 0000 sts J16Mask,r24 |
||
180 | 183 0178 00C0 rjmp .L28 |
||
181 | 184 /* epilogue: frame size=0 */ |
||
182 | 185 /* epilogue: noreturn */ |
||
183 | 186 /* epilogue end (size=0) */ |
||
184 | 187 /* function LED_Update size 179 (179) */ |
||
185 | 189 .global LED1_Timing |
||
186 | 190 .global LED1_Timing |
||
187 | 191 .section .bss |
||
188 | 194 LED1_Timing: |
||
189 | 195 0000 0000 .skip 2,0 |
||
190 | 196 .global LED2_Timing |
||
191 | 197 .global LED2_Timing |
||
192 | 200 LED2_Timing: |
||
193 | 201 0002 0000 .skip 2,0 |
||
194 | 202 .global J16Blinkcount |
||
195 | 203 .global J16Blinkcount |
||
196 | 206 J16Blinkcount: |
||
197 | 207 0004 00 .skip 1,0 |
||
198 | 208 .global J16Mask |
||
199 | 209 .data |
||
200 | 212 J16Mask: |
||
201 | 213 0000 01 .byte 1 |
||
202 | 214 .global J17Blinkcount |
||
203 | 215 .global J17Blinkcount |
||
204 | 216 .section .bss |
||
205 | 219 J17Blinkcount: |
||
206 | 220 0005 00 .skip 1,0 |
||
207 | 221 .global J17Mask |
||
208 | 222 .data |
||
209 | 225 J17Mask: |
||
210 | 226 0001 01 .byte 1 |
||
211 | 227 .lcomm delay.2372,1 |
||
212 | 228 /* File "led.c": code 194 = 0x00c2 ( 193), prologues 0, epilogues 1 */ |
||
213 | DEFINED SYMBOLS |
||
214 | *ABS*:00000000 led.c |
||
215 | C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccajheVy.s:2 *ABS*:0000003f __SREG__ |
||
216 | C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccajheVy.s:3 *ABS*:0000003e __SP_H__ |
||
217 | C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccajheVy.s:4 *ABS*:0000003d __SP_L__ |
||
218 | C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccajheVy.s:5 *ABS*:00000000 __tmp_reg__ |
||
219 | C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccajheVy.s:6 *ABS*:00000001 __zero_reg__ |
||
220 | C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccajheVy.s:12 .text:00000000 LED_Init |
||
221 | C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccajheVy.s:206 .bss:00000004 J16Blinkcount |
||
222 | C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccajheVy.s:212 .data:00000000 J16Mask |
||
223 | C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccajheVy.s:219 .bss:00000005 J17Blinkcount |
||
224 | C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccajheVy.s:225 .data:00000001 J17Mask |
||
225 | C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccajheVy.s:32 .text:0000001e LED_Update |
||
226 | .bss:00000006 delay.2372 |
||
227 | C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccajheVy.s:194 .bss:00000000 LED1_Timing |
||
228 | C:\DOKUME~1\DPeters\LOKALE~1\Temp/ccajheVy.s:200 .bss:00000002 LED2_Timing |
||
229 | |||
230 | UNDEFINED SYMBOLS |
||
231 | __do_copy_data |
||
232 | __do_clear_bss |
||
233 | HoehenReglerAktiv |
||
234 | EE_Parameter |
||
235 | Parameter_J17Timing |
||
236 | Parameter_NaviGpsModeControl |
||
237 | Parameter_J16Timing |