News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Assembler beginner

Started by $nooc, January 31, 2008, 03:19:20 PM

Previous topic - Next topic

jj2007

Quote from: $nooc on January 31, 2008, 10:20:35 PM
well.. it doesn't work..
...
i downloaded another masm32 setup, where i found the include files..
the "compiler" says:

Quote
Error   1   fatal error A1000: cannot open file : DirectX   MASM

when i try to execute your code..

Be a bit more precise, please. You installed what? Masm32 V9.0 from http://masm32.com/ ? If yes, it will work. Try to understand the build.bat file in the C:\masm32\icztutes\tute02 folder. Or use the attached AsmBuild.exe (extract to C:\ with "use folder names")

[attachment deleted by admin]

$nooc

no.. i downloaded MASM v8.0 from microsoft

http://www.microsoft.com/downloads/details.aspx?FamilyID=7a1c9da0-0510-44a2-b042-7ef370530c64&displaylang=en

once i downloaded it from masm32.com, but it doesnt work..

somehow the bldlibs.bat doesnt work!


Bora

http://drpaulcarter.com/pcasm/  It is not for masm but i think it would be better if you study this for a few days , and then continue on masm32 tutorials.  This tutorial will give you the basic of asm , you will learn how the mov,add,mul,pop,push etc.. works and later you can go to masm32 world and learn API's also.

ps : In fact , when i started learning asm , i couldnt find any good tutorial or book on intel syntax. Then i bought a very good book on at&t syntax ( wrox book , can be found on amazon.com ) and it gave me lots of knowledge about asm. Also the book gives you info about MMX ,SSE ,SSE2 etc. I knew a few about Intel syntax and i read just at&t syntax and wrote intel version of it.There are not very big differences between the syntax.

jj2007

Quote from: $nooc on February 01, 2008, 09:10:05 AM
no.. i downloaded MASM v8.0 from microsoft

http://www.microsoft.com/downloads/details.aspx?FamilyID=7a1c9da0-0510-44a2-b042-7ef370530c64&displaylang=en
That won't help you much, I am afraid.

Quote
somehow the bldlibs.bat doesnt work!
OK, now it starts making sense. Provide detail! Error messages in particular. You may know that in a DOS window, you can copy & paste from the SysMenu (the one in the upper left corner of the window), "Edit". Nobody will help you here unless you make a serious effort in describing exactly your problem.

Rainstorm

hi, am learning too

http://www.madwizard.org/programming/tutorials/
there's a pretty basic tutorial for dload on that page.

$nooc

#20
hi!

sorry that i didn't write for so long! but i became ill, and i was lying all the time in my bed, watching tv ^^

back to my problem:

i downloaded now masm32 v9.0 from this site: http://www.codingcrew.de/masm32/
i got the link from http://www.masm32.com

i'll describe everything i do step by step...

i store the file "m32v9r.zip" on my desktop.
unpack it to the folder "m32v9r"

now i got the install.exe ..
i also unpack the install.exe to "install" folder with winrar..

i rename the install folder to "masm32" and move it to C:\ (that's requested, tell me if i'm wrong)

and now there are two things i have to do, to make masm32 runable...

execute bldlibs.bat ("include" folder)
execute make.bat ("m32lib" folder)

but somewhot the bldlibs.bat doesn't work..
the just in time debugger appears...

i don't really know whats the problem.. thats why i tried it with VC++ and MASM32 v8 .. but also that doesn't work ^^

ps: there is no error message that describes the problem..

it seems like the inc2l.exe has a problem...




shuttlebug

Snooc,
    Be sure not to get MASM32 V9 confused with ml.exe V8. MASM32 is the integrated development            environment that you use to type in your source code. Then when you compile your source code MASM32 uses the ml.exe program to change your source code into a machine language program. If you plan to use visual c++ as your debugger you must compile your programs with debugging information in the file.

$nooc

i tried it with masm32 v8 für visual c++

and after that i tried masm32 v9

my upper post shows the problem with masm32 v9 --> it doesn't create my library files.

my question: how hard can it be to set up my system for assembler? i f*cking don't understand why nothing works here on my computer..

jj2007

For those who don't speak German: He got an "untreated exception", vulgo GPF, in inc2l.exe.

Vortex

Quotenow i got the install.exe ..
i also unpack the install.exe to "install" folder with winrar..
$nooc,

To install the Masm32 package, you don't need to unpack install.exe. Just run it and it will install all the tools, libraries etc for you.

$nooc

no, that doesn't work!

i asked in the board from http://www.codingcrew.de/ and the people there told me that i must NOT execute the install.exe.. i have to unpack this file and then execute bldlibs.bat and the make.bat

this is the file i downloaded: http://www.codingcrew.de/masm32/download.php

@ jj2007:

du sprichst deutsch? :)

hutch--

$nooc,

Download the version 10 beta from the masm32 sub forum. run the install and it should work. The problem is because later versions of Windows had DEP anabled which messed up parts of version 9.0. version 10 solved the problem of the PE changes in later Windows versions.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

$nooc

i did it!

and it works :D

now i could need a little briefing in how to use the assembler and maybe a tutorial in "understanding assemblers syntax"
has anyone a good link for me?

MrBogus

Hi to all, I am also learning assembly language (x86 system) and just been started last January seriously. I hope this forum could help me and so, I can also contribute even just a little thing. I just have noticed people are so kind here.  :cheekygreen: