0% found this document useful (0 votes)
130 views8 pages

Language Translator

A language translator is a program that translates source code into machine language. There are three types of translators: assemblers translate assembly language into machine code, compilers translate high-level languages into machine code and check for syntax errors, and interpreters translate high-level instructions into an intermediate form and then execute them line by line. Linkers link object modules into a single file and loaders load necessary programs and libraries during startup.

Uploaded by

Pankaj Pawar
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)
130 views8 pages

Language Translator

A language translator is a program that translates source code into machine language. There are three types of translators: assemblers translate assembly language into machine code, compilers translate high-level languages into machine code and check for syntax errors, and interpreters translate high-level instructions into an intermediate form and then execute them line by line. Linkers link object modules into a single file and loaders load necessary programs and libraries during startup.

Uploaded by

Pankaj Pawar
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/ 8

LANGUAGE

TRANSLATOR
LANGUAGE TRANSLATOR
• Language Translator -
• Language translator is a program which is used to
translate instructions that are written in the
source code to object code i.e. from high-
level language or assembly language into
machine language.
• There are 3 different types of translators as
1. Assembler
2. Compiler
3. Interpreter
LANGUAGE TRANSLATOR
ASSEMBLER
• Assembler are used to convert assembly language
code into machine code.
• Assembler convert mnemonic code in to object
code.
LANGUAGE TRANSLATOR
Compiler -

• Compiler translate high level language in


machine language.
• It read the entire program.
• It find the syntax error.
• Error in a program is called bug.
• Compiler convert source code into object
code.
LANGUAGE TRANSLATOR
Interpreter -
• An interpreter translates high-level instructions
into an intermediate form, which it then executes.
• It reads the program line by line.
• In contrast, a compiler translates high-level
instructions directly into machine language.
Compiled programs generally run faster than
interpreted programs.
LANGUAGE TRANSLATOR
• What is Linker - Linker is a program in a system
which helps to link a object modules of program
into a single object file.
• What is Loader- A loader is a major component of
an operating system that ensures all necessary
programs and libraries are loaded, which is
essential during the startup phase .
LANGUAGE TRANSLATOR
Thank You

You might also like