News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

why masm?

Started by joddy, March 27, 2006, 04:26:07 PM

Previous topic - Next topic

joddy

Hy...since i´m new in asm, i´d like to say I´ve readen lots of topics before I write this one!

So, since I play aroud with c++, what difference would it make to write some stuff using masm in speed time?

Also, does anyone has some good stuff for me to read and learn it if it worth!

Tks a lot!

:thumbu
msn: joddy_schafer@hotmail.com

Tedd

For 'normal' apps, you probably won't see much speed increase, since much of the time is really spent calling api functions and this is the same from both languages.
If you need to do lots of processing, then you can gain great benefits, but this requires a certain amount of experience.

Most of us on here do asm just for the fun of it (maybe we were dropped on the head as children :bdg)


There are benefits interest wise. And understanding what actually goes on 'behind the scenes' can definitely make you a better programmer in general.
You have to find your own reason for learning, depending on what you would like to gain from it.


I'll leave the mass of propoganda pushing to other members :green2

{reference materials: intel pentium instruction set manuals, win32api docs (msdn),
+some tutorials to get you started (iczelion's tutorials are highly recommended)}
No snowflake in an avalanche feels responsible.

joddy

Ted, tks for the reply!

The reason I'm working on learnig asm is because since I was a child, never understood how people used to make computer games and I didn't using my basic! In Z80 processors, never got poke instructions and other stuff....now it's payback time!  :bdg

Also, I'm working now on microprocessor programming...so asm on the way...hope MASM3s is a good place to do it on PC. About the behind the scenes...yeap....me too....always too curious...one of the reasons I chosed C++ to learn earlier.

By the way, I'm from Brazil....so here....could be a good place to find something to do with it!

?more tips? in opengl does it bring some benefit?

tks a lot! :U

Tedd

Oi Brasiliero! :bg
Opengl and DirectX use hardware acceleration, so it doesn't matter which language you tell the graphics card to perform functions - the speed is still the same. It's just calling api functions again ::)
If you do the graphics transforms yourself, then you can possibly make it better in asm (than from C++), but the hardware will still win.
There is a nice simplicity about asm - I think this is a big reason why people (I) like it.
No snowflake in an avalanche feels responsible.

joddy

olá Tedd!  :dance:

tks for the tip!

so, MASM3s is realy Assembly laguage as I´ve read in the main page? If so, how should I start since I´m begining from zero?

Remember yourself when you choosed to learn it and try to see me just as lost as you might have been!

tks! :thumbu

Tedd

I started with Z80 asm, so the transition was not too difficult :P
How much is zero? Do you understand how the cpu works? Registers? Stack? Function calls? Memory.....
You can try reading about these basics, but don't feel that you must understand everything at once. Just learn small parts, play, and slowly learn a few more.
Art Of Assembler (http://webster.cs.ucr.edu/AoA/index.html) is apparently very good (I haven't read it.) Try the Win32 version :U
Come back again when you need help. Boa sorte! :green2
No snowflake in an avalanche feels responsible.

Ratch

joddy,

QuoteAlso, does anyone has some good stuff for me to read and learn it if it worth!

     Yes, I do.  Read the link below and see if you agree.  This was about the last posting by this member.  Ratch

http://www.masmforum.com/simple/index.php?topic=1991.0