Translation programs | ||||||
A computer can only execute machine code programs, so, if a programmer writes a program in any other language, it has to be translated into machine code before the computer can run it. |
||||||
|
||||||
An Assembler is a program which translates an Assembly language program into machine code. (In the translation process the program being translated is referred to as the source program and the result is the object program) There are two types of program which translate high-level language programs into machine code... A Compiler - translates an entire high-level language program into a machine code program. An Interpreter - translates each line of a high level language program into machine code and executes it as it goes.
|
||||||