Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 02-20-2006, 11:07 AM   #1 (permalink)
teknomage1
Jack of all trades
 
teknomage1's Avatar
 
Join Date: Feb 2005
Location: Los Angeles
Posts: 596
teknomage1 is on a distinguished road
Send a message via AIM to teknomage1
Good place to start learning assembly?

I'm a self taught programmer who mostly uses high level languages. Is there a good place anyone can recommend to start learning x86 assembly?

I mostly develop on linux, so preferably it'd be something that could be compiled? (do you compile assembly code?) with the GNU toolset.
__________________
Stop intellectual property from infringing on me
teknomage1 is offline   Reply With Quote
Old 02-20-2006, 11:15 AM   #2 (permalink)
Hamlin
Jedi Master
 
Hamlin's Avatar
 
Join Date: Feb 2006
Location: Denver, CO
Posts: 15
Hamlin is on a distinguished road
ASM is *technically* compiled, but most of us who use it regularly refer to that process as 'assembling' the code, rather than compiling.

So far as learning to write in X86, I highly recommend looking up the instruction set for the 386, 486, and 586 processors. Google can help you with that, as well as finding a freeware x86 cross assembler for your operating system of choice.

I also recommend a DOS program called 'HELPPC' which not only contains a remarkably complete list of processor opcodes and their operands, but also goes into great detail on methodology. To my knowledge, however, 'HELPPC' is only available for DOS. If you have trouble finding it on the internet, let me know and I'll send you a copy.
Hamlin is offline   Reply With Quote
Old 02-20-2006, 11:33 AM   #3 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,694
redhead is on a distinguished road
The assembler comes with the GNU toolset, it is called as (1), when I first started messing with asssembly I turned towards Alpha assembly, mainly because it didn't drag along alot of compatibilety instructions like the x86 assembly does..
And because I was asked to help develop an embeded controling utility for an alpha based device, where most parts was kept as assembly since it was using a 8bit instruction set in a pseudo 7bit environment, so you had to be sure what you had in your registeres at all times.

On the down side, that made me more sloppy with learning x86 assembly, since I had it like anyone who goes from something like VB to C, with the attitude, But I'm used to do it like this, why can't I just do.....

Since then I've mainly kept to Alpha and Motorola, so for x86 I might not be the right one to turn to....
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote
Old 02-20-2006, 12:19 PM   #4 (permalink)
teknomage1
Jack of all trades
 
teknomage1's Avatar
 
Join Date: Feb 2005
Location: Los Angeles
Posts: 596
teknomage1 is on a distinguished road
Send a message via AIM to teknomage1
Thanks, it looks like they ported the dos utility HELPPC to a web document http://heim.ifi.uio.no/~stanisls/helppc/ .

I'll also check out the manpages for 'as' .
__________________
Stop intellectual property from infringing on me
teknomage1 is offline   Reply With Quote
Old 04-11-2006, 06:09 AM   #5 (permalink)
wolf99
Code Monkey
 
wolf99's Avatar
 
Join Date: Jan 2006
Location: in college (again) in rural Eire
Posts: 45
wolf99 is on a distinguished road
best thing to do is get the instruction set AND the memory map of chip.
I learned 8051 using borland. if ya check out this link, you can find a good place to learn 8051 assembly which is small and fast and easy to learn
wolf99 is offline   Reply With Quote
Old 04-19-2006, 07:00 AM   #6 (permalink)
ahluka
Registered User
 
ahluka's Avatar
 
Join Date: Apr 2006
Location: South Wales, UK
Posts: 3
ahluka is on a distinguished road
I found a really, really beefed up article on 8086 architecture and assembly:
http://courses.ece.uiuc.edu/ece390/b.../artofasm.html

A very long read and awesome reference.
ahluka is offline   Reply With Quote
Reply

Bookmarks

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best Book for A No coder to start with C doomtroll Standard C, C++ 2 11-28-2004 06:43 AM
Best place to start journeyman Lounge 33 03-18-2004 11:01 PM


All times are GMT -8. The time now is 01:59 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting