BL51 BANKED LINKER/LOCATER V6.22                                                        12/22/2025  19:43:12  PAGE 1


BL51 BANKED LINKER/LOCATER V6.22, INVOKED BY:
C:\KEIL\C51\BIN\BL51.EXE STARTUP.obj, test.obj TO pro1


MEMORY MODEL: SMALL


INPUT MODULES INCLUDED:
  STARTUP.obj (?C_STARTUP)
  test.obj (TEST)
  C:\KEIL\C51\LIB\C51S.LIB (?C_INIT)


LINK MAP OF MODULE:  pro1 (?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     000BH     UNIT         ?DT?TEST
            DATA    0013H     0001H     UNIT         _DATA_GROUP_
                    0014H     000CH                  *** GAP ***
            BIT     0020H.0   0000H.2   UNIT         ?BI?TEST
                    0020H.2   0000H.6                *** GAP ***
            IDATA   0021H     0001H     UNIT         ?STACK

            * * * * * * *   C O D E   M E M O R Y   * * * * * * *
            CODE    0000H     0003H     ABSOLUTE     
                    0003H     0008H                  *** GAP ***
            CODE    000BH     0003H     ABSOLUTE     
            CODE    000EH     008CH     UNIT         ?C_C51STARTUP
            CODE    009AH     004BH     UNIT         ?PR?TIMER0_ISR?TEST
            CODE    00E5H     003FH     UNIT         ?PR?KEY_SCAN?TEST
            CODE    0124H     003FH     UNIT         ?PR?LED_SHOWSTATUS?TEST
            CODE    0163H     003DH     UNIT         ?PR?DISPLAY_SCAN?TEST
            CODE    01A0H     0023H     UNIT         ?PR?DISPLAY_UPDATE?TEST
            CODE    01C3H     0020H     UNIT         ?PR?_DELAY_MS?TEST
            CODE    01E3H     001FH     UNIT         ?PR?SYSTEM_INIT?TEST
            CODE    0202H     001EH     UNIT         ?C_INITSEG
            CODE    0220H     001AH     UNIT         ?PR?MAIN?TEST
            CODE    023AH     000FH     UNIT         ?CO?TEST
            CODE    0249H     000DH     UNIT         ?PR?TIMER0_INIT?TEST



OVERLAY MAP OF MODULE:   pro1 (?C_STARTUP)


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

?PR?MAIN?TEST                   -----    -----
BL51 BANKED LINKER/LOCATER V6.22                                                      12/22/2025  19:43:12  PAGE 2


  +--> ?PR?SYSTEM_INIT?TEST
  +--> ?PR?TIMER0_INIT?TEST
  +--> ?PR?KEY_SCAN?TEST
  +--> ?PR?DISPLAY_UPDATE?TEST
  +--> ?PR?DISPLAY_SCAN?TEST
  +--> ?PR?LED_SHOWSTATUS?TEST

?PR?KEY_SCAN?TEST               0013H    0001H
  +--> ?PR?_DELAY_MS?TEST

?PR?DISPLAY_SCAN?TEST           0013H    0001H
  +--> ?CO?TEST
  +--> ?PR?_DELAY_MS?TEST



SYMBOL TABLE OF MODULE:  pro1 (?C_STARTUP)

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

  -------         MODULE        ?C_STARTUP
  C:000EH         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:0011H         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:000EH         SYMBOL        STARTUP1
  N:0000H         SYMBOL        XBPSTACK
  N:0000H         SYMBOL        XBPSTACKTOP
  N:0000H         SYMBOL        XDATALEN
  N:0000H         SYMBOL        XDATASTART
  C:0000H         LINE#         126
  C:000EH         LINE#         133
  C:0010H         LINE#         134
  C:0011H         LINE#         135
  C:0012H         LINE#         136
  C:0014H         LINE#         185
  C:0017H         LINE#         196
  -------         ENDMOD        ?C_STARTUP

  -------         MODULE        TEST
  C:0000H         SYMBOL        _ICE_DUMMY_
BL51 BANKED LINKER/LOCATER V6.22                                                      12/22/2025  19:43:12  PAGE 3


  C:01E3H         PUBLIC        System_Init
  D:000AH         PUBLIC        second
  D:0080H         PUBLIC        P0
  D:0090H         PUBLIC        P1
  D:00A0H         PUBLIC        P2
  D:00B0H         PUBLIC        P3
  C:009AH         PUBLIC        Timer0_ISR
  B:00A8H.7       PUBLIC        EA
  D:000BH         PUBLIC        display_count
  C:00E5H         PUBLIC        Key_Scan
  D:000CH         PUBLIC        minute
  C:01A0H         PUBLIC        Display_Update
  C:0220H         PUBLIC        main
  C:0249H         PUBLIC        Timer0_Init
  C:0245H         PUBLIC        bit_table
  C:023AH         PUBLIC        seg_table
  D:000DH         PUBLIC        timer_count
  C:01C3H         PUBLIC        _Delay_ms
  D:0089H         PUBLIC        TMOD
  C:0163H         PUBLIC        Display_Scan
  B:00A8H.1       PUBLIC        ET0
  D:008CH         PUBLIC        TH0
  D:008AH         PUBLIC        TL0
  B:0020H.1       PUBLIC        run_flag
  B:0088H.4       PUBLIC        TR0
  D:000FH         PUBLIC        dis_buf
  C:0124H         PUBLIC        LED_ShowStatus
  -------         PROC          MAIN
  C:0220H         LINE#         57
  C:0220H         LINE#         58
  C:0220H         LINE#         59
  C:0223H         LINE#         60
  C:0226H         LINE#         63
  C:0228H         LINE#         64
  C:022AH         LINE#         67
  C:022CH         LINE#         69
  C:022CH         LINE#         70
  C:022CH         LINE#         71
  C:022FH         LINE#         72
  C:0232H         LINE#         73
  C:0235H         LINE#         74
  C:0238H         LINE#         75
  -------         ENDPROC       MAIN
  -------         PROC          SYSTEM_INIT
  C:01E3H         LINE#         79
  C:01E3H         LINE#         80
  C:01E3H         LINE#         81
  C:01E6H         LINE#         82
  C:01E9H         LINE#         83
  C:01ECH         LINE#         85
  C:01F1H         LINE#         86
  C:01F3H         LINE#         87
  C:01F5H         LINE#         88
  C:01F7H         LINE#         89
  C:01F9H         LINE#         92
  C:01FBH         LINE#         93
  C:01FDH         LINE#         94
BL51 BANKED LINKER/LOCATER V6.22                                                      12/22/2025  19:43:12  PAGE 4


  C:01FFH         LINE#         95
  C:0201H         LINE#         96
  -------         ENDPROC       SYSTEM_INIT
  -------         PROC          TIMER0_INIT
  C:0249H         LINE#         99
  C:0249H         LINE#         100
  C:0249H         LINE#         102
  C:024CH         LINE#         103
  C:024FH         LINE#         109
  C:0252H         LINE#         110
  C:0255H         LINE#         111
  -------         ENDPROC       TIMER0_INIT
  -------         PROC          TIMER0_ISR
  C:009AH         LINE#         114
  C:009EH         LINE#         117
  C:00A1H         LINE#         118
  C:00A4H         LINE#         121
  C:00ACH         LINE#         124
  C:00B5H         LINE#         125
  C:00B5H         LINE#         126
  C:00BBH         LINE#         129
  C:00BEH         LINE#         130
  C:00BEH         LINE#         131
  C:00C0H         LINE#         134
  C:00C6H         LINE#         135
  C:00C6H         LINE#         136
  C:00C9H         LINE#         137
  C:00CBH         LINE#         140
  C:00D1H         LINE#         141
  C:00D1H         LINE#         142
  C:00D4H         LINE#         143
  C:00D4H         LINE#         144
  C:00D4H         LINE#         145
  C:00D4H         LINE#         146
  C:00D4H         LINE#         149
  C:00D6H         LINE#         150
  C:00DDH         LINE#         151
  C:00DDH         LINE#         152
  C:00E0H         LINE#         153
  C:00E0H         LINE#         154
  -------         ENDPROC       TIMER0_ISR
  -------         PROC          KEY_SCAN
  -------         DO            
  D:0008H         SYMBOL        key_old
  D:0013H         SYMBOL        key_temp
  -------         ENDDO         
  C:00E5H         LINE#         157
  C:00E5H         LINE#         158
  C:00E5H         LINE#         163
  C:00E8H         LINE#         166
  C:00EDH         LINE#         167
  C:00EDH         LINE#         168
  C:00F4H         LINE#         170
  C:00FAH         LINE#         171
  C:00FAH         LINE#         172
  C:0100H         LINE#         173
  C:0100H         LINE#         174
BL51 BANKED LINKER/LOCATER V6.22                                                      12/22/2025  19:43:12  PAGE 5


  C:0103H         LINE#         177
  C:0108H         LINE#         178
  C:0108H         LINE#         179
  C:010BH         LINE#         180
  C:010DH         LINE#         181
  C:010FH         LINE#         182
  C:0110H         LINE#         184
  C:0115H         LINE#         185
  C:0115H         LINE#         186
  C:0117H         LINE#         187
  C:0118H         LINE#         189
  C:011DH         LINE#         190
  C:011DH         LINE#         191
  C:011FH         LINE#         192
  C:011FH         LINE#         193
  C:011FH         LINE#         194
  C:011FH         LINE#         195
  C:0120H         LINE#         197
  C:0120H         LINE#         198
  C:0123H         LINE#         199
  C:0123H         LINE#         200
  -------         ENDPROC       KEY_SCAN
  -------         PROC          DISPLAY_UPDATE
  C:01A0H         LINE#         203
  C:01A0H         LINE#         204
  C:01A0H         LINE#         206
  C:01A8H         LINE#         207
  C:01B1H         LINE#         208
  C:01B9H         LINE#         209
  C:01C2H         LINE#         210
  -------         ENDPROC       DISPLAY_UPDATE
  -------         PROC          DISPLAY_SCAN
  -------         DO            
  D:0013H         SYMBOL        seg_data
  -------         ENDDO         
  C:0163H         LINE#         213
  C:0163H         LINE#         214
  C:0163H         LINE#         218
  C:0166H         LINE#         221
  C:0175H         LINE#         222
  C:0175H         LINE#         223
  C:0175H         LINE#         224
  C:0177H         LINE#         225
  C:0179H         LINE#         227
  C:0179H         LINE#         228
  C:017BH         LINE#         229
  C:017DH         LINE#         231
  C:017DH         LINE#         232
  C:017FH         LINE#         233
  C:0181H         LINE#         235
  C:0181H         LINE#         236
  C:0189H         LINE#         237
  C:018BH         LINE#         239
  C:018BH         LINE#         240
  C:018EH         LINE#         241
  C:018EH         LINE#         242
  C:018EH         LINE#         245
BL51 BANKED LINKER/LOCATER V6.22                                                      12/22/2025  19:43:12  PAGE 6


  C:0191H         LINE#         248
  C:0199H         LINE#         251
  -------         ENDPROC       DISPLAY_SCAN
  -------         PROC          LED_SHOWSTATUS
  -------         DO            
  D:0009H         SYMBOL        led_count
  B:0020H.0       SYMBOL        sec_led_flag
  -------         ENDDO         
  C:0124H         LINE#         255
  C:0124H         LINE#         256
  C:0124H         LINE#         261
  C:0127H         LINE#         262
  C:0127H         LINE#         263
  C:0129H         LINE#         264
  C:0130H         LINE#         265
  C:0130H         LINE#         266
  C:0133H         LINE#         267
  C:0136H         LINE#         268
  C:0136H         LINE#         269
  C:0138H         LINE#         271
  C:0138H         LINE#         272
  C:013BH         LINE#         273
  C:013BH         LINE#         276
  C:0141H         LINE#         277
  C:0141H         LINE#         278
  C:0143H         LINE#         279
  C:0143H         LINE#         281
  C:0151H         LINE#         282
  C:0151H         LINE#         283
  C:0154H         LINE#         284
  C:015CH         LINE#         285
  C:015CH         LINE#         286
  C:015EH         LINE#         287
  C:015EH         LINE#         288
  C:015FH         LINE#         290
  C:015FH         LINE#         291
  C:0162H         LINE#         292
  C:0162H         LINE#         293
  -------         ENDPROC       LED_SHOWSTATUS
  -------         PROC          _DELAY_MS
  D:0006H         SYMBOL        ms
  -------         DO            
  D:0004H         SYMBOL        i
  D:0002H         SYMBOL        j
  -------         ENDDO         
  C:01C3H         LINE#         296
  C:01C3H         LINE#         297
  C:01C3H         LINE#         299
  C:01CDH         LINE#         300
  C:01E2H         LINE#         301
  -------         ENDPROC       _DELAY_MS
  -------         ENDMOD        TEST

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