0% found this document useful (0 votes)
444 views1 page

ACI Differences

Assembler converts assembly language to machine code line-by-line, while an interpreter converts source code to machine code line-by-line and a compiler converts source code to machine code in one pass. An assembler detects errors after the first phase while an interpreter detects errors line-by-line, and a compiler provides a full error report after scanning the whole program. An assembler and interpreter are slower than a compiler.

Uploaded by

subash1633
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
444 views1 page

ACI Differences

Assembler converts assembly language to machine code line-by-line, while an interpreter converts source code to machine code line-by-line and a compiler converts source code to machine code in one pass. An assembler detects errors after the first phase while an interpreter detects errors line-by-line, and a compiler provides a full error report after scanning the whole program. An assembler and interpreter are slower than a compiler.

Uploaded by

subash1633
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Assembler Interpreter Compiler

It is a translator program that It converts source programs written A compiler is a translator program
converts assembly language or low- in High-Level Programming that converts source code written
level programming language to language into machine code line by in a high-level language like Java,
machine code. line, which means it executes one C++, etc. to equivalent machine
single line at a time into machine language in one go.
language.
It detects errors in the first phase, Detects error line by line. And stops Gives the full error report after the
after fixation the second phase scanning until the error in the whole scan.
starts. previous line is solved.
It takes more time than the An interpreter takes more It takes less execution time
compiler. execution time than the compiler. comparing to an interpreter.
Example:-GAS, GNU Example:-Python, Perl, VB, Example:-C, C#, Java, C++
PostScript, LISP, etc…

You might also like