www.pudn.com > 24C02-external-I2C-bus-EEPROM-.rar > 24C02_Test.m51, change:2013-09-30,size:20584b


BL51 BANKED LINKER/LOCATER V6.22                                                        09/30/2013  16:31:46  PAGE 1 
 
 
BL51 BANKED LINKER/LOCATER V6.22, INVOKED BY: 
D:\KEIL\C51\BIN\BL51.EXE .\Obj\24c02.obj, .\Obj\hc595.obj, .\Obj\main.obj, .\Obj\STARTUP.obj TO .\Obj\24C02_Test PRINT ( 
>> .\Lis\24C02_Test.m51) RAMSIZE (256) 
 
 
MEMORY MODEL: SMALL 
 
 
INPUT MODULES INCLUDED: 
  .\Obj\24c02.obj (24C02) 
  .\Obj\hc595.obj (HC595) 
  .\Obj\main.obj (MAIN) 
  .\Obj\STARTUP.obj (?C_STARTUP) 
  D:\KEIL\C51\LIB\C51S.LIB (?C_INIT) 
  D:\KEIL\C51\LIB\C51S.LIB (?C?CLDOPTR) 
  D:\KEIL\C51\LIB\C51S.LIB (?C?CSTOPTR) 
 
 
LINK MAP OF MODULE:  .\Obj\24C02_Test (24C02) 
 
 
            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?HC595 
            DATA    0010H     0008H     UNIT         ?DT?MAIN 
            DATA    0018H     0005H     UNIT         _DATA_GROUP_ 
                    001DH     0003H                  *** 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      
            CODE    0003H     008CH     UNIT         ?C_C51STARTUP 
            CODE    008FH     0051H     UNIT         ?PR?MAIN?MAIN 
            CODE    00E0H     004FH     UNIT         ?C?LIB_CODE 
            CODE    012FH     004BH     UNIT         ?PR?_AT24C02_READPAGE?MAIN 
            CODE    017AH     0035H     UNIT         ?PR?_AT24C02_WRITEPAGE?MAIN 
            CODE    01AFH     0031H     UNIT         ?PR?LED_DISPLAY?HC595 
            CODE    01E0H     002AH     UNIT         ?PR?_HC595_SENDWORD?HC595 
            CODE    020AH     0024H     UNIT         ?CO?HC595 
            CODE    022EH     001EH     UNIT         ?PR?_DELAY_MS?MAIN 
            CODE    024CH     001DH     UNIT         ?PR?_AT24C02_SENDBYTE?24C02 
            CODE    0269H     001AH     UNIT         ?PR?AT24C02_RECVBYTE?24C02 
            CODE    0283H     0019H     UNIT         ?PR?TODISPLAYCORRECT?HC595 
            CODE    029CH     0019H     UNIT         ?PR?TODISPLAYERROR?HC595 
            CODE    02B5H     0018H     UNIT         ?PR?_DELAY_US?24C02 
            CODE    02CDH     0011H     UNIT         ?PR?HC595_INIT?HC595 
            CODE    02DEH     0010H     UNIT         ?PR?AT24C02_SENDACK?24C02 
            CODE    02EEH     000FH     UNIT         ?PR?AT24C02_RECVACK?24C02 
            CODE    02FDH     000EH     UNIT         ?PR?AT24C02_STOP?24C02 
            CODE    030BH     000DH     UNIT         ?PR?AT24C02_START?24C02 
            CODE    0318H     000BH     UNIT         ?C_INITSEG 
            CODE    0323H     0008H     UNIT         ?CO?MAIN 
 
BL51 BANKED LINKER/LOCATER V6.22                                                      09/30/2013  16:31:46  PAGE 2 
 
 
 
 
OVERLAY MAP OF MODULE:   .\Obj\24C02_Test (24C02) 
 
 
SEGMENT                                BIT_GROUP          DATA_GROUP  
  +--> CALLED SEGMENT               START    LENGTH     START    LENGTH 
----------------------------------------------------------------------- 
?C_C51STARTUP                       -----    -----      -----    ----- 
  +--> ?PR?MAIN?MAIN 
  +--> ?C_INITSEG 
 
?PR?MAIN?MAIN                       -----    -----      0018H    0001H 
  +--> ?PR?HC595_INIT?HC595 
  +--> ?PR?_DELAY_MS?MAIN 
  +--> ?CO?MAIN 
  +--> ?PR?_AT24C02_WRITEPAGE?MAIN 
  +--> ?PR?_AT24C02_READPAGE?MAIN 
  +--> ?PR?TODISPLAYERROR?HC595 
  +--> ?PR?LED_DISPLAY?HC595 
  +--> ?PR?TODISPLAYCORRECT?HC595 
 
?PR?HC595_INIT?HC595                -----    -----      -----    ----- 
  +--> ?PR?_DELAY_MS?MAIN 
 
?PR?_AT24C02_WRITEPAGE?MAIN         -----    -----      0019H    0004H 
  +--> ?PR?AT24C02_START?24C02 
  +--> ?PR?_AT24C02_SENDBYTE?24C02 
  +--> ?PR?AT24C02_STOP?24C02 
 
?PR?AT24C02_START?24C02             -----    -----      -----    ----- 
  +--> ?PR?_DELAY_US?24C02 
 
?PR?_AT24C02_SENDBYTE?24C02         -----    -----      -----    ----- 
  +--> ?PR?_DELAY_US?24C02 
  +--> ?PR?AT24C02_RECVACK?24C02 
 
?PR?AT24C02_RECVACK?24C02           0020H.0  0000H.1    -----    ----- 
  +--> ?PR?_DELAY_US?24C02 
 
?PR?AT24C02_STOP?24C02              -----    -----      -----    ----- 
  +--> ?PR?_DELAY_US?24C02 
 
?PR?_AT24C02_READPAGE?MAIN          -----    -----      0019H    0004H 
  +--> ?PR?AT24C02_START?24C02 
  +--> ?PR?_AT24C02_SENDBYTE?24C02 
  +--> ?PR?AT24C02_RECVBYTE?24C02 
  +--> ?PR?AT24C02_SENDACK?24C02 
  +--> ?PR?AT24C02_STOP?24C02 
 
?PR?AT24C02_RECVBYTE?24C02          -----    -----      -----    ----- 
  +--> ?PR?_DELAY_US?24C02 
 
?PR?AT24C02_SENDACK?24C02           0020H.0  0000H.1    -----    ----- 
  +--> ?PR?_DELAY_US?24C02 
 
?PR?LED_DISPLAY?HC595               -----    -----      0019H    0001H 
BL51 BANKED LINKER/LOCATER V6.22                                                      09/30/2013  16:31:46  PAGE 3 
 
 
  +--> ?CO?HC595 
  +--> ?PR?_HC595_SENDWORD?HC595 
  +--> ?PR?_DELAY_MS?MAIN 
 
 
 
SYMBOL TABLE OF MODULE:  .\Obj\24C02_Test (24C02) 
 
  VALUE           TYPE          NAME 
  ---------------------------------- 
 
  -------         MODULE        24C02 
  C:0000H         SYMBOL        _ICE_DUMMY_ 
  D:00A0H         PUBLIC        P2 
  D:00A8H         PUBLIC        IE 
  C:030BH         PUBLIC        AT24C02_Start 
  D:00B8H         PUBLIC        IP 
  D:00D8H         PUBLIC        CCON 
  C:024CH         PUBLIC        _AT24C02_SendByte 
  C:02FDH         PUBLIC        AT24C02_Stop 
  C:0269H         PUBLIC        AT24C02_RecvByte 
  D:0098H         PUBLIC        SCON 
  D:0088H         PUBLIC        TCON 
  C:02BFH         PUBLIC        _Delay_us 
  B:00A0H.7       PUBLIC        SDA 
  C:02DEH         PUBLIC        AT24C02_SendACK 
  B:00A0H.6       PUBLIC        SCL 
  C:02EEH         PUBLIC        AT24C02_RecvACK 
  D:00D0H         PUBLIC        PSW 
  C:02B9H         SYMBOL        L?0020 
  C:02BBH         SYMBOL        L?0021 
  -------         PROC          L?0019 
  -------         ENDPROC       L?0019 
  C:02B9H         SYMBOL        L?0020 
  C:02BBH         SYMBOL        L?0021 
  -------         PROC          _DELAY_US 
  D:0006H         SYMBOL        us 
  C:02BFH         LINE#         12 
  C:02BFH         LINE#         13 
  C:02BFH         LINE#         14 
  C:02C9H         LINE#         15 
  C:02C9H         LINE#         16 
  C:02CAH         LINE#         17 
  C:02CCH         LINE#         18 
  -------         ENDPROC       _DELAY_US 
  -------         PROC          AT24C02_START 
  C:030BH         LINE#         26 
  C:030BH         LINE#         27 
  C:030BH         LINE#         28 
  C:030DH         LINE#         29 
  C:030DH         LINE#         30 
  C:0310H         LINE#         31 
  C:0312H         LINE#         32 
  C:0315H         LINE#         33 
  C:0317H         LINE#         34 
  -------         ENDPROC       AT24C02_START 
  -------         PROC          AT24C02_STOP 
BL51 BANKED LINKER/LOCATER V6.22                                                      09/30/2013  16:31:46  PAGE 4 
 
 
  C:02FDH         LINE#         42 
  C:02FDH         LINE#         43 
  C:02FDH         LINE#         44 
  C:02FFH         LINE#         45 
  C:02FFH         LINE#         46 
  C:0302H         LINE#         47 
  C:0304H         LINE#         48 
  -------         ENDPROC       AT24C02_STOP 
  -------         PROC          AT24C02_SENDACK 
  B:0020H.0       SYMBOL        ack 
  C:02DEH         LINE#         57 
  C:02DEH         LINE#         58 
  C:02DEH         LINE#         59 
  C:02E2H         LINE#         60 
  C:02E2H         LINE#         61 
  C:02E5H         LINE#         62 
  C:02E7H         LINE#         63 
  -------         ENDPROC       AT24C02_SENDACK 
  -------         PROC          AT24C02_RECVACK 
  -------         DO             
  B:0020H.0       SYMBOL        ack 
  -------         ENDDO          
  C:02EEH         LINE#         72 
  C:02EEH         LINE#         73 
  C:02EEH         LINE#         75 
  C:02EEH         LINE#         76 
  C:02F1H         LINE#         77 
  C:02F5H         LINE#         78 
  C:02F7H         LINE#         79 
  C:02FAH         LINE#         81 
  C:02FCH         LINE#         82 
  -------         ENDPROC       AT24C02_RECVACK 
  -------         PROC          _AT24C02_SENDBYTE 
  D:0005H         SYMBOL        dat 
  -------         DO             
  D:0003H         SYMBOL        i 
  D:0007H         SYMBOL        temp 
  -------         ENDDO          
  C:024CH         LINE#         90 
  C:024EH         LINE#         91 
  C:024EH         LINE#         95 
  C:0250H         LINE#         96 
  C:0250H         LINE#         97 
  C:0250H         LINE#         98 
  C:0254H         LINE#         99 
  C:0254H         LINE#         100 
  C:0256H         LINE#         101 
  C:0258H         LINE#         103 
  C:0258H         LINE#         104 
  C:025AH         LINE#         105 
  C:025AH         LINE#         106 
  C:025AH         LINE#         107 
  C:025AH         LINE#         108 
  C:025DH         LINE#         109 
  C:025FH         LINE#         110 
  C:0262H         LINE#         111 
  C:0266H         LINE#         112 
BL51 BANKED LINKER/LOCATER V6.22                                                      09/30/2013  16:31:46  PAGE 5 
 
 
  -------         ENDPROC       _AT24C02_SENDBYTE 
  -------         PROC          AT24C02_RECVBYTE 
  -------         DO             
  D:0003H         SYMBOL        i 
  D:0005H         SYMBOL        dat 
  -------         ENDDO          
  C:0269H         LINE#         121 
  C:0269H         LINE#         122 
  C:0269H         LINE#         124 
  C:026BH         LINE#         126 
  C:026DH         LINE#         127 
  C:026EH         LINE#         128 
  C:026EH         LINE#         129 
  C:026EH         LINE#         130 
  C:026EH         LINE#         131 
  C:0271H         LINE#         132 
  C:0277H         LINE#         133 
  C:0279H         LINE#         134 
  C:027CH         LINE#         135 
  C:0280H         LINE#         136 
  C:0282H         LINE#         137 
  -------         ENDPROC       AT24C02_RECVBYTE 
  -------         ENDMOD        24C02 
 
  -------         MODULE        HC595 
  C:0000H         SYMBOL        _ICE_DUMMY_ 
  D:00B0H         PUBLIC        P3 
  D:00C0H         PUBLIC        P4 
  D:00A8H         PUBLIC        IE 
  C:020AH         PUBLIC        DispCode 
  C:01AFH         PUBLIC        LED_Display 
  D:00B8H         PUBLIC        IP 
  B:00B0H.7       PUBLIC        HC595_OE 
  D:00D8H         PUBLIC        CCON 
  C:02CDH         PUBLIC        HC595_Init 
  C:029CH         PUBLIC        ToDisplayError 
  D:00BBH         PUBLIC        P4SW 
  D:0008H         PUBLIC        DispBuf 
  D:0098H         PUBLIC        SCON 
  D:0088H         PUBLIC        TCON 
  C:01E0H         PUBLIC        _HC595_SendWord 
  B:00C0H.4       PUBLIC        HC595_DAT 
  B:00C0H.6       PUBLIC        HC595_RCK 
  B:00C0H.5       PUBLIC        HC595_SCK 
  C:0283H         PUBLIC        ToDisplayCorrect 
  D:00D0H         PUBLIC        PSW 
  -------         PROC          _HC595_SENDWORD 
  D:0007H         SYMBOL        dis 
  D:0005H         SYMBOL        dig 
  -------         DO             
  D:0005H         SYMBOL        i 
  D:0002H         SYMBOL        temp 
  -------         ENDDO          
  C:01E0H         LINE#         29 
  C:01E0H         LINE#         30 
  C:01E0H         LINE#         32 
  C:01E0H         LINE#         34 
BL51 BANKED LINKER/LOCATER V6.22                                                      09/30/2013  16:31:46  PAGE 6 
 
 
  C:01E2H         LINE#         35 
  C:01E6H         LINE#         36 
  C:01E8H         LINE#         38 
  C:01EAH         LINE#         39 
  C:01EAH         LINE#         40 
  C:01ECH         LINE#         42 
  C:01F0H         LINE#         43 
  C:01F0H         LINE#         44 
  C:01F2H         LINE#         45 
  C:01F4H         LINE#         47 
  C:01F4H         LINE#         48 
  C:01F6H         LINE#         49 
  C:01F6H         LINE#         50 
  C:01F8H         LINE#         52 
  C:01FFH         LINE#         53 
  C:0203H         LINE#         55 
  C:0205H         LINE#         56 
  C:0207H         LINE#         57 
  C:0209H         LINE#         58 
  -------         ENDPROC       _HC595_SENDWORD 
  -------         PROC          TODISPLAYCORRECT 
  C:0283H         LINE#         66 
  C:0283H         LINE#         67 
  C:0283H         LINE#         68 
  C:0286H         LINE#         69 
  C:0289H         LINE#         70 
  C:028CH         LINE#         71 
  C:028FH         LINE#         72 
  C:0292H         LINE#         73 
  C:0295H         LINE#         74 
  C:0298H         LINE#         75 
  C:029BH         LINE#         76 
  -------         ENDPROC       TODISPLAYCORRECT 
  -------         PROC          TODISPLAYERROR 
  C:029CH         LINE#         84 
  C:029CH         LINE#         85 
  C:029CH         LINE#         86 
  C:029FH         LINE#         87 
  C:02A2H         LINE#         88 
  C:02A5H         LINE#         89 
  C:02A8H         LINE#         90 
  C:02ABH         LINE#         91 
  C:02AEH         LINE#         92 
  C:02B1H         LINE#         93 
  C:02B4H         LINE#         94 
  -------         ENDPROC       TODISPLAYERROR 
  -------         PROC          LED_DISPLAY 
  -------         DO             
  D:0019H         SYMBOL        LED_Cnt 
  -------         ENDDO          
  C:01AFH         LINE#         102 
  C:01AFH         LINE#         103 
  C:01AFH         LINE#         105 
  C:01B2H         LINE#         106 
  C:01B2H         LINE#         109 
  C:01CFH         LINE#         110 
  C:01D6H         LINE#         111 
BL51 BANKED LINKER/LOCATER V6.22                                                      09/30/2013  16:31:46  PAGE 7 
 
 
  C:01DFH         LINE#         112 
  -------         ENDPROC       LED_DISPLAY 
  -------         PROC          HC595_INIT 
  C:02CDH         LINE#         121 
  C:02CDH         LINE#         122 
  C:02CDH         LINE#         123 
  C:02D4H         LINE#         124 
  C:02D7H         LINE#         126 
  C:02D9H         LINE#         127 
  C:02DBH         LINE#         128 
  C:02DDH         LINE#         130 
  -------         ENDPROC       HC595_INIT 
  -------         ENDMOD        HC595 
 
  -------         MODULE        MAIN 
  C:0000H         SYMBOL        _ICE_DUMMY_ 
  C:012FH         PUBLIC        _AT24C02_ReadPage 
  D:00A0H         PUBLIC        P2 
  D:00B0H         PUBLIC        P3 
  D:00C0H         PUBLIC        P4 
  D:00A8H         PUBLIC        IE 
  C:017AH         PUBLIC        _AT24C02_WritePage 
  D:00B8H         PUBLIC        IP 
  D:0010H         PUBLIC        DataBuf 
  C:0323H         PUBLIC        TestData 
  B:00B0H.7       PUBLIC        HC595_OE 
  D:00D8H         PUBLIC        CCON 
  C:008FH         PUBLIC        main 
  C:022EH         PUBLIC        _Delay_ms 
  D:0098H         PUBLIC        SCON 
  D:0088H         PUBLIC        TCON 
  D:00D0H         PUBLIC        PSW 
  -------         PROC          MAIN 
  -------         DO             
  D:0018H         SYMBOL        cnt 
  -------         ENDDO          
  C:008FH         LINE#         34 
  C:008FH         LINE#         35 
  C:008FH         LINE#         37 
  C:0092H         LINE#         38 
  C:0099H         LINE#         39 
  C:00A2H         LINE#         40 
  C:00A9H         LINE#         41 
  C:00B2H         LINE#         44 
  C:00B4H         LINE#         46 
  C:00B7H         LINE#         47 
  C:00B7H         LINE#         49 
  C:00C7H         LINE#         50 
  C:00C7H         LINE#         51 
  C:00CAH         LINE#         52 
  C:00CAH         LINE#         53 
  C:00CAH         LINE#         54 
  C:00CDH         LINE#         55 
  C:00CFH         LINE#         56 
  C:00CFH         LINE#         57 
  C:00D8H         LINE#         58 
  C:00DBH         LINE#         59 
BL51 BANKED LINKER/LOCATER V6.22                                                      09/30/2013  16:31:46  PAGE 8 
 
 
  C:00DBH         LINE#         60 
  C:00DBH         LINE#         61 
  C:00DEH         LINE#         62 
  -------         ENDPROC       MAIN 
  -------         PROC          _AT24C02_WRITEPAGE 
  D:0019H         SYMBOL        pbuf 
  -------         DO             
  D:001CH         SYMBOL        i 
  -------         ENDDO          
  C:017AH         LINE#         71 
  C:0180H         LINE#         72 
  C:0180H         LINE#         75 
  C:0183H         LINE#         76 
  C:0188H         LINE#         77 
  C:018DH         LINE#         78 
  C:0190H         LINE#         79 
  C:0190H         LINE#         80 
  C:01A3H         LINE#         81 
  C:01ACH         LINE#         82 
  -------         ENDPROC       _AT24C02_WRITEPAGE 
  -------         PROC          _AT24C02_READPAGE 
  D:0019H         SYMBOL        pBuf 
  -------         DO             
  D:001CH         SYMBOL        i 
  -------         ENDDO          
  C:012FH         LINE#         91 
  C:0135H         LINE#         92 
  C:0135H         LINE#         95 
  C:0138H         LINE#         96 
  C:013DH         LINE#         97 
  C:0142H         LINE#         98 
  C:0145H         LINE#         99 
  C:014AH         LINE#         100 
  C:014DH         LINE#         101 
  C:014DH         LINE#         102 
  C:0160H         LINE#         103 
  C:0165H         LINE#         104 
  C:0165H         LINE#         105 
  C:0167H         LINE#         106 
  C:0169H         LINE#         108 
  C:0169H         LINE#         109 
  C:016EH         LINE#         110 
  C:016EH         LINE#         111 
  C:0177H         LINE#         112 
  -------         ENDPROC       _AT24C02_READPAGE 
  -------         PROC          _DELAY_MS 
  D:0006H         SYMBOL        ms 
  -------         DO             
  D:0004H         SYMBOL        De_Cnt 
  -------         ENDDO          
  C:022EH         LINE#         121 
  C:022EH         LINE#         122 
  C:022EH         LINE#         124 
  C:0238H         LINE#         125 
  C:0238H         LINE#         126 
  C:024BH         LINE#         127 
  C:024BH         LINE#         128 
BL51 BANKED LINKER/LOCATER V6.22                                                      09/30/2013  16:31:46  PAGE 9 
 
 
  -------         ENDPROC       _DELAY_MS 
  -------         ENDMOD        MAIN 
 
  -------         MODULE        ?C_STARTUP 
  C:0003H         SEGMENT       ?C_C51STARTUP 
  I:0021H         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:0006H         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:0003H         SYMBOL        STARTUP1 
  N:0000H         SYMBOL        XBPSTACK 
  N:0000H         SYMBOL        XBPSTACKTOP 
  N:0000H         SYMBOL        XDATALEN 
  N:0000H         SYMBOL        XDATASTART 
  C:0000H         LINE#         126 
  C:0003H         LINE#         133 
  C:0005H         LINE#         134 
  C:0006H         LINE#         135 
  C:0007H         LINE#         136 
  C:0009H         LINE#         185 
  C:000CH         LINE#         196 
  -------         ENDMOD        ?C_STARTUP 
 
  -------         MODULE        ?C?CLDOPTR 
  C:00E0H         PUBLIC        ?C?CLDOPTR 
  -------         ENDMOD        ?C?CLDOPTR 
 
  -------         MODULE        ?C?CSTOPTR 
  C:010DH         PUBLIC        ?C?CSTOPTR 
  -------         ENDMOD        ?C?CSTOPTR 
 
Program Size: data=30.1 xdata=0 code=811 
LINK/LOCATE RUN COMPLETE.  0 WARNING(S),  0 ERROR(S)