Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Apr 24th, 2008, 3:31 PM   #1
Freaky Chris
Hobbyist Programmer
 
Freaky Chris's Avatar
 
Join Date: Dec 2007
Location: England
Posts: 169
Rep Power: 1 Freaky Chris is on a distinguished road
Send a message via MSN to Freaky Chris
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
__________________
Who said i couldn't program
sarcasm = raw_input('Type in a sarcastic remark: ')
print sarcasm
Freaky Chris is offline   Reply With Quote
Old Apr 24th, 2008, 4:14 PM   #2
Klarre
Game engine designer
 
Klarre's Avatar
 
Join Date: May 2005
Location: Sweden
Posts: 288
Rep Power: 4 Klarre is on a distinguished road
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
__________________
http://www.klarre.se
Klarre is online now   Reply With Quote
Old Apr 24th, 2008, 4:50 PM   #3
Freaky Chris
Hobbyist Programmer
 
Freaky Chris's Avatar
 
Join Date: Dec 2007
Location: England
Posts: 169
Rep Power: 1 Freaky Chris is on a distinguished road
Send a message via MSN to Freaky Chris
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
__________________
Who said i couldn't program
sarcasm = raw_input('Type in a sarcastic remark: ')
print sarcasm
Freaky Chris is offline   Reply With Quote
Old Apr 25th, 2008, 1:29 AM   #4
grimpirate
King of Portal
 
grimpirate's Avatar
 
Join Date: Sep 2005
Posts: 395
Rep Power: 3 grimpirate is on a distinguished road
Send a message via Yahoo to grimpirate
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.
__________________
Lo, there do I see my father. 'Lo, there do I see My mother, and my sisters, and my brothers. 'Lo, there do I see The line of my people... Back to the beginning. 'Lo, they do call to me. They bid me take my place among them. In the halls of Valhalla... Where the brave... May live... ...forever.. GrimBB | Mimesis
grimpirate is offline   Reply With Quote
Old Apr 25th, 2008, 3:47 AM   #5
mrynit
Hobbyist Programmer
 
mrynit's Avatar
 
Join Date: Mar 2006
Location: olympia,WA
Posts: 332
Rep Power: 3 mrynit is on a distinguished road
Send a message via AIM to mrynit Send a message via MSN to mrynit Send a message via Yahoo to mrynit Send a message via Skype™ to mrynit
Re: Starting assembly

Quote:
Originally Posted by grimpirate View Post
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/


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
__________________
i dont know much about programming but i try to help
mrynit is offline   Reply With Quote
Old Apr 25th, 2008, 11:27 PM   #6
grimpirate
King of Portal
 
grimpirate's Avatar
 
Join Date: Sep 2005
Posts: 395
Rep Power: 3 grimpirate is on a distinguished road
Send a message via Yahoo to grimpirate
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?
__________________
Lo, there do I see my father. 'Lo, there do I see My mother, and my sisters, and my brothers. 'Lo, there do I see The line of my people... Back to the beginning. 'Lo, they do call to me. They bid me take my place among them. In the halls of Valhalla... Where the brave... May live... ...forever.. GrimBB | Mimesis
grimpirate is offline   Reply With Quote
Old May 2nd, 2008, 2:15 AM   #7
mrynit
Hobbyist Programmer
 
mrynit's Avatar
 
Join Date: Mar 2006
Location: olympia,WA
Posts: 332
Rep Power: 3 mrynit is on a distinguished road
Send a message via AIM to mrynit Send a message via MSN to mrynit Send a message via Yahoo to mrynit Send a message via Skype™ to mrynit
Re: Starting assembly

Quote:
Originally Posted by grimpirate View Post
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.
__________________
i dont know much about programming but i try to help
mrynit is offline   Reply With Quote
Old Apr 26th, 2008, 1:16 AM   #8
Freaky Chris
Hobbyist Programmer
 
Freaky Chris's Avatar
 
Join Date: Dec 2007
Location: England
Posts: 169
Rep Power: 1 Freaky Chris is on a distinguished road
Send a message via MSN to Freaky Chris
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.
__________________
Who said i couldn't program
sarcasm = raw_input('Type in a sarcastic remark: ')
print sarcasm
Freaky Chris is offline   Reply With Quote
Old Apr 26th, 2008, 6:05 AM   #9
Grich
Hobbyist Programmer
 
Grich's Avatar
 
Join Date: Sep 2007
Location: Sydney - Australia
Posts: 148
Rep Power: 1 Grich is on a distinguished road
Re: Starting assembly

Quote:
Originally Posted by Freaky Chris View Post
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
__________________
SYNTAX ERROR ...

Last edited by Grich; Apr 26th, 2008 at 6:06 AM. Reason: Add On
Grich is offline   Reply With Quote
Old Apr 27th, 2008, 1:41 AM   #10
Freaky Chris
Hobbyist Programmer
 
Freaky Chris's Avatar
 
Join Date: Dec 2007
Location: England
Posts: 169
Rep Power: 1 Freaky Chris is on a distinguished road
Send a message via MSN to Freaky Chris
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
__________________
Who said i couldn't program
sarcasm = raw_input('Type in a sarcastic remark: ')
print sarcasm
Freaky Chris is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
quick assembly question jbo423 Assembly 4 Nov 12th, 2007 7:21 AM
Thinking about starting Assembly Grich Assembly 17 Oct 12th, 2007 10:43 PM
Assembly Language DaWei Coder's Corner Lounge 0 Apr 26th, 2007 10:15 PM
Assembly, Assembler? v0id Assembly 15 May 4th, 2006 8:52 AM
High Level Assembly? Gink Assembly 3 Apr 20th, 2005 11:34 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:06 AM.

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