Dross
November 14th, 2006, 06:51 AM
Hi all,
I'm new to assembly programming - bought myself a book on x86 assembler and it came with a copy of MASM, but I'd like to compile programs from the command path (the main reason being I have another nice editor I like to use).
I've installed MASM and can compile & link an .asm file to get an .exe file from the command prompt, so long as I save the .asm file and compile it from the \bin directory that I've got MASM installed in.
What I'd like to do is have a separate directory I can save .asm files in, and set the system variables to point to the \bin directory so I can compile from the other directory where my .asm files are saved (like in java - you just set the classpath variable to point to the folder that contains javac.exe and java.exe and you can compile & run from anywhere).
Does anybody know how I can do this? Is it just a matter of defining more system variables?
I'm new to assembly programming - bought myself a book on x86 assembler and it came with a copy of MASM, but I'd like to compile programs from the command path (the main reason being I have another nice editor I like to use).
I've installed MASM and can compile & link an .asm file to get an .exe file from the command prompt, so long as I save the .asm file and compile it from the \bin directory that I've got MASM installed in.
What I'd like to do is have a separate directory I can save .asm files in, and set the system variables to point to the \bin directory so I can compile from the other directory where my .asm files are saved (like in java - you just set the classpath variable to point to the folder that contains javac.exe and java.exe and you can compile & run from anywhere).
Does anybody know how I can do this? Is it just a matter of defining more system variables?