The difference between machine code and object code

I am in the middle of my levels and I am doing some revision of my Computing exam. I was wondering if anyone could tell me what the difference is between machine code and object code.

keep it simple.

+3
source share
1 answer

The object code is the result of the compiler. It contains instructions and tokens, such as source code, but in a compact and optimized (often executable) format. It may also contain other elements, such as debugger symbols. Typically, the object code is processed by the linker, which combines the object code from each compilation unit together to form an executable file (or library, such as a dll). The executable file or library contains machine code that can be executed directly by the processor and is specific to the machine architecture and set of operations.

+6
source

Source: https://habr.com/ru/post/1729384/


All Articles