Advantage:
The advantage of assembly language over high-level languages is that the computation time of an assembly language program is less.An assembly language program runs faster to produce the desired result.
Disadvantage :
(i)Programming is difficult and time consuming.
(ii)The assembly language is machine oriented.The programmer must have the detailed knowledge of the structure of the computer he is using.He must have the knowledge of registers and instruction set of the computer,connections of ports to the peripherals etc.
(iii)The program written in assembly language for one computer can not be used on any other computer,i.e.the assembly language program is not portable.Each processor has its own instruction set and hence its own language.
(iv)An assembly language program contains more instructions compared to high-level language program.Each statement of a program in a high-level language(such as FORTRAN,PASCAL etc.)corresponds to many instructions in an assembly language program.
The advantage of assembly language over high-level languages is that the computation time of an assembly language program is less.An assembly language program runs faster to produce the desired result.
Disadvantage :
(i)Programming is difficult and time consuming.
(ii)The assembly language is machine oriented.The programmer must have the detailed knowledge of the structure of the computer he is using.He must have the knowledge of registers and instruction set of the computer,connections of ports to the peripherals etc.
(iii)The program written in assembly language for one computer can not be used on any other computer,i.e.the assembly language program is not portable.Each processor has its own instruction set and hence its own language.
(iv)An assembly language program contains more instructions compared to high-level language program.Each statement of a program in a high-level language(such as FORTRAN,PASCAL etc.)corresponds to many instructions in an assembly language program.
good explanation
ReplyDelete