Machin Language Translator and Types
Machine language:
Programming
language that can directly be understood and obeyed by a machine (computer)
without any conversion (translation).
Translator:
It is a
computer program that translates a program that written with in given
programming language into a functionally equal program in a different computer
language without changing/losing, the function on logical structure of original
code. These Includes translations between high level languages and human
readable languages.
Examples: C++, Java, COBOL etc.
Examples: C++, Java, COBOL etc.
Types of Translator:
1.
If a translator translates a high Level Language into another high level
language it is source to source Compiler.
Examples: FORTAN to Ada.
Examples: FORTAN to Ada.
2.
If a translator translates a high level language into a low level
language it is called compiler. Example:
C++ to Machine language.
3.
If a translator translates a high level language into an
immediate/intermediate code, which will be immediately executed is called
Interpreter.
4.
If a translator translates machine
code to source language is called De-compile. Example: REC (reverse engineering compiler).
5.
If a translator translates assemble language to a machine language is
called Assemble Language.
6.
If a translator translates machine language to assembly language it is called
Dis-Assemble. Example: IDA Pro
Download Notes