📄 ch452jp.lst
字号:
233 0773 0771 addwf btemp+1,w
234 0774 00A9 movwf ?_WrietCh452+1
235 0775 120A 118A 2FA2 ljmp _WrietCh452
236
237 psect text6
238 ;ch452jp.c: 133: void Flash_AllBit()
239 ;ch452jp.c: 134: {
240 0744 _Flash_AllBit
241 ;ch452jp.c: 135: WrietCh452(0x0600+0xff);
242 0744 30FF movlw 255
243 0745 0183 clrf 3 ;select bank 0
244 0746 00A8 movwf ?_WrietCh452
245 0747 3006 movlw 6
246 0748 00A9 movwf ?_WrietCh452+1
247 0749 120A 118A 2FA2 ljmp _WrietCh452
248
249 psect intcode
250 ;ch452jp.c: 141: void interrupt IntKey()
251 ;ch452jp.c: 142: {uint i;
252 0017 _IntKey
253 0017 int_func
254 ; _i assigned to ?a_IntKey+0
255 0000 _IntKey$i set ?a_IntKey
256 ;ch452jp.c: 143: InitCh452();
257 0017 120A 118A 27C0 fcall _InitCh452
258 ;ch452jp.c: 144: for(i=0;i<8;i++)
259 001A 01A0 clrf ?a_IntKey
260 001B 01A1 clrf ?a_IntKey+1
261 001C l14
262 ;ch452jp.c: 145: {
263 ;ch452jp.c: 146: Bit_Display_Num(i,i);
264 001C 0820 movf ?a_IntKey,w
265 001D 00A2 movwf ?_Bit_Display_Num
266 001E 0821 movf ?a_IntKey+1,w
267 001F 00A3 movwf ?_Bit_Display_Num+1
268 0020 0820 movf ?a_IntKey,w
269 0021 00A4 movwf ?_Bit_Display_Num+2
270 0022 0821 movf ?a_IntKey+1,w
271 0023 00A5 movwf ?_Bit_Display_Num+3
272 0024 120A 118A 2778 fcall _Bit_Display_Num
+ 120A 118A
273 ;ch452jp.c: 149: }
274 0029 0AA0 incf ?a_IntKey
275 002A 1903 btfsc 3,2
276 002B 0AA1 incf ?a_IntKey+1
277 002C 3000 movlw 0
278 002D 0221 subwf ?a_IntKey+1,w
279 002E 3008 movlw 8
280 002F 1903 btfsc 3,2
281 0030 0220 subwf ?a_IntKey,w
282 0031 1C03 btfss 3,0
283 0032 281C goto l14
284 ;ch452jp.c: 151: (INTF=0);
285 0033 108B bcf 11,1
286
287 psect intsave_0
288 0073 saved_w
289 0073 ds 1
290
291 psect intret
292 003E 0861 movf saved_fsr,w
293 003F 0084 movwf 4 ;restore FSR
294 0040 0862 movf saved_pclath,w
295 0041 008A movwf 10
296 0042 int_restore
297 0042 0860 movf saved_status,w
298 0043 0083 movwf 3
299 0044 0EF3 swapf saved_w
300 0045 0E73 swapf saved_w,w
301 0046 0009 retfie
302
303 psect intentry
304 0004 int_entry
305 0004 00F3 movwf saved_w
306 0005 0803 movf 3,w
307 0006 0183 clrf 3
308 0007 00E0 movwf saved_status
309 0008 0804 movf 4,w
310 0009 00E1 movwf saved_fsr
311 000A 080A movf 10,w
312 000B 00E2 movwf saved_pclath
313 000C 018A clrf 10
314
315 psect intsave
316 0060 saved_status
317 0060 ds 1
318 0061 saved_fsr
319 0061 ds 1
320 0062 saved_pclath
321 0062 ds 1
322
323 psect text8
324 ;ch452jp.c: 156: void DelayUs()
325 ;ch452jp.c: 157: {
326 079D _DelayUs
327 ;ch452jp.c: 158: asm("nop");
328 079D 0000 nop ;#
329 ;ch452jp.c: 159: asm("nop");
330 079E 0000 nop ;#
331 ;ch452jp.c: 160: asm("nop");
332 079F 0000 nop ;#
333 ;ch452jp.c: 162: }
334 07A0 0183 clrf 3 ;select bank 0
335 07A1 0008 return
336 07A2 _WrietCh452
337 ; _iq0 assigned to ?a_WrietCh452+0
338 0000 _WrietCh452$iq0 set ?a_WrietCh452
339 ;ch452jp.c: 91: uint iq0;
340 07A2 120B bcf 11,4
341 ;ch452jp.c: 93: (RD2=0);
342 07A3 1283 bcf 3,5
343 07A4 1303 bcf 3,6 ;carry unused
344 07A5 1108 bcf 8,2
345 ;ch452jp.c: 94: for(iq0=0;iq0<12;iq0++)
346 07A6 01AA clrf ?a_WrietCh452
347 07A7 01AB clrf ?a_WrietCh452+1
348 07A8 l4
349 ;ch452jp.c: 95: {
350 ;ch452jp.c: 96: if((da&0x0001)==1)
351 07A8 1C28 btfss ?_WrietCh452,0
352 07A9 2FAC goto l7
353 ;ch452jp.c: 97: (RD1=1);
354 07AA 1488 bsf 8,1
355 ;ch452jp.c: 98: else
356 07AB 2FAD goto l8
357 07AC l7
358 ;ch452jp.c: 99: (RD1=0);
359 07AC 1088 bcf 8,1
360 07AD l8
361 ;ch452jp.c: 100: (RD0=0);
362 07AD 1008 bcf 8,0
363 ;ch452jp.c: 101: da >>=1;
364 07AE 1003 bcf 3,0
365 07AF 0CA9 rrf ?_WrietCh452+1
366 07B0 0CA8 rrf ?_WrietCh452
367 ;ch452jp.c: 102: (RD0=1);
368 07B1 1408 bsf 8,0
369 ;ch452jp.c: 103: }
370 07B2 0AAA incf ?a_WrietCh452
371 07B3 1903 btfsc 3,2
372 07B4 0AAB incf ?a_WrietCh452+1
373 07B5 3000 movlw 0
374 07B6 022B subwf ?a_WrietCh452+1,w
375 07B7 300C movlw 12
376 07B8 1903 btfsc 3,2
377 07B9 022A subwf ?a_WrietCh452,w
378 07BA 1C03 btfss 3,0
379 07BB 2FA8 goto l4
380 ;ch452jp.c: 104: (RD2=1);
381 07BC 1508 bsf 8,2
382 ;ch452jp.c: 105: DelayUs();
383 07BD 279D fcall _DelayUs
384 ;ch452jp.c: 106: (INTE=1);
385 07BE 160B bsf 11,4
386 ;ch452jp.c: 107: }
387 07BF 0008 return
388 07C0 _InitCh452
389 ;ch452jp.c: 79: WrietCh452(0x0423);
390 07C0 3023 movlw 35
391 07C1 0183 clrf 3 ;select bank 0
392 07C2 00A8 movwf ?_WrietCh452
393 07C3 3004 movlw 4
394 07C4 00A9 movwf ?_WrietCh452+1
395 07C5 27A2 120A 118A fcall _WrietCh452
396 ;ch452jp.c: 80: WrietCh452(0x0500);
397 07C8 01A8 clrf ?_WrietCh452
398 07C9 3005 movlw 5
399 07CA 00A9 movwf ?_WrietCh452+1
400 07CB 2FA2 ljmp _WrietCh452
401
402 psect text10
403 0000
404 0000
405 0000
406 0000
407 0000
408 0000
409 0000
410 0000
411 0000
412 0000
413 0000
414 0000
415 0000
416 0000
417 0000
418 0000
419 0000
420 0000
421 0000
422 0000
423 0000
424 0000
425 0000
426 0000
427 0000
428 0000
429 0000
430 0000
431 0000
432 0000
433 0000
434 0000
435 0000
436 0000
437 0000
438 0000
439 0000
440 0000
441 0000
442 0000
443 0000
444 0000
445 0000
446 0000
447 0000
448 0000
449 0000
450 0000
451 0000
452 0000
453 0000
454 0000
455 0000
456 0000
457 0000
458 0000
459 0000
460 0000
461 0000
462 0000
463 0000
464 0000
465 0000
466 0000
467 0000
468 0000
469 0000
470 0000
471 0000
472 0000
473 0000
474 0000
475 0000
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -