The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: zemtex on February 21, 2011, 12:53:43 AM

Title: Macro tutorial
Post by: zemtex on February 21, 2011, 12:53:43 AM
Howdy.

Is there a good masm macro tutorial available somewhere? It do not have to be very extensive, covering the most important aspects is good enough for me? In fact, the shorter it is the better.
Title: Re: Macro tutorial
Post by: GregL on February 21, 2011, 01:07:55 AM
The best thing I know of is "The MASM Programmer's Guide" chapter 9 - Macros.

Here is a link (http://www.masm32.com/board/index.php?topic=5433.0) to a CHM version. You can find it in PDF and Word format too.

[edit] This is interesting, an executable (http://chitay.org/masm/) version.
Title: Re: Macro tutorial
Post by: zemtex on February 21, 2011, 01:27:15 AM
I had a similar dos executable for tasm in the 90's, this is a good, very good thing to have.  :U

Also very clean.
Title: Re: Macro tutorial
Post by: GregL on February 21, 2011, 01:32:45 AM
zemtex,

Yeah, the executable version works pretty well.

If you haven't already, you could also take a look at the MASM32 macros, they're in the /macros folder.
Title: Re: Macro tutorial
Post by: Magnum on February 21, 2011, 01:41:31 AM
Thanks GregL for the executable version.
Title: Re: Macro tutorial
Post by: jj2007 on February 21, 2011, 07:51:31 AM
Before I launch the executable: Does anybody know who is behind chitay.org??

QuoteWelcome!

Dear SO, our site contains reading material difference to you.
All online, no need to download and install!
All for you, you just read FES!

Specifications HTML - A complete guide.
A Complete Guide to C - Herbert Shildt.
Masm Programmer's Guide (offline)
Great Encyclopedia of massage with illustrations.
Wiki - Gromov, VI, Vasilev, GA
Houseplants - guide to choosing and caring.
Tricks with illustrations - Mark Wilson.
Title: Re: Macro tutorial
Post by: GregL on February 22, 2011, 11:21:57 PM
Quote from: jj2007Before I launch the executable: Does anybody know who is behind chitay.org??

I don't.  I understand your reluctance to run it.  I scanned it with Microsoft Security Essentials before I ran it.  The .exe file was created with Help & Manual (http://www.ec-software.com/products_hm_overview.html).
Title: Re: Macro tutorial
Post by: zemtex on February 23, 2011, 12:51:58 AM
This is a good thing to have http://www.sandboxie.com/  Although it is not a substitution for internet wit  :bdg
Title: Re: Macro tutorial
Post by: dedndave on February 23, 2011, 01:13:59 AM
back to the original subject - lol
the file \masm32\macros\macros.asm has a few macros in it   :P
it is simple to study because you can easily run test code - and they are documented in \masm32\help
Title: Re: Macro tutorial
Post by: zemtex on February 23, 2011, 02:22:56 AM
I appreciate the responses. I have found my sources now.  :U