Sorry, I am new to programming, can you tell me why we need to learn
assembly ? What advantages/disadvantages does it have ?
Please answer this, can you tell me if there is any program able to
help me change code in assembly to a figurable level of c/C++ ???
Thanks
You need to know assembly so that when you find a bug in the compiler,
you can say what it is doing wrong to the compiler vendor
Admittedly I don't know of anyone at Microsoft who would be able to do
anything about bugs in their code generation without charging you
an arm and a leg for the privilege (e.g. an issue I noticed
with Visual C++ 6.0 where it got confused between the cl and dl registers)
but some other compiler vendors appreciate you providing a short snippet of
C or C++ code with the generated assembly and the bug highlighted,
and even fix it in the next version
Note that nearly all the time bugs are in your code rather than the
compiler, so you have to be very sure of the problem before you send
such a bug report.
Oh yeah, and it can be useful in your code as well, if you put bugs into it
and the bug only shows up in the version that doesn't have source code :-/
Plus the usual stated advantages of performance or extra capabilities when
you are dealing with specialised architectures, although that really depends
on your application field.