最后,找了找,在C51中,这个所谓的.map文件,应该是.m51文件
打开后的.m51文件如下
BL51 BANKED LINKER/LOCATER V6.22 05/15/2015 16:59:52 PAGE 1
BL51 BANKED LINKER/LOCATER V6.22, INVOKED BY:
E:\STUDY PROGRAM FILES\KEIL MDK\C51\BIN\BL51.EXE .\Objects\STARTUP.obj, .\Objects\main.obj, .\Objects\oled.obj TO .\Obje
>> cts\demo PRINT (.\Listings\demo.m51) RAMSIZE (256)
MEMORY MODEL: SMALL
INPUT MODULES INCLUDED:
.\Objects\STARTUP.obj (?C_STARTUP)
.\Objects\main.obj (MAIN)
.\Objects\oled.obj (OLED)
LINK MAP OF MODULE: .\Objects\demo (?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"
IDATA 0008H 0001H UNIT ?STACK
* * * * * * * C O D E M E M O R Y * * * * * * *
CODE 0000H 0003H ABSOLUTE
CODE 0003H 000CH UNIT ?C_C51STARTUP
CODE 000FH 0002H UNIT ?PR?MAIN?MAIN
OVERLAY MAP OF MODULE: .\Objects\demo (?C_STARTUP)
SEGMENT
+--> CALLED SEGMENT
---------------------
?C_C51STARTUP
+--> ?PR?MAIN?MAIN
SYMBOL TABLE OF MODULE: .\Objects\demo (?C_STARTUP)
VALUE TYPE NAME
----------------------------------
------- MODULE ?C_STARTUP
C:0003H SEGMENT ?C_C51STARTUP
I:0008H 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
BL51 BANKED LINKER/LOCATER V6.22 05/15/2015 16:59:52 PAGE 2
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 MAIN
C:0000H SYMBOL _ICE_DUMMY_
D:0090H PUBLIC P1
D:00A0H PUBLIC P2
D:00B0H PUBLIC P3
D:00A8H PUBLIC IE
D:00B8H PUBLIC IP
C:000FH PUBLIC main
D:0098H PUBLIC SCON
D:0088H PUBLIC TCON
D:00C8H PUBLIC T2CON
D:00D0H PUBLIC PSW
------- PROC MAIN
C:000FH LINE# 19
C:000FH LINE# 20
C:000FH LINE# 21
------- ENDPROC MAIN
------- ENDMOD MAIN
------- MODULE OLED
C:0000H SYMBOL _ICE_DUMMY_
D:0090H PUBLIC P1
D:00A0H PUBLIC P2
D:00B0H PUBLIC P3
D:00A8H PUBLIC IE
D:00B8H PUBLIC IP
D:0098H PUBLIC SCON
D:0088H PUBLIC TCON
D:00C8H PUBLIC T2CON
D:00D0H PUBLIC PSW
------- ENDMOD OLED
Program Size: data=9.0 xdata=0 code=17
LINK/LOCATE RUN COMPLETE. 0 WARNING(S), 0 ERROR(S)
|