xformer, teria como disponibilizar o arquivo asm para compilar aqui? Não tenho muitos pics disponíveis aqui no mercado.
Seria possível colocar ele em um 16f628A do jeito que está?
Acabei hoje meu gravador de pic.
Eu aconselho a montar a versão com o 16F877(A) que está mais redonda, Com o 16F628A não está 100% porque a leitura de botões fica meio errática.
Não é difícil encontrar os 16F877(A):
http://proesi.com.br/circuito-integrado-1/linha-pic/pic16f877-a-i-p-circuito-integrado-dip-preco-componente-eletronico-loja-virtual.htmlhttp://loja.multcomercial.com.br/ecommerce_site/produto_20084_4689_Microcontrolador-PIC16F877A-I-P-Cod-Loja-3832http://loja.multcomercial.com.br/ecommerce_site/produto_20082_4689_Microcontrolador-PIC16F877-04-I-P-Cod-Loja-1878http://tiggercomp.com.br/novaloja/product_info.php?products_id=6880Em todo caso, pra quem não tiver o gravador de PIC, eu tenho algumas peças do 16F877 e posso vender com o firmware já gravado. Preço por peça: R$ 40,00 mais despesa de envio.
-----
Versão 16F877:
Program Memory
Line Address Opcode Label Disassembly
1 0000 285F GOTO 0x5f
2 0001 1783 BSF STATUS, 0x7
3 0002 0180 CLRF INDF
4 0003 0A84 INCF FSR, F
5 0004 3EFF ADDLW 0xff
6 0005 1D03 BTFSS STATUS, 0x2
7 0006 2802 GOTO 0x2
8 0007 285A GOTO 0x5a
9 0008 1703 BSF STATUS, 0x6
10 0009 1683 BSF STATUS, 0x5
11 000A 018C CLRF PIR1
12 000B 140C BSF PIR1, 0
13 000C 1283 BCF STATUS, 0x5
14 000D 080C MOVF PIR1, W
15 000E 1703 BSF STATUS, 0x6
16 000F 0A8D INCF PIR2, F
17 0010 285A GOTO 0x5a
18 0011 0103 CLRW
19 0012 1703 BSF STATUS, 0x6
20 0013 008C MOVWF PIR1
21 0014 1683 BSF STATUS, 0x5
22 0015 018C CLRF PIR1
23 0016 150C BSF PIR1, 0x2
24 0017 3055 MOVLW 0x55
25 0018 008D MOVWF PIR2
26 0019 30AA MOVLW 0xaa
27 001A 008D MOVWF PIR2
28 001B 148C BSF PIR1, 0x1
29 001C 188C BTFSC PIR1, 0x1
30 001D 281C GOTO 0x1c
31 001E 110C BCF PIR1, 0x2
32 001F 1283 BCF STATUS, 0x5
33 0020 0A8D INCF PIR2, F
34 0021 285A GOTO 0x5a
35 0022 01A3 CLRF 0x23
36 0023 00A2 MOVWF 0x22
37 0024 30FF MOVLW 0xff
38 0025 07A2 ADDWF 0x22, F
39 0026 1C03 BTFSS STATUS, 0
40 0027 07A3 ADDWF 0x23, F
41 0028 1C03 BTFSS STATUS, 0
42 0029 285A GOTO 0x5a
43 002A 3003 MOVLW 0x3
44 002B 00A1 MOVWF 0x21
45 002C 30DF MOVLW 0xdf
46 002D 2030 CALL 0x30
47 002E 2824 GOTO 0x24
48 002F 01A1 CLRF 0x21
49 0030 3EE8 ADDLW 0xe8
50 0031 00A0 MOVWF 0x20
51 0032 09A1 COMF 0x21, F
52 0033 30FC MOVLW 0xfc
53 0034 1C03 BTFSS STATUS, 0
54 0035 2839 GOTO 0x39
55 0036 07A0 ADDWF 0x20, F
56 0037 1803 BTFSC STATUS, 0
57 0038 2836 GOTO 0x36
58 0039 07A0 ADDWF 0x20, F
59 003A 0064 CLRWDT
60 003B 0FA1 INCFSZ 0x21, F
61 003C 2836 GOTO 0x36
62 003D 1820 BTFSC 0x20, 0
63 003E 283F GOTO 0x3f
64 003F 1CA0 BTFSS 0x20, 0x1
65 0040 2843 GOTO 0x43
66 0041 0000 NOP
67 0042 2843 GOTO 0x43
68 0043 0008 RETURN
69 0044 3010 MOVLW 0x10
70 0045 00A8 MOVWF 0x28
71 0046 01A1 CLRF 0x21
72 0047 01A0 CLRF 0x20
73 0048 0CA7 RRF 0x27, F
74 0049 0CA6 RRF 0x26, F
75 004A 1C03 BTFSS STATUS, 0
76 004B 2852 GOTO 0x52
77 004C 0822 MOVF 0x22, W
78 004D 07A0 ADDWF 0x20, F
79 004E 0823 MOVF 0x23, W
80 004F 1803 BTFSC STATUS, 0
81 0050 0F23 INCFSZ 0x23, W
82 0051 07A1 ADDWF 0x21, F
83 0052 0CA1 RRF 0x21, F
84 0053 0CA0 RRF 0x20, F
85 0054 0CA5 RRF 0x25, F
86 0055 0CA4 RRF 0x24, F
87 0056 0BA8 DECFSZ 0x28, F
88 0057 2848 GOTO 0x48
89 0058 0824 MOVF 0x24, W
90 0059 285A GOTO 0x5a
91 005A 1383 BCF STATUS, 0x7
92 005B 1303 BCF STATUS, 0x6
93 005C 1283 BCF STATUS, 0x5
94 005D 0064 CLRWDT
95 005E 0008 RETURN
96 005F 1683 BSF STATUS, 0x5
97 0060 30FF MOVLW 0xff
98 0061 0085 MOVWF PORTA
99 0062 0186 CLRF PORTB
100 0063 30C0 MOVLW 0xc0
101 0064 0087 MOVWF PORTC
102 0065 0188 CLRF PORTD
103 0066 3003 MOVLW 0x3
104 0067 0089 MOVWF PORTE
105 0068 3006 MOVLW 0x6
106 0069 009F MOVWF ADCON0
107 006A 3020 MOVLW 0x20
108 006B 0084 MOVWF FSR
109 006C 3060 MOVLW 0x60
110 006D 1283 BCF STATUS, 0x5
111 006E 018A CLRF PCLATH
112 006F 2002 CALL 0x2
113 0070 30A0 MOVLW 0xa0
114 0071 0084 MOVWF FSR
115 0072 3050 MOVLW 0x50
116 0073 018A CLRF PCLATH
117 0074 2002 CALL 0x2
118 0075 3010 MOVLW 0x10
119 0076 0084 MOVWF FSR
120 0077 3060 MOVLW 0x60
121 0078 018A CLRF PCLATH
122 0079 2001 CALL 0x1
123 007A 3090 MOVLW 0x90
124 007B 0084 MOVWF FSR
125 007C 3060 MOVLW 0x60
126 007D 018A CLRF PCLATH
127 007E 2001 CALL 0x1
128 007F 0188 CLRF PORTD
129 0080 30C0 MOVLW 0xc0
130 0081 0087 MOVWF PORTC
131 0082 0186 CLRF PORTB
132 0083 1109 BCF PORTE, 0x2
133 0084 01BA CLRF 0x3a
134 0085 0064 CLRWDT
135 0086 118A BCF PCLATH, 0x3
136 0087 120A BCF PCLATH, 0x4
137 0088 1889 BTFSC PORTE, 0x1
138 0089 2892 GOTO 0x92
139 008A 3001 MOVLW 0x1
140 008B 00A3 MOVWF 0x23
141 008C 302C MOVLW 0x2c
142 008D 018A CLRF PCLATH
143 008E 2023 CALL 0x23
144 008F 118A BCF PCLATH, 0x3
145 0090 120A BCF PCLATH, 0x4
146 0091 21BF CALL 0x1bf
147 0092 083A MOVF 0x3a, W
148 0093 3C0F SUBLW 0xf
149 0094 118A BCF PCLATH, 0x3
150 0095 120A BCF PCLATH, 0x4
151 0096 1C03 BTFSS STATUS, 0
152 0097 28B6 GOTO 0xb6
153 0098 118A BCF PCLATH, 0x3
154 0099 120A BCF PCLATH, 0x4
155 009A 209F CALL 0x9f
156 009B 0086 MOVWF PORTB
157 009C 118A BCF PCLATH, 0x3
158 009D 120A BCF PCLATH, 0x4
159 009E 28B6 GOTO 0xb6
160 009F 3000 MOVLW 0
161 00A0 008A MOVWF PCLATH
162 00A1 083A MOVF 0x3a, W
163 00A2 3EA6 ADDLW 0xa6
164 00A3 1803 BTFSC STATUS, 0
165 00A4 0A8A INCF PCLATH, F
166 00A5 0082 MOVWF PCL
167 00A6 343F RETLW 0x3f
168 00A7 3406 RETLW 0x6
169 00A8 345B RETLW 0x5b
170 00A9 344F RETLW 0x4f
171 00AA 3466 RETLW 0x66
172 00AB 346D RETLW 0x6d
173 00AC 347D RETLW 0x7d
174 00AD 3407 RETLW 0x7
175 00AE 347F RETLW 0x7f
176 00AF 3467 RETLW 0x67
177 00B0 3477 RETLW 0x77
178 00B1 347C RETLW 0x7c
179 00B2 3439 RETLW 0x39
180 00B3 345E RETLW 0x5e
181 00B4 3479 RETLW 0x79
182 00B5 3471 RETLW 0x71
183 00B6 0064 CLRWDT
184 00B7 118A BCF PCLATH, 0x3
185 00B8 120A BCF PCLATH, 0x4
186 00B9 1809 BTFSC PORTE, 0
187 00BA 28CA GOTO 0xca
188 00BB 0064 CLRWDT
189 00BC 118A BCF PCLATH, 0x3
190 00BD 120A BCF PCLATH, 0x4
191 00BE 1909 BTFSC PORTE, 0x2
192 00BF 28C4 GOTO 0xc4
193 00C0 1509 BSF PORTE, 0x2
194 00C1 118A BCF PCLATH, 0x3
195 00C2 120A BCF PCLATH, 0x4
196 00C3 28C5 GOTO 0xc5
197 00C4 1109 BCF PORTE, 0x2
198 00C5 3001 MOVLW 0x1
199 00C6 00A3 MOVWF 0x23
200 00C7 305E MOVLW 0x5e
201 00C8 018A CLRF PCLATH
202 00C9 2023 CALL 0x23
203 00CA 0064 CLRWDT
204 00CB 118A BCF PCLATH, 0x3
205 00CC 120A BCF PCLATH, 0x4
206 00CD 1A85 BTFSC PORTA, 0x5
207 00CE 28DE GOTO 0xde
208 00CF 30FA MOVLW 0xfa
209 00D0 018A CLRF PCLATH
210 00D1 2022 CALL 0x22
211 00D2 03BA DECF 0x3a, F
212 00D3 0064 CLRWDT
213 00D4 083A MOVF 0x3a, W
214 00D5 3CFF SUBLW 0xff
215 00D6 118A BCF PCLATH, 0x3
216 00D7 120A BCF PCLATH, 0x4
217 00D8 1D03 BTFSS STATUS, 0x2
218 00D9 28DB GOTO 0xdb
219 00DA 01BA CLRF 0x3a
220 00DB 118A BCF PCLATH, 0x3
221 00DC 120A BCF PCLATH, 0x4
222 00DD 219C CALL 0x19c
223 00DE 0064 CLRWDT
224 00DF 118A BCF PCLATH, 0x3
225 00E0 120A BCF PCLATH, 0x4
226 00E1 1B07 BTFSC PORTC, 0x6
227 00E2 28F3 GOTO 0xf3
228 00E3 30FA MOVLW 0xfa
229 00E4 018A CLRF PCLATH
230 00E5 2022 CALL 0x22
231 00E6 0ABA INCF 0x3a, F
232 00E7 0064 CLRWDT
233 00E8 083A MOVF 0x3a, W
234 00E9 3C10 SUBLW 0x10
235 00EA 118A BCF PCLATH, 0x3
236 00EB 120A BCF PCLATH, 0x4
237 00EC 1D03 BTFSS STATUS, 0x2
238 00ED 28F0 GOTO 0xf0
239 00EE 300F MOVLW 0xf
240 00EF 00BA MOVWF 0x3a
241 00F0 118A BCF PCLATH, 0x3
242 00F1 120A BCF PCLATH, 0x4
243 00F2 219C CALL 0x19c
244 00F3 0064 CLRWDT
245 00F4 118A BCF PCLATH, 0x3
246 00F5 120A BCF PCLATH, 0x4
247 00F6 1A05 BTFSC PORTA, 0x4
248 00F7 28FF GOTO 0xff
249 00F8 30FA MOVLW 0xfa
250 00F9 018A CLRF PCLATH
251 00FA 2022 CALL 0x22
252 00FB 01BC CLRF 0x3c
253 00FC 118A BCF PCLATH, 0x3
254 00FD 120A BCF PCLATH, 0x4
255 00FE 219C CALL 0x19c
256 00FF 0064 CLRWDT
257 0100 118A BCF PCLATH, 0x3
258 0101 120A BCF PCLATH, 0x4
259 0102 1985 BTFSC PORTA, 0x3
260 0103 290C GOTO 0x10c
261 0104 30FA MOVLW 0xfa
262 0105 018A CLRF PCLATH
263 0106 2022 CALL 0x22
264 0107 3001 MOVLW 0x1
265 0108 00BC MOVWF 0x3c
266 0109 118A BCF PCLATH, 0x3
267 010A 120A BCF PCLATH, 0x4
268 010B 219C CALL 0x19c
269 010C 0064 CLRWDT
270 010D 118A BCF PCLATH, 0x3
271 010E 120A BCF PCLATH, 0x4
272 010F 1905 BTFSC PORTA, 0x2
273 0110 2919 GOTO 0x119
274 0111 30FA MOVLW 0xfa
275 0112 018A CLRF PCLATH
276 0113 2022 CALL 0x22
277 0114 3002 MOVLW 0x2
278 0115 00BC MOVWF 0x3c
279 0116 118A BCF PCLATH, 0x3
280 0117 120A BCF PCLATH, 0x4
281 0118 219C CALL 0x19c
282 0119 0064 CLRWDT
283 011A 118A BCF PCLATH, 0x3
284 011B 120A BCF PCLATH, 0x4
285 011C 1885 BTFSC PORTA, 0x1
286 011D 2926 GOTO 0x126
287 011E 30FA MOVLW 0xfa
288 011F 018A CLRF PCLATH
289 0120 2022 CALL 0x22
290 0121 3003 MOVLW 0x3
291 0122 00BC MOVWF 0x3c
292 0123 118A BCF PCLATH, 0x3
293 0124 120A BCF PCLATH, 0x4
294 0125 219C CALL 0x19c
295 0126 0064 CLRWDT
296 0127 118A BCF PCLATH, 0x3
297 0128 120A BCF PCLATH, 0x4
298 0129 1805 BTFSC PORTA, 0
299 012A 2933 GOTO 0x133
300 012B 30FA MOVLW 0xfa
301 012C 018A CLRF PCLATH
302 012D 2022 CALL 0x22
303 012E 3004 MOVLW 0x4
304 012F 00BC MOVWF 0x3c
305 0130 118A BCF PCLATH, 0x3
306 0131 120A BCF PCLATH, 0x4
307 0132 219C CALL 0x19c
308 0133 0064 CLRWDT
309 0134 118A BCF PCLATH, 0x3
310 0135 120A BCF PCLATH, 0x4
311 0136 1B87 BTFSC PORTC, 0x7
312 0137 2940 GOTO 0x140
313 0138 30FA MOVLW 0xfa
314 0139 018A CLRF PCLATH
315 013A 2022 CALL 0x22
316 013B 3005 MOVLW 0x5
317 013C 00BC MOVWF 0x3c
318 013D 118A BCF PCLATH, 0x3
319 013E 120A BCF PCLATH, 0x4
320 013F 219C CALL 0x19c
321 0140 0064 CLRWDT
322 0141 083C MOVF 0x3c, W
323 0142 3C00 SUBLW 0
324 0143 118A BCF PCLATH, 0x3
325 0144 120A BCF PCLATH, 0x4
326 0145 1D03 BTFSS STATUS, 0x2
327 0146 2949 GOTO 0x149
328 0147 3001 MOVLW 0x1
329 0148 0087 MOVWF PORTC
330 0149 0064 CLRWDT
331 014A 083C MOVF 0x3c, W
332 014B 3C01 SUBLW 0x1
333 014C 118A BCF PCLATH, 0x3
334 014D 120A BCF PCLATH, 0x4
335 014E 1D03 BTFSS STATUS, 0x2
336 014F 2952 GOTO 0x152
337 0150 3002 MOVLW 0x2
338 0151 0087 MOVWF PORTC
339 0152 0064 CLRWDT
340 0153 083C MOVF 0x3c, W
341 0154 3C02 SUBLW 0x2
342 0155 118A BCF PCLATH, 0x3
343 0156 120A BCF PCLATH, 0x4
344 0157 1D03 BTFSS STATUS, 0x2
345 0158 295B GOTO 0x15b
346 0159 3004 MOVLW 0x4
347 015A 0087 MOVWF PORTC
348 015B 0064 CLRWDT
349 015C 083C MOVF 0x3c, W
350 015D 3C03 SUBLW 0x3
351 015E 118A BCF PCLATH, 0x3
352 015F 120A BCF PCLATH, 0x4
353 0160 1D03 BTFSS STATUS, 0x2
354 0161 2964 GOTO 0x164
355 0162 3008 MOVLW 0x8
356 0163 0087 MOVWF PORTC
357 0164 0064 CLRWDT
358 0165 083C MOVF 0x3c, W
359 0166 3C04 SUBLW 0x4
360 0167 118A BCF PCLATH, 0x3
361 0168 120A BCF PCLATH, 0x4
362 0169 1D03 BTFSS STATUS, 0x2
363 016A 296D GOTO 0x16d
364 016B 3010 MOVLW 0x10
365 016C 0087 MOVWF PORTC
366 016D 0064 CLRWDT
367 016E 083C MOVF 0x3c, W
368 016F 3C05 SUBLW 0x5
369 0170 118A BCF PCLATH, 0x3
370 0171 120A BCF PCLATH, 0x4
371 0172 1D03 BTFSS STATUS, 0x2
372 0173 2976 GOTO 0x176
373 0174 3020 MOVLW 0x20
374 0175 0087 MOVWF PORTC
375 0176 083A MOVF 0x3a, W
376 0177 3C0F SUBLW 0xf
377 0178 118A BCF PCLATH, 0x3
378 0179 120A BCF PCLATH, 0x4
379 017A 1C03 BTFSS STATUS, 0
380 017B 299A GOTO 0x19a
381 017C 118A BCF PCLATH, 0x3
382 017D 120A BCF PCLATH, 0x4
383 017E 2183 CALL 0x183
384 017F 0086 MOVWF PORTB
385 0180 118A BCF PCLATH, 0x3
386 0181 120A BCF PCLATH, 0x4
387 0182 299A GOTO 0x19a
388 0183 3001 MOVLW 0x1
389 0184 008A MOVWF PCLATH
390 0185 083A MOVF 0x3a, W
391 0186 3E8A ADDLW 0x8a
392 0187 1803 BTFSC STATUS, 0
393 0188 0A8A INCF PCLATH, F
394 0189 0082 MOVWF PCL
395 018A 343F RETLW 0x3f
396 018B 3406 RETLW 0x6
397 018C 345B RETLW 0x5b
398 018D 344F RETLW 0x4f
399 018E 3466 RETLW 0x66
400 018F 346D RETLW 0x6d
401 0190 347D RETLW 0x7d
402 0191 3407 RETLW 0x7
403 0192 347F RETLW 0x7f
404 0193 3467 RETLW 0x67
405 0194 3477 RETLW 0x77
406 0195 347C RETLW 0x7c
407 0196 3439 RETLW 0x39
408 0197 345E RETLW 0x5e
409 0198 3479 RETLW 0x79
410 0199 3471 RETLW 0x71
411 019A 018A CLRF PCLATH
412 019B 2885 GOTO 0x85
413 019C 083A MOVF 0x3a, W
414 019D 00A6 MOVWF 0x26
415 019E 01A7 CLRF 0x27
416 019F 3010 MOVLW 0x10
417 01A0 00A2 MOVWF 0x22
418 01A1 01A3 CLRF 0x23
419 01A2 018A CLRF PCLATH
420 01A3 2044 CALL 0x44
421 01A4 00B8 MOVWF 0x38
422 01A5 0825 MOVF 0x25, W
423 01A6 00B9 MOVWF 0x39
424 01A7 0838 MOVF 0x38, W
425 01A8 073C ADDWF 0x3c, W
426 01A9 00BB MOVWF 0x3b
427 01AA 083B MOVF 0x3b, W
428 01AB 1703 BSF STATUS, 0x6
429 01AC 008D MOVWF PIR2
430 01AD 1303 BCF STATUS, 0x6
431 01AE 018A CLRF PCLATH
432 01AF 2008 CALL 0x8
433 01B0 00BD MOVWF 0x3d
434 01B1 0064 CLRWDT
435 01B2 083A MOVF 0x3a, W
436 01B3 3C00 SUBLW 0
437 01B4 118A BCF PCLATH, 0x3
438 01B5 120A BCF PCLATH, 0x4
439 01B6 1D03 BTFSS STATUS, 0x2
440 01B7 29B9 GOTO 0x1b9
441 01B8 01BD CLRF 0x3d
442 01B9 083D MOVF 0x3d, W
443 01BA 0088 MOVWF PORTD
444 01BB 3032 MOVLW 0x32
445 01BC 018A CLRF PCLATH
446 01BD 2022 CALL 0x22
447 01BE 0008 RETURN
448 01BF 1786 BSF PORTB, 0x7
449 01C0 083A MOVF 0x3a, W
450 01C1 3C0F SUBLW 0xf
451 01C2 118A BCF PCLATH, 0x3
452 01C3 120A BCF PCLATH, 0x4
453 01C4 1C03 BTFSS STATUS, 0
454 01C5 29E4 GOTO 0x1e4
455 01C6 118A BCF PCLATH, 0x3
456 01C7 120A BCF PCLATH, 0x4
457 01C8 21CD CALL 0x1cd
458 01C9 0086 MOVWF PORTB
459 01CA 118A BCF PCLATH, 0x3
460 01CB 120A BCF PCLATH, 0x4
461 01CC 29E4 GOTO 0x1e4
462 01CD 3001 MOVLW 0x1
463 01CE 008A MOVWF PCLATH
464 01CF 083A MOVF 0x3a, W
465 01D0 3ED4 ADDLW 0xd4
466 01D1 1803 BTFSC STATUS, 0
467 01D2 0A8A INCF PCLATH, F
468 01D3 0082 MOVWF PCL
469 01D4 34BF RETLW 0xbf
470 01D5 3486 RETLW 0x86
471 01D6 34DB RETLW 0xdb
472 01D7 34CF RETLW 0xcf
473 01D8 34E6 RETLW 0xe6
474 01D9 34ED RETLW 0xed
475 01DA 34FD RETLW 0xfd
476 01DB 3487 RETLW 0x87
477 01DC 34FF RETLW 0xff
478 01DD 34E7 RETLW 0xe7
479 01DE 34F7 RETLW 0xf7
480 01DF 34FC RETLW 0xfc
481 01E0 34B9 RETLW 0xb9
482 01E1 34DE RETLW 0xde
483 01E2 34F9 RETLW 0xf9
484 01E3 34F1 RETLW 0xf1
485 01E4 0064 CLRWDT
486 01E5 118A BCF PCLATH, 0x3
487 01E6 120A BCF PCLATH, 0x4
488 01E7 1A05 BTFSC PORTA, 0x4
489 01E8 29FA GOTO 0x1fa
490 01E9 30FA MOVLW 0xfa
491 01EA 018A CLRF PCLATH
492 01EB 2022 CALL 0x22
493 01EC 0064 CLRWDT
494 01ED 118A BCF PCLATH, 0x3
495 01EE 120A BCF PCLATH, 0x4
496 01EF 1C3D BTFSS 0x3d, 0
497 01F0 29F5 GOTO 0x1f5
498 01F1 103D BCF 0x3d, 0
499 01F2 118A BCF PCLATH, 0x3
500 01F3 120A BCF PCLATH, 0x4
501 01F4 29F6 GOTO 0x1f6
502 01F5 143D BSF 0x3d, 0
503 01F6 183D BTFSC 0x3d, 0
504 01F7 1408 BSF PORTD, 0
505 01F8 1C3D BTFSS 0x3d, 0
506 01F9 1008 BCF PORTD, 0
507 01FA 0064 CLRWDT
508 01FB 118A BCF PCLATH, 0x3
509 01FC 120A BCF PCLATH, 0x4
510 01FD 1985 BTFSC PORTA, 0x3
511 01FE 2A10 GOTO 0x210
512 01FF 30FA MOVLW 0xfa
513 0200 018A CLRF PCLATH
514 0201 2022 CALL 0x22
515 0202 0064 CLRWDT
516 0203 118A BCF PCLATH, 0x3
517 0204 120A BCF PCLATH, 0x4
518 0205 1CBD BTFSS 0x3d, 0x1
519 0206 2A0B GOTO 0x20b
520 0207 10BD BCF 0x3d, 0x1
521 0208 118A BCF PCLATH, 0x3
522 0209 120A BCF PCLATH, 0x4
523 020A 2A0C GOTO 0x20c
524 020B 14BD BSF 0x3d, 0x1
525 020C 18BD BTFSC 0x3d, 0x1
526 020D 1488 BSF PORTD, 0x1
527 020E 1CBD BTFSS 0x3d, 0x1
528 020F 1088 BCF PORTD, 0x1
529 0210 0064 CLRWDT
530 0211 118A BCF PCLATH, 0x3
531 0212 120A BCF PCLATH, 0x4
532 0213 1905 BTFSC PORTA, 0x2
533 0214 2A26 GOTO 0x226
534 0215 30FA MOVLW 0xfa
535 0216 018A CLRF PCLATH
536 0217 2022 CALL 0x22
537 0218 0064 CLRWDT
538 0219 118A BCF PCLATH, 0x3
539 021A 120A BCF PCLATH, 0x4
540 021B 1D3D BTFSS 0x3d, 0x2
541 021C 2A21 GOTO 0x221
542 021D 113D BCF 0x3d, 0x2
543 021E 118A BCF PCLATH, 0x3
544 021F 120A BCF PCLATH, 0x4
545 0220 2A22 GOTO 0x222
546 0221 153D BSF 0x3d, 0x2
547 0222 193D BTFSC 0x3d, 0x2
548 0223 1508 BSF PORTD, 0x2
549 0224 1D3D BTFSS 0x3d, 0x2
550 0225 1108 BCF PORTD, 0x2
551 0226 0064 CLRWDT
552 0227 118A BCF PCLATH, 0x3
553 0228 120A BCF PCLATH, 0x4
554 0229 1885 BTFSC PORTA, 0x1
555 022A 2A3C GOTO 0x23c
556 022B 30FA MOVLW 0xfa
557 022C 018A CLRF PCLATH
558 022D 2022 CALL 0x22
559 022E 0064 CLRWDT
560 022F 118A BCF PCLATH, 0x3
561 0230 120A BCF PCLATH, 0x4
562 0231 1DBD BTFSS 0x3d, 0x3
563 0232 2A37 GOTO 0x237
564 0233 11BD BCF 0x3d, 0x3
565 0234 118A BCF PCLATH, 0x3
566 0235 120A BCF PCLATH, 0x4
567 0236 2A38 GOTO 0x238
568 0237 15BD BSF 0x3d, 0x3
569 0238 19BD BTFSC 0x3d, 0x3
570 0239 1588 BSF PORTD, 0x3
571 023A 1DBD BTFSS 0x3d, 0x3
572 023B 1188 BCF PORTD, 0x3
573 023C 0064 CLRWDT
574 023D 118A BCF PCLATH, 0x3
575 023E 120A BCF PCLATH, 0x4
576 023F 1805 BTFSC PORTA, 0
577 0240 2A52 GOTO 0x252
578 0241 30FA MOVLW 0xfa
579 0242 018A CLRF PCLATH
580 0243 2022 CALL 0x22
581 0244 0064 CLRWDT
582 0245 118A BCF PCLATH, 0x3
583 0246 120A BCF PCLATH, 0x4
584 0247 1E3D BTFSS 0x3d, 0x4
585 0248 2A4D GOTO 0x24d
586 0249 123D BCF 0x3d, 0x4
587 024A 118A BCF PCLATH, 0x3
588 024B 120A BCF PCLATH, 0x4
589 024C 2A4E GOTO 0x24e
590 024D 163D BSF 0x3d, 0x4
591 024E 1A3D BTFSC 0x3d, 0x4
592 024F 1608 BSF PORTD, 0x4
593 0250 1E3D BTFSS 0x3d, 0x4
594 0251 1208 BCF PORTD, 0x4
595 0252 0064 CLRWDT
596 0253 118A BCF PCLATH, 0x3
597 0254 120A BCF PCLATH, 0x4
598 0255 1B87 BTFSC PORTC, 0x7
599 0256 2A68 GOTO 0x268
600 0257 30FA MOVLW 0xfa
601 0258 018A CLRF PCLATH
602 0259 2022 CALL 0x22
603 025A 0064 CLRWDT
604 025B 118A BCF PCLATH, 0x3
605 025C 120A BCF PCLATH, 0x4
606 025D 1EBD BTFSS 0x3d, 0x5
607 025E 2A63 GOTO 0x263
608 025F 12BD BCF 0x3d, 0x5
609 0260 118A BCF PCLATH, 0x3
610 0261 120A BCF PCLATH, 0x4
611 0262 2A64 GOTO 0x264
612 0263 16BD BSF 0x3d, 0x5
613 0264 1ABD BTFSC 0x3d, 0x5
614 0265 1688 BSF PORTD, 0x5
615 0266 1EBD BTFSS 0x3d, 0x5
616 0267 1288 BCF PORTD, 0x5
617 0268 0064 CLRWDT
618 0269 118A BCF PCLATH, 0x3
619 026A 120A BCF PCLATH, 0x4
620 026B 1A85 BTFSC PORTA, 0x5
621 026C 2A7E GOTO 0x27e
622 026D 30FA MOVLW 0xfa
623 026E 018A CLRF PCLATH
624 026F 2022 CALL 0x22
625 0270 0064 CLRWDT
626 0271 118A BCF PCLATH, 0x3
627 0272 120A BCF PCLATH, 0x4
628 0273 1F3D BTFSS 0x3d, 0x6
629 0274 2A79 GOTO 0x279
630 0275 133D BCF 0x3d, 0x6
631 0276 118A BCF PCLATH, 0x3
632 0277 120A BCF PCLATH, 0x4
633 0278 2A7A GOTO 0x27a
634 0279 173D BSF 0x3d, 0x6
635 027A 1B3D BTFSC 0x3d, 0x6
636 027B 1708 BSF PORTD, 0x6
637 027C 1F3D BTFSS 0x3d, 0x6
638 027D 1308 BCF PORTD, 0x6
639 027E 0064 CLRWDT
640 027F 118A BCF PCLATH, 0x3
641 0280 120A BCF PCLATH, 0x4
642 0281 1B07 BTFSC PORTC, 0x6
643 0282 2A94 GOTO 0x294
644 0283 30FA MOVLW 0xfa
645 0284 018A CLRF PCLATH
646 0285 2022 CALL 0x22
647 0286 0064 CLRWDT
648 0287 118A BCF PCLATH, 0x3
649 0288 120A BCF PCLATH, 0x4
650 0289 1FBD BTFSS 0x3d, 0x7
651 028A 2A8F GOTO 0x28f
652 028B 13BD BCF 0x3d, 0x7
653 028C 118A BCF PCLATH, 0x3
654 028D 120A BCF PCLATH, 0x4
655 028E 2A90 GOTO 0x290
656 028F 17BD BSF 0x3d, 0x7
657 0290 1BBD BTFSC 0x3d, 0x7
658 0291 1788 BSF PORTD, 0x7
659 0292 1FBD BTFSS 0x3d, 0x7
660 0293 1388 BCF PORTD, 0x7
661 0294 083D MOVF 0x3d, W
662 0295 0088 MOVWF PORTD
663 0296 0064 CLRWDT
664 0297 118A BCF PCLATH, 0x3
665 0298 120A BCF PCLATH, 0x4
666 0299 1889 BTFSC PORTE, 0x1
667 029A 2ACD GOTO 0x2cd
668 029B 3001 MOVLW 0x1
669 029C 00A3 MOVWF 0x23
670 029D 305E MOVLW 0x5e
671 029E 018A CLRF PCLATH
672 029F 2023 CALL 0x23
673 02A0 083B MOVF 0x3b, W
674 02A1 1703 BSF STATUS, 0x6
675 02A2 008D MOVWF PIR2
676 02A3 1303 BCF STATUS, 0x6
677 02A4 083D MOVF 0x3d, W
678 02A5 018A CLRF PCLATH
679 02A6 2012 CALL 0x12
680 02A7 1386 BCF PORTB, 0x7
681 02A8 083A MOVF 0x3a, W
682 02A9 3C0F SUBLW 0xf
683 02AA 118A BCF PCLATH, 0x3
684 02AB 120A BCF PCLATH, 0x4
685 02AC 1C03 BTFSS STATUS, 0
686 02AD 2ACC GOTO 0x2cc
687 02AE 118A BCF PCLATH, 0x3
688 02AF 120A BCF PCLATH, 0x4
689 02B0 22B5 CALL 0x2b5
690 02B1 0086 MOVWF PORTB
691 02B2 118A BCF PCLATH, 0x3
692 02B3 120A BCF PCLATH, 0x4
693 02B4 2ACC GOTO 0x2cc
694 02B5 3002 MOVLW 0x2
695 02B6 008A MOVWF PCLATH
696 02B7 083A MOVF 0x3a, W
697 02B8 3EBC ADDLW 0xbc
698 02B9 1803 BTFSC STATUS, 0
699 02BA 0A8A INCF PCLATH, F
700 02BB 0082 MOVWF PCL
701 02BC 343F RETLW 0x3f
702 02BD 3406 RETLW 0x6
703 02BE 345B RETLW 0x5b
704 02BF 344F RETLW 0x4f
705 02C0 3466 RETLW 0x66
706 02C1 346D RETLW 0x6d
707 02C2 347D RETLW 0x7d
708 02C3 3407 RETLW 0x7
709 02C4 347F RETLW 0x7f
710 02C5 3467 RETLW 0x67
711 02C6 3477 RETLW 0x77
712 02C7 347C RETLW 0x7c
713 02C8 3439 RETLW 0x39
714 02C9 345E RETLW 0x5e
715 02CA 3479 RETLW 0x79
716 02CB 3471 RETLW 0x71
717 02CC 0008 RETURN
718 02CD 018A CLRF PCLATH
719 02CE 29E4 GOTO 0x1e4
720 02CF 0063 SLEEP
721 02D0 018A CLRF PCLATH
722 02D1 2ACF GOTO 0x2cf