Statistics
| Revision:

root / demos / john / projects / libdragonfly / motor.lst @ 1693

History | View | Annotate | Download (7.89 KB)

1
   1               		.file	"motor.c"
2
   2               		.arch atmega128
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	motors_init
12
  20               	motors_init:
13
  21               	.LFB2:
14
  22               	.LM1:
15
  23               	/* prologue: frame size=0 */
16
  24               	/* prologue end (size=0) */
17
  25               	.LM2:
18
  26 0000 8BB3      		in r24,59-0x20
19
  27 0002 8F70      		andi r24,lo8(15)
20
  28 0004 8BBB      		out 59-0x20,r24
21
  29               	.LM3:
22
  30 0006 8AB3      		in r24,58-0x20
23
  31 0008 806F      		ori r24,lo8(-16)
24
  32 000a 8ABB      		out 58-0x20,r24
25
  33               	.LM4:
26
  34 000c 87B3      		in r24,55-0x20
27
  35 000e 8066      		ori r24,lo8(96)
28
  36 0010 87BB      		out 55-0x20,r24
29
  37               	.LM5:
30
  38 0012 81EA      		ldi r24,lo8(-95)
31
  39 0014 8FBD      		out 79-0x20,r24
32
  40               	.LM6:
33
  41 0016 89E0      		ldi r24,lo8(9)
34
  42 0018 8EBD      		out 78-0x20,r24
35
  43               	.LM7:
36
  44 001a 1BBC      		out 75-0x20,__zero_reg__
37
  45               	.LM8:
38
  46 001c 1ABC      		out 74-0x20,__zero_reg__
39
  47               	.LM9:
40
  48 001e 19BC      		out 73-0x20,__zero_reg__
41
  49               	.LM10:
42
  50 0020 18BC      		out 72-0x20,__zero_reg__
43
  51               	/* epilogue: frame size=0 */
44
  52 0022 0895      		ret
45
  53               	/* epilogue end (size=1) */
46
  54               	/* function motors_init size 18 (17) */
47
  55               	.LFE2:
48
  57               	.global	motor_l_set
49
  59               	motor_l_set:
50
  60               	.LFB3:
51
  61               	.LM11:
52
  62               	/* prologue: frame size=0 */
53
  63               	/* prologue end (size=0) */
54
  64               	.LVL0:
55
  65               	.LM12:
56
  66 0024 892B      		or r24,r25
57
  67 0026 01F4      		brne .L4
58
  68               	.LM13:
59
  69 0028 8BB3      		in r24,59-0x20
60
  70               	.LVL1:
61
  71 002a 8073      		andi r24,lo8(48)
62
  72 002c 8031      		cpi r24,lo8(16)
63
  73 002e 01F0      		breq .L6
64
  74               	.LM14:
65
  75 0030 1BBC      		out (74)+1-0x20,__zero_reg__
66
  76 0032 1ABC      		out 74-0x20,__zero_reg__
67
  77               	.L6:
68
  78               	.LM15:
69
  79 0034 8BB3      		in r24,59-0x20
70
  80 0036 8F7C      		andi r24,lo8(-49)
71
  81 0038 8061      		ori r24,lo8(16)
72
  82 003a 00C0      		rjmp .L12
73
  83               	.LVL2:
74
  84               	.L4:
75
  85               	.LM16:
76
  86 003c 8BB3      		in r24,59-0x20
77
  87               	.LVL3:
78
  88 003e 8073      		andi r24,lo8(48)
79
  89 0040 8032      		cpi r24,lo8(32)
80
  90 0042 01F0      		breq .L9
81
  91               	.LM17:
82
  92 0044 1BBC      		out (74)+1-0x20,__zero_reg__
83
  93 0046 1ABC      		out 74-0x20,__zero_reg__
84
  94               	.L9:
85
  95               	.LM18:
86
  96 0048 8BB3      		in r24,59-0x20
87
  97 004a 8F7C      		andi r24,lo8(-49)
88
  98 004c 8062      		ori r24,lo8(32)
89
  99               	.L12:
90
 100 004e 8BBB      		out 59-0x20,r24
91
 101               	.LM19:
92
 102 0050 6ABD      		out 74-0x20,r22
93
 103               	/* epilogue: frame size=0 */
94
 104 0052 0895      		ret
95
 105               	/* epilogue end (size=1) */
96
 106               	/* function motor_l_set size 24 (23) */
97
 107               	.LFE3:
98
 109               	.global	motor_r_set
99
 111               	motor_r_set:
100
 112               	.LFB4:
101
 113               	.LM20:
102
 114               	/* prologue: frame size=0 */
103
 115               	/* prologue end (size=0) */
104
 116               	.LVL4:
105
 117               	.LM21:
106
 118 0054 892B      		or r24,r25
107
 119 0056 01F4      		brne .L14
108
 120               	.LM22:
109
 121 0058 8BB3      		in r24,59-0x20
110
 122               	.LVL5:
111
 123 005a 807C      		andi r24,lo8(-64)
112
 124 005c 8038      		cpi r24,lo8(-128)
113
 125 005e 01F0      		breq .L16
114
 126               	.LM23:
115
 127 0060 19BC      		out (72)+1-0x20,__zero_reg__
116
 128 0062 18BC      		out 72-0x20,__zero_reg__
117
 129               	.L16:
118
 130               	.LM24:
119
 131 0064 8BB3      		in r24,59-0x20
120
 132 0066 8F73      		andi r24,lo8(63)
121
 133 0068 8068      		ori r24,lo8(-128)
122
 134 006a 00C0      		rjmp .L22
123
 135               	.LVL6:
124
 136               	.L14:
125
 137               	.LM25:
126
 138 006c 8BB3      		in r24,59-0x20
127
 139               	.LVL7:
128
 140 006e 807C      		andi r24,lo8(-64)
129
 141 0070 8034      		cpi r24,lo8(64)
130
 142 0072 01F0      		breq .L19
131
 143               	.LM26:
132
 144 0074 19BC      		out (72)+1-0x20,__zero_reg__
133
 145 0076 18BC      		out 72-0x20,__zero_reg__
134
 146               	.L19:
135
 147               	.LM27:
136
 148 0078 8BB3      		in r24,59-0x20
137
 149 007a 8F73      		andi r24,lo8(63)
138
 150 007c 8064      		ori r24,lo8(64)
139
 151               	.L22:
140
 152 007e 8BBB      		out 59-0x20,r24
141
 153               	.LM28:
142
 154 0080 68BD      		out 72-0x20,r22
143
 155               	/* epilogue: frame size=0 */
144
 156 0082 0895      		ret
145
 157               	/* epilogue end (size=1) */
146
 158               	/* function motor_r_set size 24 (23) */
147
 159               	.LFE4:
148
 161               	.global	motor1_set
149
 163               	motor1_set:
150
 164               	.LFB5:
151
 165               	.LM29:
152
 166               	/* prologue: frame size=0 */
153
 167               	/* prologue end (size=0) */
154
 168               	.LVL8:
155
 169               	.LM30:
156
 170 0084 0E94 0000 		call motor_l_set
157
 171               	.LVL9:
158
 172               	/* epilogue: frame size=0 */
159
 173 0088 0895      		ret
160
 174               	/* epilogue end (size=1) */
161
 175               	/* function motor1_set size 3 (2) */
162
 176               	.LFE5:
163
 178               	.global	motor2_set
164
 180               	motor2_set:
165
 181               	.LFB6:
166
 182               	.LM31:
167
 183               	/* prologue: frame size=0 */
168
 184               	/* prologue end (size=0) */
169
 185               	.LVL10:
170
 186               	.LM32:
171
 187 008a 0E94 0000 		call motor_r_set
172
 188               	.LVL11:
173
 189               	/* epilogue: frame size=0 */
174
 190 008e 0895      		ret
175
 191               	/* epilogue end (size=1) */
176
 192               	/* function motor2_set size 3 (2) */
177
 193               	.LFE6:
178
 195               	.global	motors_off
179
 197               	motors_off:
180
 198               	.LFB7:
181
 199               	.LM33:
182
 200               	/* prologue: frame size=0 */
183
 201               	/* prologue end (size=0) */
184
 202               	.LM34:
185
 203 0090 1ABC      		out 74-0x20,__zero_reg__
186
 204               	.LM35:
187
 205 0092 18BC      		out 72-0x20,__zero_reg__
188
 206               	/* epilogue: frame size=0 */
189
 207 0094 0895      		ret
190
 208               	/* epilogue end (size=1) */
191
 209               	/* function motors_off size 3 (2) */
192
 210               	.LFE7:
193
 276               	.Letext0:
194
DEFINED SYMBOLS
195
                            *ABS*:00000000 motor.c
196
F:\DOCUME~1\Evan\LOCALS~1\Temp/ccXl9b3V.s:3      *ABS*:0000003f __SREG__
197
F:\DOCUME~1\Evan\LOCALS~1\Temp/ccXl9b3V.s:4      *ABS*:0000003e __SP_H__
198
F:\DOCUME~1\Evan\LOCALS~1\Temp/ccXl9b3V.s:5      *ABS*:0000003d __SP_L__
199
F:\DOCUME~1\Evan\LOCALS~1\Temp/ccXl9b3V.s:6      *ABS*:00000000 __tmp_reg__
200
F:\DOCUME~1\Evan\LOCALS~1\Temp/ccXl9b3V.s:7      *ABS*:00000001 __zero_reg__
201
F:\DOCUME~1\Evan\LOCALS~1\Temp/ccXl9b3V.s:20     .text:00000000 motors_init
202
F:\DOCUME~1\Evan\LOCALS~1\Temp/ccXl9b3V.s:59     .text:00000024 motor_l_set
203
F:\DOCUME~1\Evan\LOCALS~1\Temp/ccXl9b3V.s:111    .text:00000054 motor_r_set
204
F:\DOCUME~1\Evan\LOCALS~1\Temp/ccXl9b3V.s:163    .text:00000084 motor1_set
205
F:\DOCUME~1\Evan\LOCALS~1\Temp/ccXl9b3V.s:180    .text:0000008a motor2_set
206
F:\DOCUME~1\Evan\LOCALS~1\Temp/ccXl9b3V.s:197    .text:00000090 motors_off
207

    
208
UNDEFINED SYMBOLS
209
__do_copy_data
210
__do_clear_bss