Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
71 views

Object Code

Object code is a computer program that has been translated from source code, usually into machine language, by a compiler. It consists of instruction codes that can be directly understood by a computer at the lowest hardware level. Whereas machine code is binary code that can be directly executed by the CPU, object code has jumps partially parameterized so that a linker can fill them in. An example of object code is ELF (Executable and Linking Format).

Uploaded by

Waleed Zebary
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
71 views

Object Code

Object code is a computer program that has been translated from source code, usually into machine language, by a compiler. It consists of instruction codes that can be directly understood by a computer at the lowest hardware level. Whereas machine code is binary code that can be directly executed by the CPU, object code has jumps partially parameterized so that a linker can fill them in. An example of object code is ELF (Executable and Linking Format).

Uploaded by

Waleed Zebary
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 7

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

You might also like