The document discusses the steps in a language processing system. The source code first goes through a preprocessor, then a compiler that produces assembly code. An assembler takes the assembly code and produces relocatable object codes that a linker and loader combine into an executable target program. It explains that a preprocessor processes the source code before compilation, a compiler produces target code from the modified source, and an assembler and linker/loader combine object codes into an executable that can run on hardware.
2. AN INTRODUCTION
In a language processing system, the source
code is first preprocessed. The modified source
program is processed by the compiler to form the
target assembly program which is then translated
by the assembler to create relocatable object
codes that are processed by linker and loader to
create the target program. It is based on the
input the translator takes and the output it
produces.
3. Pre-Processor : A preprocessor,
generally considered as a part of
compiler, is a tool that produces input
for compilers.
Compiler : The compiler takes
the modified code as input and
produces the target code as output.
Assembler : The assembler takes the
target code as input and produces
real locatable machine code as
output.
Linker/Loader : This is a code
that takes as input a relocatable
program and compiles the library
functions, relocatable object
records, and creates its similar
absolute machine
program.
4. IMPORTANCE
OF LANGUAGE
PROCESSING
SYSTE
M
We have learnt that
any computer system is made
of hardware and software. The
hardware understands a
language, which humans
cannot understand. So we
write programs in high-level
language, which is easier for
us to understand and
remember.
These programs are then
fed into a series of tools and
OS components to get the
desired code that can be used
by the