Professional Documents
Culture Documents
The Loader Is Special Program That Takes Input of Object Code From Linker
The Loader Is Special Program That Takes Input of Object Code From Linker
The Loader Is Special Program That Takes Input of Object Code From Linker
The loader is special program that takes input of object code from linker,
loads it to main memory, and prepares this code for execution by computer.
A Compiler is a language translator that takes as input a source program in some HLL
In single pass Compiler source code directly transforms into machine code
2 Pass
The multipass compiler processes the source code or syntax tree of a program
several times. It divided a large program into multiple small programs and process
them. It develops multiple intermediate codes. All of these multipass take the
output of the previous phase as an input. So it requires less memory. It is also
known as 'Wide Compiler'.
Lexical analysis:
It takes the modified source code from language preprocessors that are written in the form of
sentences. The lexical analyzer breaks these syntaxes into a series of tokens, by removing
any whitespace or comments in the source code.
Literal Table – Assembler tracks the usage of literals in a program through a Literal Table
in another language.
language of machine A and generates its equivalent machine code for machine A, and the
Disassembler
As the name suggests, it converts machine code of a particular machine back to its
assembly language.
Operands are the data that the instruction operates upon. Operands may be direct values (literals)
or symbolic reference to stored data (symbols). Some instructions do not have operands, as the
Comments are for programmer to understand the meaning of the ALP statement in context with
Literals are plain values that are not associated with any variable name.
Symbols are the variable names that hold values needed throughout the program. The Assembler
stores these symbols and their definition addresses in a data structure called as the “Symbol Table”
2. Declarative Statements
3. Imperative Statements
MOT is a fixed length table defined by programmer as per assembly language of the underlying
machine.