BL51 BANKED LINKER/LOCATER V6.22                                                        12/19/2025  10:03:13  PAGE 1


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


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:  TEST (?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     0006H     UNIT         ?DT?TEST
            DATA    000EH     0002H     UNIT         _DATA_GROUP_
            IDATA   0010H     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     0071H     UNIT         ?PR?MAIN?TEST
            CODE    0100H     0027H     UNIT         ?PR?_DELAY_MS?TEST
            CODE    0127H     001BH     UNIT         ?PR?READ_SWITCH_DEBOUNCED?TEST
            CODE    0142H     0015H     UNIT         ?CO?TEST
            CODE    0157H     000DH     UNIT         ?PR?_DELAY_US?TEST
            CODE    0164H     000DH     UNIT         ?C_INITSEG



OVERLAY MAP OF MODULE:   TEST (?C_STARTUP)


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

?PR?MAIN?TEST                          000EH    0001H
  +--> ?PR?_DELAY_MS?TEST
  +--> ?PR?READ_SWITCH_DEBOUNCED?TEST
  +--> ?CO?TEST
  +--> ?PR?_DELAY_US?TEST

?PR?READ_SWITCH_DEBOUNCED?TEST         000FH    0001H



SYMBOL TABLE OF MODULE:  TEST (?C_STARTUP)
BL51 BANKED LINKER/LOCATER V6.22                                                      12/19/2025  10:03:13  PAGE 2



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

  -------         MODULE        ?C_STARTUP
  C:0003H         SEGMENT       ?C_C51STARTUP
  I:0010H         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        TEST
  C:0000H         SYMBOL        _ICE_DUMMY_
  D:0080H         PUBLIC        P0
  D:0090H         PUBLIC        P1
  D:00A0H         PUBLIC        P2
  D:00B0H         PUBLIC        P3
  C:0142H         PUBLIC        SEGMENT_CODE
  C:0153H         PUBLIC        DIGIT_SELECT
  C:0127H         PUBLIC        read_switch_debounced
  C:008FH         PUBLIC        main
  C:0107H         PUBLIC        _delay_ms
  C:0157H         PUBLIC        _delay_us
  D:000AH         PUBLIC        display_digits
  -------         PROC          MAIN
  -------         DO            
  D:000EH         SYMBOL        i
  D:0007H         SYMBOL        switch_state
  D:0007H         SYMBOL        led_state
  -------         ENDDO         
BL51 BANKED LINKER/LOCATER V6.22                                                      12/19/2025  10:03:13  PAGE 3


  C:008FH         LINE#         36
  C:008FH         LINE#         37
  C:008FH         LINE#         42
  C:0092H         LINE#         43
  C:0095H         LINE#         44
  C:0098H         LINE#         46
  C:009BH         LINE#         47
  C:009DH         LINE#         48
  C:00A0H         LINE#         49
  C:00A3H         LINE#         51
  C:00A5H         LINE#         52
  C:00A5H         LINE#         53
  C:00A8H         LINE#         54
  C:00ABH         LINE#         55
  C:00ABH         LINE#         56
  C:00AEH         LINE#         59
  C:00B1H         LINE#         60
  C:00B4H         LINE#         61
  C:00B4H         LINE#         62
  C:00B7H         LINE#         63
  C:00C0H         LINE#         65
  C:00C0H         LINE#         66
  C:00C0H         LINE#         67
  C:00C3H         LINE#         68
  C:00C5H         LINE#         69
  C:00C7H         LINE#         73
  C:00CAH         LINE#         74
  C:00CAH         LINE#         75
  C:00CDH         LINE#         76
  C:00D5H         LINE#         78
  C:00DAH         LINE#         80
  C:00E6H         LINE#         82
  C:00EDH         LINE#         84
  C:00F0H         LINE#         85
  C:00F5H         LINE#         86
  -------         ENDPROC       MAIN
  -------         PROC          READ_SWITCH_DEBOUNCED
  -------         DO            
  D:0008H         SYMBOL        last_state
  D:0009H         SYMBOL        stable_count
  D:0007H         SYMBOL        current_state
  D:000FH         SYMBOL        i
  -------         ENDDO         
  C:0127H         LINE#         91
  C:0127H         LINE#         92
  C:0127H         LINE#         98
  C:0129H         LINE#         101
  C:012DH         LINE#         102
  C:012DH         LINE#         103
  C:0130H         LINE#         104
  C:0131H         LINE#         105
  C:0131H         LINE#         107
  C:0131H         LINE#         109
  C:0133H         LINE#         112
  C:013AH         LINE#         113
  C:013AH         LINE#         114
  C:013DH         LINE#         115
BL51 BANKED LINKER/LOCATER V6.22                                                      12/19/2025  10:03:13  PAGE 4


  C:013FH         LINE#         116
  C:013FH         LINE#         117
  C:013FH         LINE#         119
  C:0141H         LINE#         120
  -------         ENDPROC       READ_SWITCH_DEBOUNCED
  C:0103H         SYMBOL        L?0027
  -------         PROC          L?0026
  -------         ENDPROC       L?0026
  C:0103H         SYMBOL        L?0027
  -------         PROC          _DELAY_MS
  D:0006H         SYMBOL        ms
  -------         DO            
  D:0004H         SYMBOL        i
  D:0002H         SYMBOL        j
  -------         ENDDO         
  C:0107H         LINE#         123
  C:0107H         LINE#         124
  C:0107H         LINE#         126
  C:0111H         LINE#         127
  C:0126H         LINE#         128
  -------         ENDPROC       _DELAY_MS
  -------         PROC          _DELAY_US
  D:0007H         SYMBOL        us
  C:0157H         LINE#         131
  C:0157H         LINE#         132
  C:0157H         LINE#         133
  C:015DH         LINE#         134
  C:015DH         LINE#         135
  C:015EH         LINE#         136
  C:015FH         LINE#         137
  C:0160H         LINE#         138
  C:0161H         LINE#         139
  C:0163H         LINE#         140
  -------         ENDPROC       _DELAY_US
  -------         ENDMOD        TEST

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