?? icex56.lst
字號:
505 00196 18EF mov a, @0xef
506 00197 0006 iow P6CR
507 00198 0B06 bs port6, 4
508 00199 132A call delay
509 0019A 0C05 jbc port5, 0
510 0019B 0AE8 bs port64, output1
511 0019C 0000 nop
512 0019D 0906 bc port6, 4
513 0019E 132A call delay
514 0019F 0E05 jbs port5, 0
515 001A0 0AA8 bs port64, output0
516 /**************************************/
517 001A1 port65_check:
518 001A1 180F mov a, @0x0f ;set P65 output,others input
519 001A2 0005 iow P5CR
520 001A3 18DF mov a, @0xdf
521 001A4 0006 iow P6CR
522 001A5 0B46 bs port6, 5
523 001A6 132A call delay
524 001A7 0C05 jbc port5, 0
525 001A8 0AE9 bs port65, output1
526 001A9 0000 nop
527 001AA 0946 bc port6, 5
528 001AB 132A call delay
529 001AC 0E05 jbs port5, 0
530 001AD 0AA9 bs port65, output0
531 /**************************************/
532 001AE port66_check:
533 001AE 180F mov a, @0x0f ;set P66 output,others input
534 001AF 0005 iow P5CR
535 001B0 18BF mov a, @0xbf
536 001B1 0006 iow P6CR
537 001B2 0B86 bs port6, 6
538 001B3 132A call delay
539 001B4 0C05 jbc port5, 0
540 001B5 0AEA bs port66, output1
541 001B6 0000 nop
542 001B7 0986 bc port6, 6
543 001B8 132A call delay
544 001B9 0E05 jbs port5, 0
545 001BA 0AAA bs port66, output0
546 /**************************************/
547 001BB port67_check:
548 001BB 180F mov a, @0x0f ;set P67 output,others input
549 001BC 0005 iow P5CR
550 001BD 187F mov a, @0x7f
551 001BE 0006 iow P6CR
552 001BF 0BC6 bs port6, 7
553 001C0 132A call delay
554 001C1 0C05 jbc port5, 0
555 001C2 0AEB bs port67, output1
556 001C3 0000 nop
557 001C4 09C6 bc port6, 7
558 001C5 132A call delay
559 001C6 0E05 jbs port5, 0
560 001C7 0AAB bs port67, output0
561 /**************************************/
562 001C8 pull_down_check:
563 001C8 0000 nop
564 001C9 0000 nop
565 001CA p67pull_high:
566 001CA 18FF mov a, @0xff
567 001CB 000B iow PDCR
568 001CC 187F mov a, @0x7f
569 001CD 000D iow PHCR
570 001CE 180F mov a, @0x0f
571 001CF 0005 iow P5CR
572 001D0 18FF mov a, @0xff
573 001D1 0006 iow P6CR
574 001D2 132A call delay
575 001D3 0DC6 jbc port6, 7
576 001D4 0BED bs pullhigh_buf,p67_high
577 001D5 0000 nop
578 /**************************************/
579
580 001D6 p50pull_down:
581 001D6 18FF mov a, @0xff
582 001D7 000D iow PHCR
583 001D8 18FE mov a, @0xfe
584 001D9 000B iow PDCR
585 001DA 180F mov a, @0x0f
586 001DB 0005 iow P5CR
587 001DC 18FF mov a, @0xff
588 001DD 0006 iow P6CR
589 001DE 132A call delay
590 001DF 0E05 jbs port5, 0
591 001E0 0A2C bs pulldown_buf,p50_down
592 001E1 0000 nop
593
594 /**************************************/
595 001E2 p66pull_high:
596 001E2 18FF mov a, @0xff
597 001E3 000B iow PDCR
598 001E4 18BF mov a, @0xbf
599 001E5 000D iow PHCR
600 001E6 180F mov a, @0x0f
601 001E7 0005 iow P5CR
602 001E8 18FF mov a, @0xff
603 001E9 0006 iow P6CR
604 001EA 132A call delay
605 001EB 0D86 jbc port6, 6
606 001EC 0BAD bs pullhigh_buf,p66_high
607 001ED 0000 nop
608 /**************************************/
609 001EE p51pull_down:
610 001EE 18FF mov a, @0xff
611 001EF 000D iow PHCR
612 001F0 18FD mov a, @0xfd
613 001F1 000B iow PDCR
614 001F2 180F mov a, @0x0f
615 001F3 0005 iow P5CR
616 001F4 18FF mov a, @0xff
617 001F5 0006 iow P6CR
618 001F6 132A call delay
619 001F7 0E45 jbs port5, 1
620 001F8 0A6C bs pulldown_buf,p51_down
621 001F9 0000 nop
622 /**************************************/
623 001FA p65pull_high:
624 001FA 18FF mov a, @0xff
625 001FB 000B iow PDCR
626 001FC 18DF mov a, @0xdf
627 001FD 000D iow PHCR
628 001FE 180F mov a, @0x0f
629 001FF 0005 iow P5CR
630 00200 18FF mov a, @0xff
631 00201 0006 iow P6CR
632 00202 132A call delay
633 00203 0D46 jbc port6, 5
634 00204 0B6D bs pullhigh_buf,p65_high
635 00205 0000 nop
636
637 /**************************************/
638
639 00206 p52pull_down:
640 00206 18FF mov a, @0xff
641 00207 000D iow PHCR
642 00208 18FB mov a, @0xfb
643 00209 000B iow PDCR
644 0020A 180F mov a, @0x0f
645 0020B 0005 iow P5CR
646 0020C 18FF mov a, @0xff
647 0020D 0006 iow P6CR
648 0020E 132A call delay
649 0020F 0E85 jbs port5, 2
650 00210 0AAC bs pulldown_buf,p52_down
651 00211 0000 nop
652 /**************************************/
653
654 00212 p64pull_high:
655 00212 18FF mov a, @0xff
656 00213 000B iow PDCR
657 00214 18EF mov a, @0xef
658 00215 000D iow PHCR
659 00216 180F mov a, @0x0f
660 00217 0005 iow P5CR
661 00218 18FF mov a, @0xff
662 00219 0006 iow P6CR
663 0021A 132A call delay
664 0021B 0D06 jbc port6, 4
665 0021C 0B2D bs pullhigh_buf,p64_high
666 0021D 0000 nop
667 /**************************************/
668 0021E p60pull_down:
669 0021E 18FF mov a, @0xff
670 0021F 000D iow PHCR
671 00220 18EF mov a, @0xef
672 00221 000B iow PDCR
673 00222 180F mov a, @0x0f
674 00223 0005 iow P5CR
675 00224 18FF mov a, @0xff
676 00225 0006 iow P6CR
677 00226 132A call delay
678 00227 0E06 jbs port6, 0
679 00228 0B2C bs pulldown_buf,p60_down
680 00229 0000 nop
681 /**************************************/
682 0022A p60pull_high:
683 0022A 18FF mov a, @0xff
684 0022B 000B iow PDCR
685 0022C 18FE mov a, @0xfe
686 0022D 000D iow PHCR
687 0022E 180F mov a, @0x0f
688 0022F 0005 iow P5CR
689 00230 18FF mov a, @0xff
690 00231 0006 iow P6CR
691 00232 132A call delay
692 00233 0C06 jbc port6, 0
693 00234 0A2D bs pullhigh_buf,p60_high
694 00235 0000 nop
695
696 /**************************************/
697 00236 p61pull_down:
698 00236 18FF mov a, @0xff
699 00237 000D iow PHCR
700 00238 18DF mov a, @0xdf
701 00239 000B iow PDCR
702 0023A 180F mov a, @0x0f
703 0023B 0005 iow P5CR
704 0023C 18FF mov a, @0xff
705 0023D 0006 iow P6CR
706 0023E 132A call delay
707 0023F 0E46 jbs port6, 1
708 00240 0B6C bs pulldown_buf,p61_down
709 00241 0000 nop
710 00242 p61pull_high:
711 00242 18FF mov a, @0xff
712 00243 000B iow PDCR
713 00244 18FB mov a, @0xfb
714 00245 000D iow PHCR
715 00246 180F mov a, @0x0f
716 00247 0005 iow P5CR
717 00248 18FF mov a, @0xff
718 00249 0006 iow P6CR
719 0024A 132A call delay
720 0024B 0C46 jbc port6, 1
721 0024C 0A6D bs pullhigh_buf,p61_high
722 0024D 0000 nop
723 /**************************************/
724 0024E p62pull_down:
725 0024E 18FF mov a, @0xff
726 0024F 000D iow PHCR
727 00250 18BF mov a, @0xbf
728 00251 000B iow PDCR
729 00252 180F mov a, @0x0f
730 00253 0005 iow P5CR
731 00254 18FF mov a, @0xff
732 00255 0006 iow P6CR
733 00256 132A call delay
734 00257 0E86 jbs port6, 2
735 00258 0BAC bs pulldown_buf,p62_down
736 00259 0000 nop
737 /**************************************/
738
739 0025A p62pull_high:
740 0025A 18FF mov a, @0xff
741 0025B 000B iow PDCR
742 0025C 18FB mov a, @0xfb
743 0025D 000D iow PHCR
744 0025E 180F mov a, @0x0f
745 0025F 0005 iow P5CR
746 00260 18FF mov a, @0xff
747 00261 0006 iow P6CR
748 00262 132A call delay
749 00263 0C86 jbc port6, 2
750 00264 0AAD bs pullhigh_buf,p62_high
751 00265 0000 nop
752 /**************************************/
753 00266 p63pull_down:
754 00266 18FF mov a, @0xff
755 00267 000D iow PHCR
756 00268 187F mov a, @0x7f
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -