General Assembly Programming advice...

Status
Not open for further replies.
I am about to start a class in Assembly for x86 architecture. I have heard that you can write and compile assembly code in Visual Studio/C++. Is this true and will it work with the version I have, Visual Studio Pro 6.0, SP5...

I have also heard about a program called MASM, but I looked on Microsofts site and couldn't find anything about it. Anyone else heard of it and/or has an opinion on it. Thanks in advance.

Regards,
Faisal
 

Prototyped

Ars Legatus Legionis
11,126
Doesn't Microsoft offer a 32 bit version of MASM free for
download?
I know Borland does offer their 32-bit TASM assembler free for
download.
Since you're programming IA32 (good luck!) you'll find Intel's
three volumes of the IA32 software developer's manual invaluable.
PDFs are available for free download from Intel's web site.

Be warned: if you're learning on UNIX, AT&T-style notation for
assembly language is quite different from the Intel/MASM syntax.
e.g. something like
<span style="margin-left: 50px">
Code:
        mov     eax, [ebx+c0h]        ; This is a comment
</span>

may become

<span style="margin-left: 50px">
Code:
        movl    $0xc0(%ebx), %eax      # This is a comment
</span>

(I'm not entirely sure of the AT&T-style syntax.)

You can get the GNU assembler, or <tt>as</tt>, as part of the
MingW compiler suite:

http://mingw.sourceforge.net/

It understands the AT&T-style syntax, unlike most other Win32
assemblers, which understand the Intel/MASM-style syntax.

It's just a command-line assembler, with no IDE, so you'll have
to use a text editor, IDE, whatever separately.

[This message was edited by Prototyped on January 04, 2002 at 18:35.]
 

bash666

Ars Legatus Legionis
24,417
Originally posted by Prototyped:
Doesn't Microsoft offer a 32 bit version of MASM free for download?

I know Borland does offer their 32-bit TASM assembler free for download.

Since you're programming IA32 (good luck!) you'll find Intel's three volumes of the IA32 software developer's manual invaluable. PDFs are available for free download from Intel's web site.
Yes they do. Go get the visual studio preprocessor pack, it comes with masm.

-Kevin
 
Status
Not open for further replies.