链接错误:找到无效的链接地址信息
.386
code segment use16
assume cs:code, ds:code
_ExportFile:
xor eax,eax
push offset _ExportFile
code ends
end _ExportFile
这段测试代码编译成功,但是链接出错,不知道什么原因,请指教
E:\>ml a.asm
Microsoft (R) Macro Assembler Version 7.00.9466
Copyright (C) Microsoft Corporation. All rights reserved.
Assembling: a.asm
Microsoft (R) Incremental Linker Version 7.00.9466
Copyright (C) Microsoft Corporation. All rights reserved.
"a.obj"
"/OUT:a.exe"
a.obj : fatal error LNK1190: 找到无效的链接地址信息,键入 0x0001