📄 glcd.lst
字号:
676 ;delay.c: 25: do
677 0001B2 l7:
678 0001B2 F000 nop ;#
679 ;delay.c: 26: {
680 ;delay.c: 27: asm("nop");
681 ;delay.c: 28: }while(--x);
682 ;access bank - no selection
683 0001B4 2EF3 decfsz 243,f,c
684 0001B6 D7FD goto l7
685 ;delay.c: 29: }while(--cnt);
686 ;access bank - no selection
687 0001B8 2EF4 decfsz 244,f,c
688 0001BA D7F9 goto l4
689 ;delay.c: 84: }
690 0001BC 0012 return
691 ; =============== function _DelayUs ends =======
+ =====
692 ; *************** function _GLCD_Init **********
+ *******
693 ; Defined at:
694 ; line 173 in file "E:\DOC\ELECTRONIC\PIC\Proje
+ ct\Libs\4455glcd\glcd.c"
695 ; Parameters:
696 ; None
697 ; Registers used:
698 ; wreg, fsr0l, fsr1l, fsr2l, status,2, status,0
+ , prodl, prodh
699 ; Tracked objects:
700 ; On entry : 0/0
701 ; On exit : 0/0
702 ; Unchanged: FFFFFFFF/0
703 ; Data sizes:
704 ; Autos: 4
705 ; Params: 0
706 ; Temp: 0
707 ; Total: 4
708 ; This function calls:
709 ; _DelayUs
710 ; _GLCD_SetDisplayOn
711 ; _GLCD_SetStartLine
712 ; _GLCD_Clear
713 ; This function is called by:
714 ; _main
715 0001BE _GLCD_Init:
716 ;glcd.c: 174: int x,y;
717 ;glcd.c: 176: RC6 = 1;
718 ;access bank - no selection
719 0001BE 8C82 bsf 3970,6,c ;volatile
720 ;glcd.c: 177: DelayUs(1);DelayUs(1);
721 0001C0 0E01 movlw 1
722 0001C2 DFF3 call _DelayUs
723 0001C4 0E01 movlw 1
724 0001C6 DFF1 call _DelayUs
725 ;glcd.c: 178: DelayUs(1);DelayUs(1);
726 0001C8 0E01 movlw 1
727 0001CA DFEF call _DelayUs
728 0001CC 0E01 movlw 1
729 0001CE DFED call _DelayUs
730 0001D0 0E01 movlw 1
731 0001D2 D803 call _GLCD_SetDisplayOn
732 0001D4 0E00 movlw 0
733 0001D6 D815 call _GLCD_SetStartLine
734 0001D8 D01D goto _GLCD_Clear
735 ;glcd.c: 186: }
736 ; =============== function _GLCD_Init ends =====
+ =======
737 ; *************** function _GLCD_SetDisplayOn **
+ ***************
738 ; Defined at:
739 ; line 211 in file "E:\DOC\ELECTRONIC\PIC\Proje
+ ct\Libs\4455glcd\glcd.c"
740 ; Parameters:
741 ; onOff reg: wreg type: unsigned char
742 ; Registers used:
743 ; wreg, fsr2l, status,2, status,0, prodl, prodh
744 ; Tracked objects:
745 ; On entry : 0/0
746 ; On exit : 0/0
747 ; Unchanged: FFFFFFFF/0
748 ; Data sizes:
749 ; Autos: 1
750 ; Params: 0
751 ; Temp: 0
752 ; Total: 1
753 ; This function calls:
754 ; _DelayUs
755 ; _GLCD_WriteCommand
756 ; This function is called by:
757 ; _GLCD_Init
758 0001DA _GLCD_SetDisplayOn:
759 ; _GLCD_SetDisplayOn_onOff loaded to fsr2l
760 0001DA CFE8 FFD9 movff wreg,fsr2l
761 ;glcd.c: 210: void GLCD_SetDisplayOn(unsigned ch
+ ar onOff)
762 ;glcd.c: 211: {
763 ;glcd.c: 212: PORTB |= 0x03; DelayUs(1);;
764 0001DE 0E03 movlw 3
765 ;access bank - no selection
766 0001E0 1281 iorwf 129,f,c ;volatile
767 0001E2 0E01 movlw 1
768 0001E4 DFE2 call _DelayUs
769 ;glcd.c: 213: GLCD_WriteCommand(0b00111110 + onO
+ ff);
770 ;access bank - no selection
771 0001E6 50D9 movf 217,w,c
772 0001E8 0F3E addlw 62
773 ;glcd.c: 214: }
774 ; =============== function _GLCD_SetDisplayOn en
+ ds ============
775 ; *************** function _GLCD_WriteCommand **
+ ***************
776 ; Defined at:
777 ; line 155 in file "E:\DOC\ELECTRONIC\PIC\Proje
+ ct\Libs\4455glcd\glcd.c"
778 ; Parameters:
779 ; cCmd reg: wreg type: unsigned char
780 ; Registers used:
781 ; wreg, status,2, prodl, prodh
782 ; Tracked objects:
783 ; On entry : 0/0
784 ; On exit : 0/0
785 ; Unchanged: FFFFFFFF/0
786 ; Data sizes:
787 ; Autos: 0
788 ; Params: 0
789 ; Temp: 0
790 ; Total: 0
791 ; This function calls:
792 ; _GLCD_Strobe
793 ; This function is called by:
794 ; _GLCD_SetDisplayOn
795 ; _GLCD_SetStartLine
796 ; _GLCD_SetPos
797 0001EA _GLCD_WriteCommand:
798 ;glcd.c: 154: void GLCD_WriteCommand(unsigned ch
+ ar cCmd)
799 ;glcd.c: 155: {
800 ;glcd.c: 156: RC1 = 0;
801 ;access bank - no selection
802 0001EA 9282 bcf 3970,1,c ;volatile
803 ;glcd.c: 157: PORTD = cCmd;
804 0001EC CFE8 FF83 movff wreg,3971 ;volatile
805 ;glcd.c: 158: GLCD_Strobe();
806 ;glcd.c: 159: }
807 ; =============== function _GLCD_WriteCommand en
+ ds ============
808 ; *************** function _GLCD_Strobe ********
+ *********
809 ; Defined at:
810 ; line 47 in file "E:\DOC\ELECTRONIC\PIC\Projec
+ t\Libs\4455glcd\glcd.c"
811 ; Parameters:
812 ; None
813 ; Registers used:
814 ; wreg, status,2, prodl, prodh
815 ; Tracked objects:
816 ; On entry : 0/0
817 ; On exit : 0/0
818 ; Unchanged: FFFFFFFF/0
819 ; Data sizes:
820 ; Autos: 0
821 ; Params: 0
822 ; Temp: 0
823 ; Total: 0
824 ; This function calls:
825 ; _DelayUs
826 ; This function is called by:
827 ; _GLCD_GetBusyFlag
828 ; _GLCD_ReadData
829 ; _GLCD_WriteCommand
830 ; _GLCD_WriteData
831 0001F0 _GLCD_Strobe:
832 0001F0 0E01 movlw 1
833 0001F2 DFDB call _DelayUs
834 ;glcd.c: 49: RC7 = 1;
835 ;access bank - no selection
836 0001F4 8E82 bsf 3970,7,c ;volatile
837 ;glcd.c: 50: DelayUs(1);
838 0001F6 0E01 movlw 1
839 0001F8 DFD8 call _DelayUs
840 ;glcd.c: 51: DelayUs(1);
841 0001FA 0E01 movlw 1
842 0001FC DFD6 call _DelayUs
843 ;glcd.c: 52: RC7 = 0;
844 ;access bank - no selection
845 0001FE 9E82 bcf 3970,7,c ;volatile
846 ;glcd.c: 53: }
847 000200 0012 return
848 ; =============== function _GLCD_Strobe ends ===
+ =========
849 ; *************** function _GLCD_SetStartLine **
+ ***************
850 ; Defined at:
851 ; line 220 in file "E:\DOC\ELECTRONIC\PIC\Proje
+ ct\Libs\4455glcd\glcd.c"
852 ; Parameters:
853 ; startLine reg: wreg type: unsigned char
854 ; Registers used:
855 ; wreg, fsr2l, status,2, status,0, prodl, prodh
856 ; Tracked objects:
857 ; On entry : 0/0
858 ; On exit : 0/0
859 ; Unchanged: FFFFFFFF/0
860 ; Data sizes:
861 ; Autos: 0
862 ; Params: 0
863 ; Temp: 0
864 ; Total: 0
865 ; This function calls:
866 ; _DelayUs
867 ; _GLCD_WriteCommand
868 ; This function is called by:
869 ; _GLCD_Init
870 ; _prv_int
871 000202 _GLCD_SetStartLine:
872 ; _GLCD_SetStartLine_startLine loaded to fsr2l
873 000202 CFE8 FFD9 movff wreg,fsr2l
874 ;glcd.c: 219: void GLCD_SetStartLine(unsigned ch
+ ar startLine)
875 ;glcd.c: 220: {
876 ;glcd.c: 221: PORTB |= 0x03; DelayUs(1);;
877 000206 0E03 movlw 3
878 ;access bank - no selection
879 000208 1281 iorwf 129,f,c ;volatile
880 00020A 0E01 movlw 1
881 00020C DFCE call _DelayUs
882 ;glcd.c: 222: GLCD_WriteCommand(0b11000000 + sta
+ rtLine);
883 ;access bank - no selection
884 00020E 50D9 movf 217,w,c
885 000210 0FC0 addlw 192
886 000212 D7EB goto _GLCD_WriteCommand
887 ;glcd.c: 223: }
888 ; =============== function _GLCD_SetStartLine en
+ ds ============
889 ; *************** function _GLCD_Clear *********
+ ********
890 ; Defined at:
891 ; line 197 in file "E:\DOC\ELECTRONIC\PIC\Proje
+ ct\Libs\4455glcd\glcd.c"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -