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

源代码在线查看: myproj.m51

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

相关代码

				BL51 BANKED LINKER/LOCATER V5.12                                                        07/26/2008  12:43:53  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?CLDOPTR)
				  C:\KEIL\C51\LIB\C51S.LIB (PRINTF)
				  C:\KEIL\C51\LIB\C51S.LIB (?C?MEMSET)
				  C:\KEIL\C51\LIB\C51S.LIB (?C?CLDPTR)
				  C:\KEIL\C51\LIB\C51S.LIB (?C?CSTPTR)
				  C:\KEIL\C51\LIB\C51S.LIB (?C?PLDIIDATA)
				  C:\KEIL\C51\LIB\C51S.LIB (?C?CCASE)
				  C:\KEIL\C51\LIB\C51S.LIB (PUTCHAR)
				
				
				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"
				                    0008H     0018H                  *** GAP ***
				            BIT     0020H.0   0001H.1   UNIT         _BIT_GROUP_
				                    0021H.1   0000H.7                *** GAP ***
				            DATA    0022H     002CH     UNIT         ?DT?MYPROJ
				            DATA    004EH     001AH     UNIT         _DATA_GROUP_
				            IDATA   0068H     0001H     UNIT         ?STACK
				
				            * * * * * * *   C O D E   M E M O R Y   * * * * * * *
				            CODE    0000H     0003H     ABSOLUTE     
				                    0003H     0020H                  *** GAP ***
				            CODE    0023H     0003H     ABSOLUTE     
				                    0026H     07DAH                  *** GAP ***
				            CODE    0800H     035CH     UNIT         ?PR?PRINTF?PRINTF
				            CODE    0B5CH     00BAH     UNIT         ?C?LIB_CODE
				            CODE    0C16H     0074H     UNIT         ?PR?SERIAL?MYPROJ
				            CODE    0C8AH     0054H     UNIT         ?PR?MAIN?MYPROJ
				            CODE    0CDEH     0042H     UNIT         ?PR?_SENDD?MYPROJ
				            CODE    0D20H     0027H     UNIT         ?PR?PUTCHAR?PUTCHAR
				            CODE    0D47H     0020H     UNIT         ?PR?_SLEEP?MYPROJ
				            CODE    0D67H     001EH     UNIT         ?PR?_JUDGE?MYPROJ
				            CODE    0D85H     0016H     UNIT         ?PR?INIT?MYPROJ
				            CODE    0D9BH     000CH     UNIT         ?C_C51STARTUP
				            CODE    0DA7H     000AH     UNIT         ?CO?MYPROJ
				
				
				
				OVERLAY MAP OF MODULE:   myProj (MYPROJ)
				
				
				SEGMENT                           BIT_GROUP          DATA_GROUP 
				BL51 BANKED LINKER/LOCATER V5.12                                                      07/26/2008  12:43:53  PAGE 2
				
				
				  +--> CALLED SEGMENT          START    LENGTH     START    LENGTH
				------------------------------------------------------------------
				?PR?SERIAL?MYPROJ              -----    -----      -----    -----
				  +--> ?PR?_JUDGE?MYPROJ
				  +--> ?PR?_SENDD?MYPROJ
				
				?PR?_SENDD?MYPROJ              -----    -----      004EH    0006H
				
				*** NEW ROOT ***************************************************
				
				?C_C51STARTUP                  -----    -----      -----    -----
				  +--> ?PR?MAIN?MYPROJ
				
				?PR?MAIN?MYPROJ                -----    -----      -----    -----
				  +--> ?CO?MYPROJ
				  +--> ?PR?PRINTF?PRINTF
				  +--> ?PR?INIT?MYPROJ
				  +--> ?PR?_SLEEP?MYPROJ
				
				?PR?PRINTF?PRINTF              0020H.0  0001H.1    0054H    0014H
				  +--> ?PR?PUTCHAR?PUTCHAR
				
				
				
				SYMBOL TABLE OF MODULE:  myProj (MYPROJ)
				
				  VALUE           TYPE          NAME
				  ----------------------------------
				
				  -------         MODULE        MYPROJ
				  C:0000H         SYMBOL        _ICE_DUMMY_
				  D:0090H         PUBLIC        P1
				  D:00B0H         PUBLIC        P3
				  C:0C16H         PUBLIC        serial
				  B:00B0H.4       PUBLIC        T0
				  B:00A8H.7       PUBLIC        EA
				  D:00A8H         PUBLIC        IE
				  B:00A8H.4       PUBLIC        ES
				  D:00B8H         PUBLIC        IP
				  B:0098H.0       PUBLIC        RI
				  B:0098H.1       PUBLIC        TI
				  C:0C8AH         PUBLIC        main
				  C:0CDEH         PUBLIC        _SendD
				  D:0099H         PUBLIC        SBUF
				  D:0087H         PUBLIC        PCON
				  D:0022H         PUBLIC        rB
				  D:0098H         PUBLIC        SCON
				  D:0089H         PUBLIC        TMOD
				  D:0088H         PUBLIC        TCON
				  C:0D85H         PUBLIC        init
				  D:0043H         PUBLIC        pT
				  D:008DH         PUBLIC        TH1
				  C:0D67H         PUBLIC        _Judge
				  D:008BH         PUBLIC        TL1
				  B:0088H.6       PUBLIC        TR1
				  C:0D47H         PUBLIC        _Sleep
				  D:00C8H         PUBLIC        T2CON
				BL51 BANKED LINKER/LOCATER V5.12                                                      07/26/2008  12:43:53  PAGE 3
				
				
				  D:00D0H         PUBLIC        PSW
				  -------         PROC          MAIN
				  C:0C8AH         LINE#         7
				  C:0C8AH         LINE#         8
				  C:0C8AH         LINE#         9
				  C:0C99H         LINE#         10
				  C:0CA8H         LINE#         11
				  C:0CABH         LINE#         12
				  C:0CAEH         LINE#         13
				  C:0CB1H         LINE#         14
				  C:0CB4H         LINE#         15
				  C:0CCFH         LINE#         16
				  C:0CD2H         LINE#         17
				  C:0CD5H         LINE#         18
				  C:0CD5H         LINE#         19
				  C:0CD5H         LINE#         20
				  C:0CDCH         LINE#         21
				  -------         ENDPROC       MAIN
				  -------         PROC          SERIAL
				  C:0C16H         LINE#         23
				  C:0C33H         LINE#         25
				  C:0C35H         LINE#         26
				  C:0C38H         LINE#         27
				  C:0C38H         LINE#         28
				  C:0C3FH         LINE#         29
				  C:0C41H         LINE#         30
				  C:0C43H         LINE#         31
				  C:0C45H         LINE#         32
				  C:0C50H         LINE#         33
				  C:0C50H         LINE#         34
				  C:0C5FH         LINE#         35
				  C:0C6DH         LINE#         36
				  C:0C6DH         LINE#         37
				  C:0C6FH         LINE#         38
				  -------         ENDPROC       SERIAL
				  -------         PROC          _JUDGE
				  D:0001H         SYMBOL        addrBuf
				  C:0D67H         LINE#         39
				  C:0D67H         LINE#         40
				  C:0D67H         LINE#         41
				  C:0D81H         LINE#         42
				  C:0D83H         LINE#         44
				  C:0D84H         LINE#         45
				  -------         ENDPROC       _JUDGE
				  -------         PROC          INIT
				  C:0D85H         LINE#         46
				  C:0D85H         LINE#         47
				  C:0D85H         LINE#         48
				  C:0D88H         LINE#         49
				  C:0D8BH         LINE#         50
				  C:0D8EH         LINE#         51
				  C:0D90H         LINE#         52
				  C:0D93H         LINE#         53
				  C:0D96H         LINE#         54
				  C:0D98H         LINE#         55
				  C:0D9AH         LINE#         56
				  -------         ENDPROC       INIT
				BL51 BANKED LINKER/LOCATER V5.12                                                      07/26/2008  12:43:53  PAGE 4
				
				
				  -------         PROC          _SENDD
				  D:004EH         SYMBOL        addrBuf
				  D:0051H         SYMBOL        cnt
				  -------         DO            
				  D:0052H         SYMBOL        i
				  -------         ENDDO         
				  C:0CDEH         LINE#         57
				  C:0CE6H         LINE#         58
				  C:0CE6H         LINE#         59
				  C:0CEBH         LINE#         60
				  C:0CEDH         LINE#         61
				  C:0D00H         LINE#         62
				  C:0D00H         LINE#         63
				  C:0D18H         LINE#         64
				  C:0D1BH         LINE#         65
				  C:0D1DH         LINE#         66
				  C:0D1FH         LINE#         67
				  -------         ENDPROC       _SENDD
				  -------         PROC          _SLEEP
				  D:0006H         SYMBOL        ms
				  -------         DO            
				  D:0004H         SYMBOL        i
				  D:0002H         SYMBOL        j
				  -------         ENDDO         
				  C:0D47H         LINE#         68
				  C:0D47H         LINE#         69
				  C:0D47H         LINE#         71
				  C:0D51H         LINE#         72
				  C:0D66H         LINE#         73
				  -------         ENDPROC       _SLEEP
				  -------         ENDMOD        MYPROJ
				
				  -------         MODULE        ?C?CLDOPTR
				  C:0B5CH         PUBLIC        ?C?CLDOPTR
				  -------         ENDMOD        ?C?CLDOPTR
				
				  -------         MODULE        PRINTF
				  D:0054H         PUBLIC        ?_PRINTF517?BYTE
				  D:0054H         PUBLIC        ?_PRINTF?BYTE
				  D:0054H         PUBLIC        ?_SPRINTF517?BYTE
				  D:0054H         PUBLIC        ?_SPRINTF?BYTE
				  C:0862H         PUBLIC        _PRINTF
				  C:0862H         PUBLIC        _PRINTF517
				  C:085CH         PUBLIC        _SPRINTF
				  C:085CH         PUBLIC        _SPRINTF517
				  -------         ENDMOD        PRINTF
				
				  -------         MODULE        ?C?MEMSET
				  C:0B89H         PUBLIC        ?C?MEMSET
				  -------         ENDMOD        ?C?MEMSET
				
				  -------         MODULE        ?C?CLDPTR
				  C:0BB5H         PUBLIC        ?C?CLDPTR
				  -------         ENDMOD        ?C?CLDPTR
				
				  -------         MODULE        ?C?CSTPTR
				  C:0BCEH         PUBLIC        ?C?CSTPTR
				BL51 BANKED LINKER/LOCATER V5.12                                                      07/26/2008  12:43:53  PAGE 5
				
				
				  -------         ENDMOD        ?C?CSTPTR
				
				  -------         MODULE        ?C?PLDIIDATA
				  C:0BE0H         PUBLIC        ?C?PLDIIDATA
				  -------         ENDMOD        ?C?PLDIIDATA
				
				  -------         MODULE        ?C?CCASE
				  C:0BF0H         PUBLIC        ?C?CCASE
				  -------         ENDMOD        ?C?CCASE
				
				  -------         MODULE        PUTCHAR
				  C:0D20H         PUBLIC        _PUTCHAR
				  -------         ENDMOD        PUTCHAR
				
				******************************************************************************
				* RESTRICTED VERSION WITH 0800H BYTE CODE SIZE LIMIT; USED: 016BH BYTE (17%) *
				******************************************************************************
				
				Program Size: data=80.1 xdata=0 code=1463
				LINK/LOCATE RUN COMPLETE.  0 WARNING(S),  0 ERROR(S)
							

相关资源