Low Level Programming Language is the language that is close to Machine Understanding language. These languages are based on the architecture of Machine. There is no more abstraction for machine to understand these types of languages. It is simple but yet considered as very difficult language due to its complexity in remembering all the codes.
Low Level Programming Language is yet divided into two types :
For Example
0000001 means start
The following code is a program to print Hello World!
Advantages of Machine Level Language
Example of program written in Assembly language
CLA A,B (this means take input A and B i.e, numbers in A and B)
ADD A,B (Add A and B)
STA C (Store the result in C)
TYP C (Type or display the value stored in C)
HLT (Stop)
Assembly language program written for particular microprocessor.
Advantages of Assembly Language:
Low Level Programming Language is yet divided into two types :
- Machine Level Language
- Assembly Language
For Example
0000001 means start
The following code is a program to print Hello World!
01001000 01100101 01101100 01101100 01101111
00100000 01010111
01101111 01110010 01101100 01100100
Advantages of Machine Level Language
- It doesnot require any translator because it is machine own language.
- It saves time of programmer as no time is required for communication with machine i.e no need of translator.
- The program written in this language execute faster and yield reliable products.
- It is platform dependent language. Since it is written in considering the architecture of machine, Program written for a particular machine will not run in another machine.
- It is very much difficult to remember all the codes as codes made with 0s and 1s are complex.
- Modification of a program will be difficult.
Example of program written in Assembly language
CLA A,B (this means take input A and B i.e, numbers in A and B)
ADD A,B (Add A and B)
STA C (Store the result in C)
TYP C (Type or display the value stored in C)
HLT (Stop)
Assembly language program written for particular microprocessor.
Advantages of Assembly Language:
- Easy to understand and use.
- It is less error prone.
- No need of large space memory.
- Program execution is faster and efficient
- Machine Dependent i.e, program written using this language for particular microprocessor cannot run in another processor.
- Harder to learn and difficult to remember all the mnemonics codes.
- Needs translator for Translation known as Assembler.
No comments:
Post a Comment
If you have any doubt, let me know...