Follow the link
Download Masm
In this directory you would find programs (compiler MASM, linker LINK, CV etc ....).
1. Move this directory to a suitable drive
(In my case I have used C:\ masm>).
2.Once you have executed the step1 goto "START" command on the
toolbar of your desktop.
3.HERE you would find the command "RUN".
4. In this window type "command".
5. Now a DOS screen appears. Go to the directory where you have
placed MASM.
6."c:\"
To goto folder MASM I type...
"cd Masm"
Here 'cd' stands for change directory.
"c:\masm>"
7.TO compile file "1stprog.asm" we follow the following procedure. Type "masm 1stprog.asm".
8. This would compile the file and convert the file to object file,If no errors are present proceed.
9. Then type "link 1stprog.obj" to create an executable.
10. To run your program type simply "1stprog" and your done....
You should see the o/p of exe file 1stprog.exe.
No comments:
Post a Comment