Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
116 | - | 1 | 1 .file "twislave.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 InitIC2_Slave |
||
10 | 18 InitIC2_Slave: |
||
11 | 19 .LFB3: |
||
12 | 20 .LM1: |
||
13 | 21 .LVL0: |
||
14 | 22 /* prologue: function */ |
||
15 | 23 /* frame size = 0 */ |
||
16 | 24 .LM2: |
||
17 | 25 0000 9091 0000 lds r25,MotorAdresse |
||
18 | 26 0004 990F lsl r25 |
||
19 | 27 0006 980F add r25,r24 |
||
20 | 28 0008 92B9 out 34-32,r25 |
||
21 | 29 .LM3: |
||
22 | 30 000a 85EC ldi r24,lo8(-59) |
||
23 | 31 .LVL1: |
||
24 | 32 000c 86BF out 86-32,r24 |
||
25 | 33 /* epilogue start */ |
||
26 | 34 .LM4: |
||
27 | 35 000e 0895 ret |
||
28 | 36 .LFE3: |
||
29 | 38 .global __vector_17 |
||
30 | 40 __vector_17: |
||
31 | 41 .LFB4: |
||
32 | 42 .LM5: |
||
33 | 43 0010 1F92 push __zero_reg__ |
||
34 | 44 0012 0F92 push r0 |
||
35 | 45 0014 0FB6 in r0,__SREG__ |
||
36 | 46 0016 0F92 push r0 |
||
37 | 47 0018 1124 clr __zero_reg__ |
||
38 | 48 001a 8F93 push r24 |
||
39 | 49 001c 9F93 push r25 |
||
40 | 50 /* prologue: Signal */ |
||
41 | 51 /* frame size = 0 */ |
||
42 | 52 .LM6: |
||
43 | 53 001e 81B1 in r24,33-32 |
||
44 | 54 0020 90E0 ldi r25,lo8(0) |
||
45 | 55 0022 887F andi r24,lo8(248) |
||
46 | 56 0024 9070 andi r25,hi8(248) |
||
47 | 57 0026 8038 cpi r24,128 |
||
48 | 58 0028 9105 cpc r25,__zero_reg__ |
||
49 | 59 002a 01F0 breq .L7 |
||
50 | 60 002c 8138 cpi r24,129 |
||
51 | 61 002e 9105 cpc r25,__zero_reg__ |
||
52 | 62 0030 04F4 brge .L11 |
||
53 | 63 0032 0097 sbiw r24,0 |
||
54 | 64 0034 01F0 breq .L5 |
||
55 | 65 0036 8036 cpi r24,96 |
||
56 | 66 0038 9105 cpc r25,__zero_reg__ |
||
57 | 67 003a 01F4 brne .L4 |
||
58 | 68 003c 00C0 rjmp .L21 |
||
59 | 69 .L11: |
||
60 | 70 003e 883B cpi r24,184 |
||
61 | 71 0040 9105 cpc r25,__zero_reg__ |
||
62 | 72 0042 01F0 breq .L9 |
||
63 | 73 0044 883F cpi r24,248 |
||
64 | 74 0046 9105 cpc r25,__zero_reg__ |
||
65 | 75 0048 01F0 breq .L10 |
||
66 | 76 004a 883A cpi r24,168 |
||
67 | 77 004c 9105 cpc r25,__zero_reg__ |
||
68 | 78 004e 01F4 brne .L4 |
||
69 | 79 0050 00C0 rjmp .L9 |
||
70 | 80 .L21: |
||
71 | 81 .LM7: |
||
72 | 82 0052 86B7 in r24,86-32 |
||
73 | 83 0054 8068 ori r24,lo8(-128) |
||
74 | 84 0056 86BF out 86-32,r24 |
||
75 | 85 .LM8: |
||
76 | 86 0058 1092 0000 sts Byte_Counter,__zero_reg__ |
||
77 | 87 005c 00C0 rjmp .L17 |
||
78 | 88 .L7: |
||
79 | 89 .LM9: |
||
80 | 90 005e 83B1 in r24,35-32 |
||
81 | 91 0060 8093 0000 sts I2C_RXBuffer,r24 |
||
82 | 92 .LM10: |
||
83 | 93 0064 84EF ldi r24,lo8(500) |
||
84 | 94 0066 91E0 ldi r25,hi8(500) |
||
85 | 95 0068 9093 0000 sts (I2C_Timeout)+1,r25 |
||
86 | 96 006c 8093 0000 sts I2C_Timeout,r24 |
||
87 | 97 0070 00C0 rjmp .L16 |
||
88 | 98 .L9: |
||
89 | 99 .LM11: |
||
90 | 100 0072 8091 0000 lds r24,Byte_Counter |
||
91 | 101 0076 8823 tst r24 |
||
92 | 102 0078 01F4 brne .L15 |
||
93 | 103 .LM12: |
||
94 | 104 007a 8091 0000 lds r24,Mittelstrom |
||
95 | 105 007e 83B9 out 35-32,r24 |
||
96 | 106 .LM13: |
||
97 | 107 0080 81E0 ldi r24,lo8(1) |
||
98 | 108 0082 8093 0000 sts Byte_Counter,r24 |
||
99 | 109 0086 00C0 rjmp .L16 |
||
100 | 110 .L15: |
||
101 | 111 .LM14: |
||
102 | 112 0088 8091 0000 lds r24,MaxPWM |
||
103 | 113 008c 83B9 out 35-32,r24 |
||
104 | 114 .L16: |
||
105 | 115 .LM15: |
||
106 | 116 008e 86B7 in r24,86-32 |
||
107 | 117 0090 8068 ori r24,lo8(-128) |
||
108 | 118 0092 00C0 rjmp .L18 |
||
109 | 119 .L10: |
||
110 | 120 .LM16: |
||
111 | 121 0094 86B7 in r24,86-32 |
||
112 | 122 0096 8069 ori r24,lo8(-112) |
||
113 | 123 0098 86BF out 86-32,r24 |
||
114 | 124 .L5: |
||
115 | 125 .LM17: |
||
116 | 126 009a 86B7 in r24,86-32 |
||
117 | 127 009c 8069 ori r24,lo8(-112) |
||
118 | 128 009e 86BF out 86-32,r24 |
||
119 | 129 .L4: |
||
120 | 130 .LM18: |
||
121 | 131 00a0 85EC ldi r24,lo8(-59) |
||
122 | 132 .L18: |
||
123 | 133 00a2 86BF out 86-32,r24 |
||
124 | 134 .L17: |
||
125 | 135 /* epilogue start */ |
||
126 | 136 .LM19: |
||
127 | 137 00a4 9F91 pop r25 |
||
128 | 138 00a6 8F91 pop r24 |
||
129 | 139 00a8 0F90 pop r0 |
||
130 | 140 00aa 0FBE out __SREG__,r0 |
||
131 | 141 00ac 0F90 pop r0 |
||
132 | 142 00ae 1F90 pop __zero_reg__ |
||
133 | 143 00b0 1895 reti |
||
134 | 144 .LFE4: |
||
135 | 146 .global Byte_Counter |
||
136 | 147 .global Byte_Counter |
||
137 | 148 .section .bss |
||
138 | 151 Byte_Counter: |
||
139 | 152 0000 00 .skip 1,0 |
||
140 | 153 .comm I2C_RXBuffer,1,1 |
||
141 | 186 .Letext0: |
||
142 | DEFINED SYMBOLS |
||
143 | *ABS*:00000000 twislave.c |
||
144 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccyl1o1s.s:2 *ABS*:0000003f __SREG__ |
||
145 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccyl1o1s.s:3 *ABS*:0000003e __SP_H__ |
||
146 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccyl1o1s.s:4 *ABS*:0000003d __SP_L__ |
||
147 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccyl1o1s.s:5 *ABS*:00000034 __CCP__ |
||
148 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccyl1o1s.s:6 *ABS*:00000000 __tmp_reg__ |
||
149 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccyl1o1s.s:7 *ABS*:00000001 __zero_reg__ |
||
150 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccyl1o1s.s:18 .text:00000000 InitIC2_Slave |
||
151 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccyl1o1s.s:40 .text:00000010 __vector_17 |
||
152 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccyl1o1s.s:151 .bss:00000000 Byte_Counter |
||
153 | *COM*:00000001 I2C_RXBuffer |
||
154 | |||
155 | UNDEFINED SYMBOLS |
||
156 | MotorAdresse |
||
157 | I2C_Timeout |
||
158 | Mittelstrom |
||
159 | MaxPWM |
||
160 | __do_clear_bss |