views:

200

answers:

2

I'm in the middle of my a levels and im doing some revision for my Computing exam. I was wondering if someone could tell me what the difference is between machine code and object code.

keep it it simple please.

+1  A: 

this post contains a good explanation

sagie
+2  A: 

Object code is the output of the compiler. It contains instructions and tokens like your source code, but in a compact and optimized (often executable) format. It can also contain other things like debugger symbols. Usually, object code is then processed by the linker, which connects the object code from each compilation unit together to form an executable (or library, such as a dll). The executable or library contains machine code, which can be executed directly by the processor and is specific to the machine architecture and operation set.

Eric Mickelsen