📄 avrvect.lst
字号:
103 /* PORT B */
104
105 #if defined(PB0)
106 # define PORTB0 PB0
107 #endif
108 #if defined(PB1)
109 # define PORTB1 PB1
110 #endif
111 #if defined(PB2)
112 # define PORTB2 PB2
113 #endif
114 #if defined(PB3)
115 # define PORTB3 PB3
116 #endif
117 #if defined(PB4)
118 # define PORTB4 PB4
119 #endif
120 #if defined(PB5)
121 # define PORTB5 PB5
122 #endif
123 #if defined(PB6)
124 # define PORTB6 PB6
125 #endif
126 #if defined(PB7)
127 # define PORTB7 PB7
128 #endif
129
130 /* PORT C */
131
132 #if defined(PC0)
133 # define PORTC0 PC0
134 #endif
135 #if defined(PC1)
136 # define PORTC1 PC1
137 #endif
138 #if defined(PC2)
139 # define PORTC2 PC2
140 #endif
141 #if defined(PC3)
142 # define PORTC3 PC3
143 #endif
144 #if defined(PC4)
145 # define PORTC4 PC4
146 #endif
147 #if defined(PC5)
148 # define PORTC5 PC5
149 #endif
150 #if defined(PC6)
151 # define PORTC6 PC6
152 #endif
153 #if defined(PC7)
154 # define PORTC7 PC7
155 #endif
156
157 /* PORT D */
158
159 #if defined(PD0)
160 # define PORTD0 PD0
161 #endif
162 #if defined(PD1)
163 # define PORTD1 PD1
164 #endif
165 #if defined(PD2)
166 # define PORTD2 PD2
167 #endif
168 #if defined(PD3)
169 # define PORTD3 PD3
170 #endif
171 #if defined(PD4)
172 # define PORTD4 PD4
173 #endif
174 #if defined(PD5)
175 # define PORTD5 PD5
176 #endif
177 #if defined(PD6)
178 # define PORTD6 PD6
179 #endif
180 #if defined(PD7)
181 # define PORTD7 PD7
182 #endif
183
184 /* PORT E */
185
186 #if defined(PE0)
187 # define PORTE0 PE0
188 #endif
189 #if defined(PE1)
190 # define PORTE1 PE1
191 #endif
192 #if defined(PE2)
193 # define PORTE2 PE2
194 #endif
195 #if defined(PE3)
196 # define PORTE3 PE3
197 #endif
198 #if defined(PE4)
199 # define PORTE4 PE4
200 #endif
201 #if defined(PE5)
202 # define PORTE5 PE5
203 #endif
204 #if defined(PE6)
205 # define PORTE6 PE6
206 #endif
207 #if defined(PE7)
208 # define PORTE7 PE7
209 #endif
210
211 /* PORT F */
212
213 #if defined(PF0)
214 # define PORTF0 PF0
215 #endif
216 #if defined(PF1)
217 # define PORTF1 PF1
218 #endif
219 #if defined(PF2)
220 # define PORTF2 PF2
221 #endif
222 #if defined(PF3)
223 # define PORTF3 PF3
224 #endif
225 #if defined(PF4)
226 # define PORTF4 PF4
227 #endif
228 #if defined(PF5)
229 # define PORTF5 PF5
230 #endif
231 #if defined(PF6)
232 # define PORTF6 PF6
233 #endif
234 #if defined(PF7)
235 # define PORTF7 PF7
236 #endif
237
238 /* PORT G */
239
240 #if defined(PG0)
241 # define PORTG0 PG0
242 #endif
243 #if defined(PG1)
244 # define PORTG1 PG1
245 #endif
246 #if defined(PG2)
247 # define PORTG2 PG2
248 #endif
249 #if defined(PG3)
250 # define PORTG3 PG3
251 #endif
252 #if defined(PG4)
253 # define PORTG4 PG4
254 #endif
255 #if defined(PG5)
256 # define PORTG5 PG5
257 #endif
257
5
6
7 ;**************************************************************************************************
8 ;OS_EXT INT8U OSIntNesting; /* Interrupt nesting level
9
10 .extern OSIntNesting
11
12 .extern OSTimeTick
13 .extern OSIntExit
14
15
16 ;**************************************************************************************************
17 .macro PUSHREGS
18 push r31
19 push r30
20 push r29
21 push r28
22 push r27
23 push r26
24 push r25
25 push r24
26 push r23
27 push r22
28 push r21
29 push r20
30 push r19
31 push r18
32 push r17
33 push r16
34 push r15
35 push r14
36 push r13
37 push r12
38 push r11
39 push r10
40 push r9
41 push r8
42 push r7
43 push r6
44 push r5
45 push r4
46 push r3
47 push r2
48 push r1
49 push r0
50 .endm
51
52 .macro POPREGS
53 pop r0
54 pop r1
55 pop r2
56 pop r3
57 pop r4
58 pop r5
59 pop r6
60 pop r7
61 pop r8
62 pop r9
63 pop r10
64 pop r11
65 pop r12
66 pop r13
67 pop r14
68 pop r15
69 pop r16
70 pop r17
71 pop r18
72 pop r19
73 pop r20
74 pop r21
75 pop r22
76 pop r23
77 pop r24
78 pop r25
79 pop r26
80 pop r27
81 pop r28
82 pop r29
83 pop r30
84 pop r31
85 .endm
86
87
88 ;**************************************************************************************************
89 .text
90
91 .global SIG_INTERRUPT0
92 SIG_INTERRUPT0:
93:AVR/AVRvect.S **** PUSHREGS
94:AVR/AVRvect.S **** in r16,_SFR_IO_ADDR(SREG)
95:AVR/AVRvect.S **** ori r16,0x80
96:AVR/AVRvect.S **** push r16
97
98:AVR/AVRvect.S **** lds r16,OSIntNesting
99:AVR/AVRvect.S **** inc r16
100:AVR/AVRvect.S **** sts OSIntNesting,r16
101
102 .extern IsrEint0
103:AVR/AVRvect.S **** call IsrEint0
104
105:AVR/AVRvect.S **** call OSIntExit
106
107:AVR/AVRvect.S **** pop r0
108:AVR/AVRvect.S **** out _SFR_IO_ADDR(SREG),r0
109:AVR/AVRvect.S **** POPREGS
110:AVR/AVRvect.S **** reti
111 ;**************************************************************************************************
112 .global SIG_INTERRUPT1
113 SIG_INTERRUPT1:
114:AVR/AVRvect.S **** PUSHREGS
115:AVR/AVRvect.S **** in r16,_SFR_IO_ADDR(SREG)
116:AVR/AVRvect.S **** ori r16,0x80
117:AVR/AVRvect.S **** push r16
118
119:AVR/AVRvect.S **** lds r16,OSIntNesting
120:AVR/AVRvect.S **** inc r16
121:AVR/AVRvect.S **** sts OSIntNesting,r16
122
123 .extern IsrEint1
124:AVR/AVRvect.S **** call IsrEint1
125
126:AVR/AVRvect.S **** call OSIntExit
127
128:AVR/AVRvect.S **** pop r0
129:AVR/AVRvect.S **** out _SFR_IO_ADDR(SREG),r0
130:AVR/AVRvect.S **** POPREGS
131:AVR/AVRvect.S **** reti
132
133 ;**************************************************************************************************
134 ;**************************************************************************************************
135
136
137 .end
DEFINED SYMBOLS
*ABS*:00000000 AVR/AVRvect.S
*ABS*:00000000 C:/WinAVR/bin/../lib/gcc/avr/3.4.3/../../../../avr/include/avr/io.h
*ABS*:00000000 C:/WinAVR/bin/../lib/gcc/avr/3.4.3/../../../../avr/include/avr/portpins.h
*ABS*:00000000 C:/WinAVR/bin/../lib/gcc/avr/3.4.3/../../../../avr/include/avr/io.h
*ABS*:00000000 C:/WinAVR/bin/../lib/gcc/avr/3.4.3/../../../../avr/include/avr/iom128.h
*ABS*:00000000 C:/WinAVR/bin/../lib/gcc/avr/3.4.3/../../../../avr/include/avr/io.h
*ABS*:00000000 C:/WinAVR/bin/../lib/gcc/avr/3.4.3/../../../../avr/include/avr/sfr_defs.h
*ABS*:00000000 C:/WinAVR/bin/../lib/gcc/avr/3.4.3/../../../../avr/include/avr/io.h
*ABS*:00000000 AVR/AVRvect.S
*ABS*:00000000 <command line>
*ABS*:00000000 <built-in>
*ABS*:00000000 AVR/AVRvect.S
AVR/AVRvect.S:92 .text:00000000 __vector_1
AVR/AVRvect.S:113 .text:0000009e __vector_2
UNDEFINED SYMBOLS
OSIntNesting
IsrEint0
OSIntExit
IsrEint1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -