Теперь сама проблема: компилирую программу с рассылки Калашникова
Код: Выделить всё
.386
.model flat,stdcall
option casemap:none
include \masm32\include\windows.inc
include \masm32\include\kernel32.inc
includelib \masm32\lib\kernel32.lib
include \masm32\include\user32.inc
includelib \masm32\lib\user32.lib
.data
MsgBoxCaption db "Я изучаю ассемблер!",0
MsgBoxText db "Здравствуй, мир!",0
.code
start:
invoke MessageBox, NULL, addr MsgBoxText, addr MsgBoxCaption, MB_OK
invoke ExitProcess, NULL
end start
Код: Выделить всё
/z2
"first.obj"
"first.exe"
NUL
LINK : warning LNK4044: inrecognized option "z2"; ignored
first.obj : warning LNK4033: converting object format from OMF to COFF
LINK : fatal error LNK1181: cannot open input file "first.exe"
Код: Выделить всё
ml first.asm /AT
Код: Выделить всё
Object Modules [.obj]:first.obj
Run File [first.exe]: "first.exe"
List File [nul.map]: NUL
Libraries [.lib]:
Defibations File [bul.def]
LINK : fatal error L1104: \masm611\lib\kernel32.lib : not valid library