Object Code
Created by
waleed ali Software Engineering
Section B Department
Definition of
object code
a computer program after translation from
source code usually into machine language
by a compiler.
Object code is a set of
instruction codes that
is understood by a
computer at the lowest
hardware level.
Object code is usually produced
by a compiler that reads some
higher level computer language
source instructions and
translates them into equivalent
machine language instructions
What is object code vs
machine code?
Whereas machine code is binary code that can
be executed directly by the CPU, object code
has the jumps partially parametrized so that a
linker can fill them in. An assembler is used to
convert assembly code into machine code
(object code). A linker links several object (and
library) files to generate an executable.
What is object code
with example?
Object code is the language that a central
processing unit can understand after it has
been translated by the compiler from the
programming
source code:
An example of
object code is ELF
(Executable and
Linking Format).
Difference between
Source Code and Object
Code :
1 SOURCE CODE 2 OBJECT CODE
generated by human or generated by compiler or
programmer other translator
high level code low level code.
written in plain text by translated code of source code
using some high level into binary format.
programming language.
is human understandable is not human understandable and
and can be easily modified can not be modified.
is not directly is machine understandable and
understandable by machine. executable.
thank you for
listening