How does a computer work? (summary)--Three magic weapon
Stored program computer working model, the most basic logical structure of computer system;
The function call stack, the high-level language to run the foundation, only the machine language and the assembly language when the stack mechanism for the computer is not so important, but with the high-level language and functions, the stack becomes the basic function of the computer;
Interrupt, multi-channel program operating system base point, no interrupt mechanism program can only run from the beginning to the end of the possibility to start running other programs.
Anti-assembly
Gcc-g Generating an executable file
Objdump-s Obtaining Disassembly files
C Language Embedded assembly language (template):
ASM volatile (
Output:
Input:
Destruction Description Section
);
Experimental section ()
Summary: The code of your own hand does not know where the error caused the rotation can not be reset. Also hope to understand
Linux kernel Analysis Experiment II: Mykernel Experimental Guidance (how the operating system works)