Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Assembly (http://www.programmingforums.org/forum20.html)
-   -   Starting assembly (http://www.programmingforums.org/showthread.php?t=15691)

Freaky Chris Apr 24th, 2008 3:31 PM

Starting assembly
 
Well i've decided as something todo when im bored i would like to learn assembly. But im stuck as to where to start so any suggestions for compilers, eBooks, tutorials, tips etc.

Any advise is greatly appreciated

Chris

Klarre Apr 24th, 2008 4:14 PM

Re: Starting assembly
 
I began my assembly coding using TASM (Turbo Assembler) and made a small OpenGL game by studying the assembly code for the tutorials at nehe.gamedev.net.
But I will recommend you to begin by looking into MASM, which is Microsofts assemblator. There are a lot of sample code out there on the net and it is also pretty simple to set it up in Visual Studio which is very hand when debugging your application.

Check this link. It is great! http://www.kipirvine.com/asm/gettingStarted/index.htm

/Klarre

Freaky Chris Apr 24th, 2008 4:50 PM

Re: Starting assembly
 
hmm, looks like i got some reading to do thats for the heads up, still open to sources & suggestions.

Thanks Klarre


Chris

grimpirate Apr 25th, 2008 1:29 AM

Re: Starting assembly
 
My preferred assembler is FASM. It's real simple which to me is preferrable since it allows me to focus on the code rather than the IDE. It also has a large support forum.

I've had trouble learning assembly because I wanted to start with something VERY basic. Like I turn on the computer and it relies solely on my code basic. So if it helps here's a tutorial I wrote up. I think that's about as rudimentary as it can get. I didn't have much interest in using assembly to inteface with the Win32 API or other stuff like that, or embedding it in C. My previous experience with assembly was using the Little Computer 3 from a textbook in college, which was basically an emulator, and we could write low-level code for it.

mrynit Apr 25th, 2008 3:47 AM

Re: Starting assembly
 
Quote:

Originally Posted by grimpirate (Post 144336)
My previous experience with assembly was using the Little Computer 3 from a textbook in college, which was basically an emulator, and we could write low-level code for it.

http://www.amazon.com/Introduction-C...dp/0072467509/
:icon_cheesygrin: :icon_cheesygrin:

The only x86 asm i have gone has been in line with C. I am using gcc with the flag -MASM=intel to use intel syntax not AT&T.

here is a good ~200 page pdf intro to x86 asm. it is well writen with internal linking. here is some other stuff that may help http://faculty.washington.edu/dmclan.../asmstuff.html

grimpirate Apr 25th, 2008 11:27 PM

Re: Starting assembly
 
lol yeah, that's very same book mrynit, it was a very good book in my opinion. It later helped me to understand some fundamental concepts when I was programming the PIC microcontroller. By the way where's the 200 page pdf link?

Freaky Chris Apr 26th, 2008 1:16 AM

Re: Starting assembly
 
FASM seems to be the simplest for me to get started with purely due to the fact that its just there, you have an IDE and everything no need to mess around. However im looking for some tutorials that cover every thing, other than the Win32 API. Which for Flat assembler im having trouble finding, as it seems to be most popular for Win32 development.

@grimpirate, i have already looked at one or two different microcontrollers myself i couldn't tell you what kind of the top of my head but they proved very interesting and i enjoyed working with them.

Grich Apr 26th, 2008 6:05 AM

Re: Starting assembly
 
Quote:

Originally Posted by Freaky Chris (Post 144351)
FASM seems to be the simplest for me to get started with purely due to the fact that its just there ...

I used FASM when I started out. It was okay. Personally, NASM was the IDE and assembler that got me learning Assembly properly.
Look at this "The Art of Assembly". It helped me a bit. The best book for beginners at assembly is (I swear by this book), it's only available in hard copy though (you have to pay for it) : "Assembly Language Step-by-Step" by Jeff Duntemann. It's programming with DOS and LINUX, but it's aimed at a person who knows nothing of assembly or even programming. Although DOS is old school, it is a good place to start learing assembly

Freaky Chris Apr 27th, 2008 1:41 AM

Re: Starting assembly
 
Thanks Grich, The art of assembly looks like its just what im after. im suprised that never poped up from google. Anyway i have o so much reading to be doing.

Chris

mrynit May 2nd, 2008 2:15 AM

Re: Starting assembly
 
Quote:

Originally Posted by grimpirate (Post 144350)
By the way where's the 200 page pdf link?

oops, here is the site http://www.drpaulcarter.com/pcasm/ , the file is at the bottom of the page.


All times are GMT -5. The time now is 10:07 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC