0% found this document useful (0 votes)
8 views2 pages

Assembler - Comiper

Uploaded by

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

Assembler - Comiper

Uploaded by

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

Difference between Assembler and Compiler

Assembler
Defination: Assembler (computing), a computer program which translates assembly language to
an object file or machine language format.

1. It translates the mnemonic codes such as PRN, ADD and SUB etc. to machine language code. It translates the
high-level language to assembly language.

2. The program, which executes using assembler, executes faster because it directly converts the source code in
machine language.

Compiler
Defination: A compiler is a computer program (or a set of programs) that transforms source
code written in a programming language (the source language) into another computer language
(the target language), with the latter often having a binary form known as object code.
1.It translates the high-level language to assembly language.

2.It takes the time to execute a program because it first translates the source code into another compiler’s
language and then using assembler converts it into machine language.

You might also like