0
9.5kviews
Differentiate between assembler and compiler.
1 Answer
| written 7.1 years ago by | • modified 7.1 years ago |
| Sr. No. | Assembler | Compiler |
|---|---|---|
| 1. | Assembler converts the assembly language to the machine language. | Compiler converts the source code written by the programmer to a machine language. |
| 2. | It converts a source code to an object code first then it converts the object code to the machine language with the help of the linker programs. | Compilers work more directly than the assemblers |
| 3. | Input to the assembler is assembly language code. | Input to the compiler is preprocessed source code. |
| 4. | At the output of assembler is re-locatable machine code generated by an assembler is represented by binary code | The assembly code generated by the compiler is a mnemonic version of machine code. |
| 5. | It is difficult to debugging | It is easy to debugging |