off and on for the last few months I've been trying to figure out assmbly. but there was one small problem. I couldn't figure out how to assemble and run the program. I have programmed for about 3 years, and this IDE just doesn't seem to cooperate like anything I've used before. am I missing something, and is there a guide out thre somewhere?
thanks to any that can help.
I normally use a batch file something like this
#This will compile your asm project
c:\masm32\bin\ml /c /coff /Cp program.asm
#This will compile your resource file
c:\masm32\bin\rc /v rsrc.rc
c:\masm32\bin\cvtres /machine:ix86 rsrc.res
#This will link your program and resource file
c:\masm32\bin\link /SUBSYSTEM:WINDOWS program.obj rsrc.obj
#Or if you don't have a resource file
c:\masm32\bin\link /SUBSYSTEMLWINDOWS /LIBPATH:c:\masm32\lib program.obj
pause
del *.obj
If you take a look in the examples folder and icztutes folder in masm32 you will see that they have a makeit.bat file included with all of the tutorials.
HTH,
Jason
escudo825
Are you using the MASM32 package and the included QEditor?
If you are, its as simple as writing your source code, then after saving it, click on "Project" tab. If you are assembling a GUI app, select the "Assemble & Link" if you are not using any resource file, or "Build All" if you are.
If your program is a Console application, select one of the "Console" options as above.
You only need to write a batch file if you want to use special features of the assembler and linker.
Then, if your program got assembled without error, choose the "Run Program" option under the same tab, or double click the .exe from your desktop listing as you would for any other program.
Raymond
okay I'll try that and see if it helps, it's still alittle more then clicking a "compile and run" button.
Hello,
I you have problems with building an environnement,see
http://www.manoscoder.gr/mbbs/forums/thread-view.asp?tid=16&posts=4&start=1
ToutEnMasm
escudo825. i recommend you try Radasm.
check these out:
http://webster.cs.ucr.edu/Page_TechDocs/MASMDoc/ProgrammersGuide/
http://web.sau.edu/LillisKevinM/csci240/masmdocs/#MASM%20Reference%20Guide
http://www.ray.masmcode.com/tutorial/index.html
http://www.arl.wustl.edu/~lockwood/class/cs306/books/artofasm/toc.html
and this:
http://webster.cs.ucr.edu/Page_TechDocs/MASMDoc/index.html
i'm sure google has more to offer tough