This preview shows page 1. Sign up to view the full content.
Unformatted text preview: torage locations to be represented
by letters and symbols instead of numbers is called an assembly language or
symbolic language. A program written in an assembly language is called an
assembly language program or a symbolic program.
5. An assembler is a translator program that translates (converts) an assembly
language program (source program) into its equivalent machine language program
6. Machine and assembly languages are often referred to as low-level languages
because they are machine dependent, they require the programmers to have a good
knowledge of the internal structure of the computer being used, and they deal with
machine-level coding requiring one instruction to be written for each machine- level operation. High-level programming languages overcome these limitations
of low-level programming languages.
A compiler is a translator program that translates (converts) a high-level
language program (source program) into its equivalent machine-language program
In addition to translating high-level language instructions into machine
language instructions, compilers also automatically detect and indicate certain
types of errors in source programs. These errors are referred to as syntax errors. A
compiler, however, cannot detect logic errors in source programs.
9. A linker is a software that takes multiple object program files (modules) of a
software and fits them together to assemble them into the program's final
executable form, which is sometimes called a load module.
10. An interpreter is a translator program that translates (converts) a high-level
language program into its equivalent machine-language program. However, unlike
a compiler which merely translates the entire source program into an object
program and is not involved in its execution, an interpreter takes one statement of
the source program, translates it into machine language instructions, and then
immediately executes the resulting machine language instructions before taking
the next statement for translation. No object...
View Full Document
This document was uploaded on 04/07/2014.
- Spring '14