Assembly language programming is a symbolic representation of mechine language code of a spacific processor in addition to different types of statements that facilitate or make it easier to write a programe.
Assembly programming is also called the second generation language, as the first genration progarming is mechine language programming. It is a low level programming and comes at number three from the bottom of hierarchical structure of compter, as shown in the diagram bellow
Moreover some of the high level languages translate their code to assembly language and then in mechine code. This language has a unique syntax
Some important advantages of assembly are discribed bellow
Some of the disadvantages are shown bellow.
Assembler language:
Assembler is a programe that translates the assembly programming to mechine language code (in the form of 0's and 1's) or simply runs the assembly programe, and hence the assembly programming language is also called assembler language as well.Assembly programming is also called the second generation language, as the first genration progarming is mechine language programming. It is a low level programming and comes at number three from the bottom of hierarchical structure of compter, as shown in the diagram bellow
Assembly syntax:
Name Operation Operand(s) Comments- Name and comments fields are optional
- Number of operands depents upon the instructions
- Atleast one blank space or tab character must seperate the field
Advantages and disadvantages of assembly language:
1. Advantages of assembly language
Some important advantages of assembly are discribed bellow
- Easier to understand language saves time and efforts of programmer.
- Easy to debug and modify.
- Same efficiency as mechine language.
- Required for boot loaders(i,e LILO, GRUB).
- Required for developing drivers, compilers and assemblers itself.
- Used to design embedded systems.
- Essential part of operating systems.
- Used for data base development because speed becoms more efficient hence its a big advantage of assembly language.
2. Disadvantages of assembly language:
Some of the disadvantages are shown bellow.
- As its code is more discriptive hence it takes higher development time.
- Its application less reliable and secure.
- Assembly application is much difficult to maintain.
- With the passage of time different compilers are introduced and have been improved alot. Now we can convert anly language code to assembly code easily.
- Assembly code has a portibitity issue or it is compiler dependent. Code made at one computer processor has not the ability to run on another, thus it is counted in the biggest disadvantages of assembly language.
0 comments:
Post a Comment