BL51 BANKED LINKER/LOCATER V6.02                                                        03/28/2008  10:31:50  PAGE 1


BL51 BANKED LINKER/LOCATER V6.02, INVOKED BY:
C:\PROGRAMFILES\KEIL\C51\BIN\BL51.EXE STARTUP_8051s.obj, main.obj TO ClosedLoopDemo CODE (0X0000-0X1FFF)


MEMORY MODEL: SMALL


INPUT MODULES INCLUDED:
  STARTUP_8051s.obj (?C_STARTUP)
  main.obj (MAIN)
  C:\PROGRAMFILES\KEIL\C51\LIB\C51S.LIB (?C?CLDPTR)
  C:\PROGRAMFILES\KEIL\C51\LIB\C51S.LIB (?C?ULSHR)
  C:\PROGRAMFILES\KEIL\C51\LIB\C51S.LIB (?C?PLDIIDATA)
  C:\PROGRAMFILES\KEIL\C51\LIB\C51S.LIB (?C?CCASE)


LINK MAP OF MODULE:  ClosedLoopDemo (?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     0010H     UNIT         _DATA_GROUP_
            IDATA   0018H     0001H     UNIT         ?STACK

            * * * * * * *   C O D E   M E M O R Y   * * * * * * *
            CODE    0000H     0003H     ABSOLUTE     
                    0003H     07FDH                  *** GAP ***
            CODE    0800H     0272H     UNIT         ?CO?MAIN
            CODE    0A72H     0262H     UNIT         ?PR?MAIN?MAIN
            CODE    0CD4H     007BH     UNIT         ?PR?PRINTMENU?MAIN
            CODE    0D4FH     0062H     UNIT         ?C?LIB_CODE
            CODE    0DB1H     005BH     UNIT         ?PR?_GET_AVG_SAMPLE?MAIN
            CODE    0E0CH     0047H     UNIT         ?PR?_TXHEX?MAIN
            CODE    0E53H     0040H     UNIT         ?PR?_PRINTVALUES?MAIN
            CODE    0E93H     003EH     UNIT         ?PR?_TX_CHAR?MAIN
            CODE    0ED1H     003DH     UNIT         ?PR?_GET_SAMPLE?MAIN
            CODE    0F0EH     002DH     UNIT         ?PR?_TX_STR?MAIN
            CODE    0F3BH     0025H     UNIT         ?PR?_HEX2CHAR?MAIN
            CODE    0F60H     0025H     UNIT         ?PR?_PRINTMEAN?MAIN
            CODE    0F85H     0024H     UNIT         ?PR?_TX_STR_NO_NL?MAIN
            CODE    0FA9H     0016H     UNIT         ?PR?RX_CHAR?MAIN
            CODE    0FBFH     0012H     UNIT         ?PR?_SETDAC?MAIN
            CODE    0FD1H     000CH     UNIT         ?C_C51STARTUP
            CODE    0FDDH     000CH     UNIT         ?PR?_WR_TO_GPIO?MAIN



OVERLAY MAP OF MODULE:   ClosedLoopDemo (?C_STARTUP)


SEGMENT                            DATA_GROUP 
  +--> CALLED SEGMENT            START    LENGTH
------------------------------------------------
?C_C51STARTUP                    -----    -----
  +--> ?PR?MAIN?MAIN
BL51 BANKED LINKER/LOCATER V6.02                                                      03/28/2008  10:31:50  PAGE 2



?PR?MAIN?MAIN                    0008H    0004H
  +--> ?PR?PRINTMENU?MAIN
  +--> ?CO?MAIN
  +--> ?PR?_TX_STR?MAIN
  +--> ?PR?_TX_CHAR?MAIN
  +--> ?PR?RX_CHAR?MAIN
  +--> ?PR?_PRINTMEAN?MAIN
  +--> ?PR?_PRINTVALUES?MAIN
  +--> ?PR?_GET_AVG_SAMPLE?MAIN
  +--> ?PR?_SETDAC?MAIN

?PR?PRINTMENU?MAIN               -----    -----
  +--> ?PR?_TX_CHAR?MAIN
  +--> ?CO?MAIN
  +--> ?PR?_TX_STR?MAIN

?PR?_TX_CHAR?MAIN                -----    -----
  +--> ?PR?_SETDAC?MAIN

?PR?_SETDAC?MAIN                 -----    -----
  +--> ?PR?_WR_TO_GPIO?MAIN

?PR?_TX_STR?MAIN                 000CH    0003H
  +--> ?PR?_TX_CHAR?MAIN

?PR?_PRINTMEAN?MAIN              000CH    0002H
  +--> ?CO?MAIN
  +--> ?PR?_TX_STR_NO_NL?MAIN
  +--> ?PR?_GET_AVG_SAMPLE?MAIN
  +--> ?PR?_TXHEX?MAIN
  +--> ?PR?_TX_CHAR?MAIN

?PR?_TX_STR_NO_NL?MAIN           0010H    0003H
  +--> ?PR?_TX_CHAR?MAIN

?PR?_GET_AVG_SAMPLE?MAIN         000EH    000AH
  +--> ?PR?_GET_SAMPLE?MAIN

?PR?_GET_SAMPLE?MAIN             -----    -----
  +--> ?PR?_WR_TO_GPIO?MAIN

?PR?_TXHEX?MAIN                  0010H    0006H
  +--> ?PR?_HEX2CHAR?MAIN
  +--> ?PR?_TX_CHAR?MAIN

?PR?_PRINTVALUES?MAIN            000CH    0004H
  +--> ?CO?MAIN
  +--> ?PR?_TX_STR_NO_NL?MAIN
  +--> ?PR?_TXHEX?MAIN
  +--> ?PR?_TX_CHAR?MAIN



SYMBOL TABLE OF MODULE:  ClosedLoopDemo (?C_STARTUP)

  VALUE           TYPE          NAME
BL51 BANKED LINKER/LOCATER V6.02                                                      03/28/2008  10:31:50  PAGE 3


  ----------------------------------

  -------         MODULE        ?C_STARTUP
  C:0FD1H         SEGMENT       ?C_C51STARTUP
  I:0018H         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:0FD4H         SYMBOL        IDATALOOP
  N:0000H         SYMBOL        PBPSTACK
  N:0000H         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:0FD1H         SYMBOL        STARTUP1
  N:0000H         SYMBOL        XBPSTACK
  N:0000H         SYMBOL        XBPSTACKTOP
  N:0000H         SYMBOL        XDATALEN
  N:0000H         SYMBOL        XDATASTART
  C:0000H         LINE#         92
  C:0FD1H         LINE#         99
  C:0FD3H         LINE#         100
  C:0FD4H         LINE#         101
  C:0FD5H         LINE#         102
  C:0FD7H         LINE#         151
  C:0FDAH         LINE#         155
  -------         ENDMOD        ?C_STARTUP

  -------         MODULE        MAIN
  C:0000H         SYMBOL        _ICE_DUMMY_
  C:0E53H         PUBLIC        _PrintValues
  C:0F60H         PUBLIC        _PrintMean
  C:0F3BH         PUBLIC        _hex2char
  D:009DH         PUBLIC        XRB1
  C:0F85H         PUBLIC        _tx_str_no_nl
  D:009AH         PUBLIC        XWB1
  C:0A72H         PUBLIC        main
  C:0CD4H         PUBLIC        PrintMenu
  C:0ED1H         PUBLIC        _get_sample
  C:0F0EH         PUBLIC        _tx_str
  C:0E0CH         PUBLIC        _txhex
  C:0FDDH         PUBLIC        _wr_to_GPIO
  C:0DB1H         PUBLIC        _get_avg_sample
  C:0FA9H         PUBLIC        rx_char
  C:0EA1H         PUBLIC        _tx_char
  C:0FBFH         PUBLIC        _SetDAC
  -------         PROC          RX_CHAR
  -------         DO            
  D:0006H         SYMBOL        ret
BL51 BANKED LINKER/LOCATER V6.02                                                      03/28/2008  10:31:50  PAGE 4


  D:0005H         SYMBOL        rxrdy
  -------         ENDDO         
  C:0FA9H         LINE#         57
  C:0FA9H         LINE#         60
  C:0FABH         LINE#         61
  C:0FB1H         LINE#         62
  C:0FB3H         LINE#         63
  C:0FB8H         LINE#         64
  C:0FBAH         LINE#         65
  C:0FBEH         LINE#         66
  C:0FBEH         LINE#         67
  C:0FBEH         LINE#         68
  -------         ENDPROC       RX_CHAR
  C:0E93H         SYMBOL        L?0111
  C:0E9AH         SYMBOL        L?0112
  -------         PROC          L?0110
  -------         ENDPROC       L?0110
  C:0E93H         SYMBOL        L?0111
  C:0E9AH         SYMBOL        L?0112
  -------         PROC          _TX_CHAR
  D:0007H         SYMBOL        c
  -------         DO            
  D:0006H         SYMBOL        ret
  D:0003H         SYMBOL        txrdy
  D:0004H         SYMBOL        i
  -------         ENDDO         
  C:0EA1H         LINE#         71
  C:0EA1H         LINE#         75
  C:0EA3H         LINE#         76
  C:0EA5H         LINE#         77
  C:0EACH         LINE#         80
  C:0EAFH         LINE#         81
  C:0EB6H         LINE#         83
  C:0EBDH         LINE#         84
  C:0EBDH         LINE#         85
  C:0EBDH         LINE#         86
  C:0EC2H         LINE#         87
  C:0EC2H         LINE#         88
  C:0EC4H         LINE#         89
  C:0EC7H         LINE#         90
  C:0ECCH         LINE#         91
  C:0ECEH         LINE#         93
  C:0ECEH         LINE#         94
  C:0ED0H         LINE#         95
  -------         ENDPROC       _TX_CHAR
  -------         PROC          _TX_STR
  D:000CH         SYMBOL        s
  C:0F0EH         LINE#         100
  C:0F14H         LINE#         101
  C:0F1FH         LINE#         102
  C:0F31H         LINE#         103
  C:0F36H         LINE#         104
  -------         ENDPROC       _TX_STR
  -------         PROC          _TX_STR_NO_NL
  D:0010H         SYMBOL        s
  C:0F85H         LINE#         108
  C:0F8BH         LINE#         109
BL51 BANKED LINKER/LOCATER V6.02                                                      03/28/2008  10:31:50  PAGE 5


  C:0F96H         LINE#         110
  C:0FA8H         LINE#         111
  -------         ENDPROC       _TX_STR_NO_NL
  -------         PROC          _HEX2CHAR
  D:0007H         SYMBOL        h
  -------         DO            
  D:0006H         SYMBOL        c
  -------         ENDDO         
  C:0F3BH         LINE#         114
  C:0F3BH         LINE#         116
  C:0F3DH         LINE#         117
  C:0F49H         LINE#         119
  C:0F4DH         LINE#         120
  C:0F4DH         LINE#         121
  C:0F59H         LINE#         122
  C:0F5DH         LINE#         123
  C:0F5DH         LINE#         124
  C:0F5FH         LINE#         125
  -------         ENDPROC       _HEX2CHAR
  -------         PROC          _TXHEX
  D:0010H         SYMBOL        d
  D:0012H         SYMBOL        w
  -------         DO            
  D:0014H         SYMBOL        i
  -------         ENDDO         
  C:0E0CH         LINE#         129
  C:0E14H         LINE#         131
  C:0E24H         LINE#         132
  C:0E52H         LINE#         133
  -------         ENDPROC       _TXHEX
  -------         PROC          _WR_TO_GPIO
  D:0004H         SYMBOL        v
  C:0FDDH         LINE#         61
  C:0FE1H         LINE#         62
  C:0FE3H         LINE#         63
  C:0FE8H         LINE#         64
  -------         ENDPROC       _WR_TO_GPIO
  -------         PROC          _GET_SAMPLE
  D:0002H         SYMBOL        DAC
  -------         DO            
  D:0004H         SYMBOL        result
  D:0006H         SYMBOL        temp
  D:0005H         SYMBOL        temp_lo
  D:0004H         SYMBOL        busy
  -------         ENDDO         
  C:0ED1H         LINE#         66
  C:0ED5H         LINE#         72
  C:0EDBH         LINE#         73
  C:0EDEH         LINE#         74
  C:0EE4H         LINE#         75
  C:0EE7H         LINE#         77
  C:0EEBH         LINE#         78
  C:0EEBH         LINE#         79
  C:0EEDH         LINE#         80
  C:0EF0H         LINE#         81
  C:0EF7H         LINE#         82
  C:0EF9H         LINE#         83
BL51 BANKED LINKER/LOCATER V6.02                                                      03/28/2008  10:31:50  PAGE 6


  C:0EFDH         LINE#         84
  C:0EFFH         LINE#         86
  C:0F04H         LINE#         87
  C:0F09H         LINE#         88
  C:0F0DH         LINE#         89
  -------         ENDPROC       _GET_SAMPLE
  -------         PROC          _GET_AVG_SAMPLE
  D:000EH         SYMBOL        DAC
  -------         DO            
  D:0010H         SYMBOL        result
  D:0012H         SYMBOL        acc
  D:0016H         SYMBOL        i
  -------         ENDDO         
  C:0DB1H         LINE#         92
  C:0DB5H         LINE#         96
  C:0DBAH         LINE#         97
  C:0DC2H         LINE#         98
  C:0DC6H         LINE#         99
  C:0DF6H         LINE#         100
  C:0E0BH         LINE#         101
  C:0E0BH         LINE#         102
  -------         ENDPROC       _GET_AVG_SAMPLE
  -------         PROC          PRINTMENU
  C:0CD4H         LINE#         104
  C:0CD4H         LINE#         105
  C:0CD7H         LINE#         106
  C:0CDAH         LINE#         107
  C:0CE3H         LINE#         108
  C:0CECH         LINE#         109
  C:0CF5H         LINE#         110
  C:0CFEH         LINE#         111
  C:0D07H         LINE#         112
  C:0D10H         LINE#         113
  C:0D19H         LINE#         114
  C:0D22H         LINE#         115
  C:0D2BH         LINE#         116
  C:0D34H         LINE#         117
  C:0D3DH         LINE#         118
  C:0D46H         LINE#         119
  -------         ENDPROC       PRINTMENU
  -------         PROC          _PRINTMEAN
  D:000CH         SYMBOL        DAC
  C:0F60H         LINE#         122
  C:0F64H         LINE#         123
  C:0F6DH         LINE#         124
  C:0F7BH         LINE#         125
  -------         ENDPROC       _PRINTMEAN
  -------         PROC          _PRINTVALUES
  D:000CH         SYMBOL        SetPoint
  D:000EH         SYMBOL        DAC
  C:0E53H         LINE#         128
  C:0E5BH         LINE#         129
  C:0E64H         LINE#         130
  C:0E6FH         LINE#         131
  C:0E72H         LINE#         132
  C:0E7BH         LINE#         133
  C:0E86H         LINE#         134
BL51 BANKED LINKER/LOCATER V6.02                                                      03/28/2008  10:31:50  PAGE 7


  C:0E89H         LINE#         135
  -------         ENDPROC       _PRINTVALUES
  -------         PROC          _SETDAC
  D:0002H         SYMBOL        DAC
  -------         DO            
  D:0006H         SYMBOL        temp
  -------         ENDDO         
  C:0FBFH         LINE#         138
  C:0FC3H         LINE#         141
  C:0FC7H         LINE#         142
  C:0FCAH         LINE#         143
  C:0FCEH         LINE#         144
  -------         ENDPROC       _SETDAC
  -------         PROC          MAIN
  -------         DO            
  D:0006H         SYMBOL        ctmp
  D:0008H         SYMBOL        DAC
  D:000AH         SYMBOL        SetPoint
  D:0006H         SYMBOL        CurrentVoltage
  -------         ENDDO         
  C:0A72H         LINE#         23
  C:0A72H         LINE#         31
  C:0A78H         LINE#         32
  C:0A7EH         LINE#         35
  C:0A84H         LINE#         36
  C:0A8AH         LINE#         39
  C:0A8DH         LINE#         40
  C:0A96H         LINE#         41
  C:0A99H         LINE#         44
  C:0A99H         LINE#         46
  C:0A9CH         LINE#         47
  C:0AA7H         LINE#         48
  C:0B03H         LINE#         50
  C:0B03H         LINE#         51
  C:0B0DH         LINE#         52
  C:0B15H         LINE#         54
  C:0B1DH         LINE#         55
  C:0B1DH         LINE#         56
  C:0B20H         LINE#         57
  C:0B20H         LINE#         58
  C:0B26H         LINE#         59
  C:0B2EH         LINE#         61
  C:0B36H         LINE#         62
  C:0B36H         LINE#         63
  C:0B39H         LINE#         64
  C:0B41H         LINE#         65
  C:0B4AH         LINE#         66
  C:0B53H         LINE#         67
  C:0B5CH         LINE#         68
  C:0B65H         LINE#         69
  C:0B6EH         LINE#         70
  C:0B77H         LINE#         71
  C:0B80H         LINE#         72
  C:0B89H         LINE#         73
  C:0B92H         LINE#         74
  C:0B9BH         LINE#         75
  C:0BA4H         LINE#         76
BL51 BANKED LINKER/LOCATER V6.02                                                      03/28/2008  10:31:50  PAGE 8


  C:0BADH         LINE#         77
  C:0BB6H         LINE#         78
  C:0BBFH         LINE#         79
  C:0BC8H         LINE#         80
  C:0BC8H         LINE#         81
  C:0BCFH         LINE#         82
  C:0BCFH         LINE#         83
  C:0BD2H         LINE#         84
  C:0BD2H         LINE#         85
  C:0BD5H         LINE#         86
  C:0BD8H         LINE#         87
  C:0BD8H         LINE#         88
  C:0BDEH         LINE#         89
  C:0BE4H         LINE#         90
  C:0BE4H         LINE#         91
  C:0BE7H         LINE#         92
  C:0BF0H         LINE#         93
  C:0BF3H         LINE#         94
  C:0BF3H         LINE#         95
  C:0BF6H         LINE#         96
  C:0BF6H         LINE#         97
  C:0BFCH         LINE#         98
  C:0C02H         LINE#         99
  C:0C02H         LINE#         100
  C:0C05H         LINE#         101
  C:0C0EH         LINE#         102
  C:0C11H         LINE#         103
  C:0C11H         LINE#         104
  C:0C14H         LINE#         105
  C:0C14H         LINE#         106
  C:0C1AH         LINE#         107
  C:0C20H         LINE#         108
  C:0C20H         LINE#         109
  C:0C23H         LINE#         110
  C:0C2CH         LINE#         111
  C:0C2FH         LINE#         112
  C:0C2FH         LINE#         113
  C:0C32H         LINE#         114
  C:0C32H         LINE#         115
  C:0C38H         LINE#         116
  C:0C3EH         LINE#         117
  C:0C3EH         LINE#         118
  C:0C41H         LINE#         119
  C:0C4AH         LINE#         120
  C:0C4DH         LINE#         121
  C:0C4DH         LINE#         122
  C:0C4FH         LINE#         123
  C:0C4FH         LINE#         124
  C:0C55H         LINE#         125
  C:0C5BH         LINE#         126
  C:0C5BH         LINE#         127
  C:0C5EH         LINE#         128
  C:0C67H         LINE#         129
  C:0C6AH         LINE#         130
  C:0C6AH         LINE#         131
  C:0C6CH         LINE#         132
  C:0C6CH         LINE#         133
BL51 BANKED LINKER/LOCATER V6.02                                                      03/28/2008  10:31:50  PAGE 9


  C:0C72H         LINE#         134
  C:0C78H         LINE#         135
  C:0C78H         LINE#         136
  C:0C7BH         LINE#         137
  C:0C84H         LINE#         138
  C:0C87H         LINE#         139
  C:0C92H         LINE#         140
  C:0C92H         LINE#         141
  C:0C92H         LINE#         142
  C:0C92H         LINE#         143
  C:0C92H         LINE#         146
  C:0C99H         LINE#         147
  C:0CA9H         LINE#         148
  C:0CB1H         LINE#         149
  C:0CC2H         LINE#         150
  C:0CCAH         LINE#         151
  C:0CD1H         LINE#         152
  -------         ENDPROC       MAIN
  -------         ENDMOD        MAIN

  -------         MODULE        ?C?CLDPTR
  C:0D4FH         PUBLIC        ?C?CLDPTR
  -------         ENDMOD        ?C?CLDPTR

  -------         MODULE        ?C?ULSHR
  C:0D68H         PUBLIC        ?C?ULSHR
  -------         ENDMOD        ?C?ULSHR

  -------         MODULE        ?C?PLDIIDATA
  C:0D7BH         PUBLIC        ?C?PLDIIDATA
  -------         ENDMOD        ?C?PLDIIDATA

  -------         MODULE        ?C?CCASE
  C:0D8BH         PUBLIC        ?C?CCASE
  -------         ENDMOD        ?C?CCASE

******************************************************************************
* RESTRICTED VERSION WITH 0800H BYTE CODE SIZE LIMIT; USED: 078AH BYTE (94%) *
******************************************************************************

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