Jump to content
  • Advertisement
Sign in to follow this  
PumpkinPieman

Starting Assembly Programming

This topic is 4320 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

Well, a class of mine is going to be starting on some assembly programming and I want to get a good start on it. What type of resources do you guys suggest for this? As you can see the ASM book section is a little skimpy so a few names of some good books would be appreciated. Also what compilers would be good for a little Win32 ASM? Thanks a bunch.

Share this post


Link to post
Share on other sites
Advertisement
I've used "Computer Organization and Design" too. I would really recommend that you don't start with i386 assembly. It's an absolute mess, including every feature that Intel and AMD thought they might want to tack on. Start with the old 32-bit MIPS architecture. You can use SPIM as an emulator.

Once you understand how a simple architecture works, you'll have a much easier time wrapping your head around i386. At least I did.

Share this post


Link to post
Share on other sites
Thanks for all your replies and suggestions. A friend of mine who I asked before I posted this suggested MASM, and I've been playing with it. There is only one thing that I can't understand with it. I've been getting a few errors when following some GameDev tutorials. It seems MASM doesn't automatically setup it's installed libraries as default libraries, so if I have the program I'm working on anywhere but the main directory it won't find the library.

I'll take a look at "The Art of Assembly" after I figure out how to compile and link this simple program out. Thanks for those online resources. I may just buy the book anyway because I need to get away from the machine, otherwise my gaming temptress may swade my true intentions.

[Edited by - PumpkinPieman on September 14, 2006 8:59:38 PM]

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Quote:
Original post by PumpkinPieman
Thanks for all your replies and suggestions. A friend of mine who I asked before I posted this suggested MASM, and I've been playing with it. There is only one thing that I can't understand with it. I've been getting a few errors when following some GameDev tutorials. It seems MASM doesn't automatically setup it's installed libraries as default libraries, so if I have the program I'm working on anywhere but the main directory it won't find the library.

I'll take a look at "The Art of Assembly" after I figure out how to compile and link this simple program out. Thanks for those online resources. I may just buy the book anyway because I need to get away from the machine, otherwise my gaming temptress may swade my true intentions.


IF you want to use MASM, get the MASM32 package.
Also, for assembly programming in general, you might
want to check out the relevant asm-specific forums
http://www.asmcommunity.net/
http://www.masmforum.com

HTH

Share this post


Link to post
Share on other sites
I absolutely hated SPIM when I was required to learn it in uni classes many years ago. But then it's probably because I already knew i386 beforehand. IMO, it's probably better to teach yourself (or your students) to use actual tools.

Share this post


Link to post
Share on other sites
For Win32Asm you should definitely have a look at Iczelions tutorials: http://win32assembly.online.fr/tutorials.html
And as an alternative to the MASM32 package (which is pretty good) you might have a look at NASM32: http://quasar.astalavista.ms/nasm32.html

Share this post


Link to post
Share on other sites
The Art Of Assembly Language Programming is a fairly good resource, but in my opinion is highly overrated. The first few chapters are reasonably complete and well-written (albeit long-winded), but after a while, the book seems to turn into a sales pitch for Hyde's own assembler.

If I were to recommend a resource that needn't be available in hard-copy, I'd say Iczelion's pages are invaluable for everybody learning assembly language, particularly under Win32.

Regards
Admiral

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!