Subversion Repositories BL-Ctrl

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
116 - 1
   1               		.file	"timer0.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	__vector_9
10
  18               	__vector_9:
11
  19               	.LFB3:
12
  20               	.LM1:
13
  21 0000 1F92      		push __zero_reg__
14
  22 0002 0F92      		push r0
15
  23 0004 0FB6      		in r0,__SREG__
16
  24 0006 0F92      		push r0
17
  25 0008 1124      		clr __zero_reg__
18
  26 000a 8F93      		push r24
19
  27 000c 9F93      		push r25
20
  28               	/* prologue: Signal */
21
  29               	/* frame size = 0 */
22
  30               	.LM2:
23
  31 000e 8091 0000 		lds r24,Timer0Overflow
24
  32 0012 8F5F      		subi r24,lo8(-(1))
25
  33 0014 8093 0000 		sts Timer0Overflow,r24
26
  34               	.LM3:
27
  35 0018 8091 0000 		lds r24,cnt.1843
28
  36 001c 8150      		subi r24,lo8(-(-1))
29
  37 001e 8093 0000 		sts cnt.1843,r24
30
  38 0022 8F5F      		subi r24,lo8(-(1))
31
  39 0024 01F4      		brne .L6
32
  40               	.LM4:
33
  41 0026 83E0      		ldi r24,lo8(3)
34
  42 0028 8093 0000 		sts cnt.1843,r24
35
  43               	.LM5:
36
  44 002c 8091 0000 		lds r24,CountMilliseconds
37
  45 0030 9091 0000 		lds r25,(CountMilliseconds)+1
38
  46 0034 0196      		adiw r24,1
39
  47 0036 9093 0000 		sts (CountMilliseconds)+1,r25
40
  48 003a 8093 0000 		sts CountMilliseconds,r24
41
  49               	.LM6:
42
  50 003e 8091 0000 		lds r24,I2C_Timeout
43
  51 0042 9091 0000 		lds r25,(I2C_Timeout)+1
44
  52 0046 0097      		sbiw r24,0
45
  53 0048 01F0      		breq .L3
46
  54 004a 0197      		sbiw r24,1
47
  55 004c 9093 0000 		sts (I2C_Timeout)+1,r25
48
  56 0050 8093 0000 		sts I2C_Timeout,r24
49
  57               	.L3:
50
  58               	.LM7:
51
  59 0054 8091 0000 		lds r24,PPM_Timeout
52
  60 0058 8823      		tst r24
53
  61 005a 01F0      		breq .L4
54
  62 005c 8091 0000 		lds r24,PPM_Timeout
55
  63 0060 8150      		subi r24,lo8(-(-1))
56
  64 0062 8093 0000 		sts PPM_Timeout,r24
57
  65 0066 00C0      		rjmp .L5
58
  66               	.L4:
59
  67 0068 1092 0000 		sts anz_ppm_werte,__zero_reg__
60
  68               	.L5:
61
  69               	.LM8:
62
  70 006c 8091 0000 		lds r24,SIO_Timeout
63
  71 0070 9091 0000 		lds r25,(SIO_Timeout)+1
64
  72 0074 0097      		sbiw r24,0
65
  73 0076 01F0      		breq .L6
66
  74 0078 0197      		sbiw r24,1
67
  75 007a 9093 0000 		sts (SIO_Timeout)+1,r25
68
  76 007e 8093 0000 		sts SIO_Timeout,r24
69
  77               	.L6:
70
  78               	/* epilogue start */
71
  79               	.LM9:
72
  80 0082 9F91      		pop r25
73
  81 0084 8F91      		pop r24
74
  82 0086 0F90      		pop r0
75
  83 0088 0FBE      		out __SREG__,r0
76
  84 008a 0F90      		pop r0
77
  85 008c 1F90      		pop __zero_reg__
78
  86 008e 1895      		reti
79
  87               	.LFE3:
80
  89               	.global	Timer0_Init
81
  91               	Timer0_Init:
82
  92               	.LFB4:
83
  93               	.LM10:
84
  94               	/* prologue: function */
85
  95               	/* frame size = 0 */
86
  96               	.LM11:
87
  97 0090 82E0      		ldi r24,lo8(2)
88
  98 0092 83BF      		out 83-32,r24
89
  99               	.LM12:
90
 100 0094 89B7      		in r24,89-32
91
 101 0096 8160      		ori r24,lo8(1)
92
 102 0098 89BF      		out 89-32,r24
93
 103               	.LM13:
94
 104 009a 89B7      		in r24,89-32
95
 105 009c 8064      		ori r24,lo8(64)
96
 106 009e 89BF      		out 89-32,r24
97
 107               	/* epilogue start */
98
 108               	.LM14:
99
 109 00a0 0895      		ret
100
 110               	.LFE4:
101
 112               	.global	SetDelay
102
 114               	SetDelay:
103
 115               	.LFB5:
104
 116               	.LM15:
105
 117               	.LVL0:
106
 118               	/* prologue: function */
107
 119               	/* frame size = 0 */
108
 120               	.LM16:
109
 121 00a2 2091 0000 		lds r18,CountMilliseconds
110
 122 00a6 3091 0000 		lds r19,(CountMilliseconds)+1
111
 123 00aa 2150      		subi r18,lo8(-(-1))
112
 124 00ac 3040      		sbci r19,hi8(-(-1))
113
 125 00ae 280F      		add r18,r24
114
 126 00b0 391F      		adc r19,r25
115
 127               	.LM17:
116
 128 00b2 C901      		movw r24,r18
117
 129               	.LVL1:
118
 130               	/* epilogue start */
119
 131 00b4 0895      		ret
120
 132               	.LFE5:
121
 134               	.global	CheckDelay
122
 136               	CheckDelay:
123
 137               	.LFB6:
124
 138               	.LM18:
125
 139               	.LVL2:
126
 140               	/* prologue: function */
127
 141               	/* frame size = 0 */
128
 142               	.LM19:
129
 143 00b6 2091 0000 		lds r18,CountMilliseconds
130
 144 00ba 3091 0000 		lds r19,(CountMilliseconds)+1
131
 145 00be 821B      		sub r24,r18
132
 146 00c0 930B      		sbc r25,r19
133
 147               	.LVL3:
134
 148 00c2 8070      		andi r24,lo8(-32768)
135
 149 00c4 9078      		andi r25,hi8(-32768)
136
 150               	.LM20:
137
 151 00c6 892F      		mov r24,r25
138
 152               	/* epilogue start */
139
 153 00c8 0895      		ret
140
 154               	.LFE6:
141
 156               	.global	Delay_ms
142
 158               	Delay_ms:
143
 159               	.LFB7:
144
 160               	.LM21:
145
 161               	.LVL4:
146
 162               	/* prologue: function */
147
 163               	/* frame size = 0 */
148
 164               	.LBB6:
149
 165               	.LBB7:
150
 166               	.LM22:
151
 167 00ca 2091 0000 		lds r18,CountMilliseconds
152
 168 00ce 3091 0000 		lds r19,(CountMilliseconds)+1
153
 169               	.LVL5:
154
 170 00d2 2150      		subi r18,lo8(-(-1))
155
 171 00d4 3040      		sbci r19,hi8(-(-1))
156
 172 00d6 280F      		add r18,r24
157
 173 00d8 391F      		adc r19,r25
158
 174               	.L14:
159
 175               	.LBE7:
160
 176               	.LBE6:
161
 177               	.LBB8:
162
 178               	.LBB9:
163
 179               	.LM23:
164
 180 00da 8091 0000 		lds r24,CountMilliseconds
165
 181 00de 9091 0000 		lds r25,(CountMilliseconds)+1
166
 182               	.LVL6:
167
 183               	.LBE9:
168
 184               	.LBE8:
169
 185               	.LM24:
170
 186 00e2 A901      		movw r20,r18
171
 187 00e4 481B      		sub r20,r24
172
 188 00e6 590B      		sbc r21,r25
173
 189 00e8 CA01      		movw r24,r20
174
 190 00ea 8070      		andi r24,lo8(-32768)
175
 191 00ec 9078      		andi r25,hi8(-32768)
176
 192 00ee 9923      		tst r25
177
 193 00f0 01F0      		breq .L14
178
 194               	/* epilogue start */
179
 195               	.LM25:
180
 196 00f2 0895      		ret
181
 197               	.LFE7:
182
 199               	.global	CountMilliseconds
183
 200               	.global	CountMilliseconds
184
 201               		.section .bss
185
 204               	CountMilliseconds:
186
 205 0000 0000      		.skip 2,0
187
 206               		.lcomm cnt.1843,1
188
 207               		.comm Timer0Overflow,1,1
189
 264               	.Letext0:
190
DEFINED SYMBOLS
191
                            *ABS*:00000000 timer0.c
192
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccL2tNpQ.s:2      *ABS*:0000003f __SREG__
193
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccL2tNpQ.s:3      *ABS*:0000003e __SP_H__
194
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccL2tNpQ.s:4      *ABS*:0000003d __SP_L__
195
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccL2tNpQ.s:5      *ABS*:00000034 __CCP__
196
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccL2tNpQ.s:6      *ABS*:00000000 __tmp_reg__
197
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccL2tNpQ.s:7      *ABS*:00000001 __zero_reg__
198
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccL2tNpQ.s:18     .text:00000000 __vector_9
199
                            *COM*:00000001 Timer0Overflow
200
                             .bss:00000002 cnt.1843
201
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccL2tNpQ.s:204    .bss:00000000 CountMilliseconds
202
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccL2tNpQ.s:91     .text:00000090 Timer0_Init
203
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccL2tNpQ.s:114    .text:000000a2 SetDelay
204
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccL2tNpQ.s:136    .text:000000b6 CheckDelay
205
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccL2tNpQ.s:158    .text:000000ca Delay_ms
206
 
207
UNDEFINED SYMBOLS
208
I2C_Timeout
209
PPM_Timeout
210
anz_ppm_werte
211
SIO_Timeout
212
__do_clear_bss