So I did the whole tutorial from madwizard.org. ok
I tried to compile the first.asm code, and I get the following error:
'ml' is not recognized as an internal or external command,
operable program or batch file.
'link' is not recognized as an internal or external command,
operable program or batch file.
do i need to download a linker? and do i need to download whatever ml[.exe?] is?
i have first.asm and make.bat in the C:\masm32\ directory.
if i do need these files (doesnt masm32 come with a link? hmm.) where can i find them (tried google..)
also; heres my make.bat file, maybe this helps:
@echo off
ml /c /coff first.asm
link /subsystem:windows first.obj
pause>nul
--------------
Thanks alot, I've done all this reading, now i just want to click assemble
thanks in advance.
- edward
I tried to compile the first.asm code, and I get the following error:
'ml' is not recognized as an internal or external command,
operable program or batch file.
'link' is not recognized as an internal or external command,
operable program or batch file.
do i need to download a linker? and do i need to download whatever ml[.exe?] is?
i have first.asm and make.bat in the C:\masm32\ directory.
if i do need these files (doesnt masm32 come with a link? hmm.) where can i find them (tried google..)
also; heres my make.bat file, maybe this helps:
@echo off
ml /c /coff first.asm
link /subsystem:windows first.obj
pause>nul
--------------
Thanks alot, I've done all this reading, now i just want to click assemble
thanks in advance.
- edward
The easiest fix is to add to the beginning of your .BAT file the following line:
PATH=c:\masm32\bin;%PATH%
PATH=c:\masm32\bin;%PATH%
thanks alot :P
The easiest fix is to add to the beginning of your .BAT file the following line:
PATH=c:\masm32\bin;%PATH%
better to execute this command once from the console.
putting it in batch script will make your path variable grow on every recompile.
And best would be to add it to your environment - autoexec.bat for win9x, the environment variable editor on NT :)