Revision 1605
main.lss | ||
---|---|---|
3 | 3 |
|
4 | 4 |
Sections: |
5 | 5 |
Idx Name Size VMA LMA File off Algn |
6 |
0 .data 0000046c 00800100 0000659e 00006612 2**0
|
|
6 |
0 .data 0000045c 00800100 000060cc 00006140 2**0
|
|
7 | 7 |
CONTENTS, ALLOC, LOAD, DATA |
8 |
1 .text 0000659e 00000000 00000000 00000074 2**1
|
|
8 |
1 .text 000060cc 00000000 00000000 00000074 2**1
|
|
9 | 9 |
CONTENTS, ALLOC, LOAD, READONLY, CODE |
10 |
2 .bss 00000518 0080056c 00006a0a 00006a7e 2**0
|
|
10 |
2 .bss 0000050e 0080055c 00006528 0000659c 2**0
|
|
11 | 11 |
ALLOC |
12 |
3 .stab 00008eb0 00000000 00000000 00006a80 2**2
|
|
12 |
3 .stab 000074c4 00000000 00000000 0000659c 2**2
|
|
13 | 13 |
CONTENTS, READONLY, DEBUGGING |
14 |
4 .stabstr 0000335e 00000000 00000000 0000f930 2**0
|
|
14 |
4 .stabstr 0000244c 00000000 00000000 0000da60 2**0
|
|
15 | 15 |
CONTENTS, READONLY, DEBUGGING |
16 | 16 |
Disassembly of section .text: |
17 | 17 |
|
... | ... | |
31 | 31 |
30: 0c 94 65 00 jmp 0xca ; 0xca <__bad_interrupt> |
32 | 32 |
34: 0c 94 65 00 jmp 0xca ; 0xca <__bad_interrupt> |
33 | 33 |
38: 0c 94 65 00 jmp 0xca ; 0xca <__bad_interrupt> |
34 |
3c: 0c 94 3b 16 jmp 0x2c76 ; 0x2c76 <__vector_15>
|
|
35 |
40: 0c 94 ce 15 jmp 0x2b9c ; 0x2b9c <__vector_16>
|
|
36 |
44: 0c 94 9f 1b jmp 0x373e ; 0x373e <__vector_17>
|
|
34 |
3c: 0c 94 64 16 jmp 0x2cc8 ; 0x2cc8 <__vector_15>
|
|
35 |
40: 0c 94 f7 15 jmp 0x2bee ; 0x2bee <__vector_16>
|
|
36 |
44: 0c 94 c8 1b jmp 0x3790 ; 0x3790 <__vector_17>
|
|
37 | 37 |
48: 0c 94 65 00 jmp 0xca ; 0xca <__bad_interrupt> |
38 | 38 |
4c: 0c 94 65 00 jmp 0xca ; 0xca <__bad_interrupt> |
39 | 39 |
50: 0c 94 65 00 jmp 0xca ; 0xca <__bad_interrupt> |
40 |
54: 0c 94 4a 1d jmp 0x3a94 ; 0x3a94 <__vector_21>
|
|
40 |
54: 0c 94 73 1d jmp 0x3ae6 ; 0x3ae6 <__vector_21>
|
|
41 | 41 |
58: 0c 94 65 00 jmp 0xca ; 0xca <__bad_interrupt> |
42 | 42 |
5c: 0c 94 65 00 jmp 0xca ; 0xca <__bad_interrupt> |
43 | 43 |
60: 0c 94 65 00 jmp 0xca ; 0xca <__bad_interrupt> |
44 | 44 |
64: 0c 94 65 00 jmp 0xca ; 0xca <__bad_interrupt> |
45 |
68: 0c 94 19 1c jmp 0x3832 ; 0x3832 <__vector_26>
|
|
45 |
68: 0c 94 42 1c jmp 0x3884 ; 0x3884 <__vector_26>
|
|
46 | 46 |
6c: 0c 94 65 00 jmp 0xca ; 0xca <__bad_interrupt> |
47 | 47 |
70: 0c 94 65 00 jmp 0xca ; 0xca <__bad_interrupt> |
48 | 48 |
74: 0c 94 65 00 jmp 0xca ; 0xca <__bad_interrupt> |
49 |
78: 0c 94 59 06 jmp 0xcb2 ; 0xcb2 <__vector_30>
|
|
49 |
78: 0c 94 82 06 jmp 0xd04 ; 0xd04 <__vector_30>
|
|
50 | 50 |
7c: 0c 94 65 00 jmp 0xca ; 0xca <__bad_interrupt> |
51 | 51 |
80: 0c 94 65 00 jmp 0xca ; 0xca <__bad_interrupt> |
52 | 52 |
84: 0c 94 65 00 jmp 0xca ; 0xca <__bad_interrupt> |
... | ... | |
64 | 64 |
98: 15 e0 ldi r17, 0x05 ; 5 |
65 | 65 |
9a: a0 e0 ldi r26, 0x00 ; 0 |
66 | 66 |
9c: b1 e0 ldi r27, 0x01 ; 1 |
67 |
9e: ee e9 ldi r30, 0x9E ; 158
|
|
68 |
a0: f5 e6 ldi r31, 0x65 ; 101
|
|
67 |
9e: ec ec ldi r30, 0xCC ; 204
|
|
68 |
a0: f0 e6 ldi r31, 0x60 ; 96
|
|
69 | 69 |
a2: 00 e0 ldi r16, 0x00 ; 0 |
70 | 70 |
a4: 0b bf out 0x3b, r16 ; 59 |
71 | 71 |
a6: 02 c0 rjmp .+4 ; 0xac <__do_copy_data+0x14> |
72 | 72 |
a8: 07 90 elpm r0, Z+ |
73 | 73 |
aa: 0d 92 st X+, r0 |
74 |
ac: ac 36 cpi r26, 0x6C ; 108
|
|
74 |
ac: ac 35 cpi r26, 0x5C ; 92
|
|
75 | 75 |
ae: b1 07 cpc r27, r17 |
76 | 76 |
b0: d9 f7 brne .-10 ; 0xa8 <__do_copy_data+0x10> |
77 | 77 |
|
78 | 78 |
000000b2 <__do_clear_bss>: |
79 | 79 |
b2: 1a e0 ldi r17, 0x0A ; 10 |
80 |
b4: ac e6 ldi r26, 0x6C ; 108
|
|
80 |
b4: ac e5 ldi r26, 0x5C ; 92
|
|
81 | 81 |
b6: b5 e0 ldi r27, 0x05 ; 5 |
82 | 82 |
b8: 01 c0 rjmp .+2 ; 0xbc <.do_clear_bss_start> |
83 | 83 |
|
... | ... | |
85 | 85 |
ba: 1d 92 st X+, r1 |
86 | 86 |
|
87 | 87 |
000000bc <.do_clear_bss_start>: |
88 |
bc: a4 38 cpi r26, 0x84 ; 132
|
|
88 |
bc: aa 36 cpi r26, 0x6A ; 106
|
|
89 | 89 |
be: b1 07 cpc r27, r17 |
90 | 90 |
c0: e1 f7 brne .-8 ; 0xba <.do_clear_bss_loop> |
91 | 91 |
c2: 0e 94 67 00 call 0xce ; 0xce <main> |
92 |
c6: 0c 94 cd 32 jmp 0x659a ; 0x659a <_exit>
|
|
92 |
c6: 0c 94 64 30 jmp 0x60c8 ; 0x60c8 <_exit>
|
|
93 | 93 |
|
94 | 94 |
000000ca <__bad_interrupt>: |
95 | 95 |
ca: 0c 94 00 00 jmp 0 ; 0x0 <__heap_end> |
96 | 96 |
|
97 | 97 |
000000ce <main>: |
98 |
//static PacketGroupHandler swarm_pgh;
|
|
99 |
//static void swarm_handle_receive(char type, int wl_source, unsigned char* packet, int length);
|
|
98 |
#include <wireless.h>
|
|
99 |
#include <wl_token_ring.h>
|
|
100 | 100 |
|
101 | 101 |
int main(void) |
102 | 102 |
{ |
103 | 103 |
dragonfly_init(ALL_ON); |
104 | 104 |
ce: 8f ef ldi r24, 0xFF ; 255 |
105 | 105 |
d0: 97 e0 ldi r25, 0x07 ; 7 |
106 |
d2: 0e 94 6c 11 call 0x22d8 ; 0x22d8 <dragonfly_init>
|
|
106 |
d2: 0e 94 95 11 call 0x232a ; 0x232a <dragonfly_init>
|
|
107 | 107 |
|
108 | 108 |
wl_init(); |
109 |
d6: 0e 94 0b 02 call 0x416 ; 0x416 <wl_init>
|
|
109 |
d6: 0e 94 d2 01 call 0x3a4 ; 0x3a4 <wl_init>
|
|
110 | 110 |
wl_set_channel(0xF); |
111 | 111 |
da: 8f e0 ldi r24, 0x0F ; 15 |
112 | 112 |
dc: 90 e0 ldi r25, 0x00 ; 0 |
113 |
de: 0e 94 ea 01 call 0x3d4 ; 0x3d4 <wl_set_channel> |
|
114 |
swarm_pgh.handle_response = NULL; |
|
115 |
swarm_pgh.handle_receive = swarm_handle_receive; |
|
116 |
swarm_pgh.unregister = NULL; |
|
117 |
wl_register_packet_group(&swarm_pgh);*/ |
|
113 |
de: 0e 94 b1 01 call 0x362 ; 0x362 <wl_set_channel> |
|
118 | 114 |
|
119 | 115 |
wl_token_ring_register(); |
120 |
e2: 0e 94 40 06 call 0xc80 ; 0xc80 <wl_token_ring_register>
|
|
116 |
e2: 0e 94 69 06 call 0xcd2 ; 0xcd2 <wl_token_ring_register>
|
|
121 | 117 |
wl_token_ring_join(); |
122 |
e6: 0e 94 f8 02 call 0x5f0 ; 0x5f0 <wl_token_ring_join>
|
|
118 |
e6: 0e 94 bf 02 call 0x57e ; 0x57e <wl_token_ring_join>
|
|
123 | 119 |
|
124 | 120 |
usb_puts("initialized\r\n"); |
125 | 121 |
ea: 80 e0 ldi r24, 0x00 ; 0 |
126 | 122 |
ec: 91 e0 ldi r25, 0x01 ; 1 |
127 |
ee: 0e 94 8f 1a call 0x351e ; 0x351e <usb_puts>
|
|
123 |
ee: 0e 94 b8 1a call 0x3570 ; 0x3570 <usb_puts>
|
|
128 | 124 |
|
129 |
int num = 0;*/ |
|
130 |
|
|
131 | 125 |
while (1) |
132 | 126 |
{ |
133 | 127 |
wl_do(); |
... | ... | |
137 | 131 |
000000f8 <timer_handler>: |
138 | 132 |
f8: 81 e0 ldi r24, 0x01 ; 1 |
139 | 133 |
fa: 90 e0 ldi r25, 0x00 ; 0 |
140 |
fc: 90 93 6d 05 sts 0x056D, r25
|
|
141 |
100: 80 93 6c 05 sts 0x056C, r24
|
|
134 |
fc: 90 93 5d 05 sts 0x055D, r25
|
|
135 |
100: 80 93 5c 05 sts 0x055C, r24
|
|
142 | 136 |
104: 08 95 ret |
143 | 137 |
|
144 | 138 |
00000106 <wl_register_packet_group>: |
... | ... | |
152 | 146 |
114: fc 01 movw r30, r24 |
153 | 147 |
116: ee 0f add r30, r30 |
154 | 148 |
118: ff 1f adc r31, r31 |
155 |
11a: e2 51 subi r30, 0x12 ; 18
|
|
149 |
11a: e2 52 subi r30, 0x22 ; 34
|
|
156 | 150 |
11c: fa 4f sbci r31, 0xFA ; 250 |
157 | 151 |
11e: 80 81 ld r24, Z |
158 | 152 |
120: 91 81 ldd r25, Z+1 ; 0x01 |
... | ... | |
171 | 165 |
136: fe 01 movw r30, r28 |
172 | 166 |
138: ee 0f add r30, r30 |
173 | 167 |
13a: ff 1f adc r31, r31 |
174 |
13c: e2 51 subi r30, 0x12 ; 18
|
|
168 |
13c: e2 52 subi r30, 0x22 ; 34
|
|
175 | 169 |
13e: fa 4f sbci r31, 0xFA ; 250 |
176 | 170 |
140: 01 90 ld r0, Z+ |
177 | 171 |
142: f0 81 ld r31, Z |
... | ... | |
186 | 180 |
154: 09 95 icall |
187 | 181 |
156: cc 0f add r28, r28 |
188 | 182 |
158: dd 1f adc r29, r29 |
189 |
15a: c2 51 subi r28, 0x12 ; 18
|
|
183 |
15a: c2 52 subi r28, 0x22 ; 34
|
|
190 | 184 |
15c: da 4f sbci r29, 0xFA ; 250 |
191 | 185 |
15e: 19 82 std Y+1, r1 ; 0x01 |
192 | 186 |
160: 18 82 st Y, r1 |
... | ... | |
197 | 191 |
00000168 <wl_do>: |
198 | 192 |
168: cf 93 push r28 |
199 | 193 |
16a: df 93 push r29 |
200 |
16c: 80 91 6c 05 lds r24, 0x056C
|
|
201 |
170: 90 91 6d 05 lds r25, 0x056D
|
|
194 |
16c: 80 91 5c 05 lds r24, 0x055C
|
|
195 |
170: 90 91 5d 05 lds r25, 0x055D
|
|
202 | 196 |
174: 89 2b or r24, r25 |
203 | 197 |
176: a9 f0 breq .+42 ; 0x1a2 <wl_do+0x3a> |
204 |
178: ce ee ldi r28, 0xEE ; 238
|
|
198 |
178: ce ed ldi r28, 0xDE ; 222
|
|
205 | 199 |
17a: d5 e0 ldi r29, 0x05 ; 5 |
206 | 200 |
17c: e8 81 ld r30, Y |
207 | 201 |
17e: f9 81 ldd r31, Y+1 ; 0x01 |
... | ... | |
214 | 208 |
18c: 09 f0 breq .+2 ; 0x190 <wl_do+0x28> |
215 | 209 |
18e: 09 95 icall |
216 | 210 |
190: 22 96 adiw r28, 0x02 ; 2 |
217 |
192: 86 e0 ldi r24, 0x06 ; 6
|
|
218 |
194: ce 30 cpi r28, 0x0E ; 14
|
|
211 |
192: 85 e0 ldi r24, 0x05 ; 5
|
|
212 |
194: ce 3f cpi r28, 0xFE ; 254
|
|
219 | 213 |
196: d8 07 cpc r29, r24 |
220 | 214 |
198: 89 f7 brne .-30 ; 0x17c <wl_do+0x14> |
221 |
19a: 10 92 6d 05 sts 0x056D, r1
|
|
222 |
19e: 10 92 6c 05 sts 0x056C, r1
|
|
223 |
1a2: 8e e6 ldi r24, 0x6E ; 110
|
|
215 |
19a: 10 92 5d 05 sts 0x055D, r1
|
|
216 |
19e: 10 92 5c 05 sts 0x055C, r1
|
|
217 |
1a2: 8e e5 ldi r24, 0x5E ; 94
|
|
224 | 218 |
1a4: 95 e0 ldi r25, 0x05 ; 5 |
225 |
1a6: 0e 94 8e 06 call 0xd1c ; 0xd1c <xbee_get_packet>
|
|
219 |
1a6: 0e 94 b7 06 call 0xd6e ; 0xd6e <xbee_get_packet>
|
|
226 | 220 |
1aa: 9c 01 movw r18, r24 |
227 | 221 |
1ac: 97 fd sbrc r25, 7 |
228 |
1ae: 87 c0 rjmp .+270 ; 0x2be <wl_do+0x156>
|
|
229 |
1b0: 40 91 6e 05 lds r20, 0x056E
|
|
230 |
1b4: 49 38 cpi r20, 0x89 ; 137
|
|
231 |
1b6: 39 f5 brne .+78 ; 0x206 <wl_do+0x9e>
|
|
232 |
1b8: 83 30 cpi r24, 0x03 ; 3
|
|
233 |
1ba: 91 05 cpc r25, r1
|
|
222 |
1ae: 4e c0 rjmp .+156 ; 0x24c <wl_do+0xe4>
|
|
223 |
1b0: 80 91 5e 05 lds r24, 0x055E
|
|
224 |
1b4: 89 38 cpi r24, 0x89 ; 137
|
|
225 |
1b6: 29 f5 brne .+74 ; 0x202 <wl_do+0x9a>
|
|
226 |
1b8: 23 30 cpi r18, 0x03 ; 3
|
|
227 |
1ba: 31 05 cpc r19, r1
|
|
234 | 228 |
1bc: 09 f0 breq .+2 ; 0x1c0 <wl_do+0x58> |
235 |
1be: 7f c0 rjmp .+254 ; 0x2be <wl_do+0x156>
|
|
236 |
1c0: 80 91 6f 05 lds r24, 0x056F
|
|
237 |
1c4: 20 91 70 05 lds r18, 0x0570
|
|
229 |
1be: 46 c0 rjmp .+140 ; 0x24c <wl_do+0xe4>
|
|
230 |
1c0: 80 91 5f 05 lds r24, 0x055F
|
|
231 |
1c4: 20 91 60 05 lds r18, 0x0560
|
|
238 | 232 |
1c8: e8 2f mov r30, r24 |
239 | 233 |
1ca: e2 95 swap r30 |
240 | 234 |
1cc: ef 70 andi r30, 0x0F ; 15 |
241 | 235 |
1ce: f0 e0 ldi r31, 0x00 ; 0 |
242 | 236 |
1d0: ee 0f add r30, r30 |
243 | 237 |
1d2: ff 1f adc r31, r31 |
244 |
1d4: e2 51 subi r30, 0x12 ; 18
|
|
238 |
1d4: e2 52 subi r30, 0x22 ; 34
|
|
245 | 239 |
1d6: fa 4f sbci r31, 0xFA ; 250 |
246 | 240 |
1d8: 01 90 ld r0, Z+ |
247 | 241 |
1da: f0 81 ld r31, Z |
248 | 242 |
1dc: e0 2d mov r30, r0 |
249 | 243 |
1de: 30 97 sbiw r30, 0x00 ; 0 |
250 |
1e0: 09 f4 brne .+2 ; 0x1e4 <wl_do+0x7c> |
|
251 |
1e2: 6d c0 rjmp .+218 ; 0x2be <wl_do+0x156> |
|
252 |
1e4: 04 80 ldd r0, Z+4 ; 0x04 |
|
253 |
1e6: f5 81 ldd r31, Z+5 ; 0x05 |
|
254 |
1e8: e0 2d mov r30, r0 |
|
255 |
1ea: 30 97 sbiw r30, 0x00 ; 0 |
|
256 |
1ec: 09 f4 brne .+2 ; 0x1f0 <wl_do+0x88> |
|
257 |
1ee: 67 c0 rjmp .+206 ; 0x2be <wl_do+0x156> |
|
258 |
1f0: 90 e0 ldi r25, 0x00 ; 0 |
|
259 |
1f2: 8f 70 andi r24, 0x0F ; 15 |
|
260 |
1f4: 90 70 andi r25, 0x00 ; 0 |
|
261 |
1f6: 60 e0 ldi r22, 0x00 ; 0 |
|
262 |
1f8: 70 e0 ldi r23, 0x00 ; 0 |
|
263 |
1fa: 22 23 and r18, r18 |
|
264 |
1fc: 11 f4 brne .+4 ; 0x202 <wl_do+0x9a> |
|
265 |
1fe: 61 e0 ldi r22, 0x01 ; 1 |
|
266 |
200: 70 e0 ldi r23, 0x00 ; 0 |
|
267 |
202: 09 95 icall |
|
268 |
204: 5c c0 rjmp .+184 ; 0x2be <wl_do+0x156> |
|
269 |
206: 41 38 cpi r20, 0x81 ; 129 |
|
270 |
208: 31 f5 brne .+76 ; 0x256 <wl_do+0xee> |
|
271 |
20a: 87 30 cpi r24, 0x07 ; 7 |
|
272 |
20c: 91 05 cpc r25, r1 |
|
273 |
20e: 0c f4 brge .+2 ; 0x212 <wl_do+0xaa> |
|
274 |
210: 56 c0 rjmp .+172 ; 0x2be <wl_do+0x156> |
|
275 |
212: 90 91 6f 05 lds r25, 0x056F |
|
276 |
216: 40 91 70 05 lds r20, 0x0570 |
|
277 |
21a: 80 91 74 05 lds r24, 0x0574 |
|
278 |
21e: e0 91 73 05 lds r30, 0x0573 |
|
279 |
222: f0 e0 ldi r31, 0x00 ; 0 |
|
280 |
224: ee 0f add r30, r30 |
|
281 |
226: ff 1f adc r31, r31 |
|
282 |
228: e2 51 subi r30, 0x12 ; 18 |
|
283 |
22a: fa 4f sbci r31, 0xFA ; 250 |
|
284 |
22c: 01 90 ld r0, Z+ |
|
285 |
22e: f0 81 ld r31, Z |
|
286 |
230: e0 2d mov r30, r0 |
|
287 |
232: 30 97 sbiw r30, 0x00 ; 0 |
|
288 |
234: 09 f4 brne .+2 ; 0x238 <wl_do+0xd0> |
|
289 |
236: 43 c0 rjmp .+134 ; 0x2be <wl_do+0x156> |
|
290 |
238: 06 80 ldd r0, Z+6 ; 0x06 |
|
291 |
23a: f7 81 ldd r31, Z+7 ; 0x07 |
|
292 |
23c: e0 2d mov r30, r0 |
|
293 |
23e: 30 97 sbiw r30, 0x00 ; 0 |
|
294 |
240: f1 f1 breq .+124 ; 0x2be <wl_do+0x156> |
|
295 |
242: 79 2f mov r23, r25 |
|
296 |
244: 60 e0 ldi r22, 0x00 ; 0 |
|
297 |
246: 64 0f add r22, r20 |
|
298 |
248: 71 1d adc r23, r1 |
|
299 |
24a: 27 50 subi r18, 0x07 ; 7 |
|
300 |
24c: 30 40 sbci r19, 0x00 ; 0 |
|
301 |
24e: 45 e7 ldi r20, 0x75 ; 117 |
|
302 |
250: 55 e0 ldi r21, 0x05 ; 5 |
|
303 |
252: 09 95 icall |
|
304 |
254: 34 c0 rjmp .+104 ; 0x2be <wl_do+0x156> |
|
305 |
256: 00 d0 rcall .+0 ; 0x258 <wl_do+0xf0> |
|
306 |
258: 00 d0 rcall .+0 ; 0x25a <wl_do+0xf2> |
|
307 |
25a: ed b7 in r30, 0x3d ; 61 |
|
308 |
25c: fe b7 in r31, 0x3e ; 62 |
|
309 |
25e: 31 96 adiw r30, 0x01 ; 1 |
|
310 |
260: 8e e0 ldi r24, 0x0E ; 14 |
|
311 |
262: 91 e0 ldi r25, 0x01 ; 1 |
|
312 |
264: ad b7 in r26, 0x3d ; 61 |
|
313 |
266: be b7 in r27, 0x3e ; 62 |
|
314 |
268: 12 96 adiw r26, 0x02 ; 2 |
|
315 |
26a: 9c 93 st X, r25 |
|
316 |
26c: 8e 93 st -X, r24 |
|
317 |
26e: 11 97 sbiw r26, 0x01 ; 1 |
|
318 |
270: 42 83 std Z+2, r20 ; 0x02 |
|
319 |
272: 13 82 std Z+3, r1 ; 0x03 |
|
320 |
274: 0e 94 81 2f call 0x5f02 ; 0x5f02 <printf> |
|
321 |
278: 00 d0 rcall .+0 ; 0x27a <wl_do+0x112> |
|
322 |
27a: 00 d0 rcall .+0 ; 0x27c <wl_do+0x114> |
|
323 |
27c: ed b7 in r30, 0x3d ; 61 |
|
324 |
27e: fe b7 in r31, 0x3e ; 62 |
|
325 |
280: 31 96 adiw r30, 0x01 ; 1 |
|
326 |
282: 85 e1 ldi r24, 0x15 ; 21 |
|
327 |
284: 91 e0 ldi r25, 0x01 ; 1 |
|
328 |
286: ad b7 in r26, 0x3d ; 61 |
|
329 |
288: be b7 in r27, 0x3e ; 62 |
|
330 |
28a: 12 96 adiw r26, 0x02 ; 2 |
|
331 |
28c: 9c 93 st X, r25 |
|
332 |
28e: 8e 93 st -X, r24 |
|
333 |
290: 11 97 sbiw r26, 0x01 ; 1 |
|
334 |
292: 80 91 70 05 lds r24, 0x0570 |
|
335 |
296: 82 83 std Z+2, r24 ; 0x02 |
|
336 |
298: 13 82 std Z+3, r1 ; 0x03 |
|
337 |
29a: 80 91 71 05 lds r24, 0x0571 |
|
338 |
29e: 84 83 std Z+4, r24 ; 0x04 |
|
339 |
2a0: 15 82 std Z+5, r1 ; 0x05 |
|
340 |
2a2: 80 91 72 05 lds r24, 0x0572 |
|
341 |
2a6: 86 83 std Z+6, r24 ; 0x06 |
|
342 |
2a8: 17 82 std Z+7, r1 ; 0x07 |
|
343 |
2aa: 0e 94 81 2f call 0x5f02 ; 0x5f02 <printf> |
|
344 |
2ae: 8d b7 in r24, 0x3d ; 61 |
|
345 |
2b0: 9e b7 in r25, 0x3e ; 62 |
|
346 |
2b2: 08 96 adiw r24, 0x08 ; 8 |
|
347 |
2b4: 0f b6 in r0, 0x3f ; 63 |
|
348 |
2b6: f8 94 cli |
|
349 |
2b8: 9e bf out 0x3e, r25 ; 62 |
|
350 |
2ba: 0f be out 0x3f, r0 ; 63 |
|
351 |
2bc: 8d bf out 0x3d, r24 ; 61 |
|
352 |
2be: df 91 pop r29 |
|
353 |
2c0: cf 91 pop r28 |
|
354 |
2c2: 08 95 ret |
|
244 |
1e0: a9 f1 breq .+106 ; 0x24c <wl_do+0xe4> |
|
245 |
1e2: 04 80 ldd r0, Z+4 ; 0x04 |
|
246 |
1e4: f5 81 ldd r31, Z+5 ; 0x05 |
|
247 |
1e6: e0 2d mov r30, r0 |
|
248 |
1e8: 30 97 sbiw r30, 0x00 ; 0 |
|
249 |
1ea: 81 f1 breq .+96 ; 0x24c <wl_do+0xe4> |
|
250 |
1ec: 90 e0 ldi r25, 0x00 ; 0 |
|
251 |
1ee: 8f 70 andi r24, 0x0F ; 15 |
|
252 |
1f0: 90 70 andi r25, 0x00 ; 0 |
|
253 |
1f2: 60 e0 ldi r22, 0x00 ; 0 |
|
254 |
1f4: 70 e0 ldi r23, 0x00 ; 0 |
|
255 |
1f6: 22 23 and r18, r18 |
|
256 |
1f8: 11 f4 brne .+4 ; 0x1fe <wl_do+0x96> |
|
257 |
1fa: 61 e0 ldi r22, 0x01 ; 1 |
|
258 |
1fc: 70 e0 ldi r23, 0x00 ; 0 |
|
259 |
1fe: 09 95 icall |
|
260 |
200: 25 c0 rjmp .+74 ; 0x24c <wl_do+0xe4> |
|
261 |
202: 81 38 cpi r24, 0x81 ; 129 |
|
262 |
204: 19 f5 brne .+70 ; 0x24c <wl_do+0xe4> |
|
263 |
206: 27 30 cpi r18, 0x07 ; 7 |
|
264 |
208: 31 05 cpc r19, r1 |
|
265 |
20a: 04 f1 brlt .+64 ; 0x24c <wl_do+0xe4> |
|
266 |
20c: 90 91 5f 05 lds r25, 0x055F |
|
267 |
210: 40 91 60 05 lds r20, 0x0560 |
|
268 |
214: 80 91 64 05 lds r24, 0x0564 |
|
269 |
218: e0 91 63 05 lds r30, 0x0563 |
|
270 |
21c: f0 e0 ldi r31, 0x00 ; 0 |
|
271 |
21e: ee 0f add r30, r30 |
|
272 |
220: ff 1f adc r31, r31 |
|
273 |
222: e2 52 subi r30, 0x22 ; 34 |
|
274 |
224: fa 4f sbci r31, 0xFA ; 250 |
|
275 |
226: 01 90 ld r0, Z+ |
|
276 |
228: f0 81 ld r31, Z |
|
277 |
22a: e0 2d mov r30, r0 |
|
278 |
22c: 30 97 sbiw r30, 0x00 ; 0 |
|
279 |
22e: 71 f0 breq .+28 ; 0x24c <wl_do+0xe4> |
|
280 |
230: 06 80 ldd r0, Z+6 ; 0x06 |
|
281 |
232: f7 81 ldd r31, Z+7 ; 0x07 |
|
282 |
234: e0 2d mov r30, r0 |
|
283 |
236: 30 97 sbiw r30, 0x00 ; 0 |
|
284 |
238: 49 f0 breq .+18 ; 0x24c <wl_do+0xe4> |
|
285 |
23a: 79 2f mov r23, r25 |
|
286 |
23c: 60 e0 ldi r22, 0x00 ; 0 |
|
287 |
23e: 64 0f add r22, r20 |
|
288 |
240: 71 1d adc r23, r1 |
|
289 |
242: 27 50 subi r18, 0x07 ; 7 |
|
290 |
244: 30 40 sbci r19, 0x00 ; 0 |
|
291 |
246: 45 e6 ldi r20, 0x65 ; 101 |
|
292 |
248: 55 e0 ldi r21, 0x05 ; 5 |
|
293 |
24a: 09 95 icall |
|
294 |
24c: df 91 pop r29 |
|
295 |
24e: cf 91 pop r28 |
|
296 |
250: 08 95 ret |
|
355 | 297 |
|
356 |
000002c4 <wl_send_packet>:
|
|
357 |
2c4: af 92 push r10
|
|
358 |
2c6: bf 92 push r11
|
|
359 |
2c8: cf 92 push r12
|
|
360 |
2ca: ef 92 push r14
|
|
361 |
2cc: 0f 93 push r16
|
|
362 |
2ce: 1f 93 push r17
|
|
363 |
2d0: df 93 push r29
|
|
364 |
2d2: cf 93 push r28
|
|
365 |
2d4: cd b7 in r28, 0x3d ; 61
|
|
366 |
2d6: de b7 in r29, 0x3e ; 62
|
|
367 |
2d8: c0 58 subi r28, 0x80 ; 128
|
|
368 |
2da: d0 40 sbci r29, 0x00 ; 0
|
|
369 |
2dc: 0f b6 in r0, 0x3f ; 63
|
|
370 |
2de: f8 94 cli
|
|
371 |
2e0: de bf out 0x3e, r29 ; 62
|
|
372 |
2e2: 0f be out 0x3f, r0 ; 63
|
|
373 |
2e4: cd bf out 0x3d, r28 ; 61
|
|
374 |
2e6: 98 2f mov r25, r24
|
|
375 |
2e8: 58 01 movw r10, r16
|
|
376 |
2ea: 0c 2d mov r16, r12
|
|
377 |
2ec: cc 20 and r12, r12
|
|
378 |
2ee: 31 f0 breq .+12 ; 0x2fc <wl_send_packet+0x38>
|
|
379 |
2f0: 8c 2d mov r24, r12
|
|
380 |
2f2: 8f 70 andi r24, 0x0F ; 15
|
|
381 |
2f4: 09 2f mov r16, r25
|
|
382 |
2f6: 02 95 swap r16
|
|
383 |
2f8: 00 7f andi r16, 0xF0 ; 240
|
|
384 |
2fa: 08 2b or r16, r24
|
|
385 |
2fc: 99 83 std Y+1, r25 ; 0x01
|
|
386 |
2fe: 6a 83 std Y+2, r22 ; 0x02
|
|
387 |
300: be 01 movw r22, r28
|
|
388 |
302: 6d 5f subi r22, 0xFD ; 253
|
|
389 |
304: 7f 4f sbci r23, 0xFF ; 255
|
|
390 |
306: a0 e0 ldi r26, 0x00 ; 0
|
|
391 |
308: b0 e0 ldi r27, 0x00 ; 0
|
|
392 |
30a: 08 c0 rjmp .+16 ; 0x31c <wl_send_packet+0x58>
|
|
393 |
30c: fa 01 movw r30, r20
|
|
394 |
30e: ea 0f add r30, r26
|
|
395 |
310: fb 1f adc r31, r27
|
|
396 |
312: 80 81 ld r24, Z
|
|
397 |
314: fb 01 movw r30, r22
|
|
398 |
316: 81 93 st Z+, r24
|
|
399 |
318: bf 01 movw r22, r30
|
|
400 |
31a: 11 96 adiw r26, 0x01 ; 1
|
|
401 |
31c: a2 17 cp r26, r18
|
|
402 |
31e: b3 07 cpc r27, r19
|
|
403 |
320: ac f3 brlt .-22 ; 0x30c <wl_send_packet+0x48>
|
|
404 |
322: 2e 5f subi r18, 0xFE ; 254
|
|
405 |
324: 3f 4f sbci r19, 0xFF ; 255
|
|
406 |
326: ce 01 movw r24, r28
|
|
407 |
328: 01 96 adiw r24, 0x01 ; 1
|
|
408 |
32a: b9 01 movw r22, r18
|
|
409 |
32c: a5 01 movw r20, r10
|
|
410 |
32e: 2e 2d mov r18, r14
|
|
411 |
330: 0e 94 b5 08 call 0x116a ; 0x116a <xbee_send_packet>
|
|
412 |
334: c0 58 subi r28, 0x80 ; 128
|
|
413 |
336: df 4f sbci r29, 0xFF ; 255
|
|
414 |
338: 0f b6 in r0, 0x3f ; 63
|
|
415 |
33a: f8 94 cli
|
|
416 |
33c: de bf out 0x3e, r29 ; 62
|
|
417 |
33e: 0f be out 0x3f, r0 ; 63
|
|
418 |
340: cd bf out 0x3d, r28 ; 61
|
|
419 |
342: cf 91 pop r28
|
|
420 |
344: df 91 pop r29
|
|
421 |
346: 1f 91 pop r17
|
|
422 |
348: 0f 91 pop r16
|
|
423 |
34a: ef 90 pop r14
|
|
424 |
34c: cf 90 pop r12
|
|
425 |
34e: bf 90 pop r11
|
|
426 |
350: af 90 pop r10
|
|
427 |
352: 08 95 ret
|
|
298 |
00000252 <wl_send_packet>:
|
|
299 |
252: af 92 push r10
|
|
300 |
254: bf 92 push r11
|
|
301 |
256: cf 92 push r12
|
|
302 |
258: ef 92 push r14
|
|
303 |
25a: 0f 93 push r16
|
|
304 |
25c: 1f 93 push r17
|
|
305 |
25e: df 93 push r29
|
|
306 |
260: cf 93 push r28
|
|
307 |
262: cd b7 in r28, 0x3d ; 61
|
|
308 |
264: de b7 in r29, 0x3e ; 62
|
|
309 |
266: c0 58 subi r28, 0x80 ; 128
|
|
310 |
268: d0 40 sbci r29, 0x00 ; 0
|
|
311 |
26a: 0f b6 in r0, 0x3f ; 63
|
|
312 |
26c: f8 94 cli
|
|
313 |
26e: de bf out 0x3e, r29 ; 62
|
|
314 |
270: 0f be out 0x3f, r0 ; 63
|
|
315 |
272: cd bf out 0x3d, r28 ; 61
|
|
316 |
274: 98 2f mov r25, r24
|
|
317 |
276: 58 01 movw r10, r16
|
|
318 |
278: 0c 2d mov r16, r12
|
|
319 |
27a: cc 20 and r12, r12
|
|
320 |
27c: 31 f0 breq .+12 ; 0x28a <wl_send_packet+0x38>
|
|
321 |
27e: 8c 2d mov r24, r12
|
|
322 |
280: 8f 70 andi r24, 0x0F ; 15
|
|
323 |
282: 09 2f mov r16, r25
|
|
324 |
284: 02 95 swap r16
|
|
325 |
286: 00 7f andi r16, 0xF0 ; 240
|
|
326 |
288: 08 2b or r16, r24
|
|
327 |
28a: 99 83 std Y+1, r25 ; 0x01
|
|
328 |
28c: 6a 83 std Y+2, r22 ; 0x02
|
|
329 |
28e: be 01 movw r22, r28
|
|
330 |
290: 6d 5f subi r22, 0xFD ; 253
|
|
331 |
292: 7f 4f sbci r23, 0xFF ; 255
|
|
332 |
294: a0 e0 ldi r26, 0x00 ; 0
|
|
333 |
296: b0 e0 ldi r27, 0x00 ; 0
|
|
334 |
298: 08 c0 rjmp .+16 ; 0x2aa <wl_send_packet+0x58>
|
|
335 |
29a: fa 01 movw r30, r20
|
|
336 |
29c: ea 0f add r30, r26
|
|
337 |
29e: fb 1f adc r31, r27
|
|
338 |
2a0: 80 81 ld r24, Z
|
|
339 |
2a2: fb 01 movw r30, r22
|
|
340 |
2a4: 81 93 st Z+, r24
|
|
341 |
2a6: bf 01 movw r22, r30
|
|
342 |
2a8: 11 96 adiw r26, 0x01 ; 1
|
|
343 |
2aa: a2 17 cp r26, r18
|
|
344 |
2ac: b3 07 cpc r27, r19
|
|
345 |
2ae: ac f3 brlt .-22 ; 0x29a <wl_send_packet+0x48>
|
|
346 |
2b0: 2e 5f subi r18, 0xFE ; 254
|
|
347 |
2b2: 3f 4f sbci r19, 0xFF ; 255
|
|
348 |
2b4: ce 01 movw r24, r28
|
|
349 |
2b6: 01 96 adiw r24, 0x01 ; 1
|
|
350 |
2b8: b9 01 movw r22, r18
|
|
351 |
2ba: a5 01 movw r20, r10
|
|
352 |
2bc: 2e 2d mov r18, r14
|
|
353 |
2be: 0e 94 de 08 call 0x11bc ; 0x11bc <xbee_send_packet>
|
|
354 |
2c2: c0 58 subi r28, 0x80 ; 128
|
|
355 |
2c4: df 4f sbci r29, 0xFF ; 255
|
|
356 |
2c6: 0f b6 in r0, 0x3f ; 63
|
|
357 |
2c8: f8 94 cli
|
|
358 |
2ca: de bf out 0x3e, r29 ; 62
|
|
359 |
2cc: 0f be out 0x3f, r0 ; 63
|
|
360 |
2ce: cd bf out 0x3d, r28 ; 61
|
|
361 |
2d0: cf 91 pop r28
|
|
362 |
2d2: df 91 pop r29
|
|
363 |
2d4: 1f 91 pop r17
|
|
364 |
2d6: 0f 91 pop r16
|
|
365 |
2d8: ef 90 pop r14
|
|
366 |
2da: cf 90 pop r12
|
|
367 |
2dc: bf 90 pop r11
|
|
368 |
2de: af 90 pop r10
|
|
369 |
2e0: 08 95 ret
|
|
428 | 370 |
|
429 |
00000354 <wl_send_pan_packet>:
|
|
430 |
354: cf 92 push r12
|
|
431 |
356: ef 92 push r14
|
|
432 |
358: 0f 93 push r16
|
|
433 |
35a: 1f 93 push r17
|
|
434 |
35c: c0 2e mov r12, r16
|
|
435 |
35e: 0f ef ldi r16, 0xFF ; 255
|
|
436 |
360: 1f ef ldi r17, 0xFF ; 255
|
|
437 |
362: ee 24 eor r14, r14
|
|
438 |
364: 0e 94 62 01 call 0x2c4 ; 0x2c4 <wl_send_packet>
|
|
439 |
368: 1f 91 pop r17
|
|
440 |
36a: 0f 91 pop r16
|
|
441 |
36c: ef 90 pop r14
|
|
442 |
36e: cf 90 pop r12
|
|
443 |
370: 08 95 ret
|
|
371 |
000002e2 <wl_send_pan_packet>:
|
|
372 |
2e2: cf 92 push r12
|
|
373 |
2e4: ef 92 push r14
|
|
374 |
2e6: 0f 93 push r16
|
|
375 |
2e8: 1f 93 push r17
|
|
376 |
2ea: c0 2e mov r12, r16
|
|
377 |
2ec: 0f ef ldi r16, 0xFF ; 255
|
|
378 |
2ee: 1f ef ldi r17, 0xFF ; 255
|
|
379 |
2f0: ee 24 eor r14, r14
|
|
380 |
2f2: 0e 94 29 01 call 0x252 ; 0x252 <wl_send_packet>
|
|
381 |
2f6: 1f 91 pop r17
|
|
382 |
2f8: 0f 91 pop r16
|
|
383 |
2fa: ef 90 pop r14
|
|
384 |
2fc: cf 90 pop r12
|
|
385 |
2fe: 08 95 ret
|
|
444 | 386 |
|
445 |
00000372 <wl_send_global_packet>:
|
|
446 |
372: cf 92 push r12
|
|
447 |
374: ef 92 push r14
|
|
448 |
376: 0f 93 push r16
|
|
449 |
378: 1f 93 push r17
|
|
450 |
37a: c0 2e mov r12, r16
|
|
451 |
37c: 0f ef ldi r16, 0xFF ; 255
|
|
452 |
37e: 1f ef ldi r17, 0xFF ; 255
|
|
453 |
380: 74 e0 ldi r23, 0x04 ; 4
|
|
454 |
382: e7 2e mov r14, r23
|
|
455 |
384: 0e 94 62 01 call 0x2c4 ; 0x2c4 <wl_send_packet>
|
|
456 |
388: 1f 91 pop r17
|
|
457 |
38a: 0f 91 pop r16
|
|
458 |
38c: ef 90 pop r14
|
|
459 |
38e: cf 90 pop r12
|
|
460 |
390: 08 95 ret
|
|
387 |
00000300 <wl_send_global_packet>:
|
|
388 |
300: cf 92 push r12
|
|
389 |
302: ef 92 push r14
|
|
390 |
304: 0f 93 push r16
|
|
391 |
306: 1f 93 push r17
|
|
392 |
308: c0 2e mov r12, r16
|
|
393 |
30a: 0f ef ldi r16, 0xFF ; 255
|
|
394 |
30c: 1f ef ldi r17, 0xFF ; 255
|
|
395 |
30e: 74 e0 ldi r23, 0x04 ; 4
|
|
396 |
310: e7 2e mov r14, r23
|
|
397 |
312: 0e 94 29 01 call 0x252 ; 0x252 <wl_send_packet>
|
|
398 |
316: 1f 91 pop r17
|
|
399 |
318: 0f 91 pop r16
|
|
400 |
31a: ef 90 pop r14
|
|
401 |
31c: cf 90 pop r12
|
|
402 |
31e: 08 95 ret
|
|
461 | 403 |
|
462 |
00000392 <wl_send_robot_to_robot_packet>:
|
|
463 |
392: cf 92 push r12
|
|
464 |
394: ef 92 push r14
|
|
465 |
396: 0f 93 push r16
|
|
466 |
398: 1f 93 push r17
|
|
467 |
39a: ce 2c mov r12, r14
|
|
468 |
39c: ee 24 eor r14, r14
|
|
469 |
39e: 0e 94 62 01 call 0x2c4 ; 0x2c4 <wl_send_packet>
|
|
470 |
3a2: 1f 91 pop r17
|
|
471 |
3a4: 0f 91 pop r16
|
|
472 |
3a6: ef 90 pop r14
|
|
473 |
3a8: cf 90 pop r12
|
|
474 |
3aa: 08 95 ret
|
|
404 |
00000320 <wl_send_robot_to_robot_packet>:
|
|
405 |
320: cf 92 push r12
|
|
406 |
322: ef 92 push r14
|
|
407 |
324: 0f 93 push r16
|
|
408 |
326: 1f 93 push r17
|
|
409 |
328: ce 2c mov r12, r14
|
|
410 |
32a: ee 24 eor r14, r14
|
|
411 |
32c: 0e 94 29 01 call 0x252 ; 0x252 <wl_send_packet>
|
|
412 |
330: 1f 91 pop r17
|
|
413 |
332: 0f 91 pop r16
|
|
414 |
334: ef 90 pop r14
|
|
415 |
336: cf 90 pop r12
|
|
416 |
338: 08 95 ret
|
|
475 | 417 |
|
476 |
000003ac <wl_send_robot_to_robot_global_packet>:
|
|
477 |
3ac: cf 92 push r12
|
|
478 |
3ae: ef 92 push r14
|
|
479 |
3b0: 0f 93 push r16
|
|
480 |
3b2: 1f 93 push r17
|
|
481 |
3b4: ce 2c mov r12, r14
|
|
482 |
3b6: e4 e0 ldi r30, 0x04 ; 4
|
|
483 |
3b8: ee 2e mov r14, r30
|
|
484 |
3ba: 0e 94 62 01 call 0x2c4 ; 0x2c4 <wl_send_packet>
|
|
485 |
3be: 1f 91 pop r17
|
|
486 |
3c0: 0f 91 pop r16
|
|
487 |
3c2: ef 90 pop r14
|
|
488 |
3c4: cf 90 pop r12
|
|
489 |
3c6: 08 95 ret
|
|
418 |
0000033a <wl_send_robot_to_robot_global_packet>:
|
|
419 |
33a: cf 92 push r12
|
|
420 |
33c: ef 92 push r14
|
|
421 |
33e: 0f 93 push r16
|
|
422 |
340: 1f 93 push r17
|
|
423 |
342: ce 2c mov r12, r14
|
|
424 |
344: e4 e0 ldi r30, 0x04 ; 4
|
|
425 |
346: ee 2e mov r14, r30
|
|
426 |
348: 0e 94 29 01 call 0x252 ; 0x252 <wl_send_packet>
|
|
427 |
34c: 1f 91 pop r17
|
|
428 |
34e: 0f 91 pop r16
|
|
429 |
350: ef 90 pop r14
|
|
430 |
352: cf 90 pop r12
|
|
431 |
354: 08 95 ret
|
|
490 | 432 |
|
491 |
000003c8 <wl_get_xbee_id>:
|
|
492 |
3c8: 0e 94 ca 07 call 0xf94 ; 0xf94 <xbee_get_address>
|
|
493 |
3cc: 08 95 ret
|
|
433 |
00000356 <wl_get_xbee_id>:
|
|
434 |
356: 0e 94 f3 07 call 0xfe6 ; 0xfe6 <xbee_get_address>
|
|
435 |
35a: 08 95 ret
|
|
494 | 436 |
|
495 |
000003ce <wl_get_channel>:
|
|
496 |
3ce: 0e 94 c5 07 call 0xf8a ; 0xf8a <xbee_get_channel>
|
|
497 |
3d2: 08 95 ret
|
|
437 |
0000035c <wl_get_channel>:
|
|
438 |
35c: 0e 94 ee 07 call 0xfdc ; 0xfdc <xbee_get_channel>
|
|
439 |
360: 08 95 ret
|
|
498 | 440 |
|
499 |
000003d4 <wl_set_channel>:
|
|
500 |
3d4: 0e 94 5a 08 call 0x10b4 ; 0x10b4 <xbee_set_channel>
|
|
501 |
3d8: 08 95 ret
|
|
441 |
00000362 <wl_set_channel>:
|
|
442 |
362: 0e 94 83 08 call 0x1106 ; 0x1106 <xbee_set_channel>
|
|
443 |
366: 08 95 ret
|
|
502 | 444 |
|
503 |
000003da <wl_get_pan>:
|
|
504 |
3da: 0e 94 c0 07 call 0xf80 ; 0xf80 <xbee_get_pan_id>
|
|
505 |
3de: 08 95 ret
|
|
445 |
00000368 <wl_get_pan>:
|
|
446 |
368: 0e 94 e9 07 call 0xfd2 ; 0xfd2 <xbee_get_pan_id>
|
|
447 |
36c: 08 95 ret
|
|
506 | 448 |
|
507 |
000003e0 <wl_set_pan>:
|
|
508 |
3e0: 0e 94 7c 08 call 0x10f8 ; 0x10f8 <xbee_set_pan_id>
|
|
509 |
3e4: 08 95 ret
|
|
449 |
0000036e <wl_set_pan>:
|
|
450 |
36e: 0e 94 a5 08 call 0x114a ; 0x114a <xbee_set_pan_id>
|
|
451 |
372: 08 95 ret
|
|
510 | 452 |
|
511 |
000003e6 <wl_terminate>:
|
|
512 |
3e6: cf 93 push r28
|
|
513 |
3e8: df 93 push r29
|
|
514 |
3ea: ce ee ldi r28, 0xEE ; 238
|
|
515 |
3ec: d5 e0 ldi r29, 0x05 ; 5
|
|
516 |
3ee: e8 81 ld r30, Y
|
|
517 |
3f0: f9 81 ldd r31, Y+1 ; 0x01
|
|
518 |
3f2: 30 97 sbiw r30, 0x00 ; 0
|
|
519 |
3f4: 31 f0 breq .+12 ; 0x402 <wl_terminate+0x1c>
|
|
520 |
3f6: 00 84 ldd r0, Z+8 ; 0x08
|
|
521 |
3f8: f1 85 ldd r31, Z+9 ; 0x09
|
|
522 |
3fa: e0 2d mov r30, r0
|
|
523 |
3fc: 30 97 sbiw r30, 0x00 ; 0
|
|
524 |
3fe: 09 f0 breq .+2 ; 0x402 <wl_terminate+0x1c>
|
|
525 |
400: 09 95 icall
|
|
526 |
402: 22 96 adiw r28, 0x02 ; 2
|
|
527 |
404: 86 e0 ldi r24, 0x06 ; 6
|
|
528 |
406: ce 30 cpi r28, 0x0E ; 14
|
|
529 |
408: d8 07 cpc r29, r24
|
|
530 |
40a: 89 f7 brne .-30 ; 0x3ee <wl_terminate+0x8>
|
|
531 |
40c: 0e 94 ae 08 call 0x115c ; 0x115c <xbee_terminate>
|
|
532 |
410: df 91 pop r29
|
|
533 |
412: cf 91 pop r28
|
|
534 |
414: 08 95 ret
|
|
453 |
00000374 <wl_terminate>:
|
|
454 |
374: cf 93 push r28
|
|
455 |
376: df 93 push r29
|
|
456 |
378: ce ed ldi r28, 0xDE ; 222
|
|
457 |
37a: d5 e0 ldi r29, 0x05 ; 5
|
|
458 |
37c: e8 81 ld r30, Y
|
|
459 |
37e: f9 81 ldd r31, Y+1 ; 0x01
|
|
460 |
380: 30 97 sbiw r30, 0x00 ; 0
|
|
461 |
382: 31 f0 breq .+12 ; 0x390 <wl_terminate+0x1c>
|
|
462 |
384: 00 84 ldd r0, Z+8 ; 0x08
|
|
463 |
386: f1 85 ldd r31, Z+9 ; 0x09
|
|
464 |
388: e0 2d mov r30, r0
|
|
465 |
38a: 30 97 sbiw r30, 0x00 ; 0
|
|
466 |
38c: 09 f0 breq .+2 ; 0x390 <wl_terminate+0x1c>
|
|
467 |
38e: 09 95 icall
|
|
468 |
390: 22 96 adiw r28, 0x02 ; 2
|
|
469 |
392: 85 e0 ldi r24, 0x05 ; 5
|
|
470 |
394: ce 3f cpi r28, 0xFE ; 254
|
|
471 |
396: d8 07 cpc r29, r24
|
|
472 |
398: 89 f7 brne .-30 ; 0x37c <wl_terminate+0x8>
|
|
473 |
39a: 0e 94 d7 08 call 0x11ae ; 0x11ae <xbee_terminate>
|
|
474 |
39e: df 91 pop r29
|
|
475 |
3a0: cf 91 pop r28
|
|
476 |
3a2: 08 95 ret
|
|
535 | 477 |
|
536 |
00000416 <wl_init>:
|
|
537 |
416: ee ee ldi r30, 0xEE ; 238
|
|
538 |
418: f5 e0 ldi r31, 0x05 ; 5
|
|
539 |
41a: 11 92 st Z+, r1
|
|
540 |
41c: 11 92 st Z+, r1
|
|
541 |
41e: 26 e0 ldi r18, 0x06 ; 6
|
|
542 |
420: ee 30 cpi r30, 0x0E ; 14
|
|
543 |
422: f2 07 cpc r31, r18
|
|
544 |
424: d1 f7 brne .-12 ; 0x41a <wl_init+0x4>
|
|
545 |
426: 0e 94 5d 09 call 0x12ba ; 0x12ba <xbee_lib_init>
|
|
546 |
42a: 8f 5f subi r24, 0xFF ; 255
|
|
547 |
42c: 9f 4f sbci r25, 0xFF ; 255
|
|
548 |
42e: 19 f4 brne .+6 ; 0x436 <wl_init+0x20>
|
|
549 |
430: 2f ef ldi r18, 0xFF ; 255
|
|
550 |
432: 3f ef ldi r19, 0xFF ; 255
|
|
551 |
434: 08 c0 rjmp .+16 ; 0x446 <wl_init+0x30>
|
|
552 |
436: 88 e0 ldi r24, 0x08 ; 8
|
|
553 |
438: 90 e0 ldi r25, 0x00 ; 0
|
|
554 |
43a: 6c e7 ldi r22, 0x7C ; 124
|
|
555 |
43c: 70 e0 ldi r23, 0x00 ; 0
|
|
556 |
43e: 0e 94 ee 1b call 0x37dc ; 0x37dc <rtc_init>
|
|
557 |
442: 20 e0 ldi r18, 0x00 ; 0
|
|
558 |
444: 30 e0 ldi r19, 0x00 ; 0
|
|
559 |
446: c9 01 movw r24, r18
|
|
560 |
448: 08 95 ret
|
|
478 |
000003a4 <wl_init>:
|
|
479 |
3a4: ee ed ldi r30, 0xDE ; 222
|
|
480 |
3a6: f5 e0 ldi r31, 0x05 ; 5
|
|
481 |
3a8: 11 92 st Z+, r1
|
|
482 |
3aa: 11 92 st Z+, r1
|
|
483 |
3ac: 25 e0 ldi r18, 0x05 ; 5
|
|
484 |
3ae: ee 3f cpi r30, 0xFE ; 254
|
|
485 |
3b0: f2 07 cpc r31, r18
|
|
486 |
3b2: d1 f7 brne .-12 ; 0x3a8 <wl_init+0x4>
|
|
487 |
3b4: 0e 94 86 09 call 0x130c ; 0x130c <xbee_lib_init>
|
|
488 |
3b8: 8f 5f subi r24, 0xFF ; 255
|
|
489 |
3ba: 9f 4f sbci r25, 0xFF ; 255
|
|
490 |
3bc: 19 f4 brne .+6 ; 0x3c4 <wl_init+0x20>
|
|
491 |
3be: 2f ef ldi r18, 0xFF ; 255
|
|
492 |
3c0: 3f ef ldi r19, 0xFF ; 255
|
|
493 |
3c2: 08 c0 rjmp .+16 ; 0x3d4 <wl_init+0x30>
|
|
494 |
3c4: 88 e0 ldi r24, 0x08 ; 8
|
|
495 |
3c6: 90 e0 ldi r25, 0x00 ; 0
|
|
496 |
3c8: 6c e7 ldi r22, 0x7C ; 124
|
|
497 |
3ca: 70 e0 ldi r23, 0x00 ; 0
|
|
498 |
3cc: 0e 94 17 1c call 0x382e ; 0x382e <rtc_init>
|
|
499 |
3d0: 20 e0 ldi r18, 0x00 ; 0
|
|
500 |
3d2: 30 e0 ldi r19, 0x00 ; 0
|
|
501 |
3d4: c9 01 movw r24, r18
|
|
502 |
3d6: 08 95 ret
|
|
561 | 503 |
|
562 |
0000044a <wl_token_ring_leave>:
|
|
563 |
44a: 84 e0 ldi r24, 0x04 ; 4
|
|
564 |
44c: 90 e0 ldi r25, 0x00 ; 0
|
|
565 |
44e: 90 93 13 06 sts 0x0613, r25
|
|
566 |
452: 80 93 12 06 sts 0x0612, r24
|
|
567 |
456: 08 95 ret
|
|
504 |
000003d8 <wl_token_ring_leave>:
|
|
505 |
3d8: 84 e0 ldi r24, 0x04 ; 4
|
|
506 |
3da: 90 e0 ldi r25, 0x00 ; 0
|
|
507 |
3dc: 90 93 03 06 sts 0x0603, r25
|
|
508 |
3e0: 80 93 02 06 sts 0x0602, r24
|
|
509 |
3e4: 08 95 ret
|
|
568 | 510 |
|
569 |
00000458 <wl_token_ring_set_bom_functions>:
|
|
570 |
458: 90 93 1e 01 sts 0x011E, r25
|
|
571 |
45c: 80 93 1d 01 sts 0x011D, r24
|
|
572 |
460: 70 93 20 01 sts 0x0120, r23
|
|
573 |
464: 60 93 1f 01 sts 0x011F, r22
|
|
574 |
468: 50 93 22 01 sts 0x0122, r21
|
|
575 |
46c: 40 93 21 01 sts 0x0121, r20
|
|
576 |
470: 08 95 ret
|
|
511 |
000003e6 <wl_token_ring_set_bom_functions>:
|
|
512 |
3e6: 90 93 0f 01 sts 0x010F, r25
|
|
513 |
3ea: 80 93 0e 01 sts 0x010E, r24
|
|
514 |
3ee: 70 93 11 01 sts 0x0111, r23
|
|
515 |
3f2: 60 93 10 01 sts 0x0110, r22
|
|
516 |
3f6: 50 93 13 01 sts 0x0113, r21
|
|
517 |
3fa: 40 93 12 01 sts 0x0112, r20
|
|
518 |
3fe: 08 95 ret
|
|
577 | 519 |
|
578 |
00000472 <wl_token_ring_cleanup>:
|
|
579 |
472: 08 95 ret
|
|
520 |
00000400 <wl_token_ring_cleanup>:
|
|
521 |
400: 08 95 ret
|
|
580 | 522 |
|
581 |
00000474 <wl_token_ring_response_handler>:
|
|
582 |
474: 08 95 ret
|
|
523 |
00000402 <wl_token_ring_response_handler>:
|
|
524 |
402: 08 95 ret
|
|
583 | 525 |
|
584 |
00000476 <wl_token_iterator_has_next>:
|
|
585 |
476: 20 e0 ldi r18, 0x00 ; 0
|
|
586 |
478: 30 e0 ldi r19, 0x00 ; 0
|
|
587 |
47a: 80 91 0e 06 lds r24, 0x060E
|
|
588 |
47e: 90 91 0f 06 lds r25, 0x060F
|
|
589 |
482: 8f 5f subi r24, 0xFF ; 255
|
|
590 |
484: 9f 4f sbci r25, 0xFF ; 255
|
|
591 |
486: 11 f0 breq .+4 ; 0x48c <wl_token_iterator_has_next+0x16>
|
|
592 |
488: 21 e0 ldi r18, 0x01 ; 1
|
|
593 |
48a: 30 e0 ldi r19, 0x00 ; 0
|
|
594 |
48c: c9 01 movw r24, r18
|
|
595 |
48e: 08 95 ret
|
|
526 |
00000404 <wl_token_iterator_has_next>:
|
|
527 |
404: 20 e0 ldi r18, 0x00 ; 0
|
|
528 |
406: 30 e0 ldi r19, 0x00 ; 0
|
|
529 |
408: 80 91 fe 05 lds r24, 0x05FE
|
|
530 |
40c: 90 91 ff 05 lds r25, 0x05FF
|
|
531 |
410: 8f 5f subi r24, 0xFF ; 255
|
|
532 |
412: 9f 4f sbci r25, 0xFF ; 255
|
|
533 |
414: 11 f0 breq .+4 ; 0x41a <wl_token_iterator_has_next+0x16>
|
|
534 |
416: 21 e0 ldi r18, 0x01 ; 1
|
|
535 |
418: 30 e0 ldi r19, 0x00 ; 0
|
|
536 |
41a: c9 01 movw r24, r18
|
|
537 |
41c: 08 95 ret
|
|
596 | 538 |
|
597 |
00000490 <wl_token_get_matrix_size>:
|
|
598 |
490: 0e 94 b0 0a call 0x1560 ; 0x1560 <sensor_matrix_get_size>
|
|
599 |
494: 08 95 ret
|
|
539 |
0000041e <wl_token_get_matrix_size>:
|
|
540 |
41e: 0e 94 d9 0a call 0x15b2 ; 0x15b2 <sensor_matrix_get_size>
|
|
541 |
422: 08 95 ret
|
|
600 | 542 |
|
601 |
00000496 <wl_token_get_num_robots>:
|
|
602 |
496: 0e 94 ab 0a call 0x1556 ; 0x1556 <sensor_matrix_get_joined>
|
|
603 |
49a: 08 95 ret
|
|
543 |
00000424 <wl_token_get_num_robots>:
|
|
544 |
424: 0e 94 d4 0a call 0x15a8 ; 0x15a8 <sensor_matrix_get_joined>
|
|
545 |
428: 08 95 ret
|
|
604 | 546 |
|
605 |
0000049c <wl_token_get_robots_in_ring>:
|
|
606 |
49c: 0e 94 ab 0a call 0x1556 ; 0x1556 <sensor_matrix_get_joined>
|
|
607 |
4a0: 08 95 ret
|
|
547 |
0000042a <wl_token_get_robots_in_ring>:
|
|
548 |
42a: 0e 94 d4 0a call 0x15a8 ; 0x15a8 <sensor_matrix_get_joined>
|
|
549 |
42e: 08 95 ret
|
|
608 | 550 |
|
609 |
000004a2 <wl_token_iterator_next>:
|
|
610 |
4a2: 0f 93 push r16
|
|
611 |
4a4: 1f 93 push r17
|
|
612 |
4a6: cf 93 push r28
|
|
613 |
4a8: df 93 push r29
|
|
614 |
4aa: c0 91 0e 06 lds r28, 0x060E
|
|
615 |
4ae: d0 91 0f 06 lds r29, 0x060F
|
|
616 |
4b2: d7 fd sbrc r29, 7
|
|
617 |
4b4: 30 c0 rjmp .+96 ; 0x516 <wl_token_iterator_next+0x74>
|
|
618 |
4b6: 21 96 adiw r28, 0x01 ; 1
|
|
619 |
4b8: d0 93 0f 06 sts 0x060F, r29
|
|
620 |
4bc: c0 93 0e 06 sts 0x060E, r28
|
|
621 |
4c0: 21 97 sbiw r28, 0x01 ; 1
|
|
622 |
4c2: 09 c0 rjmp .+18 ; 0x4d6 <wl_token_iterator_next+0x34>
|
|
623 |
4c4: 80 91 0e 06 lds r24, 0x060E
|
|
624 |
4c8: 90 91 0f 06 lds r25, 0x060F
|
|
625 |
4cc: 01 96 adiw r24, 0x01 ; 1
|
|
626 |
4ce: 90 93 0f 06 sts 0x060F, r25
|
|
627 |
4d2: 80 93 0e 06 sts 0x060E, r24
|
|
628 |
4d6: 80 91 0e 06 lds r24, 0x060E
|
|
629 |
4da: 90 91 0f 06 lds r25, 0x060F
|
|
630 |
4de: 0e 94 9d 0a call 0x153a ; 0x153a <sensor_matrix_get_in_ring>
|
|
631 |
4e2: 89 2b or r24, r25
|
|
632 |
4e4: 49 f4 brne .+18 ; 0x4f8 <wl_token_iterator_next+0x56>
|
|
633 |
4e6: 00 91 0e 06 lds r16, 0x060E
|
|
634 |
4ea: 10 91 0f 06 lds r17, 0x060F
|
|
635 |
4ee: 0e 94 b0 0a call 0x1560 ; 0x1560 <sensor_matrix_get_size>
|
|
636 |
4f2: 08 17 cp r16, r24
|
|
637 |
4f4: 19 07 cpc r17, r25
|
|
638 |
4f6: 34 f3 brlt .-52 ; 0x4c4 <wl_token_iterator_next+0x22>
|
|
639 |
4f8: 00 91 0e 06 lds r16, 0x060E
|
|
640 |
4fc: 10 91 0f 06 lds r17, 0x060F
|
|
641 |
500: 0e 94 b0 0a call 0x1560 ; 0x1560 <sensor_matrix_get_size>
|
|
642 |
504: 08 17 cp r16, r24
|
|
643 |
506: 19 07 cpc r17, r25
|
|
644 |
508: 31 f4 brne .+12 ; 0x516 <wl_token_iterator_next+0x74>
|
|
645 |
50a: 8f ef ldi r24, 0xFF ; 255
|
|
646 |
50c: 9f ef ldi r25, 0xFF ; 255
|
|
647 |
50e: 90 93 0f 06 sts 0x060F, r25
|
|
648 |
512: 80 93 0e 06 sts 0x060E, r24
|
|
649 |
516: ce 01 movw r24, r28
|
|
650 |
518: df 91 pop r29
|
|
651 |
51a: cf 91 pop r28
|
|
652 |
51c: 1f 91 pop r17
|
|
653 |
51e: 0f 91 pop r16
|
|
654 |
520: 08 95 ret
|
|
551 |
00000430 <wl_token_iterator_next>:
|
|
552 |
430: 0f 93 push r16
|
|
553 |
432: 1f 93 push r17
|
|
554 |
434: cf 93 push r28
|
|
555 |
436: df 93 push r29
|
|
556 |
438: c0 91 fe 05 lds r28, 0x05FE
|
|
557 |
43c: d0 91 ff 05 lds r29, 0x05FF
|
|
558 |
440: d7 fd sbrc r29, 7
|
|
559 |
442: 30 c0 rjmp .+96 ; 0x4a4 <wl_token_iterator_next+0x74>
|
|
560 |
444: 21 96 adiw r28, 0x01 ; 1
|
|
561 |
446: d0 93 ff 05 sts 0x05FF, r29
|
|
562 |
44a: c0 93 fe 05 sts 0x05FE, r28
|
|
563 |
44e: 21 97 sbiw r28, 0x01 ; 1
|
|
564 |
450: 09 c0 rjmp .+18 ; 0x464 <wl_token_iterator_next+0x34>
|
|
565 |
452: 80 91 fe 05 lds r24, 0x05FE
|
|
566 |
456: 90 91 ff 05 lds r25, 0x05FF
|
|
567 |
45a: 01 96 adiw r24, 0x01 ; 1
|
|
568 |
45c: 90 93 ff 05 sts 0x05FF, r25
|
|
569 |
460: 80 93 fe 05 sts 0x05FE, r24
|
|
570 |
464: 80 91 fe 05 lds r24, 0x05FE
|
|
571 |
468: 90 91 ff 05 lds r25, 0x05FF
|
|
572 |
46c: 0e 94 c6 0a call 0x158c ; 0x158c <sensor_matrix_get_in_ring>
|
|
573 |
470: 89 2b or r24, r25
|
|
574 |
472: 49 f4 brne .+18 ; 0x486 <wl_token_iterator_next+0x56>
|
|
575 |
474: 00 91 fe 05 lds r16, 0x05FE
|
|
576 |
478: 10 91 ff 05 lds r17, 0x05FF
|
|
577 |
47c: 0e 94 d9 0a call 0x15b2 ; 0x15b2 <sensor_matrix_get_size>
|
|
578 |
480: 08 17 cp r16, r24
|
|
579 |
482: 19 07 cpc r17, r25
|
|
580 |
484: 34 f3 brlt .-52 ; 0x452 <wl_token_iterator_next+0x22>
|
|
581 |
486: 00 91 fe 05 lds r16, 0x05FE
|
|
582 |
48a: 10 91 ff 05 lds r17, 0x05FF
|
|
583 |
48e: 0e 94 d9 0a call 0x15b2 ; 0x15b2 <sensor_matrix_get_size>
|
|
584 |
492: 08 17 cp r16, r24
|
|
585 |
494: 19 07 cpc r17, r25
|
|
586 |
496: 31 f4 brne .+12 ; 0x4a4 <wl_token_iterator_next+0x74>
|
|
587 |
498: 8f ef ldi r24, 0xFF ; 255
|
|
588 |
49a: 9f ef ldi r25, 0xFF ; 255
|
|
589 |
49c: 90 93 ff 05 sts 0x05FF, r25
|
|
590 |
4a0: 80 93 fe 05 sts 0x05FE, r24
|
|
591 |
4a4: ce 01 movw r24, r28
|
|
592 |
4a6: df 91 pop r29
|
|
593 |
4a8: cf 91 pop r28
|
|
594 |
4aa: 1f 91 pop r17
|
|
595 |
4ac: 0f 91 pop r16
|
|
596 |
4ae: 08 95 ret
|
|
655 | 597 |
|
656 |
00000522 <wl_token_iterator_begin>:
|
|
657 |
522: cf 93 push r28
|
|
658 |
524: df 93 push r29
|
|
659 |
526: c0 e0 ldi r28, 0x00 ; 0
|
|
660 |
528: d0 e0 ldi r29, 0x00 ; 0
|
|
661 |
52a: 01 c0 rjmp .+2 ; 0x52e <wl_token_iterator_begin+0xc>
|
|
662 |
52c: 21 96 adiw r28, 0x01 ; 1
|
|
663 |
52e: ce 01 movw r24, r28
|
|
664 |
530: 0e 94 9d 0a call 0x153a ; 0x153a <sensor_matrix_get_in_ring>
|
|
665 |
534: 89 2b or r24, r25
|
|
666 |
536: 29 f4 brne .+10 ; 0x542 <wl_token_iterator_begin+0x20>
|
|
667 |
538: 0e 94 b0 0a call 0x1560 ; 0x1560 <sensor_matrix_get_size>
|
|
668 |
53c: c8 17 cp r28, r24
|
|
669 |
53e: d9 07 cpc r29, r25
|
|
670 |
540: ac f3 brlt .-22 ; 0x52c <wl_token_iterator_begin+0xa>
|
|
671 |
542: 0e 94 b0 0a call 0x1560 ; 0x1560 <sensor_matrix_get_size>
|
|
672 |
546: c8 17 cp r28, r24
|
|
673 |
548: d9 07 cpc r29, r25
|
|
674 |
54a: 11 f4 brne .+4 ; 0x550 <wl_token_iterator_begin+0x2e>
|
|
675 |
54c: cf ef ldi r28, 0xFF ; 255
|
|
676 |
54e: df ef ldi r29, 0xFF ; 255
|
|
677 |
550: d0 93 0f 06 sts 0x060F, r29
|
|
678 |
554: c0 93 0e 06 sts 0x060E, r28
|
|
679 |
558: df 91 pop r29
|
|
680 |
55a: cf 91 pop r28
|
|
681 |
55c: 08 95 ret
|
|
598 |
000004b0 <wl_token_iterator_begin>:
|
|
599 |
4b0: cf 93 push r28
|
|
600 |
4b2: df 93 push r29
|
|
601 |
4b4: c0 e0 ldi r28, 0x00 ; 0
|
|
602 |
4b6: d0 e0 ldi r29, 0x00 ; 0
|
|
603 |
4b8: 01 c0 rjmp .+2 ; 0x4bc <wl_token_iterator_begin+0xc>
|
|
604 |
4ba: 21 96 adiw r28, 0x01 ; 1
|
|
605 |
4bc: ce 01 movw r24, r28
|
|
606 |
4be: 0e 94 c6 0a call 0x158c ; 0x158c <sensor_matrix_get_in_ring>
|
|
607 |
4c2: 89 2b or r24, r25
|
|
608 |
4c4: 29 f4 brne .+10 ; 0x4d0 <wl_token_iterator_begin+0x20>
|
|
609 |
4c6: 0e 94 d9 0a call 0x15b2 ; 0x15b2 <sensor_matrix_get_size>
|
|
610 |
4ca: c8 17 cp r28, r24
|
|
611 |
4cc: d9 07 cpc r29, r25
|
|
612 |
4ce: ac f3 brlt .-22 ; 0x4ba <wl_token_iterator_begin+0xa>
|
|
613 |
4d0: 0e 94 d9 0a call 0x15b2 ; 0x15b2 <sensor_matrix_get_size>
|
|
614 |
4d4: c8 17 cp r28, r24
|
|
615 |
4d6: d9 07 cpc r29, r25
|
|
616 |
4d8: 11 f4 brne .+4 ; 0x4de <wl_token_iterator_begin+0x2e>
|
|
617 |
4da: cf ef ldi r28, 0xFF ; 255
|
|
618 |
4dc: df ef ldi r29, 0xFF ; 255
|
|
619 |
4de: d0 93 ff 05 sts 0x05FF, r29
|
|
620 |
4e2: c0 93 fe 05 sts 0x05FE, r28
|
|
621 |
4e6: df 91 pop r29
|
|
622 |
4e8: cf 91 pop r28
|
|
623 |
4ea: 08 95 ret
|
|
682 | 624 |
|
683 |
0000055e <wl_token_is_robot_in_ring>:
|
|
684 |
55e: 0e 94 9d 0a call 0x153a ; 0x153a <sensor_matrix_get_in_ring>
|
|
685 |
562: 08 95 ret
|
|
625 |
000004ec <wl_token_is_robot_in_ring>:
|
|
626 |
4ec: 0e 94 c6 0a call 0x158c ; 0x158c <sensor_matrix_get_in_ring>
|
|
627 |
4f0: 08 95 ret
|
|
686 | 628 |
|
687 |
00000564 <wl_token_get_sensor_reading>:
|
|
688 |
564: 0f 93 push r16
|
|
689 |
566: 1f 93 push r17
|
|
690 |
568: cf 93 push r28
|
|
691 |
56a: df 93 push r29
|
|
692 |
56c: ec 01 movw r28, r24
|
|
693 |
56e: 8b 01 movw r16, r22
|
|
694 |
570: cb 01 movw r24, r22
|
|
695 |
572: 0e 94 9d 0a call 0x153a ; 0x153a <sensor_matrix_get_in_ring>
|
|
696 |
576: 89 2b or r24, r25
|
|
697 |
578: 81 f0 breq .+32 ; 0x59a <wl_token_get_sensor_reading+0x36>
|
|
698 |
57a: 0e 94 e4 01 call 0x3c8 ; 0x3c8 <wl_get_xbee_id>
|
|
699 |
57e: c8 17 cp r28, r24
|
|
700 |
580: d9 07 cpc r29, r25
|
|
701 |
582: 29 f0 breq .+10 ; 0x58e <wl_token_get_sensor_reading+0x2a>
|
|
702 |
584: ce 01 movw r24, r28
|
|
703 |
586: 0e 94 9d 0a call 0x153a ; 0x153a <sensor_matrix_get_in_ring>
|
|
704 |
58a: 89 2b or r24, r25
|
|
705 |
58c: 31 f0 breq .+12 ; 0x59a <wl_token_get_sensor_reading+0x36>
|
|
706 |
58e: ce 01 movw r24, r28
|
|
707 |
590: b8 01 movw r22, r16
|
|
708 |
592: 0e 94 5c 0a call 0x14b8 ; 0x14b8 <sensor_matrix_get_reading>
|
|
709 |
596: 9c 01 movw r18, r24
|
|
710 |
598: 02 c0 rjmp .+4 ; 0x59e <wl_token_get_sensor_reading+0x3a>
|
|
711 |
59a: 20 e0 ldi r18, 0x00 ; 0
|
|
712 |
59c: 30 e0 ldi r19, 0x00 ; 0
|
|
713 |
59e: c9 01 movw r24, r18
|
|
714 |
5a0: df 91 pop r29
|
|
715 |
5a2: cf 91 pop r28
|
|
716 |
5a4: 1f 91 pop r17
|
|
717 |
5a6: 0f 91 pop r16
|
|
718 |
5a8: 08 95 ret
|
|
629 |
000004f2 <wl_token_get_sensor_reading>:
|
|
630 |
4f2: 0f 93 push r16
|
|
631 |
4f4: 1f 93 push r17
|
|
632 |
4f6: cf 93 push r28
|
|
633 |
4f8: df 93 push r29
|
|
634 |
4fa: ec 01 movw r28, r24
|
|
635 |
4fc: 8b 01 movw r16, r22
|
|
636 |
4fe: cb 01 movw r24, r22
|
|
637 |
500: 0e 94 c6 0a call 0x158c ; 0x158c <sensor_matrix_get_in_ring>
|
|
638 |
504: 89 2b or r24, r25
|
|
639 |
506: 81 f0 breq .+32 ; 0x528 <wl_token_get_sensor_reading+0x36>
|
|
640 |
508: 0e 94 ab 01 call 0x356 ; 0x356 <wl_get_xbee_id>
|
|
641 |
50c: c8 17 cp r28, r24
|
|
642 |
50e: d9 07 cpc r29, r25
|
|
643 |
510: 29 f0 breq .+10 ; 0x51c <wl_token_get_sensor_reading+0x2a>
|
|
644 |
512: ce 01 movw r24, r28
|
|
645 |
514: 0e 94 c6 0a call 0x158c ; 0x158c <sensor_matrix_get_in_ring>
|
|
646 |
518: 89 2b or r24, r25
|
|
647 |
51a: 31 f0 breq .+12 ; 0x528 <wl_token_get_sensor_reading+0x36>
|
|
648 |
51c: ce 01 movw r24, r28
|
|
649 |
51e: b8 01 movw r22, r16
|
|
650 |
520: 0e 94 85 0a call 0x150a ; 0x150a <sensor_matrix_get_reading>
|
|
651 |
524: 9c 01 movw r18, r24
|
|
652 |
526: 02 c0 rjmp .+4 ; 0x52c <wl_token_get_sensor_reading+0x3a>
|
|
653 |
528: 20 e0 ldi r18, 0x00 ; 0
|
|
654 |
52a: 30 e0 ldi r19, 0x00 ; 0
|
|
655 |
52c: c9 01 movw r24, r18
|
|
656 |
52e: df 91 pop r29
|
|
657 |
530: cf 91 pop r28
|
|
658 |
532: 1f 91 pop r17
|
|
659 |
534: 0f 91 pop r16
|
|
660 |
536: 08 95 ret
|
|
719 | 661 |
|
720 |
000005aa <wl_token_get_my_sensor_reading>:
|
|
721 |
5aa: 0f 93 push r16
|
|
722 |
5ac: 1f 93 push r17
|
|
723 |
5ae: 8c 01 movw r16, r24
|
|
724 |
5b0: 0e 94 e4 01 call 0x3c8 ; 0x3c8 <wl_get_xbee_id>
|
|
725 |
5b4: b8 01 movw r22, r16
|
|
726 |
5b6: 0e 94 b2 02 call 0x564 ; 0x564 <wl_token_get_sensor_reading>
|
|
727 |
5ba: 1f 91 pop r17
|
|
728 |
5bc: 0f 91 pop r16
|
|
729 |
5be: 08 95 ret
|
|
662 |
00000538 <wl_token_get_my_sensor_reading>:
|
|
663 |
538: 0f 93 push r16
|
|
664 |
53a: 1f 93 push r17
|
|
665 |
53c: 8c 01 movw r16, r24
|
|
666 |
53e: 0e 94 ab 01 call 0x356 ; 0x356 <wl_get_xbee_id>
|
|
667 |
542: b8 01 movw r22, r16
|
|
668 |
544: 0e 94 79 02 call 0x4f2 ; 0x4f2 <wl_token_get_sensor_reading>
|
|
669 |
548: 1f 91 pop r17
|
|
670 |
54a: 0f 91 pop r16
|
|
671 |
54c: 08 95 ret
|
|
730 | 672 |
|
731 |
000005c0 <default_get_bom>:
|
|
732 |
5c0: df 93 push r29
|
|
733 |
5c2: cf 93 push r28
|
|
734 |
5c4: 00 d0 rcall .+0 ; 0x5c6 <default_get_bom+0x6>
|
|
735 |
5c6: cd b7 in r28, 0x3d ; 61
|
|
736 |
5c8: de b7 in r29, 0x3e ; 62
|
|
737 |
5ca: 8f ef ldi r24, 0xFF ; 255
|
|
738 |
5cc: 9f ef ldi r25, 0xFF ; 255
|
|
739 |
5ce: 0e 94 c6 0d call 0x1b8c ; 0x1b8c <bom_refresh>
|
|
740 |
5d2: ce 01 movw r24, r28
|
|
741 |
5d4: 01 96 adiw r24, 0x01 ; 1
|
|
742 |
5d6: 0e 94 d7 0a call 0x15ae ; 0x15ae <bom_get_max10>
|
|
743 |
5da: 99 81 ldd r25, Y+1 ; 0x01
|
|
744 |
5dc: 0f 90 pop r0
|
|
745 |
5de: 0f 90 pop r0
|
|
746 |
5e0: cf 91 pop r28
|
|
747 |
5e2: df 91 pop r29
|
|
748 |
5e4: 08 95 ret
|
|
673 |
0000054e <default_get_bom>:
|
|
674 |
54e: df 93 push r29
|
|
675 |
550: cf 93 push r28
|
|
676 |
552: 00 d0 rcall .+0 ; 0x554 <default_get_bom+0x6>
|
|
677 |
554: cd b7 in r28, 0x3d ; 61
|
|
678 |
556: de b7 in r29, 0x3e ; 62
|
|
679 |
558: 8f ef ldi r24, 0xFF ; 255
|
|
680 |
55a: 9f ef ldi r25, 0xFF ; 255
|
|
681 |
55c: 0e 94 ef 0d call 0x1bde ; 0x1bde <bom_refresh>
|
|
682 |
560: ce 01 movw r24, r28
|
|
683 |
562: 01 96 adiw r24, 0x01 ; 1
|
|
684 |
564: 0e 94 00 0b call 0x1600 ; 0x1600 <bom_get_max10>
|
|
685 |
568: 99 81 ldd r25, Y+1 ; 0x01
|
|
686 |
56a: 0f 90 pop r0
|
|
687 |
56c: 0f 90 pop r0
|
|
688 |
56e: cf 91 pop r28
|
|
689 |
570: df 91 pop r29
|
|
690 |
572: 08 95 ret
|
|
749 | 691 |
|
750 |
000005e6 <wl_token_ring_unregister>:
|
|
751 |
5e6: 83 e2 ldi r24, 0x23 ; 35
|
|
752 |
5e8: 91 e0 ldi r25, 0x01 ; 1
|
|
753 |
5ea: 0e 94 96 00 call 0x12c ; 0x12c <wl_unregister_packet_group>
|
|
754 |
5ee: 08 95 ret
|
|
692 |
00000574 <wl_token_ring_unregister>:
|
|
693 |
574: 84 e1 ldi r24, 0x14 ; 20
|
|
694 |
576: 91 e0 ldi r25, 0x01 ; 1
|
|
695 |
578: 0e 94 96 00 call 0x12c ; 0x12c <wl_unregister_packet_group>
|
|
696 |
57c: 08 95 ret
|
|
755 | 697 |
|
756 |
000005f0 <wl_token_ring_join>:
|
|
757 |
5f0: 0f 93 push r16
|
|
758 |
5f2: 82 e0 ldi r24, 0x02 ; 2
|
|
759 |
5f4: 90 e0 ldi r25, 0x00 ; 0
|
|
760 |
5f6: 90 93 13 06 sts 0x0613, r25
|
|
761 |
5fa: 80 93 12 06 sts 0x0612, r24
|
|
762 |
5fe: 88 e0 ldi r24, 0x08 ; 8
|
|
763 |
600: 90 e0 ldi r25, 0x00 ; 0
|
|
764 |
602: 90 93 32 01 sts 0x0132, r25
|
|
765 |
606: 80 93 31 01 sts 0x0131, r24
|
|
766 |
60a: 82 e0 ldi r24, 0x02 ; 2
|
|
767 |
60c: 64 e0 ldi r22, 0x04 ; 4
|
|
768 |
60e: 40 e0 ldi r20, 0x00 ; 0
|
|
769 |
610: 50 e0 ldi r21, 0x00 ; 0
|
|
770 |
612: 20 e0 ldi r18, 0x00 ; 0
|
|
771 |
614: 30 e0 ldi r19, 0x00 ; 0
|
|
772 |
616: 00 e0 ldi r16, 0x00 ; 0
|
|
773 |
618: 0e 94 b9 01 call 0x372 ; 0x372 <wl_send_global_packet>
|
|
774 |
61c: 89 2b or r24, r25
|
|
775 |
61e: 19 f4 brne .+6 ; 0x626 <wl_token_ring_join+0x36>
|
|
776 |
620: 20 e0 ldi r18, 0x00 ; 0
|
|
777 |
622: 30 e0 ldi r19, 0x00 ; 0
|
|
778 |
624: 02 c0 rjmp .+4 ; 0x62a <wl_token_ring_join+0x3a>
|
|
779 |
626: 2f ef ldi r18, 0xFF ; 255
|
|
780 |
628: 3f ef ldi r19, 0xFF ; 255
|
|
781 |
62a: c9 01 movw r24, r18
|
|
782 |
62c: 0f 91 pop r16
|
|
783 |
62e: 08 95 ret
|
|
698 |
0000057e <wl_token_ring_join>:
|
|
699 |
57e: 0f 93 push r16
|
|
700 |
580: 82 e0 ldi r24, 0x02 ; 2
|
|
701 |
582: 90 e0 ldi r25, 0x00 ; 0
|
|
702 |
584: 90 93 03 06 sts 0x0603, r25
|
|
703 |
588: 80 93 02 06 sts 0x0602, r24
|
|
704 |
58c: 88 e0 ldi r24, 0x08 ; 8
|
|
705 |
58e: 90 e0 ldi r25, 0x00 ; 0
|
|
706 |
590: 90 93 23 01 sts 0x0123, r25
|
|
707 |
594: 80 93 22 01 sts 0x0122, r24
|
|
708 |
598: 82 e0 ldi r24, 0x02 ; 2
|
|
709 |
59a: 64 e0 ldi r22, 0x04 ; 4
|
|
710 |
59c: 40 e0 ldi r20, 0x00 ; 0
|
|
711 |
59e: 50 e0 ldi r21, 0x00 ; 0
|
|
712 |
5a0: 20 e0 ldi r18, 0x00 ; 0
|
|
713 |
5a2: 30 e0 ldi r19, 0x00 ; 0
|
|
714 |
5a4: 00 e0 ldi r16, 0x00 ; 0
|
|
715 |
5a6: 0e 94 80 01 call 0x300 ; 0x300 <wl_send_global_packet>
|
|
716 |
5aa: 89 2b or r24, r25
|
|
717 |
5ac: 19 f4 brne .+6 ; 0x5b4 <wl_token_ring_join+0x36>
|
|
718 |
5ae: 20 e0 ldi r18, 0x00 ; 0
|
|
719 |
5b0: 30 e0 ldi r19, 0x00 ; 0
|
|
720 |
5b2: 02 c0 rjmp .+4 ; 0x5b8 <wl_token_ring_join+0x3a>
|
|
721 |
5b4: 2f ef ldi r18, 0xFF ; 255
|
|
722 |
5b6: 3f ef ldi r19, 0xFF ; 255
|
|
723 |
5b8: c9 01 movw r24, r18
|
|
724 |
5ba: 0f 91 pop r16
|
|
725 |
5bc: 08 95 ret
|
|
784 | 726 |
|
785 |
00000630 <wl_token_pass_token>: |
|
786 |
630: 8f 92 push r8 |
|
787 |
632: 9f 92 push r9 |
|
788 |
634: af 92 push r10 |
|
789 |
636: bf 92 push r11 |
|
790 |
638: df 92 push r13 |
|
791 |
63a: ef 92 push r14 |
|
792 |
63c: ff 92 push r15 |
|
793 |
63e: 0f 93 push r16 |
|
794 |
640: 1f 93 push r17 |
|
795 |
642: df 93 push r29 |
|
796 |
644: cf 93 push r28 |
|
797 |
646: cd b7 in r28, 0x3d ; 61 |
|
798 |
648: de b7 in r29, 0x3e ; 62 |
|
799 |
64a: 8d b6 in r8, 0x3d ; 61 |
|
800 |
64c: 9e b6 in r9, 0x3e ; 62 |
|
801 |
64e: 0e 94 e4 01 call 0x3c8 ; 0x3c8 <wl_get_xbee_id> |
|
802 |
652: 8c 01 movw r16, r24 |
|
803 |
654: 0e 94 b0 0a call 0x1560 ; 0x1560 <sensor_matrix_get_size> |
|
804 |
658: 9c 01 movw r18, r24 |
|
805 |
65a: 22 0f add r18, r18 |
|
806 |
65c: 33 1f adc r19, r19 |
|
807 |
65e: 28 0f add r18, r24 |
|
808 |
660: 39 1f adc r19, r25 |
|
809 |
662: 8d b7 in r24, 0x3d ; 61 |
|
810 |
664: 9e b7 in r25, 0x3e ; 62 |
|
811 |
666: 82 1b sub r24, r18 |
|
812 |
668: 93 0b sbc r25, r19 |
|
813 |
66a: 0f b6 in r0, 0x3f ; 63 |
|
814 |
66c: f8 94 cli |
|
815 |
66e: 9e bf out 0x3e, r25 ; 62 |
|
816 |
670: 0f be out 0x3f, r0 ; 63 |
|
817 |
672: 8d bf out 0x3d, r24 ; 61 |
|
818 |
674: ad b6 in r10, 0x3d ; 61 |
|
819 |
676: be b6 in r11, 0x3e ; 62 |
|
820 |
678: 08 94 sec |
|
821 |
67a: a1 1c adc r10, r1 |
|
822 |
67c: b1 1c adc r11, r1 |
|
823 |
67e: 80 91 33 01 lds r24, 0x0133 |
|
824 |
682: 90 91 34 01 lds r25, 0x0134 |
|
825 |
686: 2f ef ldi r18, 0xFF ; 255 |
|
826 |
688: 8f 3f cpi r24, 0xFF ; 255 |
|
827 |
68a: 92 07 cpc r25, r18 |
|
828 |
68c: 81 f4 brne .+32 ; 0x6ae <wl_token_pass_token+0x7e> |
|
829 |
68e: 0f 5f subi r16, 0xFF ; 255 |
|
830 |
690: 1f 4f sbci r17, 0xFF ; 255 |
|
831 |
692: 0e 94 b0 0a call 0x1560 ; 0x1560 <sensor_matrix_get_size> |
|
832 |
696: 08 17 cp r16, r24 |
|
833 |
698: 19 07 cpc r17, r25 |
|
834 |
69a: 11 f4 brne .+4 ; 0x6a0 <wl_token_pass_token+0x70> |
|
835 |
69c: 00 e0 ldi r16, 0x00 ; 0 |
|
836 |
69e: 10 e0 ldi r17, 0x00 ; 0 |
|
837 |
6a0: c8 01 movw r24, r16 |
|
838 |
6a2: 0e 94 9d 0a call 0x153a ; 0x153a <sensor_matrix_get_in_ring> |
|
839 |
6a6: 89 2b or r24, r25 |
|
840 |
6a8: 91 f3 breq .-28 ; 0x68e <wl_token_pass_token+0x5e> |
|
841 |
6aa: d0 2e mov r13, r16 |
|
842 |
6ac: 0c c0 rjmp .+24 ; 0x6c6 <wl_token_pass_token+0x96> |
|
843 |
6ae: 61 e0 ldi r22, 0x01 ; 1 |
|
844 |
6b0: 70 e0 ldi r23, 0x00 ; 0 |
|
845 |
6b2: 0e 94 73 0a call 0x14e6 ; 0x14e6 <sensor_matrix_set_in_ring> |
|
846 |
6b6: d0 90 33 01 lds r13, 0x0133 |
|
847 |
6ba: 8f ef ldi r24, 0xFF ; 255 |
|
848 |
6bc: 9f ef ldi r25, 0xFF ; 255 |
|
849 |
6be: 90 93 34 01 sts 0x0134, r25 |
|
850 |
6c2: 80 93 33 01 sts 0x0133, r24 |
|
851 |
6c6: 00 e0 ldi r16, 0x00 ; 0 |
|
852 |
6c8: 10 e0 ldi r17, 0x00 ; 0 |
|
853 |
6ca: ee 24 eor r14, r14 |
|
854 |
6cc: ff 24 eor r15, r15 |
|
855 |
6ce: 22 c0 rjmp .+68 ; 0x714 <wl_token_pass_token+0xe4> |
|
856 |
6d0: c8 01 movw r24, r16 |
|
857 |
6d2: 0e 94 9d 0a call 0x153a ; 0x153a <sensor_matrix_get_in_ring> |
|
858 |
6d6: 89 2b or r24, r25 |
|
859 |
6d8: d9 f0 breq .+54 ; 0x710 <wl_token_pass_token+0xe0> |
|
860 |
6da: 0e 94 e4 01 call 0x3c8 ; 0x3c8 <wl_get_xbee_id> |
|
861 |
6de: 08 17 cp r16, r24 |
|
862 |
6e0: 19 07 cpc r17, r25 |
|
863 |
6e2: b1 f0 breq .+44 ; 0x710 <wl_token_pass_token+0xe0> |
|
864 |
6e4: 0e 94 e4 01 call 0x3c8 ; 0x3c8 <wl_get_xbee_id> |
|
865 |
6e8: b8 01 movw r22, r16 |
|
866 |
6ea: 0e 94 5c 0a call 0x14b8 ; 0x14b8 <sensor_matrix_get_reading> |
|
867 |
6ee: dc 01 movw r26, r24 |
|
868 |
6f0: f7 01 movw r30, r14 |
|
869 |
6f2: ee 0f add r30, r30 |
|
870 |
6f4: ff 1f adc r31, r31 |
|
871 |
6f6: ee 0d add r30, r14 |
|
872 |
6f8: ff 1d adc r31, r15 |
|
873 |
6fa: ea 0d add r30, r10 |
|
874 |
6fc: fb 1d adc r31, r11 |
|
875 |
6fe: 00 83 st Z, r16 |
|
876 |
700: 8c 91 ld r24, X |
|
877 |
702: 81 83 std Z+1, r24 ; 0x01 |
|
878 |
704: 11 96 adiw r26, 0x01 ; 1 |
|
879 |
706: 8c 91 ld r24, X |
|
880 |
708: 82 83 std Z+2, r24 ; 0x02 |
|
881 |
70a: 08 94 sec |
|
882 |
70c: e1 1c adc r14, r1 |
|
883 |
70e: f1 1c adc r15, r1 |
|
884 |
710: 0f 5f subi r16, 0xFF ; 255 |
|
885 |
712: 1f 4f sbci r17, 0xFF ; 255 |
|
886 |
714: 0e 94 b0 0a call 0x1560 ; 0x1560 <sensor_matrix_get_size> |
|
887 |
718: 08 17 cp r16, r24 |
|
888 |
71a: 19 07 cpc r17, r25 |
|
889 |
71c: cc f2 brlt .-78 ; 0x6d0 <wl_token_pass_token+0xa0> |
|
890 |
71e: 97 01 movw r18, r14 |
|
891 |
720: 22 0f add r18, r18 |
|
892 |
722: 33 1f adc r19, r19 |
|
893 |
724: 2e 0d add r18, r14 |
|
894 |
726: 3f 1d adc r19, r15 |
|
895 |
728: 82 e0 ldi r24, 0x02 ; 2 |
|
896 |
72a: 62 e0 ldi r22, 0x02 ; 2 |
|
897 |
72c: a5 01 movw r20, r10 |
|
898 |
72e: 00 e0 ldi r16, 0x00 ; 0 |
|
899 |
730: 0e 94 b9 01 call 0x372 ; 0x372 <wl_send_global_packet> |
|
900 |
734: 89 2b or r24, r25 |
|
901 |
736: d9 f4 brne .+54 ; 0x76e <wl_token_pass_token+0x13e> |
|
902 |
738: 82 e0 ldi r24, 0x02 ; 2 |
|
903 |
73a: 61 e0 ldi r22, 0x01 ; 1 |
|
904 |
73c: 40 e0 ldi r20, 0x00 ; 0 |
|
905 |
73e: 50 e0 ldi r21, 0x00 ; 0 |
|
906 |
740: 20 e0 ldi r18, 0x00 ; 0 |
|
907 |
742: 30 e0 ldi r19, 0x00 ; 0 |
|
908 |
744: 0d 2d mov r16, r13 |
|
909 |
746: 10 e0 ldi r17, 0x00 ; 0 |
|
910 |
748: 92 e0 ldi r25, 0x02 ; 2 |
|
911 |
74a: e9 2e mov r14, r25 |
|
912 |
74c: 0e 94 d6 01 call 0x3ac ; 0x3ac <wl_send_robot_to_robot_global_packet> |
|
913 |
750: 89 2b or r24, r25 |
|
914 |
752: 69 f4 brne .+26 ; 0x76e <wl_token_pass_token+0x13e> |
|
915 |
754: d0 92 2d 01 sts 0x012D, r13 |
|
916 |
758: 10 92 2e 01 sts 0x012E, r1 |
|
917 |
75c: 84 e0 ldi r24, 0x04 ; 4 |
|
918 |
75e: 90 e0 ldi r25, 0x00 ; 0 |
|
919 |
760: 90 93 30 01 sts 0x0130, r25 |
|
920 |
764: 80 93 2f 01 sts 0x012F, r24 |
|
921 |
768: 20 e0 ldi r18, 0x00 ; 0 |
|
922 |
76a: 30 e0 ldi r19, 0x00 ; 0 |
|
923 |
76c: 02 c0 rjmp .+4 ; 0x772 <wl_token_pass_token+0x142> |
|
924 |
76e: 2f ef ldi r18, 0xFF ; 255 |
|
925 |
770: 3f ef ldi r19, 0xFF ; 255 |
|
926 |
772: c9 01 movw r24, r18 |
|
927 |
774: 0f b6 in r0, 0x3f ; 63 |
|
928 |
776: f8 94 cli |
|
929 |
778: 9e be out 0x3e, r9 ; 62 |
|
930 |
77a: 0f be out 0x3f, r0 ; 63 |
|
931 |
77c: 8d be out 0x3d, r8 ; 61 |
|
932 |
77e: cf 91 pop r28 |
|
933 |
780: df 91 pop r29 |
|
934 |
782: 1f 91 pop r17 |
|
935 |
784: 0f 91 pop r16 |
|
936 |
786: ff 90 pop r15 |
|
937 |
788: ef 90 pop r14 |
|
938 |
78a: df 90 pop r13 |
|
939 |
78c: bf 90 pop r11 |
|
940 |
78e: af 90 pop r10 |
|
941 |
790: 9f 90 pop r9 |
|
942 |
792: 8f 90 pop r8 |
|
943 |
794: 08 95 ret |
|
727 |
000005be <wl_token_pass_token>: |
|
728 |
5be: 8f 92 push r8 |
|
729 |
5c0: 9f 92 push r9 |
|
730 |
5c2: af 92 push r10 |
|
731 |
5c4: bf 92 push r11 |
|
732 |
5c6: df 92 push r13 |
|
733 |
5c8: ef 92 push r14 |
|
734 |
5ca: ff 92 push r15 |
|
735 |
5cc: 0f 93 push r16 |
|
736 |
5ce: 1f 93 push r17 |
|
737 |
5d0: df 93 push r29 |
|
738 |
5d2: cf 93 push r28 |
|
739 |
5d4: cd b7 in r28, 0x3d ; 61 |
|
740 |
5d6: de b7 in r29, 0x3e ; 62 |
|
741 |
5d8: 8d b6 in r8, 0x3d ; 61 |
|
742 |
5da: 9e b6 in r9, 0x3e ; 62 |
|
743 |
5dc: 0e 94 ab 01 call 0x356 ; 0x356 <wl_get_xbee_id> |
|
744 |
5e0: 8c 01 movw r16, r24 |
|
745 |
5e2: 0e 94 d9 0a call 0x15b2 ; 0x15b2 <sensor_matrix_get_size> |
|
746 |
5e6: 9c 01 movw r18, r24 |
|
747 |
5e8: 22 0f add r18, r18 |
|
748 |
5ea: 33 1f adc r19, r19 |
|
749 |
5ec: 28 0f add r18, r24 |
|
750 |
5ee: 39 1f adc r19, r25 |
|
751 |
5f0: 8d b7 in r24, 0x3d ; 61 |
|
752 |
5f2: 9e b7 in r25, 0x3e ; 62 |
|
753 |
5f4: 82 1b sub r24, r18 |
|
754 |
5f6: 93 0b sbc r25, r19 |
|
755 |
5f8: 0f b6 in r0, 0x3f ; 63 |
|
756 |
5fa: f8 94 cli |
|
757 |
5fc: 9e bf out 0x3e, r25 ; 62 |
|
758 |
5fe: 0f be out 0x3f, r0 ; 63 |
|
759 |
600: 8d bf out 0x3d, r24 ; 61 |
|
760 |
602: ad b6 in r10, 0x3d ; 61 |
|
761 |
604: be b6 in r11, 0x3e ; 62 |
|
762 |
606: 08 94 sec |
|
763 |
608: a1 1c adc r10, r1 |
|
764 |
60a: b1 1c adc r11, r1 |
|
765 |
60c: 80 91 24 01 lds r24, 0x0124 |
|
766 |
610: 90 91 25 01 lds r25, 0x0125 |
|
767 |
614: 2f ef ldi r18, 0xFF ; 255 |
|
768 |
616: 8f 3f cpi r24, 0xFF ; 255 |
|
769 |
618: 92 07 cpc r25, r18 |
|
770 |
61a: 81 f4 brne .+32 ; 0x63c <wl_token_pass_token+0x7e> |
|
771 |
61c: 0f 5f subi r16, 0xFF ; 255 |
|
772 |
61e: 1f 4f sbci r17, 0xFF ; 255 |
|
773 |
620: 0e 94 d9 0a call 0x15b2 ; 0x15b2 <sensor_matrix_get_size> |
|
774 |
624: 08 17 cp r16, r24 |
|
775 |
626: 19 07 cpc r17, r25 |
|
776 |
628: 11 f4 brne .+4 ; 0x62e <wl_token_pass_token+0x70> |
|
777 |
62a: 00 e0 ldi r16, 0x00 ; 0 |
|
778 |
62c: 10 e0 ldi r17, 0x00 ; 0 |
|
779 |
62e: c8 01 movw r24, r16 |
|
780 |
630: 0e 94 c6 0a call 0x158c ; 0x158c <sensor_matrix_get_in_ring> |
|
781 |
634: 89 2b or r24, r25 |
|
782 |
636: 91 f3 breq .-28 ; 0x61c <wl_token_pass_token+0x5e> |
|
783 |
638: d0 2e mov r13, r16 |
|
784 |
63a: 0c c0 rjmp .+24 ; 0x654 <wl_token_pass_token+0x96> |
|
785 |
63c: 61 e0 ldi r22, 0x01 ; 1 |
|
786 |
63e: 70 e0 ldi r23, 0x00 ; 0 |
|
787 |
640: 0e 94 9c 0a call 0x1538 ; 0x1538 <sensor_matrix_set_in_ring> |
|
788 |
644: d0 90 24 01 lds r13, 0x0124 |
|
789 |
648: 8f ef ldi r24, 0xFF ; 255 |
|
790 |
64a: 9f ef ldi r25, 0xFF ; 255 |
|
791 |
64c: 90 93 25 01 sts 0x0125, r25 |
|
792 |
650: 80 93 24 01 sts 0x0124, r24 |
|
793 |
654: 00 e0 ldi r16, 0x00 ; 0 |
|
794 |
656: 10 e0 ldi r17, 0x00 ; 0 |
|
795 |
658: ee 24 eor r14, r14 |
|
796 |
65a: ff 24 eor r15, r15 |
|
797 |
65c: 22 c0 rjmp .+68 ; 0x6a2 <wl_token_pass_token+0xe4> |
|
798 |
65e: c8 01 movw r24, r16 |
|
799 |
660: 0e 94 c6 0a call 0x158c ; 0x158c <sensor_matrix_get_in_ring> |
|
800 |
664: 89 2b or r24, r25 |
|
801 |
666: d9 f0 breq .+54 ; 0x69e <wl_token_pass_token+0xe0> |
|
802 |
668: 0e 94 ab 01 call 0x356 ; 0x356 <wl_get_xbee_id> |
|
803 |
66c: 08 17 cp r16, r24 |
|
804 |
66e: 19 07 cpc r17, r25 |
|
805 |
670: b1 f0 breq .+44 ; 0x69e <wl_token_pass_token+0xe0> |
|
806 |
672: 0e 94 ab 01 call 0x356 ; 0x356 <wl_get_xbee_id> |
|
807 |
676: b8 01 movw r22, r16 |
|
808 |
678: 0e 94 85 0a call 0x150a ; 0x150a <sensor_matrix_get_reading> |
|
809 |
67c: dc 01 movw r26, r24 |
|
810 |
67e: f7 01 movw r30, r14 |
|
811 |
680: ee 0f add r30, r30 |
|
812 |
682: ff 1f adc r31, r31 |
|
813 |
684: ee 0d add r30, r14 |
|
814 |
686: ff 1d adc r31, r15 |
|
815 |
688: ea 0d add r30, r10 |
|
816 |
68a: fb 1d adc r31, r11 |
|
817 |
68c: 00 83 st Z, r16 |
|
818 |
68e: 8c 91 ld r24, X |
|
819 |
690: 81 83 std Z+1, r24 ; 0x01 |
|
820 |
692: 11 96 adiw r26, 0x01 ; 1 |
|
821 |
694: 8c 91 ld r24, X |
|
822 |
696: 82 83 std Z+2, r24 ; 0x02 |
|
823 |
698: 08 94 sec |
|
824 |
69a: e1 1c adc r14, r1 |
|
825 |
69c: f1 1c adc r15, r1 |
|
826 |
69e: 0f 5f subi r16, 0xFF ; 255 |
|
827 |
6a0: 1f 4f sbci r17, 0xFF ; 255 |
|
828 |
6a2: 0e 94 d9 0a call 0x15b2 ; 0x15b2 <sensor_matrix_get_size> |
|
829 |
6a6: 08 17 cp r16, r24 |
|
830 |
6a8: 19 07 cpc r17, r25 |
|
831 |
6aa: cc f2 brlt .-78 ; 0x65e <wl_token_pass_token+0xa0> |
|
832 |
6ac: 97 01 movw r18, r14 |
Also available in: Unified diff