开发者

Difference between Machine code and Object Code [duplicate]

开发者 https://www.devze.com 2022-12-17 11:00 出处:网络
This question already has answers here: Assembly code vs Machine code vs Object code? (10 answers) 开发者_运维百科
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

精彩评论

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