Post Reply 
Assembly code [boring blog post]
Author Message
ZiNgA BuRgA
Smart Alternative

Posts: 17,024.1882
Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.1887
Offline
Post: #14
RE: Assembly code [boring blog post]
(09/03/2012 05:10 AM)Tetris999 Wrote:  But also for the "performance" that seems to be the golden land of assembly code
For most cases, if you're thinking about performance, you shouldn't be thinking about assembly.
Compilers are generally pretty good these days, and you probably won't be able to tweak much more performance using assembly over C most of the time.
Also, it's usually the algorithm which plays a MUCH bigger part, not the few clock cycles you can save by writing in assembly.

Knowing the CPU architecture may help with optimising C code, though I'd say this should be more of something you learn later on, not up front.
And for ARM... well, enjoy rewriting your entire program when a new ARM instruction set comes out, or you want to port your stuff to a Cell processor.

Reverse engineering, is kinda less assembly programming and more trying to derive high level concepts from assembly code - so it's a bit different...
09/03/2012 11:06 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Assembly code [boring blog post] - ZiNgA BuRgA - 09/03/2012 11:06 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

 Quick Theme: