BL51 BANKED LINKER/LOCATER V5.03                                                        08/04/2011  11:34:14  PAGE 1


BL51 BANKED LINKER/LOCATER V5.03, INVOKED BY:
C:\KEIL\C51\BIN\BL51.EXE ADC.obj TO ADC RAMSIZE (256)


MEMORY MODEL: SMALL


INPUT MODULES INCLUDED:
  ADC.obj (ADC)
  C:\KEIL\C51\LIB\C51S.LIB (?C_STARTUP)
  C:\KEIL\C51\LIB\C51S.LIB (?C?CLDPTR)
  C:\KEIL\C51\LIB\C51S.LIB (?C?CSTPTR)
  C:\KEIL\C51\LIB\C51S.LIB (?C?UIDIV)


LINK MAP OF MODULE:  ADC (ADC)


            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     0009H     UNIT         _DATA_GROUP_
            DATA    0011H     0004H     UNIT         ?DT?ADC
            IDATA   0015H     0001H     UNIT         ?STACK

            * * * * * * *   C O D E   M E M O R Y   * * * * * * *
            CODE    0000H     0003H     ABSOLUTE     
            CODE    0003H     0080H     UNIT         ?C?LIB_CODE
            CODE    0083H     0073H     UNIT         ?PR?MAIN?ADC
            CODE    00F6H     0053H     UNIT         ?PR?_PRINTNUM_LCD?ADC
            CODE    0149H     003CH     UNIT         ?PR?_I2C_READ?ADC
            CODE    0185H     0039H     UNIT         ?PR?INITLCD?ADC
            CODE    01BEH     0030H     UNIT         ?PR?_PRINTLCD?ADC
            CODE    01EEH     002FH     UNIT         ?PR?_I2C_WBYTE?ADC
            CODE    021DH     0027H     UNIT         ?PR?I2C_RBYTE?ADC
            CODE    0244H     0021H     UNIT         ?PR?I2C_ACK?ADC
            CODE    0265H     0019H     UNIT         ?PR?_DELAY_MS?ADC
            CODE    027EH     0014H     UNIT         ?PR?I2C_START?ADC
            CODE    0292H     000EH     UNIT         ?PR?I2C_DELAY?ADC
            CODE    02A0H     000DH     UNIT         ?PR?I2C_STOP?ADC
            CODE    02ADH     000CH     UNIT         ?C_C51STARTUP
            CODE    02B9H     000BH     UNIT         ?PR?_CMD_LCD?ADC
            CODE    02C4H     000BH     UNIT         ?PR?_DATA_LCD?ADC
            CODE    02CFH     0009H     UNIT         ?PR?LCD_SHORTDELAY?ADC
            CODE    02D8H     0008H     UNIT         ?PR?I2C_NACK?ADC
            CODE    02E0H     0007H     UNIT         ?CO?ADC



OVERLAY MAP OF MODULE:   ADC (ADC)


SEGMENT                          DATA_GROUP 
  +--> CALLED SEGMENT          START    LENGTH
----------------------------------------------
?C_C51STARTUP                  -----    -----
BL51 BANKED LINKER/LOCATER V5.03                                                      08/04/2011  11:34:14  PAGE 2


  +--> ?PR?MAIN?ADC

?PR?MAIN?ADC                   0008H    0004H
  +--> ?PR?INITLCD?ADC
  +--> ?CO?ADC
  +--> ?PR?_PRINTLCD?ADC
  +--> ?PR?_CMD_LCD?ADC
  +--> ?PR?_I2C_READ?ADC
  +--> ?PR?_PRINTNUM_LCD?ADC

?PR?INITLCD?ADC                -----    -----
  +--> ?PR?_DELAY_MS?ADC
  +--> ?PR?_CMD_LCD?ADC

?PR?_CMD_LCD?ADC               -----    -----
  +--> ?PR?LCD_SHORTDELAY?ADC

?PR?_PRINTLCD?ADC              000CH    0005H
  +--> ?PR?_CMD_LCD?ADC
  +--> ?PR?_DATA_LCD?ADC

?PR?_DATA_LCD?ADC              -----    -----
  +--> ?PR?LCD_SHORTDELAY?ADC

?PR?_I2C_READ?ADC              000CH    0005H
  +--> ?PR?I2C_START?ADC
  +--> ?PR?I2C_ACK?ADC
  +--> ?PR?_I2C_WBYTE?ADC
  +--> ?PR?I2C_RBYTE?ADC
  +--> ?PR?I2C_NACK?ADC
  +--> ?PR?I2C_STOP?ADC

?PR?I2C_START?ADC              -----    -----
  +--> ?PR?I2C_DELAY?ADC

?PR?I2C_ACK?ADC                -----    -----
  +--> ?PR?_I2C_WBYTE?ADC
  +--> ?PR?I2C_DELAY?ADC

?PR?_I2C_WBYTE?ADC             -----    -----
  +--> ?PR?I2C_DELAY?ADC

?PR?I2C_RBYTE?ADC              -----    -----
  +--> ?PR?I2C_DELAY?ADC

?PR?I2C_NACK?ADC               -----    -----
  +--> ?PR?I2C_DELAY?ADC

?PR?I2C_STOP?ADC               -----    -----
  +--> ?PR?I2C_DELAY?ADC

?PR?_PRINTNUM_LCD?ADC          000CH    0003H
  +--> ?PR?_CMD_LCD?ADC
  +--> ?PR?_DATA_LCD?ADC



BL51 BANKED LINKER/LOCATER V5.03                                                      08/04/2011  11:34:14  PAGE 3


SYMBOL TABLE OF MODULE:  ADC (ADC)

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

  -------         MODULE        ADC
  C:0000H         SYMBOL        _ICE_DUMMY_
  C:02D8H         PUBLIC        i2c_nack
  D:0090H         PUBLIC        P1
  D:00B0H         PUBLIC        P3
  B:00B0H.5       PUBLIC        regsel
  C:021DH         PUBLIC        i2c_rbyte
  C:0247H         PUBLIC        i2c_ack
  C:02C4H         PUBLIC        _data_lcd
  C:027EH         PUBLIC        i2c_start
  C:0083H         PUBLIC        main
  C:02A0H         PUBLIC        i2c_stop
  C:02B9H         PUBLIC        _cmd_lcd
  C:0265H         PUBLIC        _delay_ms
  C:01BEH         PUBLIC        _printlcd
  B:00B0H.6       PUBLIC        SDA
  C:02CFH         PUBLIC        lcd_shortdelay
  C:014DH         PUBLIC        _i2c_read
  B:00B0H.7       PUBLIC        SCL
  B:00B0H.4       PUBLIC        enable
  C:0185H         PUBLIC        initlcd
  C:01EEH         PUBLIC        _i2c_wbyte
  C:0299H         PUBLIC        i2c_delay
  C:00F6H         PUBLIC        _printnum_lcd
  D:0011H         PUBLIC        ADC0
  D:0012H         PUBLIC        ADC1
  D:0013H         PUBLIC        ADC2
  D:0014H         PUBLIC        ADC3
  C:0294H         SYMBOL        L?0048
  -------         PROC          L?0047
  -------         ENDPROC       L?0047
  C:0294H         SYMBOL        L?0048
  -------         PROC          I2C_DELAY
  -------         DO            
  D:0007H         SYMBOL        a
  -------         ENDDO         
  C:0299H         LINE#         17
  C:0299H         LINE#         18
  C:0299H         LINE#         20
  C:029FH         LINE#         21
  -------         ENDPROC       I2C_DELAY
  -------         PROC          I2C_START
  C:027EH         LINE#         25
  C:027EH         LINE#         26
  C:027EH         LINE#         28
  C:0280H         LINE#         29
  C:0283H         LINE#         30
  C:0285H         LINE#         31
  C:0288H         LINE#         32
  C:028AH         LINE#         33
  C:028DH         LINE#         34
  C:028FH         LINE#         35
BL51 BANKED LINKER/LOCATER V5.03                                                      08/04/2011  11:34:14  PAGE 4


  -------         ENDPROC       I2C_START
  -------         PROC          I2C_STOP
  C:02A0H         LINE#         40
  C:02A0H         LINE#         41
  C:02A0H         LINE#         42
  C:02A2H         LINE#         43
  C:02A2H         LINE#         44
  C:02A2H         LINE#         45
  C:02A5H         LINE#         46
  C:02A7H         LINE#         47
  C:02AAH         LINE#         48
  C:02ACH         LINE#         49
  -------         ENDPROC       I2C_STOP
  -------         PROC          _I2C_WBYTE
  D:0005H         SYMBOL        i2c_wb
  -------         DO            
  D:0004H         SYMBOL        a
  -------         ENDDO         
  C:01EEH         LINE#         53
  C:01F0H         LINE#         54
  C:01F0H         LINE#         57
  C:01F2H         LINE#         58
  C:01F2H         LINE#         59
  C:01F4H         LINE#         60
  C:01F7H         LINE#         61
  C:020FH         LINE#         62
  C:020FH         LINE#         63
  C:0211H         LINE#         64
  C:0213H         LINE#         66
  C:0213H         LINE#         67
  C:0215H         LINE#         68
  C:0215H         LINE#         69
  C:0215H         LINE#         70
  C:0215H         LINE#         71
  C:0218H         LINE#         72
  C:021CH         LINE#         74
  -------         ENDPROC       _I2C_WBYTE
  -------         PROC          I2C_RBYTE
  -------         DO            
  D:0005H         SYMBOL        a
  D:0006H         SYMBOL        b
  -------         ENDDO         
  C:021DH         LINE#         78
  C:021DH         LINE#         79
  C:021DH         LINE#         82
  C:021FH         LINE#         84
  C:0220H         LINE#         85
  C:0220H         LINE#         86
  C:0222H         LINE#         87
  C:0225H         LINE#         88
  C:0228H         LINE#         89
  C:0228H         LINE#         90
  C:0235H         LINE#         91
  C:0235H         LINE#         92
  C:0238H         LINE#         93
  C:023AH         LINE#         94
  C:023DH         LINE#         95
BL51 BANKED LINKER/LOCATER V5.03                                                      08/04/2011  11:34:14  PAGE 5


  C:0241H         LINE#         96
  C:0243H         LINE#         97
  -------         ENDPROC       I2C_RBYTE
  -------         PROC          L?0050
  -------         ENDPROC       L?0050
  -------         PROC          I2C_ACK
  -------         DO            
  D:0006H         SYMBOL        a
  -------         ENDDO         
  C:0247H         LINE#         101
  C:0247H         LINE#         102
  C:0247H         LINE#         105
  C:024AH         LINE#         106
  C:024CH         LINE#         107
  C:024FH         LINE#         108
  C:024FH         LINE#         109
  C:024FH         LINE#         110
  C:024FH         LINE#         111
  C:0252H         LINE#         113
  C:0255H         LINE#         114
  C:025AH         LINE#         115
  C:025DH         LINE#         116
  C:025FH         LINE#         117
  C:0262H         LINE#         118
  C:0264H         LINE#         119
  -------         ENDPROC       I2C_ACK
  -------         PROC          I2C_NACK
  C:02D8H         LINE#         123
  C:02D8H         LINE#         124
  C:02D8H         LINE#         126
  C:02D8H         LINE#         127
  C:02D8H         LINE#         128
  C:02D8H         LINE#         129
  C:02DBH         LINE#         130
  C:02DDH         LINE#         131
  -------         ENDPROC       I2C_NACK
  -------         PROC          L?0049
  -------         ENDPROC       L?0049
  -------         PROC          _I2C_READ
  D:000CH         SYMBOL        id
  D:000DH         SYMBOL        add
  D:000EH         SYMBOL        d
  C:014DH         LINE#         136
  C:0157H         LINE#         137
  C:0157H         LINE#         139
  C:015AH         LINE#         140
  C:015CH         LINE#         141
  C:015FH         LINE#         142
  C:0161H         LINE#         143
  C:0164H         LINE#         144
  C:0167H         LINE#         145
  C:016FH         LINE#         146
  C:0172H         LINE#         147
  C:017FH         LINE#         149
  C:0182H         LINE#         150
  -------         ENDPROC       _I2C_READ
  -------         PROC          MAIN
BL51 BANKED LINKER/LOCATER V5.03                                                      08/04/2011  11:34:14  PAGE 6


  -------         DO            
  D:0008H         SYMBOL        d
  -------         ENDDO         
  C:0083H         LINE#         34
  C:0083H         LINE#         35
  C:0083H         LINE#         38
  C:0086H         LINE#         39
  C:0093H         LINE#         40
  C:0093H         LINE#         41
  C:0093H         LINE#         42
  C:0098H         LINE#         44
  C:00A1H         LINE#         45
  C:00AAH         LINE#         46
  C:00ADH         LINE#         48
  C:00B6H         LINE#         49
  C:00BFH         LINE#         50
  C:00C2H         LINE#         52
  C:00CFH         LINE#         53
  C:00D8H         LINE#         54
  C:00DBH         LINE#         56
  C:00E8H         LINE#         57
  C:00F1H         LINE#         58
  C:00F4H         LINE#         60
  -------         ENDPROC       MAIN
  -------         PROC          _PRINTNUM_LCD
  D:000CH         SYMBOL        num
  D:0005H         SYMBOL        row
  D:0003H         SYMBOL        col
  -------         DO            
  D:0007H         SYMBOL        x1
  D:0003H         SYMBOL        x2
  D:0007H         SYMBOL        dig3
  D:000DH         SYMBOL        dig4
  D:000EH         SYMBOL        dig5
  D:0006H         SYMBOL        x3
  -------         ENDDO         
  C:00F6H         LINE#         65
  C:00F8H         LINE#         66
  C:00F8H         LINE#         69
  C:0104H         LINE#         71
  C:010DH         LINE#         72
  C:0115H         LINE#         73
  C:011CH         LINE#         74
  C:0123H         LINE#         75
  C:012AH         LINE#         76
  C:0132H         LINE#         78
  C:0139H         LINE#         79
  C:0141H         LINE#         80
  -------         ENDPROC       _PRINTNUM_LCD
  -------         PROC          INITLCD
  C:0185H         LINE#         85
  C:0185H         LINE#         86
  C:0185H         LINE#         87
  C:0187H         LINE#         88
  C:018CH         LINE#         89
  C:0191H         LINE#         90
  C:0196H         LINE#         91
BL51 BANKED LINKER/LOCATER V5.03                                                      08/04/2011  11:34:14  PAGE 7


  C:019BH         LINE#         92
  C:01A0H         LINE#         93
  C:01A5H         LINE#         94
  C:01AAH         LINE#         95
  C:01B4H         LINE#         96
  C:01B9H         LINE#         97
  -------         ENDPROC       INITLCD
  -------         PROC          _CMD_LCD
  D:0007H         SYMBOL        command
  C:02B9H         LINE#         100
  C:02B9H         LINE#         101
  C:02B9H         LINE#         102
  C:02BBH         LINE#         103
  C:02BDH         LINE#         104
  C:02BFH         LINE#         105
  C:02C1H         LINE#         106
  -------         ENDPROC       _CMD_LCD
  -------         PROC          _DATA_LCD
  D:0007H         SYMBOL        databyte
  C:02C4H         LINE#         109
  C:02C4H         LINE#         110
  C:02C4H         LINE#         111
  C:02C6H         LINE#         112
  C:02C8H         LINE#         113
  C:02CAH         LINE#         114
  C:02CCH         LINE#         115
  -------         ENDPROC       _DATA_LCD
  -------         PROC          LCD_SHORTDELAY
  -------         DO            
  D:0007H         SYMBOL        t
  -------         ENDDO         
  C:02CFH         LINE#         118
  C:02CFH         LINE#         119
  C:02CFH         LINE#         120
  C:02D1H         LINE#         121
  C:02D7H         LINE#         122
  -------         ENDPROC       LCD_SHORTDELAY
  -------         PROC          _DELAY_MS
  D:0007H         SYMBOL        ms
  -------         DO            
  D:0006H         SYMBOL        t1
  D:0004H         SYMBOL        t2
  -------         ENDDO         
  C:0265H         LINE#         124
  C:0265H         LINE#         125
  C:0265H         LINE#         129
  C:026CH         LINE#         130
  C:027AH         LINE#         131
  C:027DH         LINE#         132
  -------         ENDPROC       _DELAY_MS
  -------         PROC          _PRINTLCD
  D:000CH         SYMBOL        message
  D:0005H         SYMBOL        row
  D:0010H         SYMBOL        col
  C:01BEH         LINE#         134
  C:01C4H         LINE#         135
  C:01C4H         LINE#         136
BL51 BANKED LINKER/LOCATER V5.03                                                      08/04/2011  11:34:14  PAGE 8


  C:01D1H         LINE#         138
  C:01DDH         LINE#         139
  C:01EDH         LINE#         141
  -------         ENDPROC       _PRINTLCD
  -------         ENDMOD        ADC

  -------         MODULE        ?C?CLDPTR
  C:0003H         PUBLIC        ?C?CLDPTR
  -------         ENDMOD        ?C?CLDPTR

  -------         MODULE        ?C?CSTPTR
  C:001CH         PUBLIC        ?C?CSTPTR
  -------         ENDMOD        ?C?CSTPTR

  -------         MODULE        ?C?UIDIV
  C:002EH         PUBLIC        ?C?UIDIV
  -------         ENDMOD        ?C?UIDIV

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