Linux kernel Analysis first week study summary-How the computer works

Source: Internet
Author: User

Linux kernel Analysis first week study summary-How the computer works

Zhang Yi (Original works reproduced please specify the source)

"Linux kernel Analysis" MOOC course http://mooc.study.163.com/course/USTC-1000029000

I. working process of assembly Code

1. Experimental process

int A (int  x) {  return2int b (int  x) {   return  int main (void) {  return B (51 ;}

The assembly code is as follows:

2. Code Analysis

Second, the process of computer work

The general process of the work is: the user will prepare the program through the input device into the computer, stored in the memory, through the input device to the computer issued a command to execute the program. Therefore, under the control of the controller, the computer will work according to the program requirements automatically. When the computer is working, the controller takes out an instruction program from memory, analyzes what kind of operation the instruction requires the computer to perform, then executes the specified operation, executes an instruction, then takes the next instruction from the memory, and then analyzes and executes it. This is repeated until the program finishes executing.

Linux kernel Analysis first week study summary-How the computer works

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.