• Advertisement

Archived

This topic is now archived and is closed to further replies.

MASM32 WTF IS THIS.......

This topic is 5305 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello people it happen so that i''ve downloaded the Microsoft''s ASM and when i opened a sample to see how it looks like i was stunned.This doesn''t look like an assembler....it looked like my own C++ code,with prototypes and every and functions and pointers and EVERYTHING.......what kind of assembler is this.Is there any point in using it?!Does it speed stuff up??!?!?! "Tonight we strike,there is thunder in the sky,together we''ll fight,some of us will die,but they''ll always remember that we''ve made a stand and many will die by hand!" - ManOwaR

Share this post


Link to post
Share on other sites
Advertisement
No, it''s Microsofts idiotic way to make assembly language "easier". I recommend you download a decent assembler like NASM. BTW, I''m not some Microsoft hater, I''ve tried many assemblers and so far, NASM is the best. Anyway, good luck with the ASM!

Share this post


Link to post
Share on other sites
Thanks pal i just knew it''s one of the MANY Microsoft bullshits.And if the .NET is not enought - CHEESH.Anyway here i come NASM!!!

"Tonight we strike,there is thunder in the sky,together we''ll fight,some of us will die,but they''ll always remember that we''ve made a stand and many will die by hand!" - ManOwaR

Share this post


Link to post
Share on other sites
Um.. you don''t have to code with macros..

MASM supports coding with push and call as it does with Invoke.

There is nothing wrong with coding with macros or extentions like Invoke. It doesn''t hurt anything. It just makes it easier to read.

Why must everyone make things harder on themselves for no reason or gain?

In actuality, NASM makes bigger exes in Windows than MASM does. Why would you want to do that?

Share this post


Link to post
Share on other sites
Why don''t u hide yourself somewhere?

"Tonight we strike,there is thunder in the sky,together we''ll fight,some of us will die,but they''ll always remember that we''ve made a stand and many will die by hand!" - ManOwaR

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Why don''t go read the lyrics and quote ManOwaR correctly instead of complain all the time?

Share this post


Link to post
Share on other sites
The assembler I was using back on the C64 was a macro assembler... there''s nothing Microsoft specific or bad about macros. They save you from doing boring work n'' stuff. Or would you rather type in the raw binary by hand and do away with the assembler altogether? . Deliberately not using features of your tools doesn''t make you any more hardcore...

Actually I found MASM didn''t have *enough* in the way of decent macro support, or at least equivilents of the cool features that ASM-One had on the Amiga.


Something else you may be seeing is "intrinsics" which are similar to macros except the compiler or assembler will also resolve the register usage for you rather than simply doing a string replace of the %1 style parameters (i.e. it finds the most suitable unused register).

Share this post


Link to post
Share on other sites
''No, it''s Microsofts idiotic way to make assembly language "easier".''

AFAIK, other than the MASM prefix and syntax style, MASM32 has nothing to do with Microsoft. MASM32 is a project which is still being maintained and regularly updated. MASM on the other hand is a ''dirty little secret'' that sneaks out of Redmond hidden away in the Microsoft DDK. They are two different beasts.

''Thanks pal i just knew it''s one of the MANY Microsoft bullshits.''

Really? Too bad it isn''t the case at all.

''Anyway here i come NASM!!!''

So, to get this straight, due to the fact that ''This doesn''t look like an assembler....it looked like my own C++ code,with prototypes and every and functions and pointers and EVERYTHING'', which would seem to indicate that you could probably be productive with it fairly quickly and incorporate the ''raw'' assembly as you felt comfortable to, your choice is ''here i come NASM''. Not that there''s anything wrong with NASM, but it seems like you''re needlessly taking the harder path just because you don''t like Microsoft (or any application which makes coding easier on a developer).

''what kind of assembler is this.''

A very flexible and reliable assembler that allows you program using the tried and true procedural style or a more object oriented approach.

''Does it speed stuff up??!?!?!''

No, good coding does that. A good VB/Delphi/C++/PHP/etc programmer can write code that will be magnitudes faster than code produced by a asm programmer with average skill.

Maybe you should listen to Maega instead of blowing him off so quickly.

Share this post


Link to post
Share on other sites
Well, it doesn''t do much good to confuse the Microsoft MASM and the public domain MASM32 project. As has been pointed out, they are two entirely different things.

I have been writing assembler for more years than I care to mention and, if a tool comes along that makes what I write easier to understand and faster to code, then I''d be silly to ignore it.

The purist might argue we should write every single line, dot and comma to be a true assembler programmer, but I will merely point out that, if using INVOKE means I don''t have to write half a dozen standard instructions, then, that''s what I''ll use.

Nothing is forcing you to use the new features, all the old stuff is still there if you want to use it.

"Is there any point using it?"

Cannot speak for you of course, but for me, yes.






Stevie

Don''t follow me, I''m lost.

Share this post


Link to post
Share on other sites
They aren''t as different as you make it out to be


MASM32 is just a package with the headers of the platform SDK already converted over to ASM syntax. It has a few extra tools and libraries here and there.

However, the core of the package is still the microsoft assembler and linker.

Share this post


Link to post
Share on other sites
Look everybody,no harm but i''ve been working with the M$ products since i know myself,know the platform SDK on my 53 fingers and recently i begann to understand that some other cool things like Solaris,UNIX etc. exist.I have nothing agains the macros but i have some stuff agains microsoft''s products lately.MFC was a complete junk,now .NET and finaly i find a ASM which doesn''t look much like ASM but like some weird of port of C.I''ve checked the NASM before 3 hours and i''m pretty much that i''ll first learn the asm basics since the NASM looks on very high level for me in the moment.I''ll use the TurboASM for learning purposes but not that MASM cause...well...uhhh...IT SUX

"Tonight we strike,there is thunder in the sky,together we''ll fight,some of us will die,but they''ll always remember that we''ve made a stand and many will die by hand!" - ManOwaR

Share this post


Link to post
Share on other sites
quote:
Why don't u hide yourself somewhere?

When faced with logical arguments this is a good response. Kudos.

If you are writing for stuff like Solaris wouldn't you want C anyway? Wouldn't the instruction set be different?

Besides it sounds like MASM would work ok, you don't have to use the macros.

[edited by - antareus on August 18, 2003 4:56:52 PM]

Share this post


Link to post
Share on other sites
quote:
Original post by Mihail121
omfg teh M$ and teh Micro$oft are bad!!1~` I don''t want to work f45t3r with 1nv0ke M$ Micro$soft lmao M$ (linux rockz)

M$ lool I''am smart can yuo tell??

"†ðñïgh† wê §†rïkê,†hêrê ï§ †hµñÐêr ïñ †hê §k¥,†ðgê†hêr wê''ll £ïgh†,§ðmê 𣠵§ wïll Ðïê,ßµ† †hê¥''ll ålw奧 rêmêmßêr †hå† wê''vê måÐê å §†åñÐ åñÐ måñ¥ wïll Ðïê ߥ håñÐ!" - ManOwaR


Yep...

James Simmons
MindEngine Development
http://medev.sourceforge.net

Share this post


Link to post
Share on other sites
Wow, this has gotten stupid. Anyway, I don''t code with macros in ASM, nor do I recommend it because it clutters your code. BTW, I don''t really care about anyone else''s opinion so flame all you want that I don''t like MASM or the silly macro syntax, quite frankly, I don''t give a damn.

Share this post


Link to post
Share on other sites
quote:
Original post by neurokaotix
quote:
Original post by Mihail121
omfg teh M$ and teh Micro$oft are bad!!1~` I don''t want to work f45t3r with 1nv0ke M$ Micro$soft lmao M$ (linux rockz)

M$ lool I''am smart can yuo tell??

"†ðñïgh† wê §†rïkê,†hêrê ï§ †hµñÐêr ïñ †hê §k¥,†ðgê†hêr wê''ll £ïgh†,§ðmê 𣠵§ wïll Ðïê,ßµ† †hê¥''ll ålw奧 rêmêmßêr †hå† wê''vê måÐê å §†åñÐ åñÐ måñ¥ wïll Ðïê ߥ håñÐ!" - ManOwaR


Yep...

James Simmons
MindEngine Development
http://medev.sourceforge.net


Hmmm...i got it!Something''s wrong with that GD''s quote system.Yeah that shoud be it!

"Tonight we strike,there is thunder in the sky,together we''ll fight,some of us will die,but they''ll always remember that we''ve made a stand and many will die by hand!" - ManOwaR

Share this post


Link to post
Share on other sites
You can code in good old push-call syntax if you want to. MASM32 supports high-level syntax assembly (simple control structures, macros, INVOKE, etc.) AND the older low-level mnemonic only syntax.

Share this post


Link to post
Share on other sites
After long thinking i decided to give it a go with the MASM.Thanks to all the people that actually helped me with ideas and thank to the flamers for supporting the fire in this heat.Anyway,10x....

P.S.
Come here MASM it won''t hurt....much!

"Tonight we strike,there is thunder in the sky,together we''ll fight,some of us will die,but they''ll always remember that we''ve made a stand and many will die by hand!" - ManOwaR

Share this post


Link to post
Share on other sites

  • Advertisement