rx1display.lst
来自「单片机间的通讯,按键操作,及PROTUS软件仿真」· LST 代码 · 共 462 行 · 第 1/2 页
LST
462 行
HI-TECH Software PICC Macro Assembler V8.05PL1
Serial number: HCPIC-41552 Thu Jan 24 10:59:33 2008
Licensed to: D007-JS
1 processor 16C73B
2 opt pw 79
3 psect __Z41552RS_,global,delta=1
4 psect text0,local,class=CODE,delta=2
5 psect text2,local,class=CODE,delta=2
6 psect temp,global,ovrld,class=BANK0,space=1,de
+ lta=1
7 0000
8 0000
9 0000
10 0000
11 0000
12 0000
13 0000
14 0000
15 0000
16 0000
17
18 psect __Z41552RS_
19 00A0
20 00A0
21
22 psect text0
23 0764 _delay
24 ; _i assigned to ?a_delay+0
25 0000 _delay$i set ?a_delay
26 ;RX1DISPLAY.C: 7: int i;
27 0764 1283 bcf 3,5
28 0765 01A5 clrf ?a_delay
29 0766 3001 movlw 1
30 0767 00A6 movwf ?a_delay+1
31 0768 l6
32 0768 30FF movlw -1
33 0769 07A5 addwf ?a_delay
34 076A 1C03 btfss 3,0
35 076B 03A6 decf ?a_delay+1
36 076C 0826 movf ?a_delay+1,w
37 076D 0425 iorwf ?a_delay,w
38 076E 1903 btfsc 3,2
39 076F 0008 return
40 0770 2F68 goto l6
41 0771 _display
42 ;RX1DISPLAY.C: 14: TRISA=0X3C;
43 0771 303C movlw 60
44 0772 1683 bsf 3,5
45 0773 0085 movwf 5 ;volatile
46 ;RX1DISPLAY.C: 15: TRISB=0;
47 0774 0186 clrf 6 ;volatile
48 ;RX1DISPLAY.C: 16: TRISC=0XD0;
49 0775 30D0 movlw -48
50 0776 0087 movwf 7 ;volatile
51 ;RX1DISPLAY.C: 17: PORTA=0XFF;
52 0777 30FF movlw -1
53 0778 1283 bcf 3,5
54 0779 0085 movwf 5 ;volatile
55 ;RX1DISPLAY.C: 18: PORTB=0;
56 077A 0186 clrf 6 ;volatile
57 ;RX1DISPLAY.C: 19: PORTC=0XFF;
58 077B 0087 movwf 7 ;volatile
59 ;RX1DISPLAY.C: 20: switch(x)
60 077C 2FE0 goto l9
61 077D l10
62 ;RX1DISPLAY.C: 21: {
63 ;RX1DISPLAY.C: 23: {
64 077D 30FE movlw -2
65 077E 0085 movwf 5 ;volatile
66 ;RX1DISPLAY.C: 25: PORTB=0X7E;
67 077F 307E movlw 126
68 0780 0086 movwf 6 ;volatile
69 ;RX1DISPLAY.C: 26: delay();
70 0781 2764 fcall _delay
71 ;RX1DISPLAY.C: 27: PORTA=0XFD;
72 0782 30FD movlw -3
73 0783 0085 movwf 5 ;volatile
74 ;RX1DISPLAY.C: 28: PORTB=0X7E;
75 0784 307E movlw 126
76 0785 0086 movwf 6 ;volatile
77 ;RX1DISPLAY.C: 29: delay();
78 0786 2F64 ljmp _delay
79 ;RX1DISPLAY.C: 30: break;
80 0787 l11
81 ;RX1DISPLAY.C: 31: }
82 ;RX1DISPLAY.C: 33: {
83 0787 30FE movlw -2
84 0788 0085 movwf 5 ;volatile
85 ;RX1DISPLAY.C: 35: PORTB=0X0C;
86 0789 300C movlw 12
87 078A 0086 movwf 6 ;volatile
88 ;RX1DISPLAY.C: 36: delay();
89 078B 2764 fcall _delay
90 ;RX1DISPLAY.C: 37: PORTA=0XFD;
91 078C 30FD movlw -3
92 078D 0085 movwf 5 ;volatile
93 ;RX1DISPLAY.C: 38: PORTB=0X7E;
94 078E 307E movlw 126
95 078F 0086 movwf 6 ;volatile
96 ;RX1DISPLAY.C: 39: delay();
97 0790 2F64 ljmp _delay
98 ;RX1DISPLAY.C: 40: break;
99 0791 l12
100 ;RX1DISPLAY.C: 41: }
101 ;RX1DISPLAY.C: 43: {
102 0791 30FE movlw -2
103 0792 0085 movwf 5 ;volatile
104 ;RX1DISPLAY.C: 45: PORTB=0XB6;
105 0793 30B6 movlw -74
106 0794 0086 movwf 6 ;volatile
107 ;RX1DISPLAY.C: 46: delay();
108 0795 2764 fcall _delay
109 ;RX1DISPLAY.C: 47: PORTA=0XFD;
110 0796 30FD movlw -3
111 0797 0085 movwf 5 ;volatile
112 ;RX1DISPLAY.C: 48: PORTB=0X7E;
113 0798 307E movlw 126
114 0799 0086 movwf 6 ;volatile
115 ;RX1DISPLAY.C: 49: delay();
116 079A 2F64 ljmp _delay
117 ;RX1DISPLAY.C: 50: break;
118 079B l13
119 ;RX1DISPLAY.C: 51: }
120 ;RX1DISPLAY.C: 53: {
121 079B 30FE movlw -2
122 079C 0085 movwf 5 ;volatile
123 ;RX1DISPLAY.C: 55: PORTB=0X9E;
124 079D 309E movlw -98
125 079E 0086 movwf 6 ;volatile
126 ;RX1DISPLAY.C: 56: delay();
127 079F 2764 fcall _delay
128 ;RX1DISPLAY.C: 57: PORTA=0XFD;
129 07A0 30FD movlw -3
130 07A1 0085 movwf 5 ;volatile
131 ;RX1DISPLAY.C: 58: PORTB=0X7E;
132 07A2 307E movlw 126
133 07A3 0086 movwf 6 ;volatile
134 ;RX1DISPLAY.C: 59: delay();
135 07A4 2F64 ljmp _delay
136 ;RX1DISPLAY.C: 60: break;
137 07A5 l14
138 ;RX1DISPLAY.C: 61: }
139 ;RX1DISPLAY.C: 63: {
140 07A5 30FE movlw -2
141 07A6 0085 movwf 5 ;volatile
142 ;RX1DISPLAY.C: 65: PORTB=0XCC;
143 07A7 30CC movlw -52
144 07A8 0086 movwf 6 ;volatile
145 ;RX1DISPLAY.C: 66: delay();
146 07A9 2764 fcall _delay
147 ;RX1DISPLAY.C: 67: PORTA=0XFD;
148 07AA 30FD movlw -3
149 07AB 0085 movwf 5 ;volatile
150 ;RX1DISPLAY.C: 68: PORTB=0X7E;
151 07AC 307E movlw 126
152 07AD 0086 movwf 6 ;volatile
153 ;RX1DISPLAY.C: 69: delay();
154 07AE 2F64 ljmp _delay
155 ;RX1DISPLAY.C: 70: break;
156 07AF l15
157 ;RX1DISPLAY.C: 71: }
158 ;RX1DISPLAY.C: 73: {
159 07AF 30FE movlw -2
160 07B0 0085 movwf 5 ;volatile
161 ;RX1DISPLAY.C: 75: PORTB=0XDA;
162 07B1 30DA movlw -38
163 07B2 0086 movwf 6 ;volatile
164 ;RX1DISPLAY.C: 76: delay();
165 07B3 2764 fcall _delay
166 ;RX1DISPLAY.C: 77: PORTA=0XFD;
167 07B4 30FD movlw -3
168 07B5 0085 movwf 5 ;volatile
169 ;RX1DISPLAY.C: 78: PORTB=0X7E;
170 07B6 307E movlw 126
171 07B7 0086 movwf 6 ;volatile
172 ;RX1DISPLAY.C: 79: delay();
173 07B8 2F64 ljmp _delay
174 ;RX1DISPLAY.C: 80: break;
175 07B9 l16
176 ;RX1DISPLAY.C: 81: }
177 ;RX1DISPLAY.C: 83: {
178 07B9 30FE movlw -2
179 07BA 0085 movwf 5 ;volatile
180 ;RX1DISPLAY.C: 85: PORTB=0XFA;
181 07BB 30FA movlw -6
182 07BC 0086 movwf 6 ;volatile
183 ;RX1DISPLAY.C: 86: delay();
184 07BD 2764 fcall _delay
185 ;RX1DISPLAY.C: 87: PORTA=0XFD;
186 07BE 30FD movlw -3
187 07BF 0085 movwf 5 ;volatile
188 ;RX1DISPLAY.C: 88: PORTB=0X7E;
189 07C0 307E movlw 126
190 07C1 0086 movwf 6 ;volatile
191 ;RX1DISPLAY.C: 89: delay();
192 07C2 2F64 ljmp _delay
193 ;RX1DISPLAY.C: 90: break;
194 07C3 l17
195 ;RX1DISPLAY.C: 91: }
196 ;RX1DISPLAY.C: 93: {
197 07C3 30FE movlw -2
198 07C4 0085 movwf 5 ;volatile
199 ;RX1DISPLAY.C: 95: PORTB=0X0E;
200 07C5 300E movlw 14
201 07C6 0086 movwf 6 ;volatile
202 ;RX1DISPLAY.C: 96: delay();
203 07C7 2764 fcall _delay
204 ;RX1DISPLAY.C: 97: PORTA=0XFD;
205 07C8 30FD movlw -3
206 07C9 0085 movwf 5 ;volatile
207 ;RX1DISPLAY.C: 98: PORTB=0X7E;
208 07CA 307E movlw 126
209 07CB 0086 movwf 6 ;volatile
210 ;RX1DISPLAY.C: 99: delay();
211 07CC 2F64 ljmp _delay
212 ;RX1DISPLAY.C: 100: break;
213 07CD l18
214 ;RX1DISPLAY.C: 101: }
215 ;RX1DISPLAY.C: 103: {
216 07CD 30FE movlw -2
217 07CE 0085 movwf 5 ;volatile
218 ;RX1DISPLAY.C: 105: PORTB=0XFE;
219 07CF 0086 movwf 6 ;volatile
220 ;RX1DISPLAY.C: 106: delay();
221 07D0 2764 fcall _delay
222 ;RX1DISPLAY.C: 107: PORTA=0XFD;
223 07D1 30FD movlw -3
224 07D2 0085 movwf 5 ;volatile
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?