Low Level Programming Language

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 :
  1. Machine Level Language
  2. Assembly Language
Machine Level Language is often referred as Binary language because this language uses 0s and 1s to write the instruction. Machine Level language doesnot require any type of translation because Machine directly understand this 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.
Disadvantages of Machine Level Language
  • 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.


Assembly Language is sometimes referred as mid-level language. It solved the problem of remembering of the codes made up of binary numbers. It doesn't uses 0s and 1s, in fact uses alphanumeric codes known as mnemonics. For example to for adding we use the code ADD, for subtraction we use SUB and for stop we use the code HLT, similarly for jump we use JMP.

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
Disadvantages of Assembly Language :

  •  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.

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.