Machine language vs assembly language
Differences between machine language and assembly language
machine language vs assembly language.
machine vs assembly language
What are the differences between machine and assembly language?
| Machine Language | Assembly Language |
|---|---|
| Definition : | |
| The programming language in which both the operations and operands are expressed in numeric form (usually hexadecimal or binary form) is called a machine language. | The machine dependent programming language in which operations are expressed in mnemonics (symbolic word from human language) and operands are expressed in alpha-numeric form is called an assembly language. |
| Generation of language | |
| 1G : Machine language is defined as the first generation of language. | 2G : Machine language is defined as the second generation of language. |
| Execution speed | |
| Its execution spped is the fastet among both lower-level and higher-level programming language. | Execution speed of assembly language is slower than machine language but faster than higher-level programming language. |
| Memory requirement | |
| It requires comparatively less memory than assembly language. | It requires more memory than machine language. |
| Translator | |
| As machine understand binary codes so translator is not required. | An additional software called complier is required to translate assembly into machine language. |
| Human understandability | |
| Machine language is hard to understand and code. | As assemnbly language uses mnemonics which are like words from human language, so it is comparatively easy to understand and code. |
| Error fixing | |
| Error fixing in machine language is a very tough task as entire code is only string of 0s and 1s. | Error fixing is comparatively easier. |
| Example of instructions | |
| 01001101 0101000011111111 etc |
MOV A,B ADD A,FF etc |
Comments
Post a Comment
Comments