Four stages of a hello file

1 Preprocessing stage: Insert the include<stdio.h> directive after # into the program text to become the file extension of .i

2 Compilation stage: the compiler translates hello.i into an assembly language hello.s

3 Assembly stage: The assembler translates the hello.s text into binary machine language.

4 link stage: get hello's executable file hello.exe, load it into memory, and execute it by the system

Guess you like

Origin blog.csdn.net/qq_64200765/article/details/131812312
Recommended