9. Language Translator
9. Language Translator
Computer are electronic devices can only understand machine level binary
code (0/1 or on/off) and it is very difficult to understand and write a program
in machine language so, developers use human-understandable high level
and assembly instructions. So, to solve this gap, a translator is used which
is used to convert high-level instructions to machine-level instruction (0 and
1).
The
program
understandable
of thetranslator
code.
writtenis
low-level
in ahigh-level
programming
machine
or assembly
language
language
language
without
processor
losing
program
that
the translates
to
functionality
machine- a
The computer understands only machine code. It does not understand any
low, assembly, and high-level language. There must be a program to
convert the source into object code to make it understood by your
computer. This is the task of the language translator. The programmer
writes and then converts the source code into a readable machine format
(object code)
Assembler
Assembler is a translator which is used to translate the assembly language code into
machine language code.