📄 ice153.lst
字号:
322 000D3 0A25 bs port61, input0
323 000D4 0000 nop
324 000D5 0E86 jbs port6, 2
325 000D6 0A26 bs port62, input0
326 000D7 0000 nop
327 000D8 0EC6 jbs port6, 3
328 000D9 0A27 bs port63, input0
329 000DA 0000 nop
330 000DB 0F06 jbs port6, 4
331 000DC 0A28 bs port64, input0
332 000DD 0000 nop
333 000DE 0F46 jbs port6, 5
334 000DF 0A29 bs port65, input0
335 000E0 0000 nop
336 000E1 0F86 jbs port6, 6
337 000E2 0A2A bs port66, input0
338 000E3 0000 nop
339 000E4 0FC6 jbs port6, 7
340 000E5 0A2B bs port67, input0
341 000E6 0000 nop
342
343 /**************************************/
344 000E7 input1_check:
345 000E7 0AC5 bs port5, 3
346 000E8 12CB call delay
347 000E9 0C05 jbc port5, 0
348 000EA 0A60 bs port50, input1
349 000EB 0000 nop
350 000EC 0C45 jbc port5, 1
351 000ED 0A61 bs port51, input1
352 000EE 0000 nop
353 000EF 0C85 jbc port5, 2
354 000F0 0A62 bs port52, input1
355 000F1 0000 nop
356 /**************************************/
357 000F2 0C06 jbc port6, 0
358 000F3 0A64 bs port60, input1
359 000F4 0000 nop
360 000F5 0C46 jbc port6, 1
361 000F6 0A65 bs port61, input1
362 000F7 0000 nop
363 000F8 0C86 jbc port6, 2
364 000F9 0A66 bs port62, input1
365 000FA 0000 nop
366 000FB 0CC6 jbc port6, 3
367 000FC 0A67 bs port63, input1
368 000FD 0000 nop
369 000FE 0D06 jbc port6, 4
370 000FF 0A68 bs port64, input1
371 00100 0000 nop
372 00101 0D46 jbc port6, 5
373 00102 0A69 bs port65, input1
374 00103 0000 nop
375 00104 0D86 jbc port6, 6
376 00105 0A6A bs port66, input1
377 00106 0000 nop
378 00107 0DC6 jbc port6, 7
379 00108 0A6B bs port67, input1
380 00109 0000 nop
381
382 /**************************************/
383 0010A output_check:
384 0010A 0000 nop
385 0010B 0000 nop
386 0010C port50_check:
387 0010C 180E mov a, @0x0e ;set P50 output,others input
388 0010D 0005 iow P5CR
389 0010E 18FF mov a, @0xff
390 0010F 0006 iow P6CR
391 00110 0A05 bs port5, 0
392 00111 12CB call delay
393 00112 0CC5 jbc port5, 3
394 00113 0AE0 bs port50, output1
395 00114 0000 nop
396 00115 0805 bc port5, 0
397 00116 12CB call delay
398 00117 0EC5 jbs port5, 3
399 00118 0AA0 bs port50, output0
400 00119 0000 nop
401
402 /**************************************/
403 0011A port51_check:
404 0011A 180D mov a, @0x0d ;set P51 output,others input
405 0011B 0005 iow P5CR
406 0011C 18FF mov a, @0xff
407 0011D 0006 iow P6CR
408 0011E 0A45 bs port5, 1
409 0011F 12CB call delay
410 00120 0CC5 jbc port5, 3
411 00121 0AE1 bs port51, output1
412 00122 0000 nop
413 00123 0845 bc port5, 1
414 00124 12CB call delay
415 00125 0EC5 jbs port5, 3
416 00126 0AA1 bs port51, output0
417 00127 0000 nop
418
419 /**************************************/
420 00128 port52_check:
421 00128 180B mov a, @0x0b ;set P52 output,others input
422 00129 0005 iow P5CR
423 0012A 18FF mov a, @0xff
424 0012B 0006 iow P6CR
425 0012C 0A85 bs port5, 2
426 0012D 12CB call delay
427 0012E 0CC5 jbc port5, 3
428 0012F 0AE2 bs port52, output1
429 00130 0000 nop
430 00131 0885 bc port5, 2
431 00132 12CB call delay
432 00133 0EC5 jbs port5, 3
433 00134 0AA2 bs port52, output0
434 00135 0000 nop
435
436 /**************************************/
437 00136 port60_check:
438 00136 180F mov a, @0x0f ;set P60 output,others input
439 00137 0005 iow P5CR
440 00138 18FE mov a, @0xfe
441 00139 0006 iow P6CR
442 0013A 0A06 bs port6, 0
443 0013B 12CB call delay
444 0013C 0CC5 jbc port5, 3
445 0013D 0AE4 bs port60, output1
446 0013E 0000 nop
447 0013F 0806 bc port6, 0
448 00140 12CB call delay
449 00141 0EC5 jbs port5, 3
450 00142 0AA4 bs port60, output0
451 00143 0000 nop
452
453 /**************************************/
454 00144 port61_check:
455 00144 180F mov a, @0x0f ;set P61 output,others input
456 00145 0005 iow P5CR
457 00146 18FD mov a, @0xfd
458 00147 0006 iow P6CR
459 00148 0A46 bs port6, 1
460 00149 12CB call delay
461 0014A 0CC5 jbc port5, 3
462 0014B 0AE5 bs port61, output1
463 0014C 0000 nop
464 0014D 0846 bc port6, 1
465 0014E 12CB call delay
466 0014F 0EC5 jbs port5, 3
467 00150 0AA5 bs port61, output0
468 00151 0000 nop
469
470 /**************************************/
471 00152 port62_check:
472 00152 180F mov a, @0x0f ;set P62 output,others input
473 00153 0005 iow P5CR
474 00154 18FB mov a, @0xfb
475 00155 0006 iow P6CR
476 00156 0A86 bs port6, 2
477 00157 12CB call delay
478 00158 0CC5 jbc port5, 3
479 00159 0AE6 bs port62, output1
480 0015A 0000 nop
481 0015B 0886 bc port6, 2
482 0015C 12CB call delay
483 0015D 0EC5 jbs port5, 3
484 0015E 0AA6 bs port62, output0
485 0015F 0000 nop
486
487 /**************************************/
488 00160 port64_check:
489 00160 180F mov a, @0x0f ;set P64 output,others input
490 00161 0005 iow P5CR
491 00162 18EF mov a, @0xef
492 00163 0006 iow P6CR
493 00164 0B06 bs port6, 4
494 00165 12CB call delay
495 00166 0CC5 jbc port5, 3
496 00167 0AE8 bs port64, output1
497 00168 0000 nop
498 00169 0906 bc port6, 4
499 0016A 12CB call delay
500 0016B 0EC5 jbs port5, 3
501 0016C 0AA8 bs port64, output0
502 0016D 0000 nop
503
504 /**************************************/
505 0016E port65_check:
506 0016E 180F mov a, @0x0f ;set P65 output,others input
507 0016F 0005 iow P5CR
508 00170 18DF mov a, @0xdf
509 00171 0006 iow P6CR
510 00172 0B46 bs port6, 5
511 00173 12CB call delay
512 00174 0CC5 jbc port5, 3
513 00175 0AE9 bs port65, output1
514 00176 0000 nop
515 00177 0946 bc port6, 5
516 00178 12CB call delay
517 00179 0EC5 jbs port5, 3
518 0017A 0AA9 bs port65, output0
519 0017B 0000 nop
520
521 /**************************************/
522 0017C port66_check:
523 0017C 180F mov a, @0x0f ;set P66 output,others input
524 0017D 0005 iow P5CR
525 0017E 18BF mov a, @0xbf
526 0017F 0006 iow P6CR
527 00180 0B86 bs port6, 6
528 00181 12CB call delay
529 00182 0CC5 jbc port5, 3
530 00183 0AEA bs port66, output1
531 00184 0000 nop
532 00185 0986 bc port6, 6
533 00186 12CB call delay
534 00187 0EC5 jbs port5, 3
535 00188 0AAA bs port66, output0
536 00189 0000 nop
537
538 /**************************************/
539 0018A port67_check:
540 0018A 180F mov a, @0x0f ;set P67 output,others input
541 0018B 0005 iow P5CR
542 0018C 187F mov a, @0x7f
543 0018D 0006 iow P6CR
544 0018E 0BC6 bs port6, 7
545 0018F 12CB call delay
546 00190 0CC5 jbc port5, 3
547 00191 0AEB bs port67, output1
548 00192 0000 nop
549 00193 09C6 bc port6, 7
550 00194 12CB call delay
551 00195 0EC5 jbs port5, 3
552 00196 0AAB bs port67, output0
553 00197 0000 nop
554
555 /**************************************/
556 00198 p67pull_high:
557 00198 18FF mov a, @0xff
558 00199 000B iow PDCR
559 0019A 187F mov a, @0x7f
560 0019B 000D iow PHCR
561 0019C 180F mov a, @0x0f
562 0019D 0005 iow P5CR
563 0019E 18FF mov a, @0xff
564 0019F 0006 iow P6CR
565 001A0 12CB call delay
566 001A1 0DC6 jbc port6, 7
567 001A2 0BED bs pullhigh_buf,p67_high
568 001A3 0000 nop
569
570 /**************************************/
571 001A4 p50pull_down:
572 001A4 18FF mov a, @0xff
573 001A5 000D iow PHCR
574 001A6 18FE mov a, @0xfe
575 001A7 000B iow PDCR
576 001A8 180F mov a, @0x0f
577 001A9 0005 iow P5CR
578 001AA 18FF mov a, @0xff
579 001AB 0006 iow P6CR
580 001AC 12CB call delay
581 001AD 0E05 jbs port5, 0
582 001AE 0A2C bs pulldown_buf,p50_down
583 001AF 0000 nop
584
585 /**************************************/
586 001B0 p66pull_high:
587 001B0 18FF mov a, @0xff
588 001B1 000B iow PDCR
589 001B2 18BF mov a, @0xbf
590 001B3 000D iow PHCR
591 001B4 180F mov a, @0x0f
592 001B5 0005 iow P5CR
593 001B6 18FF mov a, @0xff
594 001B7 0006 iow P6CR
595 001B8 12CB call delay
596 001B9 0D86 jbc port6, 6
597 001BA 0BAD bs pullhigh_buf,p66_high
598 001BB 0000 nop
599
600 /**************************************/
601 001BC p51pull_down:
602 001BC 18FF mov a, @0xff
603 001BD 000D iow PHCR
604 001BE 18FD mov a, @0xfd
605 001BF 000B iow PDCR
606 001C0 180F mov a, @0x0f
607 001C1 0005 iow P5CR
608 001C2 18FF mov a, @0xff
609 001C3 0006 iow P6CR
610 001C4 12CB call delay
611 001C5 0E45 jbs port5, 1
612 001C6 0A6C bs pulldown_buf,p51_down
613 001C7 0000 nop
614
615 /**************************************/
616 001C8 p65pull_high:
617 001C8 18FF mov a, @0xff
618 001C9 000B iow PDCR
619 001CA 18DF mov a, @0xdf
620 001CB 000D iow PHCR
621 001CC 180F mov a, @0x0f
622 001CD 0005 iow P5CR
623 001CE 18FF mov a, @0xff
624 001CF 0006 iow P6CR
625 001D0 12CB call delay
626 001D1 0D46 jbc port6, 5
627 001D2 0B6D bs pullhigh_buf,p65_high
628 001D3 0000 nop
629
630 /**************************************/
631 001D4 p52pull_down:
632 001D4 18FF mov a, @0xff
633 001D5 000D iow PHCR
634 001D6 18FB mov a, @0xfb
635 001D7 000B iow PDCR
636 001D8 180F mov a, @0x0f
637 001D9 0005 iow P5CR
638 001DA 18FF mov a, @0xff
639 001DB 0006 iow P6CR
640 001DC 12CB call delay
641 001DD 0E85 jbs port5, 2
642 001DE 0AAC bs pulldown_buf,p52_down
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -