Tuesday, February 26, 2013

Ques-4: What is Assembly language? What is the problem of Assembly language?

The ques-4 solution is given below.

Answer:

Assembly language: Assembly language is a low-level programming language using the human readable instructions in the CPU.In PCs , the Assembly language looks like this,

  mov ebx,eax
  mov esi,66
  mov [edx+ebx*4+4],ecx
  mov [ebx],ah

To compile this code into machine code ,a compiler is needed.Assembler is the compiler for the Assembly language.


Problem of Assembly language: The problem with Assembly language is that it requires a high level of technical knowledge and it's slow to write.In the same time that you take to write ten lines of Assembly language- that's ten instructions,you could write ten lines of C++, perhaps the equivalent of 500 instructions.

No comments:

Post a Comment