LX51 LINKER/LOCATER V4.47a 08/26/2010 16:15:24 PAGE 1 LX51 LINKER/LOCATER V4.47a, INVOKED BY: D:\SOFTWARE-TOOL\ATMEL\C-COMPILER\NEW UVISION KEIL\C51\BIN\LX51.EXE STARTUP.obj, Counter.obj TO Counter CPU MODE: 8051 MODE MEMORY MODEL: SMALL INPUT MODULES INCLUDED: STARTUP.obj (?C_STARTUP) COMMENT TYPE 0: AX51 V3.07a Counter.obj (COUNTER) COMMENT TYPE 0: C51 V9.02 D:\SOFTWARE-TOOL\ATMEL\C-COMPILER\NEW UVISION KEIL\C51\LIB\C51S.LIB (?C?UIDIV) COMMENT TYPE 1: A51 / ASM51 Assembler ACTIVE MEMORY CLASSES OF MODULE: Counter (?C_STARTUP) BASE START END USED MEMORY CLASS ========================================================== C:000000H C:000000H C:00FFFFH 0002A9H CODE I:000000H I:000000H I:0000FFH 000001H IDATA I:000000H I:000000H I:00007FH 00001CH DATA C:000000H C:000000H C:00FFFFH 00005AH CONST MEMORY MAP OF MODULE: Counter (?C_STARTUP) START STOP LENGTH ALIGN RELOC MEMORY CLASS SEGMENT NAME ========================================================================= * * * * * * * * * * * D A T A M E M O R Y * * * * * * * * * * * * * 000000H 000007H 000008H --- AT.. DATA "REG BANK 0" 000008H 000019H 000012H BYTE UNIT DATA ?DT?COUNTER 00001AH 00001BH 000002H BYTE UNIT DATA _DATA_GROUP_ 00001CH 00001CH 000001H BYTE UNIT IDATA ?STACK * * * * * * * * * * * C O D E M E M O R Y * * * * * * * * * * * * * 000000H 000002H 000003H --- OFFS.. CODE ?CO?STARTUP?3 000003H 0007FFH 0007FDH --- --- **GAP** 000800H 000921H 000122H BYTE INBLOCK CODE ?PR?MAIN?COUNTER 000922H 0009C7H 0000A6H BYTE INBLOCK CODE ?PR?_CONVERT?COUNTER 0009C8H 0009FAH 000033H BYTE INBLOCK CODE ?PR?LCDINIT?COUNTER 0009FBH 000A22H 000028H BYTE INBLOCK CODE ?PR?_DELAY?COUNTER 000A23H 000A32H 000010H BYTE INBLOCK CODE ?PR?_LCDWRT?COUNTER 000A33H 000A3CH 00000AH BYTE INBLOCK CODE ?PR?_LCDCMD?COUNTER 000A3DH 000A44H 000008H BYTE INBLOCK CODE ?PR?_SERIALTX?COUNTER 000A45H 000A99H 000055H BYTE UNIT CODE ?C?LIB_CODE 000A9AH 000AA5H 00000CH BYTE UNIT CODE ?C_C51STARTUP 000AA6H 000AFFH 00005AH BYTE UNIT CONST ?CO?COUNTER OVERLAY MAP OF MODULE: Counter (?C_STARTUP) FUNCTION/MODULE BIT_GROUP DATA_GROUP --> CALLED FUNCTION/MODULE START STOP START STOP ==================================================== ?C_C51STARTUP ----- ----- ----- ----- +--> MAIN/COUNTER MAIN/COUNTER ----- ----- 001AH 001BH +--> LCDINIT/COUNTER LX51 LINKER/LOCATER V4.47a 08/26/2010 16:15:24 PAGE 2 +--> ?CO?COUNTER +--> _LCDWRT/COUNTER +--> _DELAY/COUNTER +--> _SERIALTX/COUNTER +--> _LCDCMD/COUNTER +--> _CONVERT/COUNTER LCDINIT/COUNTER ----- ----- ----- ----- +--> _LCDCMD/COUNTER +--> _DELAY/COUNTER _LCDCMD/COUNTER ----- ----- ----- ----- +--> _DELAY/COUNTER _DELAY/COUNTER ----- ----- ----- ----- ?CO?COUNTER ----- ----- ----- ----- _LCDWRT/COUNTER ----- ----- ----- ----- +--> _DELAY/COUNTER _SERIALTX/COUNTER ----- ----- ----- ----- _CONVERT/COUNTER ----- ----- ----- ----- +--> _LCDCMD/COUNTER +--> _LCDWRT/COUNTER +--> _DELAY/COUNTER +--> _SERIALTX/COUNTER PUBLIC SYMBOLS OF MODULE: Counter (?C_STARTUP) VALUE CLASS TYPE PUBLIC SYMBOL NAME ================================================= 00000000H NUMBER --- ?C?CODESEG 01000A45H CODE --- ?C?UIDIV 00000000H NUMBER --- ?C?XDATASEG 01000800H CODE --- ?C_START 01000000H CODE NEAR LAB ?C_STARTUP 01000922H CODE --- _Convert 01000A03H CODE --- _Delay 01000A33H CODE --- _lcdcmd 01000A29H CODE --- _lcdwrt 01000A3DH CODE --- _SerialTx *SFR* 000000D0H.6 DATA BIT AC *SFR* 000000E0H DATA BYTE ACC *SFR* 000000F0H DATA BYTE B 00000008H DATA WORD Count *SFR* 000000D0H.7 DATA BIT CY 0000000AH DATA WORD d1 0000000CH DATA WORD d2 0000000EH DATA WORD d3 00000010H DATA WORD d4 *SFR* 00000083H DATA BYTE DPH *SFR* 00000082H DATA BYTE DPL *SFR* 000000A8H.7 DATA BIT EA *SFR* 000000B0H.2 DATA BIT en *SFR* 000000A8H.4 DATA BIT ES *SFR* 000000A8H.1 DATA BIT ET0 *SFR* 000000A8H.3 DATA BIT ET1 *SFR* 000000A8H DATA BIT EX0 *SFR* 000000A8H.2 DATA BIT EX1 *SFR* 000000D0H.5 DATA BIT F0 LX51 LINKER/LOCATER V4.47a 08/26/2010 16:15:24 PAGE 3 *SFR* 000000A8H DATA BYTE IE *SFR* 00000088H.1 DATA BIT IE0 *SFR* 00000088H.3 DATA BIT IE1 *SFR* 000000B0H.2 DATA BIT INT0 *SFR* 000000B0H.3 DATA BIT INT1 *SFR* 000000B8H DATA BYTE IP *SFR* 00000088H DATA BIT IT0 *SFR* 00000088H.2 DATA BIT IT1 010009C8H CODE --- LCDInit *SFR* 000000B0H.7 DATA BIT LED 01000800H CODE --- main *SFR* 000000D0H.2 DATA BIT OV *SFR* 000000D0H DATA BIT P *SFR* 00000080H DATA BYTE P0 *SFR* 00000090H DATA BYTE P1 *SFR* 000000A0H DATA BYTE P2 *SFR* 000000B0H DATA BYTE P3 *SFR* 00000087H DATA BYTE PCON *SFR* 000000A0H DATA BYTE PPAGE_SFR *SFR* 000000B8H.4 DATA BIT PS *SFR* 000000D0H DATA BYTE PSW *SFR* 000000B8H.1 DATA BIT PT0 *SFR* 000000B8H.3 DATA BIT PT1 *SFR* 000000B0H.5 DATA BIT Pulse *SFR* 000000B8H DATA BIT PX0 *SFR* 000000B8H.2 DATA BIT PX1 *SFR* 00000098H.2 DATA BIT RB8 *SFR* 000000B0H.7 DATA BIT RD *SFR* 00000098H.4 DATA BIT REN *SFR* 00000098H DATA BIT RI *SFR* 000000B0H.4 DATA BIT rs *SFR* 000000D0H.3 DATA BIT RS0 *SFR* 000000D0H.4 DATA BIT RS1 *SFR* 000000B0H.3 DATA BIT rw *SFR* 000000B0H DATA BIT RXD *SFR* 00000099H DATA BYTE SBUF *SFR* 00000098H DATA BYTE SCON *SFR* 00000098H.7 DATA BIT SM0 *SFR* 00000098H.6 DATA BIT SM1 *SFR* 00000098H.5 DATA BIT SM2 *SFR* 00000081H DATA BYTE SP *SFR* 000000B0H.4 DATA BIT T0 *SFR* 000000B0H.5 DATA BIT T1 *SFR* 00000098H.3 DATA BIT TB8 *SFR* 00000088H DATA BYTE TCON *SFR* 00000088H.5 DATA BIT TF0 *SFR* 00000088H.7 DATA BIT TF1 *SFR* 0000008CH DATA BYTE TH0 *SFR* 0000008DH DATA BYTE TH1 *SFR* 00000098H.1 DATA BIT TI *SFR* 0000008AH DATA BYTE TL0 *SFR* 0000008BH DATA BYTE TL1 *SFR* 00000089H DATA BYTE TMOD *SFR* 00000088H.4 DATA BIT TR0 *SFR* 00000088H.6 DATA BIT TR1 *SFR* 000000B0H.1 DATA BIT TXD *SFR* 000000B0H.6 DATA BIT WR 00000012H DATA WORD x1 00000014H DATA WORD x2 00000016H DATA WORD x3 00000018H DATA WORD x4 SYMBOL TABLE OF MODULE: Counter (?C_STARTUP) LX51 LINKER/LOCATER V4.47a 08/26/2010 16:15:24 PAGE 4 VALUE REP CLASS TYPE SYMBOL NAME ==================================================== --- MODULE --- --- ?C_STARTUP 01000000H PUBLIC CODE NEAR LAB ?C_STARTUP 000000E0H SFRSYM DATA BYTE ACC 000000F0H SFRSYM DATA BYTE B 00000083H SFRSYM DATA BYTE DPH 00000082H SFRSYM DATA BYTE DPL 000000A0H SFRSYM DATA BYTE PPAGE_SFR 00000081H SFRSYM DATA BYTE SP 00000000H SYMBOL NUMBER --- IBPSTACK 00000100H SYMBOL NUMBER --- IBPSTACKTOP 00000080H SYMBOL NUMBER --- IDATALEN 01000A9DH SYMBOL CODE NEAR LAB IDATALOOP 00000000H SYMBOL NUMBER --- PBPSTACK 00000100H SYMBOL NUMBER --- PBPSTACKTOP 00000000H SYMBOL NUMBER --- PDATALEN 00000000H SYMBOL NUMBER --- PDATASTART 00000000H SYMBOL NUMBER --- PPAGE 00000000H SYMBOL NUMBER --- PPAGEENABLE 01000A9AH SYMBOL CODE NEAR LAB STARTUP1 00000000H SYMBOL NUMBER --- XBPSTACK 00010000H SYMBOL NUMBER --- XBPSTACKTOP 00000000H SYMBOL NUMBER --- XDATALEN 00000000H SYMBOL NUMBER --- XDATASTART 01000000H BLOCK CODE NEAR LAB LVL=0 01000000H LINE CODE --- #126 --- BLOCKEND --- --- LVL=0 01000A9AH BLOCK CODE NEAR LAB LVL=0 01000A9AH LINE CODE --- #133 01000A9CH LINE CODE --- #134 01000A9DH LINE CODE --- #135 01000A9EH LINE CODE --- #136 01000AA0H LINE CODE --- #185 01000AA3H LINE CODE --- #196 --- BLOCKEND --- --- LVL=0 --- MODULE --- --- COUNTER 00000018H PUBLIC DATA WORD x4 00000016H PUBLIC DATA WORD x3 00000014H PUBLIC DATA WORD x2 00000012H PUBLIC DATA WORD x1 00000010H PUBLIC DATA WORD d4 0000000EH PUBLIC DATA WORD d3 0000000CH PUBLIC DATA WORD d2 0000000AH PUBLIC DATA WORD d1 00000008H PUBLIC DATA WORD Count 01000A03H PUBLIC CODE --- _Delay 01000A3DH PUBLIC CODE --- _SerialTx 01000A29H PUBLIC CODE --- _lcdwrt 01000A33H PUBLIC CODE --- _lcdcmd 010009C8H PUBLIC CODE --- LCDInit 01000922H PUBLIC CODE --- _Convert 01000800H PUBLIC CODE --- main 00000080H SFRSYM DATA BYTE P0 00000090H SFRSYM DATA BYTE P1 000000A0H SFRSYM DATA BYTE P2 000000B0H SFRSYM DATA BYTE P3 000000B0H.4 SFRSYM DATA BIT T0 000000D0H.6 SFRSYM DATA BIT AC 000000B0H.5 SFRSYM DATA BIT T1 000000A8H.7 SFRSYM DATA BIT EA LX51 LINKER/LOCATER V4.47a 08/26/2010 16:15:24 PAGE 5 000000B0H.5 SFRSYM DATA BIT Pulse 000000A8H SFRSYM DATA BYTE IE 000000B0H.7 SFRSYM DATA BIT RD 000000A8H.4 SFRSYM DATA BIT ES 000000B8H SFRSYM DATA BYTE IP 00000098H SFRSYM DATA BIT RI 000000B0H.2 SFRSYM DATA BIT INT0 000000D0H.7 SFRSYM DATA BIT CY 00000098H.1 SFRSYM DATA BIT TI 000000B0H.3 SFRSYM DATA BIT INT1 000000B8H.4 SFRSYM DATA BIT PS 00000081H SFRSYM DATA BYTE SP 000000D0H.2 SFRSYM DATA BIT OV 000000B0H.6 SFRSYM DATA BIT WR 00000099H SFRSYM DATA BYTE SBUF 00000087H SFRSYM DATA BYTE PCON 00000098H SFRSYM DATA BYTE SCON 00000089H SFRSYM DATA BYTE TMOD 00000088H SFRSYM DATA BYTE TCON 00000088H.1 SFRSYM DATA BIT IE0 00000088H.3 SFRSYM DATA BIT IE1 000000F0H SFRSYM DATA BYTE B 000000E0H SFRSYM DATA BYTE ACC 000000A8H.1 SFRSYM DATA BIT ET0 000000A8H.3 SFRSYM DATA BIT ET1 00000088H.5 SFRSYM DATA BIT TF0 00000088H.7 SFRSYM DATA BIT TF1 00000098H.2 SFRSYM DATA BIT RB8 0000008CH SFRSYM DATA BYTE TH0 000000A8H SFRSYM DATA BIT EX0 00000088H SFRSYM DATA BIT IT0 0000008DH SFRSYM DATA BYTE TH1 00000098H.3 SFRSYM DATA BIT TB8 000000A8H.2 SFRSYM DATA BIT EX1 00000088H.2 SFRSYM DATA BIT IT1 000000D0H SFRSYM DATA BIT P 00000098H.7 SFRSYM DATA BIT SM0 0000008AH SFRSYM DATA BYTE TL0 00000098H.6 SFRSYM DATA BIT SM1 0000008BH SFRSYM DATA BYTE TL1 00000098H.5 SFRSYM DATA BIT SM2 000000B0H.2 SFRSYM DATA BIT en 000000B8H.1 SFRSYM DATA BIT PT0 000000B0H.7 SFRSYM DATA BIT LED 000000B8H.3 SFRSYM DATA BIT PT1 000000D0H.3 SFRSYM DATA BIT RS0 00000088H.4 SFRSYM DATA BIT TR0 000000D0H.4 SFRSYM DATA BIT RS1 00000088H.6 SFRSYM DATA BIT TR1 000000B8H SFRSYM DATA BIT PX0 000000B8H.2 SFRSYM DATA BIT PX1 00000083H SFRSYM DATA BYTE DPH 00000082H SFRSYM DATA BYTE DPL 000000B0H.4 SFRSYM DATA BIT rs 00000098H.4 SFRSYM DATA BIT REN 000000B0H.3 SFRSYM DATA BIT rw 000000B0H SFRSYM DATA BIT RXD 000000B0H.1 SFRSYM DATA BIT TXD 000000D0H.5 SFRSYM DATA BIT F0 000000D0H SFRSYM DATA BYTE PSW 01000800H BLOCK CODE --- LVL=0 01000800H BLOCK CODE NEAR LAB LVL=1 0000001AH SYMBOL DATA BYTE z 0000001BH SYMBOL DATA BYTE Display LX51 LINKER/LOCATER V4.47a 08/26/2010 16:15:24 PAGE 6 01000AA6H SYMBOL CONST --- str1 01000AB8H SYMBOL CONST --- str2 01000ACAH SYMBOL CONST --- str3 01000ADCH SYMBOL CONST --- str4 01000AEEH SYMBOL CONST --- str5 --- BLOCKEND --- --- LVL=1 01000800H LINE CODE --- #20 01000800H LINE CODE --- #21 01000800H LINE CODE --- #28 01000803H LINE CODE --- #29 01000806H LINE CODE --- #30 01000809H LINE CODE --- #31 0100080CH LINE CODE --- #32 0100080FH LINE CODE --- #34 01000813H LINE CODE --- #37 01000816H LINE CODE --- #38 01000819H LINE CODE --- #39 0100081CH LINE CODE --- #40 0100081EH LINE CODE --- #42 01000820H LINE CODE --- #44 01000822H LINE CODE --- #46 01000825H LINE CODE --- #47 01000825H LINE CODE --- #49 01000828H LINE CODE --- #50 0100082BH LINE CODE --- #51 0100082DH LINE CODE --- #52 01000831H LINE CODE --- #53 01000833H LINE CODE --- #54 0100083CH LINE CODE --- #56 01000840H LINE CODE --- #57 01000844H LINE CODE --- #58 01000848H LINE CODE --- #60 0100084BH LINE CODE --- #61 0100084BH LINE CODE --- #63 0100084EH LINE CODE --- #64 01000851H LINE CODE --- #65 01000853H LINE CODE --- #66 01000857H LINE CODE --- #67 01000859H LINE CODE --- #68 01000862H LINE CODE --- #69 01000868H LINE CODE --- #71 0100086CH LINE CODE --- #72 01000870H LINE CODE --- #73 01000874H LINE CODE --- #74 01000876H LINE CODE --- #76 01000879H LINE CODE --- #77 01000879H LINE CODE --- #79 0100087EH LINE CODE --- #80 01000880H LINE CODE --- #81 01000882H LINE CODE --- #82 01000886H LINE CODE --- #83 01000888H LINE CODE --- #84 01000891H LINE CODE --- #86 01000895H LINE CODE --- #87 01000899H LINE CODE --- #88 0100089DH LINE CODE --- #90 010008A0H LINE CODE --- #91 010008A0H LINE CODE --- #93 010008A5H LINE CODE --- #94 010008A7H LINE CODE --- #95 010008A9H LINE CODE --- #96 010008ADH LINE CODE --- #97 010008AFH LINE CODE --- #98 010008B8H LINE CODE --- #99 010008BEH LINE CODE --- #101 LX51 LINKER/LOCATER V4.47a 08/26/2010 16:15:24 PAGE 7 010008C2H LINE CODE --- #102 010008C6H LINE CODE --- #103 010008CAH LINE CODE --- #104 010008CCH LINE CODE --- #106 010008D0H LINE CODE --- #108 010008D3H LINE CODE --- #109 010008D3H LINE CODE --- #111 010008D8H LINE CODE --- #112 010008DAH LINE CODE --- #113 010008DCH LINE CODE --- #114 010008E0H LINE CODE --- #115 010008E2H LINE CODE --- #116 010008EBH LINE CODE --- #117 010008F1H LINE CODE --- #119 010008F5H LINE CODE --- #120 010008F9H LINE CODE --- #122 010008F9H LINE CODE --- #123 010008F9H LINE CODE --- #124 010008FBH LINE CODE --- #125 01000901H LINE CODE --- #126 01000904H LINE CODE --- #127 01000904H LINE CODE --- #128 0100090CH LINE CODE --- #129 01000911H LINE CODE --- #130 0100091BH LINE CODE --- #131 01000920H LINE CODE --- #132 01000920H LINE CODE --- #133 --- BLOCKEND --- --- LVL=0 01000922H BLOCK CODE --- LVL=0 00000002H SYMBOL DATA WORD value 01000922H LINE CODE --- #136 01000926H LINE CODE --- #137 01000926H LINE CODE --- #138 01000930H LINE CODE --- #139 0100093EH LINE CODE --- #141 0100094CH LINE CODE --- #142 0100095AH LINE CODE --- #144 01000968H LINE CODE --- #145 01000976H LINE CODE --- #147 01000984H LINE CODE --- #149 01000987H LINE CODE --- #150 0100098AH LINE CODE --- #151 0100098DH LINE CODE --- #152 01000990H LINE CODE --- #154 01000994H LINE CODE --- #156 01000998H LINE CODE --- #157 0100099CH LINE CODE --- #158 010009A0H LINE CODE --- #159 010009A4H LINE CODE --- #160 010009A6H LINE CODE --- #162 010009AAH LINE CODE --- #163 010009AEH LINE CODE --- #164 010009B2H LINE CODE --- #165 010009B6H LINE CODE --- #166 010009B8H LINE CODE --- #168 010009BCH LINE CODE --- #169 010009C0H LINE CODE --- #171 010009C2H LINE CODE --- #172 --- BLOCKEND --- --- LVL=0 010009C8H BLOCK CODE --- LVL=0 010009C8H LINE CODE --- #175 010009C8H LINE CODE --- #176 010009C8H LINE CODE --- #177 LX51 LINKER/LOCATER V4.47a 08/26/2010 16:15:24 PAGE 8 010009CCH LINE CODE --- #178 010009D2H LINE CODE --- #179 010009D6H LINE CODE --- #180 010009DCH LINE CODE --- #181 010009E0H LINE CODE --- #182 010009E6H LINE CODE --- #183 010009EAH LINE CODE --- #184 010009F0H LINE CODE --- #185 010009F4H LINE CODE --- #186 010009FAH LINE CODE --- #188 --- BLOCKEND --- --- LVL=0 01000A33H BLOCK CODE --- LVL=0 00000007H SYMBOL DATA BYTE value 01000A33H LINE CODE --- #190 01000A33H LINE CODE --- #191 01000A33H LINE CODE --- #192 01000A35H LINE CODE --- #193 01000A37H LINE CODE --- #194 01000A37H LINE CODE --- #195 01000A37H LINE CODE --- #196 01000A3AH LINE CODE --- #197 01000A3CH LINE CODE --- #199 --- BLOCKEND --- --- LVL=0 01000A23H BLOCK CODE --- LVL=0 --- BLOCKEND --- --- LVL=0 01000A29H BLOCK CODE --- LVL=0 00000007H SYMBOL DATA BYTE value 01000A29H LINE CODE --- #201 01000A29H LINE CODE --- #202 01000A29H LINE CODE --- #203 01000A2BH LINE CODE --- #204 01000A2DH LINE CODE --- #205 01000A2DH LINE CODE --- #206 01000A2DH LINE CODE --- #207 01000A30H LINE CODE --- #208 01000A32H LINE CODE --- #210 --- BLOCKEND --- --- LVL=0 01000A3DH BLOCK CODE --- LVL=0 00000007H SYMBOL DATA BYTE value 01000A3DH LINE CODE --- #212 01000A3DH LINE CODE --- #213 01000A3DH LINE CODE --- #214 01000A3FH LINE CODE --- #215 01000A42H LINE CODE --- #216 01000A44H LINE CODE --- #217 --- BLOCKEND --- --- LVL=0 010009FBH BLOCK CODE --- LVL=0 --- BLOCKEND --- --- LVL=0 01000A03H BLOCK CODE --- LVL=0 00000006H SYMBOL DATA WORD x 00000004H SYMBOL DATA WORD i 00000002H SYMBOL DATA WORD j 01000A03H BLOCK CODE NEAR LAB LVL=1 00000004H SYMBOL DATA WORD i 00000002H SYMBOL DATA WORD j --- BLOCKEND --- --- LVL=1 01000A03H LINE CODE --- #219 01000A03H LINE CODE --- #220 01000A03H LINE CODE --- #222 LX51 LINKER/LOCATER V4.47a 08/26/2010 16:15:24 PAGE 9 01000A0DH LINE CODE --- #223 01000A22H LINE CODE --- #224 --- BLOCKEND --- --- LVL=0 --- MODULE --- --- ?C?UIDIV 01000A45H PUBLIC CODE --- ?C?UIDIV ****************************************************************************** * RESTRICTED VERSION WITH 0800H BYTE CODE SIZE LIMIT; USED: 02AEH BYTE (33%) * ****************************************************************************** Program Size: data=29.0 xdata=0 const=90 code=681 LX51 RUN COMPLETE. 0 WARNING(S), 0 ERROR(S)