Differentiate between Compiler and assembler
Answers
Answer:
Compiler
Compiler is used to translate an high level programming language code to machine level code and to create an executable program. Compiler checks the error in the program and reports them. All errors are to be removed otherwise code will not be compiled and executed.
Assembler
Assembler is used to translate an assembly level code to machine readable code. Assembler too checks the correctness of each instruction and reports the diagnosis report.
Following are the important difference between Compiler and Assembler
Explanation:
Compiler translates high level programming language code to machine level code. Assembler converts the assembly level language to machine level code. ... Compiler checks and converts the complete code at one time. Assembler generally does not convert complete code at one time.