Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
111 | mikeljo | 1 | 1 .file "motortest.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 .section .progmem.data,"a",@progbits |
||
12 | 21 __c.0: |
||
13 | 22 0000 5461 7374 .string "Taste dr\374cken\r\n" |
||
14 | 22 6520 6472 |
||
15 | 22 FC63 6B65 |
||
16 | 22 6E0D 0A00 |
||
17 | 23 .text |
||
18 | 24 .global motor_test |
||
19 | 26 motor_test: |
||
20 | 27 .LFB4: |
||
21 | 28 .LM1: |
||
22 | 29 /* prologue: frame size=0 */ |
||
23 | 30 /* prologue end (size=0) */ |
||
24 | 31 .LM2: |
||
25 | 32 0000 0E94 0000 call lcd_cls |
||
26 | 33 .L2: |
||
27 | 34 .LM3: |
||
28 | 35 0004 6091 0000 lds r22,key |
||
29 | 36 0008 6623 tst r22 |
||
30 | 37 000a E1F7 brne .L2 |
||
31 | 38 .LM4: |
||
32 | 39 000c 80E0 ldi r24,lo8(__c.0) |
||
33 | 40 000e 90E0 ldi r25,hi8(__c.0) |
||
34 | 41 0010 0E94 0000 call lcd_printp |
||
35 | 42 .L5: |
||
36 | 43 .LM5: |
||
37 | 44 0014 8091 0000 lds r24,key |
||
38 | 45 0018 8823 tst r24 |
||
39 | 46 001a E1F3 breq .L5 |
||
40 | 47 .LM6: |
||
41 | 48 001c 8091 0000 lds r24,key |
||
42 | 49 0020 8830 cpi r24,lo8(8) |
||
43 | 50 0022 C9F4 brne .L9 |
||
44 | 51 .LM7: |
||
45 | 52 0024 83E2 ldi r24,lo8(35) |
||
46 | 53 0026 8093 0000 sts p_buffer,r24 |
||
47 | 54 .LM8: |
||
48 | 55 002a 81E6 ldi r24,lo8(97) |
||
49 | 56 002c 8093 0000 sts p_buffer+1,r24 |
||
50 | 57 .LM9: |
||
51 | 58 0030 84E7 ldi r24,lo8(116) |
||
52 | 59 0032 8093 0000 sts p_buffer+2,r24 |
||
53 | 60 .LM10: |
||
54 | 61 0036 8AE0 ldi r24,lo8(10) |
||
55 | 62 0038 8093 0000 sts p_buffer+3,r24 |
||
56 | 63 .LM11: |
||
57 | 64 003c 8093 0000 sts p_buffer+4,r24 |
||
58 | 65 .LM12: |
||
59 | 66 0040 8093 0000 sts p_buffer+5,r24 |
||
60 | 67 .LM13: |
||
61 | 68 0044 8093 0000 sts p_buffer+6,r24 |
||
62 | 69 .LM14: |
||
63 | 70 0048 1092 0000 sts p_buffer+7,__zero_reg__ |
||
64 | 71 .LM15: |
||
65 | 72 004c 1092 0000 sts p_buffer+8,__zero_reg__ |
||
66 | 73 .LM16: |
||
67 | 74 0050 89E0 ldi r24,lo8(9) |
||
68 | 75 0052 0E94 0000 call base64_send |
||
69 | 76 .L9: |
||
70 | 77 .LM17: |
||
71 | 78 0056 8091 0000 lds r24,key |
||
72 | 79 005a 8823 tst r24 |
||
73 | 80 005c E1F7 brne .L9 |
||
74 | 81 .L12: |
||
75 | 82 .LM18: |
||
76 | 83 005e 8091 0000 lds r24,key |
||
77 | 84 0062 8823 tst r24 |
||
78 | 85 0064 E1F3 breq .L12 |
||
79 | 86 .LM19: |
||
80 | 87 0066 83E2 ldi r24,lo8(35) |
||
81 | 88 0068 8093 0000 sts p_buffer,r24 |
||
82 | 89 .LM20: |
||
83 | 90 006c 81E6 ldi r24,lo8(97) |
||
84 | 91 006e 8093 0000 sts p_buffer+1,r24 |
||
85 | 92 .LM21: |
||
86 | 93 0072 84E7 ldi r24,lo8(116) |
||
87 | 94 0074 8093 0000 sts p_buffer+2,r24 |
||
88 | 95 .LM22: |
||
89 | 96 0078 1092 0000 sts p_buffer+3,__zero_reg__ |
||
90 | 97 .LM23: |
||
91 | 98 007c 1092 0000 sts p_buffer+4,__zero_reg__ |
||
92 | 99 .LM24: |
||
93 | 100 0080 1092 0000 sts p_buffer+5,__zero_reg__ |
||
94 | 101 .LM25: |
||
95 | 102 0084 1092 0000 sts p_buffer+6,__zero_reg__ |
||
96 | 103 .LM26: |
||
97 | 104 0088 1092 0000 sts p_buffer+7,__zero_reg__ |
||
98 | 105 .LM27: |
||
99 | 106 008c 1092 0000 sts p_buffer+8,__zero_reg__ |
||
100 | 107 .LM28: |
||
101 | 108 0090 89E0 ldi r24,lo8(9) |
||
102 | 109 0092 0E94 0000 call base64_send |
||
103 | 110 /* epilogue: frame size=0 */ |
||
104 | 111 0096 0895 ret |
||
105 | 112 /* epilogue end (size=1) */ |
||
106 | 113 /* function motor_test size 76 (75) */ |
||
107 | 114 .LFE4: |
||
108 | 116 .comm r_buffer,128,1 |
||
109 | 117 .comm p_buffer,128,1 |
||
110 | 118 .comm display_buffer,1024,1 |
||
111 | 119 .comm display_buffer_pointer,2,1 |
||
112 | 120 .comm display_buffer_counter,1,1 |
||
113 | 121 .comm display_page_counter,1,1 |
||
114 | 122 .comm display_mode,1,1 |
||
115 | 123 .Letext0: |
||
116 | DEFINED SYMBOLS |
||
117 | *ABS*:00000000 motortest.c |
||
118 | C:\DOKUME~1\thomas\LOKALE~1\Temp/ccUxaaaa.s:3 *ABS*:0000003f __SREG__ |
||
119 | C:\DOKUME~1\thomas\LOKALE~1\Temp/ccUxaaaa.s:4 *ABS*:0000003e __SP_H__ |
||
120 | C:\DOKUME~1\thomas\LOKALE~1\Temp/ccUxaaaa.s:5 *ABS*:0000003d __SP_L__ |
||
121 | C:\DOKUME~1\thomas\LOKALE~1\Temp/ccUxaaaa.s:6 *ABS*:00000000 __tmp_reg__ |
||
122 | C:\DOKUME~1\thomas\LOKALE~1\Temp/ccUxaaaa.s:7 *ABS*:00000001 __zero_reg__ |
||
123 | C:\DOKUME~1\thomas\LOKALE~1\Temp/ccUxaaaa.s:21 .progmem.data:00000000 __c.0 |
||
124 | C:\DOKUME~1\thomas\LOKALE~1\Temp/ccUxaaaa.s:26 .text:00000000 motor_test |
||
125 | *COM*:00000080 p_buffer |
||
126 | *COM*:00000080 r_buffer |
||
127 | *COM*:00000400 display_buffer |
||
128 | *COM*:00000002 display_buffer_pointer |
||
129 | *COM*:00000001 display_buffer_counter |
||
130 | *COM*:00000001 display_page_counter |
||
131 | *COM*:00000001 display_mode |
||
132 | |||
133 | UNDEFINED SYMBOLS |
||
134 | __do_copy_data |
||
135 | __do_clear_bss |
||
136 | lcd_cls |
||
137 | key |
||
138 | lcd_printp |
||
139 | base64_send |