SunQuest
           Other Programming Languages
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreOther Programming Languages

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old November 17th, 2007, 06:40 PM
thomasbonham thomasbonham is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2007
Posts: 13 thomasbonham Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 4 h 19 m 16 sec
Reputation Power: 0
Assembly - Learning Assembly

I going to have about a month off from school and I think I would like to learn some assembly programming. Does any one that a good spot to start. My two many computers are MAC OS X 10.5 and CentOs 5.0 also have a redhat 7.3 image for vmware. I really don't went to do anything with windows. I'm learning more & more about C every day. I also uses perl, php, and some Java.

Thanks for the help.

Reply With Quote
  #2  
Old November 18th, 2007, 03:23 PM
Schol-R-LEA's Avatar
Schol-R-LEA Schol-R-LEA is online now
Commie Mutant Traitor
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jun 2004
Location: The People's Republic of Berkeley
Posts: 1,083 Schol-R-LEA User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Schol-R-LEA User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Schol-R-LEA User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Schol-R-LEA User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Schol-R-LEA User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Schol-R-LEA User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Schol-R-LEA User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Schol-R-LEA User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Schol-R-LEA User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Schol-R-LEA User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Schol-R-LEA User rank is Lieutenant Colonel (40000 - 50000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 10 h 47 m 7 sec
Reputation Power: 446
If you haven't already, take a look at the Assembly language list on the Language Resources Thread in the message board.

Is the Mac in question an Intel model or a PowerPC model? The two processor types are radically different; learning the assembly language for one won't help in learning the other, except in familiarizing yourself with assembly language in general. If you have a choice, you might want to learn the PowerPC assembly first; while it doesn't apply to as many systems as the x86 assembly, and there aren't as many resources for it, it is a lot easier to learn. The languages are different, but many of the concepts you need to grasp for them are the same or at least similar.

Alternately, you might want to start out using MIPS assembly, with a simulator like SPIM. Again, it won't help you with PC programming directly, but it is much easier to learn; if you learn PowerPC or MIPS first, you'll find learning x86 a lot easier, since many of the ideas are easier to understand in those. The Intel assembly language is a real bear to learn, and the more you can learn about assembly languages in general first, the better time you'll have of it.

When you are learning the Intel assembly (now or later) you'll also need to choose which assembler you're going to use - they all take different syntaces, some of them radically different from each other. For both Intel Macs and Linux PCs, there are two widely used assemblers: GNU Assembler and Netwide Assembler. Gas is designed primarily for use as the assembly pass in GCC; it uses the AT&T style syntax, and is less designed for supporting programming in assembly per se, but it is flexible and works cleaner with GCC and the Binutils toolchain than NASM does. NASM is a user-driven project for an assembler comparable to, but simpler than, Microsoft Macro Assembler; it is very popular, and seems to be in active development again after having languished for a few years.

Keep in mind that even if the Mac is an Intel model, an assembly language program written for the Mac is not going to run on Linux, and vis versa, even if you are using the same assembler, because the system interfaces are different. It may be possible (unlikely, but possible) that the same source code could be used for both, given that they are both Unix-type systems and have some system calls and so forth in common, but any non-trivial assembly program will use system-specific features.
__________________
Rev First Speaker Schol-R-LEA;2 JAM LCF ELF KoR KCO BiWM TGIF
#define KINSEY (rand() % 7) λ Scheme is the Red Pill
Scheme in ShortUnderstanding the C/C++ Preprocessor
Taming PythonA Highly Opinionated Review of Programming Languages for the Novice, v1.1

FOR SALE: One ShapeSystem 2300 CMD, extensively modified for human use. Includes s/w for anthro, transgender, sex-appeal enhance, & Gillian Anderson and Jason D. Poit clone forms. Some wear. $4500 obo. tverres@et.ins.gov

Last edited by Schol-R-LEA : November 18th, 2007 at 03:28 PM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreOther Programming Languages > Assembly - Learning Assembly


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway