Please enable JavaScript.
Coggle requires JavaScript to display documents.
translators - Coggle Diagram
translators
Different levels of language
Low level languages
Allows programs to express programs using simple commands which could easily be translated into machine code.
These languages closely mapped to the machine architecture being written for a specific processor and this is sometimes described as being close to the hardware.
Assembly language
Very efficient
Written for one type of hardware or computer
High level language
These portray mathematical expressions in an easy to read form.
The program has to be converted into machine code every time it runs.
Much slower than running machine code
Commands are similar to English
Runs on many types of hardware
Machine code
This is binary, very quick
All programs get translated down into machine code, but never as efficient
Purpose
High level languages have 2 types of translators
Interpreting
Program runs until there is an error, converts line be line
Easy to wright source code and code deosn't need to be recomplied
Translation software is needed at run-time and speed of execution is slower.
Compling
Code wont run with a syntax error.
No need for translation software at run time.
code is fully optimised
However the code will not run with syntax errors and the code needs to be recomplied when the the code is changed
Assembly language is always translated by a assembler.
Assembler
Takes the assembly language and converts the labels into machine addresses in the memory and converts/translates your assembly language into machine code.
Quite quick
No need for translation software run time
However it is quite hard to write in assembly and the code needs to be reassembled when the code is changed.