The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: jamesb1979 on July 09, 2006, 11:09:42 AM

Title: Getting started for experienced programmers
Post by: jamesb1979 on July 09, 2006, 11:09:42 AM
I've been looking on Google and in directories for the past couple of days for a guide to programming with MASM for experienced programmers. So far I've only found tutorials that are too basic or are for DOS using the int 21h interrupt.

I've been programming in C for a decade and I'm familiar with all the basics like the x86 CPU architecture and basic instructions, registers, addressing, and have played with HLA, NASM, FASM, TASM, your-mother's-asm, etc. What I'm really after I suppose is a concise guide to the syntax of structures, macros, procedures, the high level control structures, declaring data, operators and so forth. I have been on the MSDN site and looked at the assembler sections there, but it's a bit too sparse. I'm familiar with the Win32 API.

Then it's on to learning more instructions and being able to write decent assembly language programs.  :toothy

Thanks for your advice.  :U
Title: Re: Getting started for experienced programmers
Post by: hutch-- on July 09, 2006, 02:13:26 PM
James,

If its MASM you are interested in, have a look at the MASM32 project, it is pointed at experienced programmers and should have enough info for you to get up and going so you can set up your own stuff in whatever way you like.

As usual you make sure you have the Intel manual set and some viable reference to the Windows API function set, the rest is practice.
Title: Re: Getting started for experienced programmers
Post by: jamesb1979 on July 09, 2006, 05:16:54 PM
Thanks Hutch. I've downloaded and installed MASM32, and the help docs in there along with the example programs are great. Looks like I've got what I was looking for.  :thumbu
Title: Re: Getting started for experienced programmers
Post by: GregL on July 09, 2006, 06:16:51 PM
James,

There is also the 'MASM 6.11 Programmer's Guide' and 'MASM 6.11 Reference' you can get here (http://cs.uns.edu.ar/~jechaiz/organizacion/TechDocs/index.html#Anchor-11481). The MASM Programmer's Guide has some good information that is hard to find elsewhere.

Title: Re: Getting started for experienced programmers
Post by: jamesb1979 on July 09, 2006, 06:57:05 PM
Hi Greg, thanks very much! :U

Certainly looks good. I need to get the Word viewer... I hope it can view Word 2.0 documents. Both Wordpad and Works have a fit trying to open them. :bg
Title: Re: Getting started for experienced programmers
Post by: GregL on July 09, 2006, 08:27:18 PM
James,

I have a PDF version of the MASM Programmer's Guide, but it is too large to attach here and I cannot find a link to it.

Title: Re: Getting started for experienced programmers
Post by: James Ladd on July 10, 2006, 09:24:10 AM
James,

Also, since your living in a brave GNU world you might like to try Gnu Assembler which is part of
the standard tool chain. It supports intel syntax.

This may be handy if you want to do cross platform assembler.

Rgs, James.