ad

ADVANTAGES AND PROBLEM OF ASSEMBLY LANGUAGE



Advantages of an Assembly Language

i.              The symbolic programming of assembly language is easier to write, understand and saves a lot of time and effort of the programmer because it is easier to correct errors and modify program instructions.

ii.               Assembly language has the same efficiency of execution as the machine language because there is one-to-one relationship between assembly language program and its corresponding machine language program.

iii.         Assembly language allows the use of symbolic operand which overcome the setback caused by the use of absolute addressing in machine language.

iv.     Assembly language can express very low-level program accessing machine dependent registers and input/output.

v.              Availability of macro instructions for subprogram facilities.

Problems of an Assembly Language

i.                Assembly language is machine dependent i.e. program written for one computer might not run in other computers with different hardware configuration.

ii.        No symbolic names for memory locations, thus there is need to keep track of the exact memory location where a piece of data is stored.

iii.             Code must be heavily documented because it is very difficult to figure out what a program does by reading the code and also when there is need to modify the code.

iv.              Assembly language lacks high-level conveniences such as variables and functions.

v.                It denied the use of complex mathematical functions and useful controls structures.

Post a Comment

0 Comments