开发者

Difference between Machine code and Object Code [duplicate]

This question already has answers here: Assembly code vs Machine code vs Object code? (10 answers) 开发者_运维百科 Closed 9 years ago.

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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜