ml.exe /c /coff /nologo /Fo"first.obj" "D:\代码遗产\汇编ASM\first.ASM"
link.exe /SUBSYSTEM:WINDOWS /nologo /OUT:"first.exe" "first.obj"
LINK : error LNK2001: unresolved external symbol _WinMainCRTStartup
first.exe : fatal error LNK1120: 1 unresolved externals
程序代码:assume cs:codesg
codesg segment
mov ax,0123H
mov bx,0456h
add ax,bx
add ax,ax
mov ax,4c00h
int 21h
codesg ends
end
怎么回事? |