-
February 4th, 2022, 01:28 PM
#1
What does the compiler actually do after reading the statements of the program
The stages before and after compilation processes are as follows:
- Pre-processing
- Compilation
- Assembling
- Linking/Loading
After the program statement is compiled by the compiler, it is converted into an assembly language equivalent code. An assembly language is the language understood by the micro-processors. The module which does this part is essentially called an Assembler. The assembly language depends on the architecture of the micro-processor used by your system like 8086, Pentium series, etc. from Intel or the ARM micro-processors. Each of them has their own assembly languages. You can get more knowledge about the topic code pro zone. But as it is the assembly language code then gets converted to the binary language(with some additional flows of linking/loading) and we get an .exe out of it. And if I'm wrong so you can share your knowledge about the topic.
Last edited by VictorN; February 5th, 2022 at 02:53 AM.
Reason: dangerous web link was removed.
-
February 5th, 2022, 02:51 AM
#2
Re: What does the compiler actually do after reading the statements of the program
[moved from Visual C++ forum]
Victor Nijegorodov
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|