暑假为学生培训写的51相关接口的所有源码及项目代码

源代码在线查看: myproj.m51

软件大小: 151 K
上传用户: sky8997991
关键词: 接口 代码 有源 项目
下载地址: 免注册下载 普通下载 VIP

相关代码

				BL51 BANKED LINKER/LOCATER V5.12                                                        08/13/2008  10:34:38  PAGE 1
				
				
				BL51 BANKED LINKER/LOCATER V5.12, INVOKED BY:
				C:\KEIL\C51\BIN\BL51.EXE myProj.obj TO myProj RAMSIZE (256)
				
				
				MEMORY MODEL: SMALL
				
				
				INPUT MODULES INCLUDED:
				  myProj.obj (MYPROJ)
				  C:\KEIL\C51\LIB\C51S.LIB (?C_STARTUP)
				  C:\KEIL\C51\LIB\C51S.LIB (?C_INIT)
				
				
				LINK MAP OF MODULE:  myProj (MYPROJ)
				
				
				            TYPE    BASE      LENGTH    RELOCATION   SEGMENT NAME
				            -----------------------------------------------------
				
				            * * * * * * *   D A T A   M E M O R Y   * * * * * * *
				            REG     0000H     0008H     ABSOLUTE     "REG BANK 0"
				            DATA    0008H     0008H     UNIT         ?DT?MYPROJ
				                    0010H     0010H                  *** GAP ***
				            BIT     0020H.0   0000H.1   UNIT         _BIT_GROUP_
				                    0020H.1   0000H.7                *** GAP ***
				            IDATA   0021H     0001H     UNIT         ?STACK
				
				            * * * * * * *   C O D E   M E M O R Y   * * * * * * *
				            CODE    0000H     0003H     ABSOLUTE     
				                    0003H     07FDH                  *** GAP ***
				            CODE    0800H     008CH     UNIT         ?C_C51STARTUP
				            CODE    088CH     0027H     UNIT         ?PR?MAIN?MYPROJ
				            CODE    08B3H     0025H     UNIT         ?PR?INIT?MYPROJ
				            CODE    08D8H     001BH     UNIT         ?PR?_DELAY?MYPROJ
				            CODE    08F3H     0016H     UNIT         ?PR?_WRITE_CMD?MYPROJ
				            CODE    0909H     0015H     UNIT         ?PR?LCD_BUSY?MYPROJ
				            CODE    091EH     000FH     UNIT         ?PR?_WRITE_DAT?MYPROJ
				            CODE    092DH     000BH     UNIT         ?C_INITSEG
				            CODE    0938H     000AH     UNIT         ?PR?CLEAN_SCREEN?MYPROJ
				            CODE    0942H     0007H     UNIT         ?PR?_POSITION?MYPROJ
				
				
				
				OVERLAY MAP OF MODULE:   myProj (MYPROJ)
				
				
				SEGMENT                            BIT_GROUP 
				  +--> CALLED SEGMENT           START    LENGTH
				-----------------------------------------------
				?C_C51STARTUP                   -----    -----
				  +--> ?PR?MAIN?MYPROJ
				  +--> ?C_INITSEG
				
				?PR?MAIN?MYPROJ                 -----    -----
				  +--> ?PR?_DELAY?MYPROJ
				  +--> ?PR?INIT?MYPROJ
				  +--> ?PR?CLEAN_SCREEN?MYPROJ
				  +--> ?PR?_POSITION?MYPROJ
				BL51 BANKED LINKER/LOCATER V5.12                                                      08/13/2008  10:34:38  PAGE 2
				
				
				  +--> ?PR?_WRITE_DAT?MYPROJ
				
				?PR?INIT?MYPROJ                 -----    -----
				  +--> ?PR?_WRITE_CMD?MYPROJ
				
				?PR?_WRITE_CMD?MYPROJ           -----    -----
				  +--> ?PR?_DELAY?MYPROJ
				  +--> ?PR?LCD_BUSY?MYPROJ
				
				?PR?LCD_BUSY?MYPROJ             0020H.0  0000H.1
				  +--> ?PR?_DELAY?MYPROJ
				
				?PR?CLEAN_SCREEN?MYPROJ         -----    -----
				  +--> ?PR?_WRITE_CMD?MYPROJ
				  +--> ?PR?_DELAY?MYPROJ
				
				?PR?_POSITION?MYPROJ            -----    -----
				  +--> ?PR?_WRITE_CMD?MYPROJ
				
				?PR?_WRITE_DAT?MYPROJ           -----    -----
				  +--> ?PR?LCD_BUSY?MYPROJ
				  +--> ?PR?_DELAY?MYPROJ
				
				
				
				SYMBOL TABLE OF MODULE:  myProj (MYPROJ)
				
				  VALUE           TYPE          NAME
				  ----------------------------------
				
				  -------         MODULE        MYPROJ
				  C:0000H         SYMBOL        _ICE_DUMMY_
				  D:0080H         PUBLIC        P0
				  D:0090H         PUBLIC        P1
				  D:00A0H         PUBLIC        P2
				  D:00B0H         PUBLIC        P3
				  D:00A8H         PUBLIC        IE
				  D:00B8H         PUBLIC        IP
				  C:08FAH         PUBLIC        _write_cmd
				  B:00A0H.0       PUBLIC        RS
				  C:088CH         PUBLIC        main
				  C:091EH         PUBLIC        _write_dat
				  B:00A0H.1       PUBLIC        RW
				  D:0098H         PUBLIC        SCON
				  D:0088H         PUBLIC        TCON
				  C:08B3H         PUBLIC        init
				  D:0008H         PUBLIC        word
				  B:00A0H.2       PUBLIC        E
				  C:0942H         PUBLIC        _position
				  C:0909H         PUBLIC        lcd_busy
				  D:00C8H         PUBLIC        T2CON
				  C:0938H         PUBLIC        clean_screen
				  C:08E2H         PUBLIC        _delay
				  D:00D0H         PUBLIC        PSW
				  -------         PROC          L?0025
				  -------         ENDPROC       L?0025
				  -------         PROC          _DELAY
				BL51 BANKED LINKER/LOCATER V5.12                                                      08/13/2008  10:34:38  PAGE 3
				
				
				  D:0007H         SYMBOL        ms
				  -------         DO            
				  D:0006H         SYMBOL        i
				  D:0005H         SYMBOL        j
				  -------         ENDDO         
				  C:08E2H         LINE#         13
				  C:08E2H         LINE#         14
				  C:08E2H         LINE#         16
				  C:08E9H         LINE#         17
				  C:08F2H         LINE#         18
				  -------         ENDPROC       _DELAY
				  -------         PROC          LCD_BUSY
				  -------         DO            
				  B:0020H.0       SYMBOL        busy
				  -------         ENDDO         
				  C:0909H         LINE#         20
				  C:0909H         LINE#         21
				  C:0909H         LINE#         23
				  C:090BH         LINE#         24
				  C:090DH         LINE#         25
				  C:090FH         LINE#         26
				  C:0914H         LINE#         27
				  C:0919H         LINE#         28
				  C:091BH         LINE#         29
				  C:091DH         LINE#         30
				  -------         ENDPROC       LCD_BUSY
				  C:08F3H         SYMBOL        L?0024
				  -------         PROC          L?0023
				  -------         ENDPROC       L?0023
				  C:08F3H         SYMBOL        L?0024
				  -------         PROC          _WRITE_CMD
				  D:0004H         SYMBOL        cmd
				  C:08FAH         LINE#         34
				  C:08FCH         LINE#         35
				  C:08FCH         LINE#         36
				  C:0901H         LINE#         37
				  C:0903H         LINE#         38
				  C:0903H         LINE#         39
				  C:0903H         LINE#         40
				  C:0903H         LINE#         41
				  C:0903H         LINE#         42
				  C:0906H         LINE#         43
				  C:0908H         LINE#         44
				  -------         ENDPROC       _WRITE_CMD
				  -------         PROC          _WRITE_DAT
				  D:0004H         SYMBOL        dat
				  C:091EH         LINE#         46
				  C:0920H         LINE#         47
				  C:0920H         LINE#         48
				  C:0925H         LINE#         49
				  C:0927H         LINE#         50
				  C:0927H         LINE#         51
				  C:0927H         LINE#         52
				  C:0927H         LINE#         53
				  C:0927H         LINE#         54
				  C:092AH         LINE#         55
				  C:092CH         LINE#         56
				BL51 BANKED LINKER/LOCATER V5.12                                                      08/13/2008  10:34:38  PAGE 4
				
				
				  -------         ENDPROC       _WRITE_DAT
				  -------         PROC          _POSITION
				  D:0007H         SYMBOL        pos
				  C:0942H         LINE#         58
				  C:0942H         LINE#         59
				  C:0942H         LINE#         60
				  -------         ENDPROC       _POSITION
				  -------         PROC          CLEAN_SCREEN
				  C:0938H         LINE#         63
				  C:0938H         LINE#         64
				  C:0938H         LINE#         65
				  C:093DH         LINE#         66
				  -------         ENDPROC       CLEAN_SCREEN
				  -------         PROC          INIT
				  C:08B3H         LINE#         69
				  C:08B3H         LINE#         70
				  C:08B3H         LINE#         71
				  C:08B6H         LINE#         72
				  C:08BBH         LINE#         73
				  C:08BBH         LINE#         74
				  C:08BEH         LINE#         75
				  C:08BEH         LINE#         76
				  C:08C1H         LINE#         77
				  C:08C1H         LINE#         78
				  C:08C4H         LINE#         79
				  C:08C9H         LINE#         80
				  C:08CEH         LINE#         81
				  C:08D3H         LINE#         82
				  -------         ENDPROC       INIT
				  -------         PROC          MAIN
				  -------         DO            
				  D:0003H         SYMBOL        i
				  -------         ENDDO         
				  C:088CH         LINE#         86
				  C:088CH         LINE#         87
				  C:088CH         LINE#         89
				  C:0891H         LINE#         90
				  C:0894H         LINE#         91
				  C:0894H         LINE#         92
				  C:0894H         LINE#         93
				  C:0897H         LINE#         94
				  C:089CH         LINE#         95
				  C:089EH         LINE#         96
				  C:08A6H         LINE#         97
				  C:08A6H         LINE#         98
				  C:08A9H         LINE#         99
				  C:08AAH         LINE#         100
				  C:08ACH         LINE#         101
				  C:08B1H         LINE#         102
				  -------         ENDPROC       MAIN
				  -------         ENDMOD        MYPROJ
				
				******************************************************************************
				* RESTRICTED VERSION WITH 0800H BYTE CODE SIZE LIMIT; USED: 00BCH BYTE ( 9%) *
				******************************************************************************
				
				Program Size: data=17.1 xdata=0 code=332
				BL51 BANKED LINKER/LOCATER V5.12                                                      08/13/2008  10:34:38  PAGE 5
				
				
				LINK/LOCATE RUN COMPLETE.  0 WARNING(S),  0 ERROR(S)
							

相关资源