BL51 BANKED LINKER/LOCATER V6.22                                                        12/08/2025  20:06:52  PAGE 1


BL51 BANKED LINKER/LOCATER V6.22, INVOKED BY:
C:\KEIL\C51\BIN\BL51.EXE STARTUP.obj, main.obj TO test2 RAMSIZE (256)


MEMORY MODEL: SMALL


INPUT MODULES INCLUDED:
  STARTUP.obj (?C_STARTUP)
  main.obj (MAIN)
  C:\KEIL\C51\LIB\C51S.LIB (?C?COPY)
  C:\KEIL\C51\LIB\C51S.LIB (?C?CLDPTR)
  C:\KEIL\C51\LIB\C51S.LIB (?C?CLDOPTR)
  C:\KEIL\C51\LIB\C51S.LIB (?C?CSTPTR)
  C:\KEIL\C51\LIB\C51S.LIB (?C?CSTOPTR)


LINK MAP OF MODULE:  test2 (?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     0012H     UNIT         _DATA_GROUP_
            IDATA   001AH     0001H     UNIT         ?STACK

            * * * * * * *   C O D E   M E M O R Y   * * * * * * *
            CODE    0000H     0003H     ABSOLUTE     
            CODE    0003H     0170H     UNIT         ?C?LIB_CODE
            CODE    0173H     0089H     UNIT         ?PR?_BCD_ADD?MAIN
            CODE    01FCH     0066H     UNIT         ?PR?MAIN?MAIN
            CODE    0262H     0023H     UNIT         ?PR?MOVE_RAM?MAIN
            CODE    0285H     000EH     UNIT         ?PR?CLEAR_RAM?MAIN
            CODE    0293H     000CH     UNIT         ?C_C51STARTUP
            CODE    029FH     0007H     UNIT         ?CO?MAIN
            CODE    02A6H     0005H     UNIT         ?PR?_BCD_TO_ASCII?MAIN



OVERLAY MAP OF MODULE:   test2 (?C_STARTUP)


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

?PR?MAIN?MAIN                  0008H    0009H
  +--> ?CO?MAIN
  +--> ?PR?CLEAR_RAM?MAIN
  +--> ?PR?_BCD_TO_ASCII?MAIN
  +--> ?PR?_BCD_ADD?MAIN
  +--> ?PR?MOVE_RAM?MAIN

?PR?_BCD_ADD?MAIN              0011H    0009H
BL51 BANKED LINKER/LOCATER V6.22                                                      12/08/2025  20:06:52  PAGE 2





SYMBOL TABLE OF MODULE:  test2 (?C_STARTUP)

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

  -------         MODULE        ?C_STARTUP
  C:0293H         SEGMENT       ?C_C51STARTUP
  I:001AH         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:0296H         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:0293H         SYMBOL        STARTUP1
  N:0000H         SYMBOL        XBPSTACK
  N:0000H         SYMBOL        XBPSTACKTOP
  N:0000H         SYMBOL        XDATALEN
  N:0000H         SYMBOL        XDATASTART
  C:0000H         LINE#         126
  C:0293H         LINE#         133
  C:0295H         LINE#         134
  C:0296H         LINE#         135
  C:0297H         LINE#         136
  C:0299H         LINE#         185
  C:029CH         LINE#         196
  -------         ENDMOD        ?C_STARTUP

  -------         MODULE        MAIN
  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
  D:00A8H         PUBLIC        IE
  D:00B8H         PUBLIC        IP
  D:00D8H         PUBLIC        CCON
  C:01FCH         PUBLIC        main
  C:0285H         PUBLIC        clear_ram
BL51 BANKED LINKER/LOCATER V6.22                                                      12/08/2025  20:06:52  PAGE 3


  D:0098H         PUBLIC        SCON
  C:0173H         PUBLIC        _bcd_add
  D:0088H         PUBLIC        TCON
  C:029FH         SYMBOL        _?ix1000
  C:02A1H         SYMBOL        _?ix1001
  C:02A3H         SYMBOL        _?ix1002
  C:0262H         PUBLIC        move_ram
  C:02A6H         PUBLIC        _bcd_to_ascii
  D:00D0H         PUBLIC        PSW
  -------         PROC          CLEAR_RAM
  -------         DO            
  D:0007H         SYMBOL        i
  -------         ENDDO         
  C:0285H         LINE#         4
  C:0285H         LINE#         5
  C:0285H         LINE#         7
  C:0287H         LINE#         8
  C:0287H         LINE#         9
  C:028EH         LINE#         10
  C:0292H         LINE#         11
  -------         ENDPROC       CLEAR_RAM
  -------         PROC          _BCD_TO_ASCII
  D:0007H         SYMBOL        bcd
  C:02A6H         LINE#         14
  C:02A6H         LINE#         15
  C:02A6H         LINE#         16
  C:02AAH         LINE#         17
  -------         ENDPROC       _BCD_TO_ASCII
  -------         PROC          _BCD_ADD
  D:0011H         SYMBOL        src1
  D:0014H         SYMBOL        src2
  D:0017H         SYMBOL        dest
  -------         DO            
  D:0007H         SYMBOL        temp
  -------         ENDDO         
  C:0173H         LINE#         20
  C:0179H         LINE#         21
  C:0179H         LINE#         24
  C:018EH         LINE#         25
  C:0193H         LINE#         26
  C:0193H         LINE#         27
  C:0197H         LINE#         28
  C:01A2H         LINE#         29
  C:01A8H         LINE#         30
  C:01AAH         LINE#         32
  C:01AAH         LINE#         33
  C:01B6H         LINE#         34
  C:01BBH         LINE#         35
  C:01BBH         LINE#         37
  C:01D7H         LINE#         38
  C:01DCH         LINE#         39
  C:01DCH         LINE#         40
  C:01E0H         LINE#         41
  C:01E0H         LINE#         42
  C:01E0H         LINE#         43
  C:01E2H         LINE#         45
  C:01E2H         LINE#         46
BL51 BANKED LINKER/LOCATER V6.22                                                      12/08/2025  20:06:52  PAGE 4


  C:01F1H         LINE#         47
  C:01FBH         LINE#         48
  C:01FBH         LINE#         49
  -------         ENDPROC       _BCD_ADD
  -------         PROC          MOVE_RAM
  -------         DO            
  D:0007H         SYMBOL        i
  -------         ENDDO         
  C:0262H         LINE#         52
  C:0262H         LINE#         53
  C:0262H         LINE#         55
  C:0264H         LINE#         56
  C:0264H         LINE#         58
  C:0280H         LINE#         59
  C:0284H         LINE#         60
  -------         ENDPROC       MOVE_RAM
  -------         PROC          MAIN
  -------         DO            
  D:0008H         SYMBOL        bcd_data
  D:0009H         SYMBOL        bcd1
  D:000BH         SYMBOL        bcd2
  D:000DH         SYMBOL        bcd_result
  D:0010H         SYMBOL        ascii
  -------         ENDDO         
  C:01FCH         LINE#         62
  C:01FCH         LINE#         63
  C:01FCH         LINE#         65
  C:01FFH         LINE#         66
  C:0212H         LINE#         67
  C:0225H         LINE#         68
  C:0238H         LINE#         72
  C:023BH         LINE#         75
  C:0242H         LINE#         78
  C:025DH         LINE#         81
  C:0260H         LINE#         84
  -------         ENDPROC       MAIN
  -------         ENDMOD        MAIN

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

  -------         MODULE        ?C?CLDPTR
  C:00F9H         PUBLIC        ?C?CLDPTR
  -------         ENDMOD        ?C?CLDPTR

  -------         MODULE        ?C?CLDOPTR
  C:0112H         PUBLIC        ?C?CLDOPTR
  -------         ENDMOD        ?C?CLDOPTR

  -------         MODULE        ?C?CSTPTR
  C:013FH         PUBLIC        ?C?CSTPTR
  -------         ENDMOD        ?C?CSTPTR

  -------         MODULE        ?C?CSTOPTR
  C:0151H         PUBLIC        ?C?CSTOPTR
  -------         ENDMOD        ?C?CSTOPTR
BL51 BANKED LINKER/LOCATER V6.22                                                      12/08/2025  20:06:52  PAGE 5



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