types-of-programs

advertisement
Language Translators – are system programs that convert a program written in a
high-level programming language or assembly language into machine language
thereby allowing a computer to execute it.
2 types of Language Translators:
 Assemblers - translates assembly language into machine code. Assemblers are
similar to compilers in that they produce executable code; they only convert
low-level code (assembly language) to machine code.
 Compilers –is a translator which is used to convert programs in high-level
language to low-level language. It translates the entire program and also reports
the errors in source program encountered during the translation.
TYPES OF SYSTEM PROGRAMS
 Interpreters – convert and execute each instruction of a high-level language
program into machine language as it runs, before going on to the next
instruction.
 Linker – is a system program that links or combines object modules together
with the libraries needed by these programs to from a single executable
program.
 Loader – system program that takes the load module from secondary storage
and brings into main memory for execution; performs address binding.
Download