Please enable JavaScript.
Coggle requires JavaScript to display documents.
Program Construction (What translators do (The term translators is used to…
Program Construction
What translators do
The term translators is used to cover any type of software that converts code from one form to another.
Computers are only able to read and execute binary machine code meaning programs written in another language must be translated to machine code.
-
Examples of translators would be compilers, assemblers and interpreters(as shown above).
Translators
Compilers
Translates a source of code into machine code.
Creates an executable file that can be run in the future without needing to be translated again.
-
Interpreters
Analyses the source code statement by statement as execution proceeds. It interprets the meaning of each statement and calls routines to carry out each instruction.
Advantages:
-Usually uses less storage.
-they are less complicated pieces of software so can be cheap to buy.
Assemblers
Assembly language:
Low-level programming language that's almost in a form the processor can understand directly.
-