Programming Language is categorized into assembly language and high-level language. Assembly-level language is a low-level language that is understandable by machines whereas High-level language is human-understandable language.
What is Assembly Language?
It is a low-level language that allows users to write a program using alphanumeric mnemonic codes, instead of numeric code for a set of instructions examples of large assembly language programs from this time are IBM PC DOS.
Examples: x86, ARM Assembly, MIPS Assembly
Advantages
- Execution of code is efficient
- Low-level operations can be performed
- High control over Hardware
Disadvantages
- More Complex
- More time consuming
- Lack of Portability
What is High-Level Language?
It is a machine-independent language. It enables a user to write a program in a language that resembles English words and familiar mathematical symbols, COBOL was the first high-level language. Examples of high-level language are python,c#, etc.
Examples
- Python
- Java
- C++
Advantages
- Increase Readability
- Portability
- Faster Development
Disadvantages
- Slower Execution
- Memory Usage
- Less Control Over Hardware
Difference Between Assembly Language and High Level Language
ASSEMBLY LEVEL LANGUAGE | HIGH-LEVEL LANGUAGE |
It needs an assembler for conversion | It needs a compiler/interpreter for conversion |
In this, we convert an Assembly level language to machine level language | In this, we convert a high-level language to Assembly level language to machine level language |
It is machine dependent | It is machine-independent |
In this mnemonics, codes are used | In this English statement is used |
It supports low-level operation | It does not support low-level language |
In this, it is easy to access hardware component | In this, it is difficult to access hardware component |
In this more compact code | No compactness |
Conclusion
In this article we have seen what is assembly language and what is high level language, examples for those , advantages and disadvantages for both of them , Finally we have seen the difference between them.