📄 ch452jp.lst
字号:
HI-TECH Software PICC Macro Assembler V8.05PL1
Serial number: HCPIC-49394 Sat Apr 21 13:13:05 2007
Licensed to: ONE
1 processor 16F877A
2 opt pw 79
3 psect __Z49394RS_,global,delta=1
4 psect rdata_0,global,class=BANK0,space=1,delta
+ =1
5 psect idata_0,global,class=CODE,delta=2
6 psect text0,local,class=CODE,delta=2
7 psect text3,local,class=CODE,delta=2
8 psect text4,local,class=CODE,delta=2
9 psect text5,local,class=CODE,delta=2
10 psect text6,local,class=CODE,delta=2
11 psect text7,local,class=CODE,delta=2
12 psect intcode,global,class=CODE,delta=2
13 psect intsave_0,global,ovrld,class=COMBANK,spa
+ ce=1,delta=1
14 psect intret,global,class=CODE,delta=2
15 psect intentry,global,class=CODE,delta=2
16 psect intsave,global,class=BANK0,space=1,delta
+ =1
17 psect text8,local,class=CODE,delta=2
18 psect text10,local,class=CODE,delta=2
19 psect temp,global,ovrld,class=BANK0,space=1,de
+ lta=1
20 0000
21 0000
22 0000
23 0000
24 0000
25 0000
26 0000
27 0000
28 0000
29 0000
30
31 psect __Z49394RS_
32 0190
33 0190
34
35 psect rdata_0
36 002C _Led_seg
37 002C ds 2
38 002E ds 2
39 0030 ds 2
40 0032 ds 2
41 0034 ds 2
42 0036 ds 2
43 0038 ds 2
44 003A ds 2
45 003C ds 2
46 003E ds 2
47 0040 ds 2
48 0042 ds 2
49 0044 ds 2
50 0046 ds 2
51 0048 ds 2
52 004A ds 2
53 004C ds 2
54 004E ds 2
55 0050 _Bitmap
56 0050 ds 2
57 0052 ds 2
58 0054 ds 2
59 0056 ds 2
60 0058 ds 2
61 005A ds 2
62 005C ds 2
63 005E ds 2
64
65 psect idata_0
66 07CC 34FC retlw 252
67 07CD 3400 retlw 0
68 07CE 3460 retlw 96
69 07CF 3400 retlw 0
70 07D0 34DA retlw 218
71 07D1 3400 retlw 0
72 07D2 34F2 retlw 242
73 07D3 3400 retlw 0
74 07D4 3466 retlw 102
75 07D5 3400 retlw 0
76 07D6 34B6 retlw 182
77 07D7 3400 retlw 0
78 07D8 34BE retlw 190
79 07D9 3400 retlw 0
80 07DA 34E0 retlw 224
81 07DB 3400 retlw 0
82 07DC 34FE retlw 254
83 07DD 3400 retlw 0
84 07DE 34F6 retlw 246
85 07DF 3400 retlw 0
86 07E0 34EE retlw 238
87 07E1 3400 retlw 0
88 07E2 343E retlw 62
89 07E3 3400 retlw 0
90 07E4 349C retlw 156
91 07E5 3400 retlw 0
92 07E6 347A retlw 122
93 07E7 3400 retlw 0
94 07E8 349E retlw 158
95 07E9 3400 retlw 0
96 07EA 348E retlw 142
97 07EB 3400 retlw 0
98 07EC 3402 retlw 2
99 07ED 3400 retlw 0
100 07EE 3401 retlw 1
101 07EF 3400 retlw 0
102 07F0 3400 retlw 0
103 07F1 340C retlw 12
104 07F2 3400 retlw 0
105 07F3 340D retlw 13
106 07F4 3400 retlw 0
107 07F5 340E retlw 14
108 07F6 3400 retlw 0
109 07F7 340F retlw 15
110 07F8 3400 retlw 0
111 07F9 3408 retlw 8
112 07FA 3400 retlw 0
113 07FB 3409 retlw 9
114 07FC 3400 retlw 0
115 07FD 340A retlw 10
116 07FE 3400 retlw 0
117 07FF 340B retlw 11
118
119 psect text0
120 074C _initial
121 ;ch452jp.c: 68: INTCON=0x00;
122 074C 018B clrf 11 ;volatile
123 ;ch452jp.c: 69: ADCON1=0x07;
124 074D 3007 movlw 7
125 074E 1683 bsf 3,5
126 074F 1303 bcf 3,6 ;carry unused
127 0750 009F movwf 31 ;volatile
128 ;ch452jp.c: 70: PIE1=0;
129 0751 018C clrf 12 ;volatile
130 ;ch452jp.c: 71: PIE2=0;
131 0752 018D clrf 13 ;volatile
132 ;ch452jp.c: 72: }
133 0753 1283 bcf 3,5
134 0754 0008 return
135 ;ch452jp.c: 166: void main()
136 ;ch452jp.c: 167: {
137 0755 _main
138 ;ch452jp.c: 169: TRISD=0x00;
139 0755 1683 bsf 3,5
140 0756 1303 bcf 3,6 ;carry unused
141 0757 0188 clrf 8 ;volatile
142 ;ch452jp.c: 170: TRISB=0x01;
143 0758 3001 movlw 1
144 0759 0086 movwf 6 ;volatile
145 ;ch452jp.c: 171: initial();
146 075A 274C fcall _initial
147 ;ch452jp.c: 173: (INTF=0);
148 075B 108B bcf 11,1
149 ;ch452jp.c: 174: GIE=1;
150 075C 178B bsf 11,7
151 ;ch452jp.c: 175: (INTE=1);
152 075D 160B bsf 11,4
153 ;ch452jp.c: 177: while(1);
154 075E l19
155 075E 2F5E goto l19
156
157 psect text3
158 0778 _Bit_Display_Num
159 ;ch452jp.c: 113: WrietCh452(Bitmap[bite]+Led_se
+ g[buf]);
160 0778 0183 clrf 3 ;select bank 0
161 0779 0824 movf ?_Bit_Display_Num+2,w
162 077A 0724 addwf ?_Bit_Display_Num+2,w
163 077B 3E2C addlw _Led_seg
164 077C 0084 movwf 4
165 077D 1383 bcf 3,7
166 077E 0800 movf 0,w
167 077F 00F0 movwf btemp
168 0780 0A84 incf 4
169 0781 0800 movf 0,w
170 0782 00F1 movwf btemp+1
171 0783 0870 movf btemp,w
172 0784 00A6 movwf ?a_Bit_Display_Num
173 0785 0871 movf btemp+1,w
174 0786 00A7 movwf ?a_Bit_Display_Num+1
175 0787 0822 movf ?_Bit_Display_Num,w
176 0788 0722 addwf ?_Bit_Display_Num,w
177 0789 3E50 addlw _Bitmap
178 078A 0084 movwf 4
179 078B 0800 movf 0,w
180 078C 00F0 movwf btemp
181 078D 0A84 incf 4
182 078E 0800 movf 0,w
183 078F 00F1 movwf btemp+1
184 0790 0826 movf ?a_Bit_Display_Num,w
185 0791 07F0 addwf btemp
186 0792 1803 btfsc 3,0
187 0793 0AF1 incf btemp+1
188 0794 0827 movf ?a_Bit_Display_Num+1,w
189 0795 07F1 addwf btemp+1
190 0796 0870 movf btemp,w
191 0797 00A8 movwf ?_WrietCh452
192 0798 0871 movf btemp+1,w
193 0799 00A9 movwf ?_WrietCh452+1
194 079A 120A 118A 2FA2 ljmp _WrietCh452
195
196 psect text4
197 ;ch452jp.c: 118: void Display_Reset()
198 ;ch452jp.c: 119: {
199 073C _Display_Reset
200 ;ch452jp.c: 121: WrietCh452(0x201);
201 073C 3001 movlw 1
202 073D 0183 clrf 3 ;select bank 0
203 073E 00A8 movwf ?_WrietCh452
204 073F 3002 movlw 2
205 0740 00A9 movwf ?_WrietCh452+1
206 0741 120A 118A 2FA2 ljmp _WrietCh452
207
208 psect text5
209 075F _Flash_SingleBit
210 ;ch452jp.c: 128: WrietCh452(0x0600+(0x01<<bitnu
+ mber));
211 075F 0183 clrf 3 ;select bank 0
212 0760 0820 movf ?_Flash_SingleBit,w
213 0761 00F2 movwf btemp+2
214 0762 3001 movlw 1
215 0763 00F0 movwf btemp
216 0764 3000 movlw 0
217 0765 01F1 clrf btemp+1
218 0766 0AF2 incf btemp+2
219 0767 2F6B goto u34
220 0768 u35
221 0768 1003 bcf 3,0
222 0769 0DF0 rlf btemp
223 076A 0DF1 rlf btemp+1
224 076B u34
225 076B 0BF2 decfsz btemp+2
226 076C 2F68 goto u35
227 076D 3000 movlw 0
228 076E 0770 addwf btemp,w
229 076F 00A8 movwf ?_WrietCh452
230 0770 3006 movlw 6
231 0771 1803 btfsc 3,0
232 0772 3007 movlw 7
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -