News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

MASM bugs

Started by jj2007, August 17, 2013, 04:15:44 AM

Previous topic - Next topic

jj2007

Five years ago we had a thread named List of known MASM bugs, with somewhat unsatisfactory results. Now I found (in the context of a Soap Box thread ::)) this Masm bugs fixed in JWasm table. A must read :t

P.S.: "-" in the Fixed Masm Version column means "has never been fixed".

Gunther

Jochen,

thank for this reminiscence. To read this list is very instructive.  :t

Gunther
You have to know the facts before you can distort them.

jj2007

This chokes with error A2006: undefined symbol : @@ in Masm 6.14 and 6.15 but only if either /Zd or /Zi are used in the commandline:

include \masm32\include\masm32rt.inc

.code
start:
      print "Testing the Zi option:"
      mov ebx, -3
@@:   mov ecx, 123
      test ecx, ecx
      je @F
      mov eax, reparg("Hello")
      inc ebx
      jne @B
@@:   inkey "bye"
      exit
end start


MASM 8+ and JWasm are OK.

dedndave

did you try
@@:
      inkey "bye"
      exit


i know there have been problems expanding macros on the same line as a label

jj2007

Same behaviour, Dave.

The problems with expansion concern only macros which return something, which is not the case for inkey.

hutch--

 :biggrin:

Who said MASM has bugs, those of greater tolerance see it as a set of characteristics that you get used to.  :P

Magnum

Quote from: hutch-- on November 11, 2013, 12:39:41 PM
:biggrin:

Who said MASM has bugs, those of greater tolerance see it as a set of characteristics that you get used to.  :P

Writing an assembler is probably not easy.

I feel sorry for perfectionists.

Andy
Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org

dedndave

we can add the MASM32 favicon and some nifty code on the back, and i think we have our t-shirt...


hutch--

 :biggrin:

Yes, this is definitely the right idea.  :P

Magnum

Cool, I will buy one when they are ready.

Andy
Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org

Gunther

Dave,

nice idea, but unfortunately not new.  :lol:

Gunther
You have to know the facts before you can distort them.

dedndave

well - not fond of the color selection or font - but the message is good   :biggrin:

some kind of graphic would be decent
once you have the silkscreen(s) made, the cost is the same for the same color quantity



i like the way he is dragging a 3/4" wrench - lol

Magnum

I don't understand the "low rez mesh" text ?

Are you referring to the shirt color - as in white is a bee-otch to keep clean ?

Looks kinda like a wood roach.

Andy
Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org

dedndave

it's a low-res mesh image
i didn't make the cockroach - i googled and found one already made, and it had the text

InfiniteLoop

Found a bug in VS2019 using Clang:

vpbroadcastd ymm0, eax

No error but it crashes.