CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2022
    Posts
    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.

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    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
  •  





Click Here to Expand Forum to Full Width

Featured