Code
------ 已启动生成: 项目: zlib, 配置: DLL ASM Debug Win32 ------
Assembling
Assembling: d:\zlib123\contrib\masmx86\inffas32.asm
d:\zlib123\contrib\masmx86\inffas32.asm(647) : error A2070: invalid instruction operands
d:\zlib123\contrib\masmx86\inffas32.asm(649) : error A2070: invalid instruction operands
d:\zlib123\contrib\masmx86\inffas32.asm(663) : error A2070: invalid instruction operands
d:\zlib123\contrib\masmx86\inffas32.asm(720) : error A2070: invalid instruction operands
Project : error PRJ0019: 工具从"Assembling"
生成日志保存在“file://d:\zlib123\projects\visualc6\Win32_DLL_ASM_Debug\BuildLog.htm”
zlib - 5 个错误,0 个警告
========== 生成: 0 已成功, 1 已失败, 0 最新, 0 已跳过 ==========
用vs2005编译zlib123的时候出现以上错误。修改:
movd mm4,[esp+0]==> movd mm4,dword ptr [esp+0]
把几个错误行都按类似方法修改就可以了,加入 dowrd ptr