Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ranguvar

macrumors 6502
Original poster
Sep 18, 2009
318
2
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
 
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

Google for "Intel Manuals", then download the IA32 Software Developer Manuals.
 
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.
 
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.

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
 
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

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).
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.