Tuesday, February 26, 2013

Ques-5: What is an Assembler? What is the difference between an Assembler and a Compiler?

The ques-5 solution is given below.

Answer:

Assembler: Assembler is a software or a tool that translates Assembly language into machine code.


The difference between an Assembler and a Compiler is given below.

Assembler:

1. Assembler is a computer program that reads code written in one language which is called Assembly language and translates into machine language.
2. Assembler is used in low-level Assembly language.
3. Assembler is less popular than compiler.


Compiler:

1. Compiler is a computer program that reads code (like C,C++ code )and translates into machine language.
2.  Compiler is used in high-level language.
3. Compiler is more popular than Assembler.

No comments:

Post a Comment