Object Code Forms (1)
Object Code Forms (1)
In the final stage of compilation, the code generator produces the output known as the object code. This code
is the machine-understandable form of the original program. Depending on the target platform and use case,
the compiler can produce the object code in several different forms. Each form has its own advantages and
This is a fully compiled, final form of machine code that is ready to be loaded into memory and executed
directly.
This form of code can be relocated in memory during linking or loading. Each subprogram can be compiled
This is a symbolic version of the machine code. It is more readable and can be processed by an assembler to
|----------------------|----------------|----------------------|------------------|
Conclusion
Each object code form serves different needs in software development. For quick execution, absolute code is
effective. For modular programming and code reuse, relocatable code is ideal. Assembly code offers greater
Object Code Forms in Compilation
control and transparency for debugging, making it suitable for system-level programming.