使用MASM5.0对同一个ASM源文件编译,选择生成LST文件,结果如下:
D:\>masm 7-6.asm
Microsoft (R) Macro Assembler Version 5.00
Copyright (C) Microsoft Corp 1981-1985, 1987. All rights reserved.
Object filename [7-6.OBJ]: 7-6
Source listing [NUL.LST]: 7-6
Cross-reference [NUL.CRF]: 7-6
49102 + 434834 Bytes symbol space free
0 Warning Errors
0 Severe Errors
选择不生成LST文件,结果是:
D:\>masm 7-6.asm
Microsoft (R) Macro Assembler Version 5.00
Copyright (C) Microsoft Corp 1981-1985, 1987. All rights reserved.
Object filename [7-6.OBJ]:
Source listing [NUL.LST]:
Cross-reference [NUL.CRF]:
50168 + 450152 Bytes symbol space free
0 Warning Errors
0 Severe Errors
主要区别是:
生成LST:49102 + 434834 Bytes symbol space free
不生成LST:50168 + 450152 Bytes symbol space free
但是我通过LINK链接生成的.EXE文件大小却是相同的。请问这里面有什么不同吗? |