www.pudn.com > C51_PCF8591_LCD5110.rar > AD数据测试.M51, change:2015-06-25,size:21456b


BL51 BANKED LINKER/LOCATER V6.22                                                        06/25/2015  11:35:26  PAGE 1 
 
 
BL51 BANKED LINKER/LOCATER V6.22, INVOKED BY: 
D:\\C51\BIN\BL51.EXE STARTUP.obj, main.obj, 5110.obj, delay.obj, i2c.obj TO AD数据测试 RAMSIZE (256) 
 
 
MEMORY MODEL: SMALL 
 
 
INPUT MODULES INCLUDED: 
  STARTUP.obj (?C_STARTUP) 
  main.obj (MAIN) 
  5110.obj (5110) 
  delay.obj (DELAY) 
  i2c.obj (I2C) 
  D:\\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     0004H     UNIT         _DATA_GROUP_ 
                    000CH     0014H                  *** GAP *** 
            BIT     0020H.0   0000H.1   UNIT         ?BI?I2C 
                    0020H.1   0000H.7                *** GAP *** 
            IDATA   0021H     0001H     UNIT         ?STACK 
 
            * * * * * * *   C O D E   M E M O R Y   * * * * * * * 
            CODE    0000H     0003H     ABSOLUTE      
            CODE    0003H     0330H     UNIT         ?CO?5110 
            CODE    0333H     00A0H     UNIT         ?PR?MAIN?MAIN 
            CODE    03D3H     0055H     UNIT         ?C?LIB_CODE 
            CODE    0428H     0050H     UNIT         ?PR?_LCD_WRITE_HANZI?5110 
            CODE    0478H     0044H     UNIT         ?PR?_LCD_WRITE_BYTE?5110 
            CODE    04BCH     003CH     UNIT         ?PR?_SENDBYTE?I2C 
            CODE    04F8H     003AH     UNIT         ?PR?_READADC?MAIN 
            CODE    0532H     0027H     UNIT         ?PR?_WRITEDAC?MAIN 
            CODE    0559H     0024H     UNIT         ?PR?RCVBYTE?I2C 
            CODE    057DH     0022H     UNIT         ?PR?_LCD_WRITE_SHU?5110 
            CODE    059FH     001DH     UNIT         ?PR?LCD_INIT?5110 
            CODE    05BCH     001CH     UNIT         ?PR?_LCD_SET_XY?5110 
            CODE    05D8H     001AH     UNIT         ?PR?LCD_CLEAR?5110 
            CODE    05F2H     0016H     UNIT         ?PR?START_I2C?I2C 
            CODE    0608H     0015H     UNIT         ?PR?_DELAYMS?DELAY 
            CODE    061DH     0011H     UNIT         ?PR?STOP_I2C?I2C 
            CODE    062EH     0011H     UNIT         ?PR?NOACK_I2C?I2C 
            CODE    063FH     000FH     UNIT         ?PR?DELAY_1MS?5110 
            CODE    064EH     000CH     UNIT         ?C_C51STARTUP 
            CODE    065AH     0003H     UNIT         ?PR?_DELAYUS2X?DELAY 
 
 
 
OVERLAY MAP OF MODULE:   AD数据测试 (?C_STARTUP) 
 
 
BL51 BANKED LINKER/LOCATER V6.22                                                      06/25/2015  11:35:26  PAGE 2 
 
 
SEGMENT                             DATA_GROUP  
  +--> CALLED SEGMENT             START    LENGTH 
------------------------------------------------- 
?C_C51STARTUP                     -----    ----- 
  +--> ?PR?MAIN?MAIN 
 
?PR?MAIN?MAIN                     0008H    0002H 
  +--> ?PR?LCD_CLEAR?5110 
  +--> ?PR?LCD_INIT?5110 
  +--> ?PR?_READADC?MAIN 
  +--> ?PR?_DELAYMS?DELAY 
  +--> ?PR?_WRITEDAC?MAIN 
  +--> ?PR?_LCD_WRITE_SHU?5110 
 
?PR?LCD_CLEAR?5110                -----    ----- 
  +--> ?PR?_LCD_SET_XY?5110 
  +--> ?PR?_LCD_WRITE_BYTE?5110 
 
?PR?_LCD_SET_XY?5110              -----    ----- 
  +--> ?PR?_LCD_WRITE_BYTE?5110 
 
?PR?_LCD_WRITE_BYTE?5110          -----    ----- 
  +--> ?CO?5110 
 
?PR?LCD_INIT?5110                 -----    ----- 
  +--> ?PR?DELAY_1MS?5110 
  +--> ?PR?_LCD_WRITE_BYTE?5110 
 
?PR?_READADC?MAIN                 000AH    0002H 
  +--> ?PR?START_I2C?I2C 
  +--> ?PR?_SENDBYTE?I2C 
  +--> ?PR?RCVBYTE?I2C 
  +--> ?PR?NOACK_I2C?I2C 
  +--> ?PR?STOP_I2C?I2C 
 
?PR?_DELAYMS?DELAY                -----    ----- 
  +--> ?PR?_DELAYUS2X?DELAY 
 
?PR?_WRITEDAC?MAIN                000AH    0001H 
  +--> ?PR?START_I2C?I2C 
  +--> ?PR?_SENDBYTE?I2C 
  +--> ?PR?STOP_I2C?I2C 
 
?PR?_LCD_WRITE_SHU?5110           -----    ----- 
  +--> ?PR?_LCD_SET_XY?5110 
  +--> ?PR?_LCD_WRITE_BYTE?5110 
 
 
 
SYMBOL TABLE OF MODULE:  AD数据测试 (?C_STARTUP) 
 
  VALUE           TYPE          NAME 
  ---------------------------------- 
 
  -------         MODULE        ?C_STARTUP 
  C:064EH         SEGMENT       ?C_C51STARTUP 
  I:0021H         SEGMENT       ?STACK 
BL51 BANKED LINKER/LOCATER V6.22                                                      06/25/2015  11:35:26  PAGE 3 
 
 
  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:0651H         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:064EH         SYMBOL        STARTUP1 
  N:0000H         SYMBOL        XBPSTACK 
  N:0000H         SYMBOL        XBPSTACKTOP 
  N:0000H         SYMBOL        XDATALEN 
  N:0000H         SYMBOL        XDATASTART 
  C:0000H         LINE#         126 
  C:064EH         LINE#         133 
  C:0650H         LINE#         134 
  C:0651H         LINE#         135 
  C:0652H         LINE#         136 
  C:0654H         LINE#         185 
  C:0657H         LINE#         196 
  -------         ENDMOD        ?C_STARTUP 
 
  -------         MODULE        MAIN 
  C:0000H         SYMBOL        _ICE_DUMMY_ 
  D:0090H         PUBLIC        P1 
  D:00B0H         PUBLIC        P3 
  D:00A8H         PUBLIC        IE 
  D:00B8H         PUBLIC        IP 
  C:0333H         PUBLIC        main 
  D:0098H         PUBLIC        SCON 
  D:0088H         PUBLIC        TCON 
  C:04F8H         PUBLIC        _ReadADC 
  C:0532H         PUBLIC        _WriteDAC 
  D:00C8H         PUBLIC        T2CON 
  D:00D0H         PUBLIC        PSW 
  -------         PROC          MAIN 
  -------         DO             
  D:0008H         SYMBOL        num 
  -------         ENDDO          
  C:0333H         LINE#         22 
  C:0333H         LINE#         23 
  C:0333H         LINE#         24 
  C:0338H         LINE#         26 
  C:033BH         LINE#         27 
  C:033EH         LINE#         29 
  C:033EH         LINE#         30 
  C:033EH         LINE#         32 
  C:0348H         LINE#         33 
BL51 BANKED LINKER/LOCATER V6.22                                                      06/25/2015  11:35:26  PAGE 4 
 
 
  C:034DH         LINE#         34 
  C:0352H         LINE#         35 
  C:0366H         LINE#         36 
  C:0387H         LINE#         37 
  C:03A8H         LINE#         38 
  C:03BFH         LINE#         39 
  C:03CBH         LINE#         42 
  C:03D0H         LINE#         43 
  -------         ENDPROC       MAIN 
  -------         PROC          _READADC 
  D:000AH         SYMBOL        Chl 
  -------         DO             
  D:000BH         SYMBOL        Val 
  -------         ENDDO          
  C:04F8H         LINE#         50 
  C:04FAH         LINE#         51 
  C:04FAH         LINE#         53 
  C:04FDH         LINE#         54 
  C:0502H         LINE#         55 
  C:0508H         LINE#         56 
  C:0510H         LINE#         57 
  C:0516H         LINE#         58 
  C:0519H         LINE#         59 
  C:051EH         LINE#         60 
  C:0524H         LINE#         61 
  C:0529H         LINE#         62 
  C:052CH         LINE#         63 
  C:052FH         LINE#         64 
  C:0531H         LINE#         65 
  -------         ENDPROC       _READADC 
  -------         PROC          _WRITEDAC 
  D:000AH         SYMBOL        dat 
  C:0532H         LINE#         71 
  C:0534H         LINE#         72 
  C:0534H         LINE#         73 
  C:0537H         LINE#         74 
  C:053CH         LINE#         75 
  C:0541H         LINE#         76 
  C:0546H         LINE#         77 
  C:054BH         LINE#         78 
  C:0550H         LINE#         79 
  C:0555H         LINE#         80 
  C:0558H         LINE#         81 
  -------         ENDPROC       _WRITEDAC 
  -------         ENDMOD        MAIN 
 
  -------         MODULE        5110 
  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 
  C:063FH         PUBLIC        delay_1ms 
  D:00C8H         PUBLIC        P5 
  D:00A8H         PUBLIC        IE 
  C:05C6H         PUBLIC        _LCD_set_XY 
BL51 BANKED LINKER/LOCATER V6.22                                                      06/25/2015  11:35:26  PAGE 5 
 
 
  C:057DH         PUBLIC        _LCD_write_shu 
  D:00B8H         PUBLIC        IP 
  C:02F3H         PUBLIC        hanzi 
  D:00D8H         PUBLIC        CCON 
  B:0090H.4       PUBLIC        sclk 
  B:0090H.3       PUBLIC        sdin 
  D:0098H         PUBLIC        SCON 
  D:0088H         PUBLIC        TCON 
  C:0003H         PUBLIC        shuzi 
  B:0090H.1       PUBLIC        sce 
  C:05D8H         PUBLIC        LCD_clear 
  B:0090H.2       PUBLIC        dc 
  D:00E0H         PUBLIC        ACC 
  B:0090H.0       PUBLIC        res 
  C:0428H         PUBLIC        _LCD_write_hanzi 
  C:059FH         PUBLIC        LCD_init 
  C:0496H         PUBLIC        _LCD_write_byte 
  D:00D0H         PUBLIC        PSW 
  -------         PROC          DELAY_1MS 
  -------         DO             
  D:0006H         SYMBOL        i 
  -------         ENDDO          
  C:063FH         LINE#         23 
  C:063FH         LINE#         24 
  C:063FH         LINE#         26 
  C:064DH         LINE#         28 
  -------         ENDPROC       DELAY_1MS 
  C:048FH         SYMBOL        L?0036 
  -------         PROC          L?0035 
  -------         ENDPROC       L?0035 
  C:048FH         SYMBOL        L?0036 
  -------         PROC          _LCD_WRITE_BYTE 
  D:0007H         SYMBOL        dt 
  D:0005H         SYMBOL        command 
  -------         DO             
  D:0006H         SYMBOL        i 
  -------         ENDDO          
  C:0496H         LINE#         36 
  C:0496H         LINE#         37 
  C:0496H         LINE#         39 
  C:0498H         LINE#         40 
  C:049DH         LINE#         41 
  C:049FH         LINE#         42 
  C:049FH         LINE#         43 
  C:04A3H         LINE#         44 
  C:04A7H         LINE#         46 
  C:04A9H         LINE#         47 
  C:04ADH         LINE#         48 
  C:04AFH         LINE#         49 
  C:04B1H         LINE#         50 
  C:04B5H         LINE#         51 
  C:04B7H         LINE#         52 
  C:04B9H         LINE#         53 
  C:04BBH         LINE#         54 
  -------         ENDPROC       _LCD_WRITE_BYTE 
  -------         PROC          LCD_INIT 
  C:059FH         LINE#         59 
BL51 BANKED LINKER/LOCATER V6.22                                                      06/25/2015  11:35:26  PAGE 6 
 
 
  C:059FH         LINE#         60 
  C:059FH         LINE#         61 
  C:05A1H         LINE#         62 
  C:05A4H         LINE#         63 
  C:05A6H         LINE#         64 
  C:05ADH         LINE#         65 
  C:05B2H         LINE#         66 
  C:05B7H         LINE#         67 
  -------         ENDPROC       LCD_INIT 
  -------         PROC          L?0037 
  -------         ENDPROC       L?0037 
  -------         PROC          _LCD_SET_XY 
  D:0004H         SYMBOL        X 
  D:0005H         SYMBOL        Y 
  C:05C6H         LINE#         74 
  C:05C8H         LINE#         75 
  C:05C8H         LINE#         76 
  C:05D1H         LINE#         77 
  -------         ENDPROC       _LCD_SET_XY 
  -------         PROC          LCD_CLEAR 
  -------         DO             
  D:0004H         SYMBOL        t 
  D:0003H         SYMBOL        k 
  -------         ENDDO          
  C:05D8H         LINE#         83 
  C:05D8H         LINE#         84 
  C:05D8H         LINE#         87 
  C:05DEH         LINE#         88 
  C:05E0H         LINE#         89 
  C:05E0H         LINE#         90 
  C:05E2H         LINE#         91 
  C:05E2H         LINE#         92 
  C:05E9H         LINE#         94 
  C:05EDH         LINE#         95 
  C:05F1H         LINE#         96 
  -------         ENDPROC       LCD_CLEAR 
  -------         PROC          _LCD_WRITE_SHU 
  D:0001H         SYMBOL        row 
  D:0002H         SYMBOL        page 
  D:0003H         SYMBOL        c 
  -------         DO             
  D:0004H         SYMBOL        i 
  -------         ENDDO          
  C:057DH         LINE#         102 
  C:057DH         LINE#         103 
  C:057DH         LINE#         106 
  C:0580H         LINE#         107 
  C:0582H         LINE#         108 
  C:0582H         LINE#         109 
  C:0585H         LINE#         110 
  C:0589H         LINE#         112 
  C:0595H         LINE#         113 
  C:0597H         LINE#         114 
  C:0597H         LINE#         115 
  C:059AH         LINE#         116 
  C:059EH         LINE#         117 
  -------         ENDPROC       _LCD_WRITE_SHU 
BL51 BANKED LINKER/LOCATER V6.22                                                      06/25/2015  11:35:26  PAGE 7 
 
 
  -------         PROC          _LCD_WRITE_HANZI 
  D:0001H         SYMBOL        row 
  D:0002H         SYMBOL        page 
  D:0003H         SYMBOL        c 
  -------         DO             
  D:0004H         SYMBOL        i 
  -------         ENDDO          
  C:0428H         LINE#         123 
  C:0428H         LINE#         124 
  C:0428H         LINE#         127 
  C:042BH         LINE#         128 
  C:042DH         LINE#         129 
  C:042DH         LINE#         130 
  C:0447H         LINE#         131 
  C:044BH         LINE#         133 
  C:0457H         LINE#         134 
  C:0459H         LINE#         135 
  C:0459H         LINE#         136 
  C:0473H         LINE#         137 
  C:0477H         LINE#         138 
  -------         ENDPROC       _LCD_WRITE_HANZI 
  -------         ENDMOD        5110 
 
  -------         MODULE        DELAY 
  C:0000H         SYMBOL        _ICE_DUMMY_ 
  C:0608H         PUBLIC        _DelayMs 
  C:065AH         PUBLIC        _DelayUs2x 
  -------         PROC          _DELAYUS2X 
  D:0007H         SYMBOL        t 
  C:065AH         LINE#         8 
  C:065AH         LINE#         9 
  C:065AH         LINE#         10 
  C:065CH         LINE#         11 
  -------         ENDPROC       _DELAYUS2X 
  -------         PROC          _DELAYMS 
  D:0006H         SYMBOL        t 
  C:0608H         LINE#         17 
  C:060AH         LINE#         18 
  C:060AH         LINE#         20 
  C:0610H         LINE#         21 
  C:0610H         LINE#         23 
  C:0615H         LINE#         24 
  C:061AH         LINE#         25 
  C:061CH         LINE#         26 
  -------         ENDPROC       _DELAYMS 
  -------         ENDMOD        DELAY 
 
  -------         MODULE        I2C 
  C:0000H         SYMBOL        _ICE_DUMMY_ 
  D:0090H         PUBLIC        P1 
  D:00A0H         PUBLIC        P2 
  D:00B0H         PUBLIC        P3 
  C:062EH         PUBLIC        NoAck_I2c 
  D:00A8H         PUBLIC        IE 
  D:00B8H         PUBLIC        IP 
  C:04BCH         PUBLIC        _SendByte 
  B:0020H.0       PUBLIC        ack 
BL51 BANKED LINKER/LOCATER V6.22                                                      06/25/2015  11:35:26  PAGE 8 
 
 
  D:0098H         PUBLIC        SCON 
  D:0088H         PUBLIC        TCON 
  C:0559H         PUBLIC        RcvByte 
  C:05F2H         PUBLIC        Start_I2c 
  B:00A0H.5       PUBLIC        SDA 
  B:00A0H.4       PUBLIC        SCL 
  C:061DH         PUBLIC        Stop_I2c 
  D:00C8H         PUBLIC        T2CON 
  D:00D0H         PUBLIC        PSW 
  -------         PROC          START_I2C 
  C:05F2H         LINE#         21 
  C:05F2H         LINE#         22 
  C:05F2H         LINE#         23 
  C:05F4H         LINE#         24 
  C:05F5H         LINE#         25 
  C:05F7H         LINE#         26 
  C:05F8H         LINE#         27 
  C:05F9H         LINE#         28 
  C:05FAH         LINE#         29 
  C:05FBH         LINE#         30 
  C:05FCH         LINE#         31 
  C:05FEH         LINE#         32 
  C:05FFH         LINE#         33 
  C:0600H         LINE#         34 
  C:0601H         LINE#         35 
  C:0602H         LINE#         36 
  C:0603H         LINE#         37 
  C:0605H         LINE#         38 
  C:0606H         LINE#         39 
  C:0607H         LINE#         40 
  -------         ENDPROC       START_I2C 
  -------         PROC          STOP_I2C 
  C:061DH         LINE#         44 
  C:061DH         LINE#         45 
  C:061DH         LINE#         46 
  C:061FH         LINE#         47 
  C:0620H         LINE#         48 
  C:0622H         LINE#         49 
  C:0623H         LINE#         50 
  C:0624H         LINE#         51 
  C:0625H         LINE#         52 
  C:0626H         LINE#         53 
  C:0627H         LINE#         54 
  C:0629H         LINE#         55 
  C:062AH         LINE#         56 
  C:062BH         LINE#         57 
  C:062CH         LINE#         58 
  C:062DH         LINE#         59 
  -------         ENDPROC       STOP_I2C 
  -------         PROC          _SENDBYTE 
  D:0007H         SYMBOL        c 
  -------         DO             
  D:0006H         SYMBOL        BitCnt 
  -------         ENDDO          
  C:04BCH         LINE#         71 
  C:04BCH         LINE#         72 
  C:04BCH         LINE#         75 
BL51 BANKED LINKER/LOCATER V6.22                                                      06/25/2015  11:35:26  PAGE 9 
 
 
  C:04BEH         LINE#         76 
  C:04BEH         LINE#         77 
  C:04CFH         LINE#         78 
  C:04D1H         LINE#         79 
  C:04D2H         LINE#         80 
  C:04D4H         LINE#         81 
  C:04D5H         LINE#         82 
  C:04D6H         LINE#         83 
  C:04D7H         LINE#         84 
  C:04D8H         LINE#         85 
  C:04D9H         LINE#         86 
  C:04DBH         LINE#         87 
  C:04DFH         LINE#         89 
  C:04E0H         LINE#         90 
  C:04E1H         LINE#         91 
  C:04E3H         LINE#         92 
  C:04E4H         LINE#         93 
  C:04E5H         LINE#         94 
  C:04E7H         LINE#         95 
  C:04E8H         LINE#         96 
  C:04E9H         LINE#         97 
  C:04EAH         LINE#         98 
  C:04F1H         LINE#         99 
  C:04F3H         LINE#         100 
  C:04F5H         LINE#         101 
  C:04F6H         LINE#         102 
  C:04F7H         LINE#         103 
  -------         ENDPROC       _SENDBYTE 
  -------         PROC          RCVBYTE 
  -------         DO             
  D:0007H         SYMBOL        retc 
  D:0006H         SYMBOL        BitCnt 
  -------         ENDDO          
  C:0559H         LINE#         117 
  C:0559H         LINE#         118 
  C:0559H         LINE#         122 
  C:055BH         LINE#         123 
  C:055DH         LINE#         124 
  C:055EH         LINE#         125 
  C:055EH         LINE#         126 
  C:055FH         LINE#         127 
  C:0561H         LINE#         128 
  C:0562H         LINE#         129 
  C:0563H         LINE#         130 
  C:0564H         LINE#         131 
  C:0565H         LINE#         132 
  C:0566H         LINE#         133 
  C:0568H         LINE#         134 
  C:0569H         LINE#         135 
  C:056AH         LINE#         136 
  C:056EH         LINE#         137 
  C:0572H         LINE#         138 
  C:0573H         LINE#         139 
  C:0574H         LINE#         140 
  C:0578H         LINE#         141 
  C:057AH         LINE#         142 
  C:057BH         LINE#         143 
BL51 BANKED LINKER/LOCATER V6.22                                                      06/25/2015  11:35:26  PAGE 10 
 
 
  C:057CH         LINE#         144 
  C:057CH         LINE#         145 
  -------         ENDPROC       RCVBYTE 
  -------         PROC          NOACK_I2C 
  C:062EH         LINE#         176 
  C:062EH         LINE#         177 
  C:062EH         LINE#         179 
  C:0630H         LINE#         180 
  C:0631H         LINE#         181 
  C:0632H         LINE#         182 
  C:0633H         LINE#         183 
  C:0635H         LINE#         184 
  C:0636H         LINE#         185 
  C:0637H         LINE#         186 
  C:0638H         LINE#         187 
  C:0639H         LINE#         188 
  C:063AH         LINE#         189 
  C:063CH         LINE#         190 
  C:063DH         LINE#         191 
  C:063EH         LINE#         192 
  -------         ENDPROC       NOACK_I2C 
  -------         ENDMOD        I2C 
 
  -------         MODULE        ?C?UIDIV 
  C:03D3H         PUBLIC        ?C?UIDIV 
  -------         ENDMOD        ?C?UIDIV 
 
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS 
    SEGMENT: ?PR?_LCD_WRITE_HANZI?5110 
 
Program Size: data=13.1 xdata=0 code=1629 
LINK/LOCATE RUN COMPLETE.  1 WARNING(S),  0 ERROR(S)