Blame | Last modification | View Log | RSS feed
1 .file "led.c"
2 __SREG__ = 0x3f
3 __SP_H__ = 0x3e
4 __SP_L__ = 0x3d
5 __CCP__ = 0x34
6 __tmp_reg__ = 0
7 __zero_reg__ = 1
8 .text
9 .global LED_Init
11 LED_Init:
12 /* prologue: function */
13 /* frame size = 0 */
14 0000 87B1 in r24,39-32
15 0002 8C60 ori r24,lo8(12)
16 0004 87B9 out 39-32,r24
17 0006 4298 cbi 40-32,2
18 0008 4398 cbi 40-32,3
19 000a 1092 0000 sts J16Blinkcount,__zero_reg__
20 000e 80E8 ldi r24,lo8(-128)
21 0010 8093 0000 sts J16Mask,r24
22 0014 1092 0000 sts J17Blinkcount,__zero_reg__
23 0018 8093 0000 sts J17Mask,r24
24 /* epilogue start */
25 001c 0895 ret
27 .global LED_Update
29 LED_Update:
30 /* prologue: function */
31 /* frame size = 0 */
32 001e 8091 0000 lds r24,delay.1447
33 0022 8150 subi r24,lo8(-(-1))
34 0024 8093 0000 sts delay.1447,r24
35 0028 8F5F subi r24,lo8(-(1))
36 002a 01F0 breq .+2
37 002c 00C0 rjmp .L27
38 002e 84E0 ldi r24,lo8(4)
39 0030 8093 0000 sts delay.1447,r24
40 0034 8091 0000 lds r24,MKFlags
41 0038 85FD sbrc r24,5
42 003a 00C0 rjmp .L33
43 003c 8091 0000 lds r24,ParamSet+63
44 0040 8093 0000 sts J16Bitmask.1448,r24
45 0044 8091 0000 lds r24,ParamSet+65
46 0048 8093 0000 sts J17Bitmask.1449,r24
47 .L6:
48 004c 8091 0000 lds r24,ParamSet+86
49 0050 282F mov r18,r24
50 0052 30E0 ldi r19,lo8(0)
51 0054 A901 movw r20,r18
52 0056 4071 andi r20,lo8(16)
53 0058 5070 andi r21,hi8(16)
54 005a 84FF sbrs r24,4
55 005c 00C0 rjmp .L7
56 005e 8091 0000 lds r24,MKFlags
57 0062 80FF sbrs r24,0
58 0064 00C0 rjmp .L34
59 .L7:
60 0066 8091 0000 lds r24,ParamSet+64
61 006a 8B3F cpi r24,lo8(-5)
62 006c 00F4 brsh .+2
63 006e 00C0 rjmp .L10
64 0070 8091 0000 lds r24,FCParam+29
65 0074 8D3D cpi r24,lo8(-35)
66 0076 00F0 brlo .+2
67 0078 00C0 rjmp .L35
68 007a 8A30 cpi r24,lo8(10)
69 007c 00F0 brlo .+2
70 007e 00C0 rjmp .L10
71 0080 8091 0000 lds r24,J16Bitmask.1448
72 0084 87FD sbrc r24,7
73 0086 00C0 rjmp .L17
74 .L28:
75 0088 429A sbi 40-32,2
76 .L13:
77 008a 452B or r20,r21
78 008c 01F0 breq .+2
79 008e 00C0 rjmp .L9
80 .L18:
81 0090 8091 0000 lds r24,ParamSet+66
82 0094 8B3F cpi r24,lo8(-5)
83 0096 00F0 brlo .L20
84 0098 8091 0000 lds r24,FCParam+30
85 009c 8D3D cpi r24,lo8(-35)
86 009e 00F0 brlo .+2
87 00a0 00C0 rjmp .L36
88 00a2 8A30 cpi r24,lo8(10)
89 00a4 00F4 brsh .L20
90 00a6 8091 0000 lds r24,J17Bitmask.1449
91 00aa 87FD sbrc r24,7
92 00ac 00C0 rjmp .L30
93 .L29:
94 00ae 439A sbi 40-32,3
95 00b0 0895 ret
96 .L20:
97 00b2 8091 0000 lds r24,J17Blinkcount
98 00b6 8150 subi r24,lo8(-(-1))
99 00b8 8093 0000 sts J17Blinkcount,r24
100 00bc 8F5F subi r24,lo8(-(1))
101 00be 01F4 brne .L27
102 00c0 8091 0000 lds r24,FCParam+30
103 00c4 8150 subi r24,lo8(-(-1))
104 00c6 8093 0000 sts J17Blinkcount,r24
105 00ca 8091 0000 lds r24,J17Mask
106 00ce 8130 cpi r24,lo8(1)
107 00d0 01F4 brne .+2
108 00d2 00C0 rjmp .L37
109 00d4 8695 lsr r24
110 00d6 8093 0000 sts J17Mask,r24
111 .L25:
112 00da 8091 0000 lds r24,J17Bitmask.1449
113 00de 9091 0000 lds r25,J17Mask
114 00e2 8923 and r24,r25
115 00e4 01F4 brne .L29
116 00e6 4398 cbi 40-32,3
117 .L27:
118 00e8 0895 ret
119 .L33:
120 00ea 8091 0000 lds r24,ParamSet+67
121 00ee 8093 0000 sts J16Bitmask.1448,r24
122 00f2 8091 0000 lds r24,ParamSet+68
123 00f6 8093 0000 sts J17Bitmask.1449,r24
124 00fa 00C0 rjmp .L6
125 .L10:
126 00fc 8091 0000 lds r24,J16Blinkcount
127 0100 8150 subi r24,lo8(-(-1))
128 0102 8093 0000 sts J16Blinkcount,r24
129 0106 8F5F subi r24,lo8(-(1))
130 0108 01F0 breq .+2
131 010a 00C0 rjmp .L13
132 010c 8091 0000 lds r24,FCParam+29
133 0110 8150 subi r24,lo8(-(-1))
134 0112 8093 0000 sts J16Blinkcount,r24
135 0116 8091 0000 lds r24,J16Mask
136 011a 8130 cpi r24,lo8(1)
137 011c 01F0 breq .L38
138 011e 8695 lsr r24
139 0120 8093 0000 sts J16Mask,r24
140 .L16:
141 0124 8091 0000 lds r24,J16Bitmask.1448
142 0128 9091 0000 lds r25,J16Mask
143 012c 8923 and r24,r25
144 012e 01F0 breq .+2
145 0130 00C0 rjmp .L28
146 .L17:
147 0132 4298 cbi 40-32,2
148 .L39:
149 0134 452B or r20,r21
150 0136 01F4 brne .+2
151 0138 00C0 rjmp .L18
152 .L9:
153 013a 8091 0000 lds r24,MKFlags
154 013e 80FD sbrc r24,0
155 0140 00C0 rjmp .L18
156 0142 26FD sbrc r18,6
157 0144 00C0 rjmp .L29
158 .L30:
159 0146 4398 cbi 40-32,3
160 0148 0895 ret
161 .L34:
162 014a 25FF sbrs r18,5
163 014c 00C0 rjmp .L8
164 014e 429A sbi 40-32,2
165 0150 00C0 rjmp .L9
166 .L35:
167 0152 8091 0000 lds r24,J16Bitmask.1448
168 0156 87FD sbrc r24,7
169 0158 00C0 rjmp .L28
170 015a 4298 cbi 40-32,2
171 015c 00C0 rjmp .L39
172 .L36:
173 015e 8091 0000 lds r24,J17Bitmask.1449
174 0162 87FF sbrs r24,7
175 0164 00C0 rjmp .L30
176 0166 00C0 rjmp .L29
177 .L8:
178 0168 4298 cbi 40-32,2
179 016a 00C0 rjmp .L9
180 .L37:
181 016c 80E8 ldi r24,lo8(-128)
182 016e 8093 0000 sts J17Mask,r24
183 0172 00C0 rjmp .L25
184 .L38:
185 0174 80E8 ldi r24,lo8(-128)
186 0176 8093 0000 sts J16Mask,r24
187 017a 00C0 rjmp .L16
189 .global J16Blinkcount
190 .global J16Blinkcount
191 .section .bss
194 J16Blinkcount:
195 0000 00 .skip 1,0
196 .global J16Mask
197 .data
200 J16Mask:
201 0000 01 .byte 1
202 .global J17Blinkcount
203 .global J17Blinkcount
204 .section .bss
207 J17Blinkcount:
208 0001 00 .skip 1,0
209 .global J17Mask
210 .data
213 J17Mask:
214 0001 01 .byte 1
215 .lcomm J17Bitmask.1449,1
216 .lcomm J16Bitmask.1448,1
217 .lcomm delay.1447,1
218 .global __do_copy_data
219 .global __do_clear_bss
DEFINED SYMBOLS
*ABS*:00000000 led.c
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/cckFBQ31.s:2 *ABS*:0000003f __SREG__
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/cckFBQ31.s:3 *ABS*:0000003e __SP_H__
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/cckFBQ31.s:4 *ABS*:0000003d __SP_L__
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/cckFBQ31.s:5 *ABS*:00000034 __CCP__
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/cckFBQ31.s:6 *ABS*:00000000 __tmp_reg__
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/cckFBQ31.s:7 *ABS*:00000001 __zero_reg__
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/cckFBQ31.s:11 .text:00000000 LED_Init
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/cckFBQ31.s:194 .bss:00000000 J16Blinkcount
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/cckFBQ31.s:200 .data:00000000 J16Mask
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/cckFBQ31.s:207 .bss:00000001 J17Blinkcount
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/cckFBQ31.s:213 .data:00000001 J17Mask
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/cckFBQ31.s:29 .text:0000001e LED_Update
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/cckFBQ31.s:216 .bss:00000004 delay.1447
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/cckFBQ31.s:215 .bss:00000003 J16Bitmask.1448
.bss:00000002 J17Bitmask.1449
UNDEFINED SYMBOLS
MKFlags
ParamSet
FCParam
__do_copy_data
__do_clear_bss