Assembly theory explained
Why use assembly?
Why use assembly when the other languages are more human understandable?
One reason is that it works with the CPU (central processing unit) in its native language. The native language is in fact machine code but assemblers have a language that is very close. This native language of the CPU is inbuilt and will never become redundant as many other languages have become.
Another reason to use assembly is that it is faster than that of any other language, because all the other languages are eventually compiled to machine code before they run. But their compilers are not able to produce code which is as efficient or quick as a program written in assembly by a human.
The language is also similar from one CPU to another. So if you've learnt assembly for one computer CPU it is an easy step to learning the assembly for any other computers CPU.
But for me and many others, the main reason to use machine code is because it gives the programmer direct access to all of the computers memory and also allows the programmer to use many functions that the other languages omit.
Copyright © 1998 - 2010 Alan Baylis, All Rights Reserved