D:\execises>ml 1.asm
Microsoft (R) Macro Assembler Version 6.14.8444
Copyright (C) Microsoft Corp 1981-1997. All rights reserved.
Assembling: 1.asm
Microsoft (R) Incremental Linker Version 5.12.8078
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
/z2
"1.obj"
"1.exe"
NUL
LINK : warning LNK4044: unrecognized option "z2"; ignored
1.obj : warning LNK4033: converting object format from OMF to COFF
LINK : fatal error LNK1181: cannot open input file "1.exe"
D:\execises>
这样的问题,不知道是什么原因
------解决方案--------------------------------------------------------
因为你写的是16位汇编,所以须用masm 5.0编译。如果用ml的话,加上/C开关,即:ml /c 1.asm; 链接的话用link16.exe去链接
------解决方案--------------------------------------------------------
masm 1.asm;