Looking for books about the assembly language

Discussion in 'Mac Programming' started by ranguvar, Dec 13, 2009.

  1. ranguvar macrumors 6502

    Joined:
    Sep 18, 2009
    #1
    Hi,

    what books can you recommend about the assembly language? (for intel processors, that is :))

    It's not necessary that it goes down into too much detail, but it should give a nice overview.

    Thanks,

    -ranguvar
     
  2. gnasher729 macrumors P6

    gnasher729

    Joined:
    Nov 25, 2005
    #2
    Google for "Intel Manuals", then download the IA32 Software Developer Manuals.
     
  3. lee1210 macrumors 68040

    lee1210

    Joined:
    Jan 10, 2005
    Location:
    Dallas, TX
    #3
  4. GorillaPaws macrumors 6502a

    GorillaPaws

    Joined:
    Oct 26, 2003
    Location:
    Richmond, VA
    #4
    Just out of curiosity, how many times harder is it to learn assembly than a language like C? Obviously, everyone learns things differently, but I was just thinking in general terms.
     
  5. lee1210 macrumors 68040

    lee1210

    Joined:
    Jan 10, 2005
    Location:
    Dallas, TX
    #5
    1.7x-2.3x harder. Obviously it is impossible to truly quantify, and there are levels of skill. Writing a small bit of ASM is not too bad. I'm sure writing highly optimized code for the vector units of modern chips is much worse. Also, learning PPC, SPARC or MIPS is much easier than x86 or EPIC.

    -Lee
     
  6. Detrius macrumors 68000

    Joined:
    Sep 10, 2008
    Location:
    Asheville, NC
    #6
    There's also the problem that instruction sets and their strong points and weak points evolve with each processor revision. When writing with assembly, you lose virtually everything that makes higher-level languages easy to understand.

    A cursory understanding of how processors actually run code is useful for understanding what's going on when you write in a language like C, but I wouldn't recommend assembly for any general programming (specialized code that needs to be highly optimized, maybe).
     

Share This Page