Subversion Repositories Projects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
107 mikeljo 1
   1               		.file	"displ_val.c"
2
   2               		.arch atmega32
3
   3               	__SREG__ = 0x3f
4
   4               	__SP_H__ = 0x3e
5
   5               	__SP_L__ = 0x3d
6
   6               	__tmp_reg__ = 0
7
   7               	__zero_reg__ = 1
8
   8               		.global __do_copy_data
9
   9               		.global __do_clear_bss
10
  17               	.Ltext0:
11
  18               	.global	displ_get_text
12
  20               	displ_get_text:
13
  21               	.LFB4:
14
  22               	.LM1:
15
  23               	/* prologue: frame size=17 */
16
  24 0000 1F93      		push r17
17
  25 0002 CF93      		push r28
18
  26 0004 DF93      		push r29
19
  27 0006 CDB7      		in r28,__SP_L__
20
  28 0008 DEB7      		in r29,__SP_H__
21
  29 000a 6197      		sbiw r28,17
22
  30 000c 0FB6      		in __tmp_reg__,__SREG__
23
  31 000e F894      		cli
24
  32 0010 DEBF      		out __SP_H__,r29
25
  33 0012 0FBE      		out __SREG__,__tmp_reg__
26
  34 0014 CDBF      		out __SP_L__,r28
27
  35               	/* prologue end (size=11) */
28
  36 0016 182F      		mov r17,r24
29
  37               	.LM2:
30
  38 0018 83E2      		ldi r24,lo8(35)
31
  39 001a 8093 0000 		sts p_buffer,r24
32
  40               	.LM3:
33
  41 001e 81E6      		ldi r24,lo8(97)
34
  42 0020 8093 0000 		sts p_buffer+1,r24
35
  43               	.LM4:
36
  44 0024 8093 0000 		sts p_buffer+2,r24
37
  45               	.LM5:
38
  46 0028 1093 0000 		sts p_buffer+3,r17
39
  47               	.LM6:
40
  48 002c 1092 0000 		sts p_buffer+4,__zero_reg__
41
  49               	.LM7:
42
  50 0030 1092 0000 		sts p_buffer+5,__zero_reg__
43
  51               	.LM8:
44
  52 0034 86E0      		ldi r24,lo8(6)
45
  53 0036 0E94 0000 		call base64_send
46
  54               	.L2:
47
  55               	.LM9:
48
  56 003a 0E94 0000 		call get_message
49
  57               	.LM10:
50
  58 003e 8091 0000 		lds r24,r_buffer+1
51
  59 0042 8134      		cpi r24,lo8(65)
52
  60 0044 D1F7      		brne .L2
53
  61 0046 DE01      		movw r26,r28
54
  62 0048 1196      		adiw r26,1
55
  63 004a E0E0      		ldi r30,lo8(p_buffer)
56
  64 004c F0E0      		ldi r31,hi8(p_buffer)
57
  65 004e 9FE0      		ldi r25,lo8(15)
58
  66               	.L8:
59
  67               	.LM11:
60
  68 0050 8191      		ld r24,Z+
61
  69 0052 8D93      		st X+,r24
62
  70               	.LM12:
63
  71 0054 9150      		subi r25,lo8(-(-1))
64
  72 0056 97FF      		sbrs r25,7
65
  73 0058 FBCF      		rjmp .L8
66
  74               	.LM13:
67
  75 005a 198A      		std Y+17,__zero_reg__
68
  76               	.LM14:
69
  77 005c 1770      		andi r17,lo8(7)
70
  78 005e 2989      		ldd r18,Y+17
71
  79 0060 AE01      		movw r20,r28
72
  80 0062 4F5F      		subi r20,lo8(-(1))
73
  81 0064 5F4F      		sbci r21,hi8(-(1))
74
  82 0066 612F      		mov r22,r17
75
  83 0068 822F      		mov r24,r18
76
  84 006a 0E94 0000 		call lcd_print_at
77
  85               	/* epilogue: frame size=17 */
78
  86 006e 6196      		adiw r28,17
79
  87 0070 0FB6      		in __tmp_reg__,__SREG__
80
  88 0072 F894      		cli
81
  89 0074 DEBF      		out __SP_H__,r29
82
  90 0076 0FBE      		out __SREG__,__tmp_reg__
83
  91 0078 CDBF      		out __SP_L__,r28
84
  92 007a DF91      		pop r29
85
  93 007c CF91      		pop r28
86
  94 007e 1F91      		pop r17
87
  95 0080 0895      		ret
88
  96               	/* epilogue end (size=10) */
89
  97               	/* function displ_get_text size 65 (44) */
90
  98               	.LFE4:
91
 100               		.section	.progmem.data,"a",@progbits
92
 103               	__c.0:
93
 104 0000 2020 2020 		.string	"      "
94
 104      2020 00
95
 105               		.text
96
 106               	.global	displ_values
97
 108               	displ_values:
98
 109               	.LFB5:
99
 110               	.LM15:
100
 111               	/* prologue: frame size=17 */
101
 112 0082 CF92      		push r12
102
 113 0084 DF92      		push r13
103
 114 0086 EF92      		push r14
104
 115 0088 FF92      		push r15
105
 116 008a 0F93      		push r16
106
 117 008c 1F93      		push r17
107
 118 008e CF93      		push r28
108
 119 0090 DF93      		push r29
109
 120 0092 CDB7      		in r28,__SP_L__
110
 121 0094 DEB7      		in r29,__SP_H__
111
 122 0096 6197      		sbiw r28,17
112
 123 0098 0FB6      		in __tmp_reg__,__SREG__
113
 124 009a F894      		cli
114
 125 009c DEBF      		out __SP_H__,r29
115
 126 009e 0FBE      		out __SREG__,__tmp_reg__
116
 127 00a0 CDBF      		out __SP_L__,r28
117
 128               	/* prologue end (size=16) */
118
 129               	.LM16:
119
 130 00a2 00E0      		ldi r16,lo8(0)
120
 131               	.LM17:
121
 132 00a4 0E94 0000 		call lcd_cls
122
 133               	.L12:
123
 134               	.LM18:
124
 135 00a8 10E0      		ldi r17,lo8(0)
125
 136               	.L18:
126
 137               	.LM19:
127
 138 00aa C02E      		mov r12,r16
128
 139 00ac DD24      		clr r13
129
 140 00ae C601      		movw r24,r12
130
 141 00b0 53E0      		ldi r21,3
131
 142 00b2 880F      	1:	lsl r24
132
 143 00b4 991F      		rol r25
133
 144 00b6 5A95      		dec r21
134
 145 00b8 E1F7      		brne 1b
135
 146 00ba 810F      		add r24,r17
136
 147 00bc 0E94 0000 		call displ_get_text
137
 148               	.LM20:
138
 149 00c0 1F5F      		subi r17,lo8(-(1))
139
 150 00c2 1830      		cpi r17,lo8(8)
140
 151 00c4 90F3      		brlo .L18
141
 152               	.L19:
142
 153               	.LM21:
143
 154 00c6 0E94 0000 		call get_message
144
 155               	.LM22:
145
 156 00ca 8091 0000 		lds r24,r_buffer+1
146
 157 00ce 8434      		cpi r24,lo8(68)
147
 158 00d0 91F5      		brne .L21
148
 159               	.LM23:
149
 160 00d2 10E0      		ldi r17,lo8(0)
150
 161 00d4 EE24      		clr r14
151
 162 00d6 FF24      		clr r15
152
 163               	.L26:
153
 164               	.LM24:
154
 165 00d8 F601      		movw r30,r12
155
 166 00da 43E0      		ldi r20,3
156
 167 00dc EE0F      	1:	lsl r30
157
 168 00de FF1F      		rol r31
158
 169 00e0 4A95      		dec r20
159
 170 00e2 E1F7      		brne 1b
160
 171 00e4 EE0D      		add r30,r14
161
 172 00e6 FF1D      		adc r31,r15
162
 173 00e8 EE0F      		add r30,r30
163
 174 00ea FF1F      		adc r31,r31
164
 175 00ec E050      		subi r30,lo8(-(p_buffer))
165
 176 00ee F040      		sbci r31,hi8(-(p_buffer))
166
 177 00f0 2281      		ldd r18,Z+2
167
 178 00f2 8381      		ldd r24,Z+3
168
 179 00f4 9927      		clr r25
169
 180 00f6 982F      		mov r25,r24
170
 181 00f8 8827      		clr r24
171
 182               	.LM25:
172
 183 00fa 4AE0      		ldi r20,lo8(10)
173
 184 00fc 50E0      		ldi r21,hi8(10)
174
 185 00fe BE01      		movw r22,r28
175
 186 0100 6F5F      		subi r22,lo8(-(1))
176
 187 0102 7F4F      		sbci r23,hi8(-(1))
177
 188 0104 820F      		add r24,r18
178
 189 0106 911D      		adc r25,__zero_reg__
179
 190 0108 0E94 0000 		call itoa
180
 191               	.LM26:
181
 192 010c 20E0      		ldi r18,lo8(0)
182
 193 010e 40E0      		ldi r20,lo8(__c.0)
183
 194 0110 50E0      		ldi r21,hi8(__c.0)
184
 195 0112 612F      		mov r22,r17
185
 196 0114 8EE0      		ldi r24,lo8(14)
186
 197 0116 0E94 0000 		call lcd_print_atp
187
 198               	.LM27:
188
 199 011a 20E0      		ldi r18,lo8(0)
189
 200 011c AE01      		movw r20,r28
190
 201 011e 4F5F      		subi r20,lo8(-(1))
191
 202 0120 5F4F      		sbci r21,hi8(-(1))
192
 203 0122 612F      		mov r22,r17
193
 204 0124 8EE0      		ldi r24,lo8(14)
194
 205 0126 0E94 0000 		call lcd_print_at
195
 206               	.LM28:
196
 207 012a 1F5F      		subi r17,lo8(-(1))
197
 208 012c 0894      		sec
198
 209 012e E11C      		adc r14,__zero_reg__
199
 210 0130 F11C      		adc r15,__zero_reg__
200
 211 0132 1830      		cpi r17,lo8(8)
201
 212 0134 88F2      		brlo .L26
202
 213               	.L21:
203
 214               	.LM29:
204
 215 0136 8091 0000 		lds r24,key
205
 216 013a 8823      		tst r24
206
 217 013c 21F2      		breq .L19
207
 218               	.LM30:
208
 219 013e 8091 0000 		lds r24,key
209
 220 0142 8130      		cpi r24,lo8(1)
210
 221 0144 09F4      		brne .L27
211
 222               	.LM31:
212
 223 0146 0F5F      		subi r16,lo8(-(1))
213
 224               	.L27:
214
 225               	.LM32:
215
 226 0148 8091 0000 		lds r24,key
216
 227 014c 8230      		cpi r24,lo8(2)
217
 228 014e 09F4      		brne .L28
218
 229               	.LM33:
219
 230 0150 0150      		subi r16,lo8(-(-1))
220
 231               	.L28:
221
 232               	.LM34:
222
 233 0152 0370      		andi r16,lo8(3)
223
 234               	.LM35:
224
 235 0154 8091 0000 		lds r24,key
225
 236 0158 8830      		cpi r24,lo8(8)
226
 237 015a 09F0      		breq .+2
227
 238 015c A5CF      		rjmp .L12
228
 239               	/* epilogue: frame size=17 */
229
 240 015e 6196      		adiw r28,17
230
 241 0160 0FB6      		in __tmp_reg__,__SREG__
231
 242 0162 F894      		cli
232
 243 0164 DEBF      		out __SP_H__,r29
233
 244 0166 0FBE      		out __SREG__,__tmp_reg__
234
 245 0168 CDBF      		out __SP_L__,r28
235
 246 016a DF91      		pop r29
236
 247 016c CF91      		pop r28
237
 248 016e 1F91      		pop r17
238
 249 0170 0F91      		pop r16
239
 250 0172 FF90      		pop r15
240
 251 0174 EF90      		pop r14
241
 252 0176 DF90      		pop r13
242
 253 0178 CF90      		pop r12
243
 254 017a 0895      		ret
244
 255               	/* epilogue end (size=15) */
245
 256               	/* function displ_values size 125 (94) */
246
 257               	.LFE5:
247
 259               		.comm r_buffer,128,1
248
 260               		.comm p_buffer,128,1
249
 261               		.comm display_buffer,1024,1
250
 262               		.comm display_buffer_pointer,2,1
251
 263               		.comm display_buffer_counter,1,1
252
 264               		.comm display_page_counter,1,1
253
 265               		.comm display_mode,1,1
254
 266               		.comm displ_page,1,1
255
 267               	.Letext0:
256
DEFINED SYMBOLS
257
                            *ABS*:00000000 displ_val.c
258
C:\DOKUME~1\thomas\LOKALE~1\Temp/ccG6aaaa.s:3      *ABS*:0000003f __SREG__
259
C:\DOKUME~1\thomas\LOKALE~1\Temp/ccG6aaaa.s:4      *ABS*:0000003e __SP_H__
260
C:\DOKUME~1\thomas\LOKALE~1\Temp/ccG6aaaa.s:5      *ABS*:0000003d __SP_L__
261
C:\DOKUME~1\thomas\LOKALE~1\Temp/ccG6aaaa.s:6      *ABS*:00000000 __tmp_reg__
262
C:\DOKUME~1\thomas\LOKALE~1\Temp/ccG6aaaa.s:7      *ABS*:00000001 __zero_reg__
263
C:\DOKUME~1\thomas\LOKALE~1\Temp/ccG6aaaa.s:20     .text:00000000 displ_get_text
264
                            *COM*:00000080 p_buffer
265
                            *COM*:00000080 r_buffer
266
C:\DOKUME~1\thomas\LOKALE~1\Temp/ccG6aaaa.s:103    .progmem.data:00000000 __c.0
267
C:\DOKUME~1\thomas\LOKALE~1\Temp/ccG6aaaa.s:108    .text:00000082 displ_values
268
                            *COM*:00000400 display_buffer
269
                            *COM*:00000002 display_buffer_pointer
270
                            *COM*:00000001 display_buffer_counter
271
                            *COM*:00000001 display_page_counter
272
                            *COM*:00000001 display_mode
273
                            *COM*:00000001 displ_page
274
 
275
UNDEFINED SYMBOLS
276
__do_copy_data
277
__do_clear_bss
278
base64_send
279
get_message
280
lcd_print_at
281
lcd_cls
282
itoa
283
lcd_print_atp
284
key