?? t_shuanglong.lst
字號:
HI-TECH Software PICC Macro Assembler V8.05PL1
Serial number: HCPIC-80933 Thu Apr 17 16:14:12 2008
Licensed to: ONE TWO
1 processor 16F777
2 0000 indf equ 0
3 0000 rtcc equ 1
4 0000 pc equ 2
5 0000 pcl equ 2
6 0000 status equ 3
7 0000 fsr equ 4
8 0000 porta equ 5
9 0000 portb equ 6
10 0000 portc equ 7
11 0000 pclath equ 10
12 psect __Z80933RS_
13 0190 opt title "Serial number: HCPIC-80933"
14 0190 opt subtitle "Licensed to: ONE TWO"
15 psect text0,local,class=CODE,delta=2
16 psect text0
17 # 2 "E:\DEBUG\shuanglong_tester\T_shuanglong.c"
18 psect config,class=CONFIG,delta=2 ;#
19 # 2 "E:\DEBUG\shuanglong_tester\T_shuanglong.c"
20 2007 3FEA dw 0x3fea ;#
21 #
22 psect strings,class=STRING,delta=2
23 psect strings
24 global _PWM
25 psect const1,local,class=CONST,delta=2
26 psect const1
27 0800 0782 addwf pc
28 0801 _PWM
29 0801 3433 retlw (((033h)))
30 0802 3466 retlw (((066h)))
31 0803 3499 retlw (((-103)))
32 0804 34CC retlw (((-52)))
33 0805 34DD retlw (((-35)))
34 0806 34EE retlw (((-18)))
35 0807 34FE retlw (((-2)))
36 psect rdata_0,class=BANK0,space=1
37 psect rdata_0
38 global _led
39 0047 _led
40 0047 ds 1
41 psect idata_0,class=CODE,delta=2
42 global copy_bank0
43 psect idata_0
44 07FC 3400 retlw (((0)))
45 psect rdata_0
46
47 0048 ds 1
48 psect idata_0
49 07FD 3400 retlw (((0)))
50 psect rdata_0
51
52 0049 ds 1
53 psect idata_0
54 07FE 3400 retlw (((0)))
55 psect rdata_0
56
57 004A ds 1
58 psect idata_0
59 07FF 3400 retlw (((0)))
60 psect rdata_0
61
62 global _delay
63 signat _delay,4216
64 psect text0
65 file "E:\DEBUG\shuanglong_tester\T_shuanglong.
c"
66 line 171
67
68 0BF2 _delay
69 ; _t assigned to ?a_delay+0
70 0000 _delay$t set ?a_delay+0
71 ; _i assigned to ?a_delay+1
72 0000 _delay$i set ?a_delay+1
73 ;_t stored from w
74 line 173
75 0BF2 1283 bcf status,5
76 0BF3 1303 bcf status,6 ;carry unused
77 0BF4 00AD movwf (((?a_delay+0)))
78 ;T_shuanglong.c: 172: unsigned int i;
79 0BF5 08AD movf (((?a_delay+0)))
80 0BF6 1D03 btfss status,2
81 0BF7 2BF9 goto u11
82 0BF8 2BFA goto u10
83 0BF9 u11
84 0BF9 2BFB goto l5
85 0BFA u10
86 0BFA 2C11 goto l6
87 line 174
88
89 0BFB l5
90 ;T_shuanglong.c: 174: for(i=1000;i>0;i--)
91 0BFB 30E8 movlw low(((03E8h)))
92 0BFC 00AE movwf (((?a_delay+1)))
93 0BFD 3003 movlw high(((03E8h)))
94 0BFE 00AF movwf (((?a_delay+1)))+1
95 0BFF 2C00 goto l8
96 line 175
97
98 0C00 l8
99 ;T_shuanglong.c: 175: asm("nop");
100 # 175 "E:\DEBUG\shuanglong_tester\T_shuanglong.
c"
101 0C00 0000 nop ;#
102 psect text0
103 line 174
104 0C01 08AE movf (((?a_delay+1)))
105 0C02 1903 btfsc status,2
106 0C03 03AF decf (((?a_delay+1+1)))
107 0C04 03AE decf (((?a_delay+1)))
108 0C05 082F movf (((?a_delay+1+1))),w
109 0C06 042E iorwf (((?a_delay+1))),w
110 0C07 1D03 btfss status,2
111 0C08 2C0A goto u21
112 0C09 2C0B goto u20
113 0C0A u21
114 0C0A 2C00 goto l8
115 0C0B u20
116
117 0C0B l9
118 line 173
119 0C0B 03AD decf (((?a_delay+0)))
120 0C0C 08AD movf (((?a_delay+0)))
121 0C0D 1D03 btfss status,2
122 0C0E 2C10 goto u31
123 0C0F 2C11 goto u30
124 0C10 u31
125 0C10 2BFB goto l5
126 0C11 u30
127
128 0C11 l6
129 ;T_shuanglong.c: 176: }
130 line 176
131 0C11 l4
132 0C11 0008 return
133 FNSIZE _delay,3,0
134 global ?a_delay
135 ;T_shuanglong.c: 180: void delay_500mS(unsigned
char second)
136
137 ;T_shuanglong.c: 181: {
138
139 psect text1,local,class=CODE,delta=2
140 psect text1
141 global _delay_500mS
142 signat _delay_500mS,4216
143 line 181
144
145 0C7F _delay_500mS
146 ; _second assigned to ?a_delay_500mS+0
147 0000 _delay_500mS$second set ?a_delay_500mS+0
148 ; _i assigned to ?a_delay_500mS+1
149 0000 _delay_500mS$i set ?a_delay_500mS+1
150 ; _t assigned to ?a_delay_500mS+3
151 0000 _delay_500mS$t set ?a_delay_500mS+3
152 ;_second stored from w
153 line 183
154 0C7F 1283 bcf status,5
155 0C80 1303 bcf status,6 ;carry unused
156 0C81 00C2 movwf (((?a_delay_500mS+0)))
157 ;T_shuanglong.c: 182: unsigned int i,t;
158 0C82 08C2 movf (((?a_delay_500mS+0)))
159 0C83 1D03 btfss status,2
160 0C84 2C86 goto u41
161 0C85 2C87 goto u40
162 0C86 u41
163 0C86 2C88 goto l12
164 0C87 u40
165 0C87 2CAC goto l13
166 line 184
167
168 0C88 l12
169 ;T_shuanglong.c: 184: {
170 ;T_shuanglong.c: 185: for(t=0x00;t<0xff;t++)
171 line 185
172 0C88 01C5 clrf (((?a_delay_500mS+3)))
173 0C89 01C6 clrf (((?a_delay_500mS+3+1)))
174 0C8A 2C8B goto l15
175 line 186
176
177 0C8B l15
178 ;T_shuanglong.c: 186: {
179 ;T_shuanglong.c: 187: for(i=0xff;i>0;i--)
180 line 187
181 0C8B 30FF movlw 0FFh
182 0C8C 00C3 movwf (((?a_delay_500mS+1)))
183 0C8D 01C4 clrf (((?a_delay_500mS+1+1)))
184 0C8E 2C8F goto l18
185 line 188
186
187 0C8F l18
188 ;T_shuanglong.c: 188: asm("nop");
189 # 188 "E:\DEBUG\shuanglong_tester\T_shuanglong.
c"
190 0C8F 0000 nop ;#
191 psect text1
192 line 187
193 0C90 08C3 movf (((?a_delay_500mS+1)))
194 0C91 1903 btfsc status,2
195 0C92 03C4 decf (((?a_delay_500mS+1+1)))
196 0C93 03C3 decf (((?a_delay_500mS+1)))
197 0C94 0844 movf (((?a_delay_500mS+1+1))),w
198 0C95 0443 iorwf (((?a_delay_500mS+1))),w
199 0C96 1D03 btfss status,2
200 0C97 2C99 goto u51
201 0C98 2C9A goto u50
202 0C99 u51
203 0C99 2C8F goto l18
204 0C9A u50
205
206 0C9A l19
207 ;T_shuanglong.c: 189: }
208 line 185
209 0C9A 0AC5 incf (((?a_delay_500mS+3)))
210 0C9B 1903 btfsc status,2
211 0C9C 0AC6 incf (((?a_delay_500mS+3+1)))
212 0C9D 3000 movlw 0
213 0C9E 0246 subwf (((?a_delay_500mS+3+1))),w
214 0C9F 30FF movlw 0FFh
215 0CA0 1903 btfsc status,2
216 0CA1 0245 subwf (((?a_delay_500mS+3))),w
217 0CA2 1C03 btfss status,0
218 0CA3 2CA5 goto u61
219 0CA4 2CA6 goto u60
220 0CA5 u61
221 0CA5 2C8B goto l15
222 0CA6 u60
223
224 0CA6 l16
225 ;T_shuanglong.c: 190: }
226 line 183
227 0CA6 03C2 decf (((?a_delay_500mS+0)))
228 0CA7 08C2 movf (((?a_delay_500mS+0)))
229 0CA8 1D03 btfss status,2
230 0CA9 2CAB goto u71
231 0CAA 2CAC goto u70
232 0CAB u71
233 0CAB 2C88 goto l12
234 0CAC u70
235
236 0CAC l13
237 ;T_shuanglong.c: 192: }
238 line 192
239 0CAC l11
240 0CAC 0008 return
241 FNSIZE _delay_500mS,5,0
242 global ?a_delay_500mS
243 ;T_shuanglong.c: 196: void key_input(void)
244
245 ;T_shuanglong.c: 197: {
246
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -