2021年3月29日星期一

Why C language build process includes 'assemble' process?

What is the difference between native code, machine code and assembly code?

Hi, I am Korean, so my English can be confusing to you.

I read the contents of the link above and I want to know why C build process includes 'assemble' process.

The below is the C build process that I know. Source file -> Preprocess -> Compile (in this process, assembly code is made) -> Assemble (assembly code -> machine code) -> Link -> Excutable files (.exe)

I saw 'Timwi' above the link says " Unmanaged code refers to code written in a programming language such as C or C++, which is compiled directly into machine code."

If C or C++ can be compiled directly into machine code, why 'assemble' process is needed? The purpose of including this 'assemble' process is just for debugging? or has important and practical reasons?

Thank you for reading. I'm looking forward to seeing your wonderful answer.

https://stackoverflow.com/questions/66863665/why-c-language-build-process-includes-assemble-process March 30, 2021 at 09:30AM

没有评论:

发表评论