What Is The Difference Between Assembly Langauge & Machine Language
Assembly Language vs Machine Language
Machine code is the lowest form of computer language and the CPU can act on it directly without it being converted.It is in pure binary. An assembly language is a higher form that uses mnemonics, ie inc for increment, and has to be translated into machine code before CPU can process the instructions.
Machine code are the actual bits used to control the processor of a computer. They are the binary representation of instructions, they are usually a sequence of byts ( Hexa Decimal Numbers ) . Machine code is a set of instructions executed directly by a computer's central processing unit (CPU).Every processor or processor family has its own machine code instruction set.
All Programs wheather its from a high leavel language like C# .Net or C++ or low level language like assembly language they must eventually be translated into machine language which are stored in memory could be decoded by the processor.
Assembly Language is much easily human read then machine language. Instructions and registers are given a name. Instructions are called as menumonics (eg: mov).
Assembly language code needs to be translated into a machine language by a program called as an assembler.