BL51 BANKED LINKER/LOCATER V6.22                                                        08/15/2017  09:09:12  PAGE 1


BL51 BANKED LINKER/LOCATER V6.22, INVOKED BY:
C:\KEIL\C51\BIN\BL51.EXE STARTUP.obj, Main.obj, USART.obj, ADC.obj TO 采集AD端口模拟量数值发送到串口 CODE (0X0000-0X0FFF
>> )


MEMORY MODEL: SMALL


INPUT MODULES INCLUDED:
  STARTUP.obj (?C_STARTUP)
  Main.obj (MAIN)
  USART.obj (USART)
  ADC.obj (ADC)
  C:\KEIL\C51\LIB\C51S.LIB (?C?COPY)
  C:\KEIL\C51\LIB\C51S.LIB (?C?CLDPTR)
  C:\KEIL\C51\LIB\C51S.LIB (?C?CSTPTR)
  C:\KEIL\C51\LIB\C51S.LIB (?C?CSTOPTR)
  C:\KEIL\C51\LIB\C51S.LIB (?C?UIDIV)


LINK MAP OF MODULE:  采集AD端口模拟量数值发送到串口 (?C_STARTUP)


            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     000BH     UNIT         _DATA_GROUP_
            DATA    0013H     0005H     UNIT         ?DT?_GETADCRESULT_NUMBER?ADC
            DATA    0018H     0003H     UNIT         ?DT?USART
            IDATA   001BH     0001H     UNIT         ?STACK

            * * * * * * *   C O D E   M E M O R Y   * * * * * * *
            CODE    0000H     0003H     ABSOLUTE     
            CODE    0003H     001BH     UNIT         ?PR?_DELAY?ADC
                    001EH     0005H                  *** GAP ***
            CODE    0023H     0003H     ABSOLUTE     
            CODE    0026H     0198H     UNIT         ?C?LIB_CODE
            CODE    01BEH     00E6H     UNIT         ?PR?_GETADCRESULT_CHAR?ADC
            CODE    02A4H     00DEH     UNIT         ?PR?_GETADCRESULT_NUMBER?ADC
            CODE    0382H     0053H     UNIT         ?PR?MAIN?MAIN
            CODE    03D5H     0035H     UNIT         ?PR?_GETADCRESULT?ADC
            CODE    040AH     002DH     UNIT         ?PR?SERIALPORTINTE?USART
            CODE    0437H     0019H     UNIT         ?PR?INITSERIALPORT?USART
            CODE    0450H     0014H     UNIT         ?PR?_GETADCRESULT_HIGH?ADC
            CODE    0464H     0014H     UNIT         ?PR?_GETADCRESULT_LOW?ADC
            CODE    0478H     0013H     UNIT         ?PR?_SENDSTRING?USART
            CODE    048BH     0013H     UNIT         ?PR?_OPENADC_CHX?ADC
            CODE    049EH     0010H     UNIT         ?CO?MAIN
            CODE    04AEH     000CH     UNIT         ?C_C51STARTUP
            CODE    04BAH     0009H     UNIT         ?PR?_CLOSEADC_CHX?ADC
            CODE    04C3H     0008H     UNIT         ?PR?RECEIVEBYTE?USART
            CODE    04CBH     0008H     UNIT         ?PR?_SENDBYTE?USART
            CODE    04D3H     0008H     UNIT         ?CO?ADC



BL51 BANKED LINKER/LOCATER V6.22                                                      08/15/2017  09:09:12  PAGE 2


OVERLAY MAP OF MODULE:   采集AD端口模拟量数值发送到串口 (?C_STARTUP)


SEGMENT                                DATA_GROUP 
  +--> CALLED SEGMENT                START    LENGTH
----------------------------------------------------
?C_C51STARTUP                        -----    -----
  +--> ?PR?MAIN?MAIN

?PR?MAIN?MAIN                        0008H    0006H
  +--> ?CO?MAIN
  +--> ?PR?INITSERIALPORT?USART
  +--> ?PR?_OPENADC_CHX?ADC
  +--> ?PR?_SENDBYTE?USART
  +--> ?PR?_SENDSTRING?USART
  +--> ?PR?_GETADCRESULT_CHAR?ADC
  +--> ?PR?_DELAY?ADC

?PR?_OPENADC_CHX?ADC                 -----    -----
  +--> ?CO?ADC
  +--> ?PR?_DELAY?ADC

?PR?_SENDSTRING?USART                -----    -----
  +--> ?PR?_SENDBYTE?USART

?PR?_GETADCRESULT_CHAR?ADC           000EH    0005H



SYMBOL TABLE OF MODULE:  采集AD端口模拟量数值发送到串口 (?C_STARTUP)

  VALUE           TYPE          NAME
  ----------------------------------

  -------         MODULE        ?C_STARTUP
  C:04AEH         SEGMENT       ?C_C51STARTUP
  I:001BH         SEGMENT       ?STACK
  C:0000H         PUBLIC        ?C_STARTUP
  D:00E0H         SYMBOL        ACC
  D:00F0H         SYMBOL        B
  D:0083H         SYMBOL        DPH
  D:0082H         SYMBOL        DPL
  N:0000H         SYMBOL        IBPSTACK
  N:0100H         SYMBOL        IBPSTACKTOP
  N:0080H         SYMBOL        IDATALEN
  C:04B1H         SYMBOL        IDATALOOP
  N:0000H         SYMBOL        PBPSTACK
  N:0100H         SYMBOL        PBPSTACKTOP
  N:0000H         SYMBOL        PDATALEN
  N:0000H         SYMBOL        PDATASTART
  N:0000H         SYMBOL        PPAGE
  N:0000H         SYMBOL        PPAGEENABLE
  D:00A0H         SYMBOL        PPAGE_SFR
  D:0081H         SYMBOL        SP
  C:04AEH         SYMBOL        STARTUP1
  N:0000H         SYMBOL        XBPSTACK
  N:0000H         SYMBOL        XBPSTACKTOP
BL51 BANKED LINKER/LOCATER V6.22                                                      08/15/2017  09:09:12  PAGE 3


  N:0000H         SYMBOL        XDATALEN
  N:0000H         SYMBOL        XDATASTART
  C:0000H         LINE#         126
  C:04AEH         LINE#         133
  C:04B0H         LINE#         134
  C:04B1H         LINE#         135
  C:04B2H         LINE#         136
  C:04B4H         LINE#         185
  C:04B7H         LINE#         196
  -------         ENDMOD        ?C_STARTUP

  -------         MODULE        MAIN
  C:0000H         SYMBOL        _ICE_DUMMY_
  D:0092H         PUBLIC        P1M0
  D:0091H         PUBLIC        P1M1
  D:0080H         PUBLIC        P0
  D:0090H         PUBLIC        P1
  D:00A0H         PUBLIC        P2
  D:00B0H         PUBLIC        P3
  D:00C0H         PUBLIC        P4
  D:00C8H         PUBLIC        P5
  D:00E8H         PUBLIC        P6
  D:00F8H         PUBLIC        P7
  D:00A8H         PUBLIC        IE
  D:00B8H         PUBLIC        IP
  D:00D8H         PUBLIC        CCON
  C:0382H         PUBLIC        main
  D:0098H         PUBLIC        SCON
  D:0088H         PUBLIC        TCON
  C:04AAH         SYMBOL        _?ix1000
  D:00D0H         PUBLIC        PSW
  -------         PROC          MAIN
  -------         DO            
  D:0008H         SYMBOL        res
  D:000AH         SYMBOL        result
  -------         ENDDO         
  C:0382H         LINE#         35
  C:0382H         LINE#         36
  C:0382H         LINE#         37
  C:0387H         LINE#         38
  C:0398H         LINE#         40
  C:039BH         LINE#         41
  C:039DH         LINE#         43
  C:03A0H         LINE#         44
  C:03A5H         LINE#         46
  C:03A5H         LINE#         47
  C:03A5H         LINE#         49
  C:03AAH         LINE#         50
  C:03B3H         LINE#         51
  C:03BEH         LINE#         52
  C:03C7H         LINE#         56
  C:03CCH         LINE#         58
  C:03D3H         LINE#         59
  -------         ENDPROC       MAIN
  -------         ENDMOD        MAIN

  -------         MODULE        USART
BL51 BANKED LINKER/LOCATER V6.22                                                      08/15/2017  09:09:12  PAGE 4


  C:0000H         SYMBOL        _ICE_DUMMY_
  D:0080H         PUBLIC        P0
  D:0090H         PUBLIC        P1
  D:00A0H         PUBLIC        P2
  D:00B0H         PUBLIC        P3
  D:00C0H         PUBLIC        P4
  D:00C8H         PUBLIC        P5
  D:00E8H         PUBLIC        P6
  D:00F8H         PUBLIC        P7
  C:0478H         PUBLIC        _SendString
  D:00A8H         PUBLIC        IE
  D:0018H         PUBLIC        pchar
  D:00B8H         PUBLIC        IP
  B:0098H.0       PUBLIC        RI
  B:0098H.1       PUBLIC        TI
  C:040AH         PUBLIC        SerialPortInte
  C:04CBH         PUBLIC        _SendByte
  C:0437H         PUBLIC        InitSerialPort
  D:00D8H         PUBLIC        CCON
  D:0099H         PUBLIC        SBUF
  D:0098H         PUBLIC        SCON
  D:0088H         PUBLIC        TCON
  D:008EH         PUBLIC        AUXR
  D:00D6H         PUBLIC        T2H
  B:0098H.7       PUBLIC        SM0
  B:0098H.6       PUBLIC        SM1
  D:00D7H         PUBLIC        T2L
  C:04C3H         PUBLIC        ReceiveByte
  B:0098H.4       PUBLIC        REN
  D:00D0H         PUBLIC        PSW
  -------         PROC          INITSERIALPORT
  C:0437H         LINE#         37
  C:0437H         LINE#         38
  C:0437H         LINE#         39
  C:043AH         LINE#         40
  C:043DH         LINE#         41
  C:0440H         LINE#         42
  C:0443H         LINE#         43
  C:0446H         LINE#         44
  C:0449H         LINE#         46
  C:044BH         LINE#         47
  C:044DH         LINE#         48
  C:044FH         LINE#         49
  -------         ENDPROC       INITSERIALPORT
  -------         PROC          RECEIVEBYTE
  -------         DO            
  D:0007H         SYMBOL        rbyte
  -------         ENDDO         
  C:04C3H         LINE#         54
  C:04C3H         LINE#         55
  C:04C3H         LINE#         57
  C:04C6H         LINE#         58
  C:04C8H         LINE#         59
  C:04CAH         LINE#         60
  C:04CAH         LINE#         61
  -------         ENDPROC       RECEIVEBYTE
  -------         PROC          _SENDBYTE
BL51 BANKED LINKER/LOCATER V6.22                                                      08/15/2017  09:09:12  PAGE 5


  D:0007H         SYMBOL        sbyte
  C:04CBH         LINE#         66
  C:04CBH         LINE#         67
  C:04CBH         LINE#         68
  C:04CDH         LINE#         69
  C:04D0H         LINE#         70
  C:04D2H         LINE#         71
  -------         ENDPROC       _SENDBYTE
  -------         PROC          _SENDSTRING
  D:0001H         SYMBOL        pstr
  C:0478H         LINE#         76
  C:0478H         LINE#         77
  C:0478H         LINE#         78
  C:047EH         LINE#         79
  C:047EH         LINE#         80
  C:0481H         LINE#         81
  C:0488H         LINE#         82
  C:048AH         LINE#         83
  -------         ENDPROC       _SENDSTRING
  -------         PROC          SERIALPORTINTE
  C:040AH         LINE#         88
  C:041BH         LINE#         90
  C:041DH         LINE#         91
  C:0428H         LINE#         92
  -------         ENDPROC       SERIALPORTINTE
  -------         ENDMOD        USART

  -------         MODULE        ADC
  C:0000H         SYMBOL        _ICE_DUMMY_
  D:0080H         PUBLIC        P0
  D:0090H         PUBLIC        P1
  D:00A0H         PUBLIC        P2
  C:0464H         PUBLIC        _GetADCResult_Low
  D:00B0H         PUBLIC        P3
  D:00C0H         PUBLIC        P4
  D:00C8H         PUBLIC        P5
  D:00E8H         PUBLIC        P6
  D:00F8H         PUBLIC        P7
  D:00A8H         PUBLIC        IE
  C:04D3H         PUBLIC        decode_ch
  D:00BDH         PUBLIC        ADC_RES
  D:00B8H         PUBLIC        IP
  D:00D8H         PUBLIC        CCON
  C:04BAH         PUBLIC        _CloseADC_CHx
  D:00BCH         PUBLIC        ADC_CONTR
  D:0098H         PUBLIC        SCON
  D:0088H         PUBLIC        TCON
  C:02A4H         PUBLIC        _GetADCResult_Number
  C:048BH         PUBLIC        _OpenADC_CHx
  C:01BEH         PUBLIC        _GetADCResult_Char
  C:0450H         PUBLIC        _GetADCResult_High
  D:009DH         PUBLIC        P1ASF
  D:00BEH         PUBLIC        ADC_RESL
  C:03D5H         PUBLIC        _GetADCResult
  C:0003H         PUBLIC        _Delay
  D:00D0H         PUBLIC        PSW
  -------         PROC          _OPENADC_CHX
BL51 BANKED LINKER/LOCATER V6.22                                                      08/15/2017  09:09:12  PAGE 6


  D:0007H         SYMBOL        ch
  C:048BH         LINE#         30
  C:048BH         LINE#         31
  C:048BH         LINE#         32
  C:0492H         LINE#         33
  C:0495H         LINE#         34
  C:0498H         LINE#         35
  -------         ENDPROC       _OPENADC_CHX
  -------         PROC          _CLOSEADC_CHX
  D:0007H         SYMBOL        ch
  C:04BAH         LINE#         41
  C:04BAH         LINE#         42
  C:04BAH         LINE#         43
  C:04C2H         LINE#         44
  -------         ENDPROC       _CLOSEADC_CHX
  -------         PROC          _GETADCRESULT
  D:0007H         SYMBOL        ch
  -------         DO            
  D:0004H         SYMBOL        res
  -------         ENDDO         
  C:03D5H         LINE#         51
  C:03D5H         LINE#         52
  C:03D5H         LINE#         53
  C:03D8H         LINE#         55
  C:03DDH         LINE#         56
  C:03DEH         LINE#         57
  C:03DFH         LINE#         58
  C:03E0H         LINE#         59
  C:03E1H         LINE#         60
  C:03E6H         LINE#         61
  C:03E9H         LINE#         63
  C:03EFH         LINE#         64
  C:03FEH         LINE#         65
  C:0406H         LINE#         66
  C:0409H         LINE#         67
  -------         ENDPROC       _GETADCRESULT
  -------         PROC          _GETADCRESULT_NUMBER
  D:0007H         SYMBOL        ch
  D:0013H         SYMBOL        ptr
  -------         DO            
  D:0016H         SYMBOL        res
  -------         ENDDO         
  C:02A4H         LINE#         73
  C:02AAH         LINE#         74
  C:02AAH         LINE#         75
  C:02AFH         LINE#         77
  C:02B4H         LINE#         78
  C:02B5H         LINE#         79
  C:02B6H         LINE#         80
  C:02B7H         LINE#         81
  C:02B8H         LINE#         82
  C:02BDH         LINE#         83
  C:02C0H         LINE#         85
  C:02C7H         LINE#         86
  C:02D8H         LINE#         87
  C:02E5H         LINE#         89
  C:02F9H         LINE#         90
BL51 BANKED LINKER/LOCATER V6.22                                                      08/15/2017  09:09:12  PAGE 7


  C:031EH         LINE#         91
  C:0350H         LINE#         92
  -------         ENDPROC       _GETADCRESULT_NUMBER
  -------         PROC          _GETADCRESULT_CHAR
  D:0007H         SYMBOL        ch
  D:000EH         SYMBOL        ptr
  -------         DO            
  D:0011H         SYMBOL        res
  -------         ENDDO         
  C:01BEH         LINE#         99
  C:01C4H         LINE#         100
  C:01C4H         LINE#         101
  C:01C9H         LINE#         103
  C:01CEH         LINE#         104
  C:01CFH         LINE#         105
  C:01D0H         LINE#         106
  C:01D1H         LINE#         107
  C:01D2H         LINE#         108
  C:01D7H         LINE#         109
  C:01DAH         LINE#         111
  C:01E1H         LINE#         112
  C:01F2H         LINE#         113
  C:01FFH         LINE#         115
  C:0215H         LINE#         116
  C:023CH         LINE#         117
  C:0270H         LINE#         118
  -------         ENDPROC       _GETADCRESULT_CHAR
  -------         PROC          _GETADCRESULT_HIGH
  D:0007H         SYMBOL        ch
  C:0450H         LINE#         125
  C:0450H         LINE#         126
  C:0450H         LINE#         127
  C:0455H         LINE#         128
  C:0456H         LINE#         129
  C:0457H         LINE#         130
  C:0458H         LINE#         131
  C:0459H         LINE#         132
  C:045EH         LINE#         133
  C:0461H         LINE#         135
  C:0463H         LINE#         136
  -------         ENDPROC       _GETADCRESULT_HIGH
  -------         PROC          _GETADCRESULT_LOW
  D:0007H         SYMBOL        ch
  C:0464H         LINE#         142
  C:0464H         LINE#         143
  C:0464H         LINE#         144
  C:0469H         LINE#         145
  C:046AH         LINE#         146
  C:046BH         LINE#         147
  C:046CH         LINE#         148
  C:046DH         LINE#         149
  C:0472H         LINE#         150
  C:0475H         LINE#         152
  C:0477H         LINE#         153
  -------         ENDPROC       _GETADCRESULT_LOW
  -------         PROC          _DELAY
  D:0006H         SYMBOL        n
BL51 BANKED LINKER/LOCATER V6.22                                                      08/15/2017  09:09:12  PAGE 8


  -------         DO            
  D:0004H         SYMBOL        x
  -------         ENDDO         
  C:0003H         LINE#         158
  C:0003H         LINE#         159
  C:0003H         LINE#         162
  C:000DH         LINE#         163
  C:000DH         LINE#         164
  C:0011H         LINE#         165
  C:001DH         LINE#         167
  -------         ENDPROC       _DELAY
  -------         ENDMOD        ADC

  -------         MODULE        ?C?COPY
  C:00F6H         PUBLIC        ?C?COPY
  -------         ENDMOD        ?C?COPY

  -------         MODULE        ?C?CLDPTR
  C:011CH         PUBLIC        ?C?CLDPTR
  -------         ENDMOD        ?C?CLDPTR

  -------         MODULE        ?C?CSTPTR
  C:0135H         PUBLIC        ?C?CSTPTR
  -------         ENDMOD        ?C?CSTPTR

  -------         MODULE        ?C?CSTOPTR
  C:0147H         PUBLIC        ?C?CSTOPTR
  -------         ENDMOD        ?C?CSTOPTR

  -------         MODULE        ?C?UIDIV
  C:0169H         PUBLIC        ?C?UIDIV
  -------         ENDMOD        ?C?UIDIV

*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?RECEIVEBYTE?USART

*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?_CLOSEADC_CHX?ADC

*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?_GETADCRESULT?ADC

*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?_GETADCRESULT_NUMBER?ADC

*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?_GETADCRESULT_HIGH?ADC

*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?_GETADCRESULT_LOW?ADC

Program Size: data=28.0 xdata=0 code=1238
LINK/LOCATE RUN COMPLETE.  6 WARNING(S),  0 ERROR(S)
