Zhu Shushu + Original works reproduced please specify the source + "Linux kernel analysis" MOOC course http://mooc.study.163.com/course/USTC-1000029000
Through the video learning, realize that the process of computer work and we read the use of high-level language coding process is basically consistent, but the computer does not recognize high-level language, only the language like assembly language, binary code and other low-class languages, which understand that the assembly language is actually a symbolic representation of binary code, Assembly language is closer to the underlying technology. When a computer executes code written in a high-level language, it first has to turn it into an assembly language that the computer can recognize, and then execute the computer instruction by the combination of the CPU and the register. Code written as follows in C: int g (int x) {return x +4;} int f (int x) {return g (x);} int main (void) {return F (4) +2;} With the command gcc-s-o main.s main.c-m32, delete the assembly code line that does not actually function at the beginning of the point, we can get the pure assembly code, such as the link: http://www.shiyanlou.com/u/NTY0MzE5MDQ2MjI3/ As shown in RESULT/1,
Understanding of computer working process