PDA

View Full Version : ASSEMBLY LANGUAGE cs401 spring July,2010



Xpert
07-17-2010, 04:05 PM
“Where Assembly Language is help in achieving Optimization?"

A concise, coherent and to-the-point comment is preferred over lengthy comment having irrelevant details. Comments posted on regular Lesson's MDB or sent through email will NOT be considered.

viki
07-21-2010, 10:11 PM
GDB CS401 Idea SOLUTION
• In simple words: the difference between assembly and any higher level language (like C++) is like the difference between assembling a customized PC by buying separate PC parts like motherboard, CPU, RAM...etc and putting them together to build the PC, and "hand making" those parts (imagine yourself constructing a motherboard on your own, buying the semiconductors, doing the wiring and all). See the difference? in the second example, you got tremendous control over the components, you can control even the resistance of the semiconductor inside the motherboard! BUT this comes at a huge price, one small mistake can ruin everything. This is why high level languages like C++ (and afterwords C# and .net) exist, to help you avoid any mistakes of that kind.
So my answer is yes it helps optimize everything by giving you the wheel and letting you control every aspect, yet you have to KNOW what you do or else you will lose the whole thing.