The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: ecube on November 10, 2006, 10:27:06 PM

Title: Favorite thing in MASM
Post by: ecube on November 10, 2006, 10:27:06 PM
comment ~

code..

~

Great for someone like me who likes to write a lot of code then test, instead of testing part by part :)
Title: Re: Favorite thing in MASM
Post by: Vortex on November 11, 2006, 09:38:30 AM
Favorite thing in MASM? In my opinion, the powerfull macro engine.
Title: Re: Favorite thing in MASM
Post by: TNick on November 11, 2006, 04:12:52 PM
Simply the fact that it exists... :)

Nick
Title: Re: Favorite thing in MASM
Post by: Ehtyar on November 11, 2006, 08:17:46 PM
As much as i prefer assembly...i do miss /* */. Don't suppose i can do that in a macro can i?

Ehtyar.
Title: Re: Favorite thing in MASM
Post by: donkey on November 11, 2006, 08:23:42 PM
I've always liked the fact that they don't use animal testing.
Title: Re: Favorite thing in MASM
Post by: hutch-- on November 11, 2006, 10:43:27 PM
Ehtyar,

> As much as i prefer assembly...i do miss /* */. Don't suppose i can do that in a macro can i?

Even better.


comment @ ------------------------------------
        write what'cha wanna write
        ------------------------------------ @
Title: Re: Favorite thing in MASM
Post by: Ehtyar on November 11, 2006, 11:27:47 PM
I know, i always thought it was too ugly :( and the syntax highlighter in npp doesn't like it. Ah well...guess i care a little too much about the aesthetics of my code eh ;)
Title: Re: Favorite thing in MASM
Post by: Synfire on November 12, 2006, 12:14:00 AM
$_ TEXTEQU @CatStr( @CatStr(<COMM>, <ENT>), < $_> )
$_ This is commented out _$
$_
Since the COMMENT directive will only recognize the first
character, this is also a valid ending -> $


I use @CatStr so it doesn't accidentally comment out the definition. That might make things a little more comfortable for ya.
Title: Re: Favorite thing in MASM
Post by: Ehtyar on November 12, 2006, 01:07:23 AM
I'm not sure I understand what you're showing me... Sorry :(
Title: Re: Favorite thing in MASM
Post by: donkey on November 12, 2006, 01:16:25 AM
Quote from: Ehtyar on November 11, 2006, 08:17:46 PM
As much as i prefer assembly...i do miss /* */. Don't suppose i can do that in a macro can i?

Ehtyar.

We have them in GoAsm, as well as 0x3FCE0 for hex notation. It does make the code look nice and clean, I never did like the comment thingy either.

Donkey
Title: Re: Favorite thing in MASM
Post by: trodon on November 12, 2006, 02:04:50 AM
Quote from: TNick on November 11, 2006, 04:12:52 PM
Simply the fact that it exists... :)

Nick

I agree  :bg
Title: Re: Favorite thing in MASM
Post by: Jimg on November 12, 2006, 02:51:54 AM
Funny.  I always though /* */ was the worst thing I could imagine for comments.  To each his own.
Title: Re: Favorite thing in MASM
Post by: Ehtyar on November 12, 2006, 02:58:50 AM
I never understood the whole 0x hex thing...where the hell did that come from. The h makes much more sense to me. I also miss | for logical or, having "or" can be quite confusing for a n00b: inline opcodes, lol. Guess this is what i get for using a closed-source assembler.

Ehtyar.