The core of the computer--CPU

Source: Internet
Author: User

Computer we use every day, people's basic survival-clothing, food, live, line, network, computer to help people achieve a lot of functions, convenient for our life. But there are few people who really know the core parts of the computer, because the obscure machine language always makes people interested in falling, but someone has to understand it, perhaps a different angle, we can be enlightened.

High-level language and machine code direct connection is the compiler, high-level language is closer to Putonghua, and machine language is like a heavenly book, enveloping, overwhelmed, from C language, assembly, similar machine language, involving a lot of symbols, letters, such as:%,mov,pop,$,add,sub,leave, Push,etc; Sometimes your English can really put you in the "danger", Mov=move, Mobile-------memory has the same value, Add=addition, addition, sub=substraction, subtraction, Translators always racked their brains into the Chinese elements, let us understand more easily, in fact, assembly language, I was a little, but I do not want to keep myself stagnant, 10,000 hours of law, 250 days * 8 hours = 2000 hours, 5 years after your computer technology rose a step, 5 years later, I am also fast 30 years old, people's golden age ah, so everyone should have goals, every day to endure loneliness, loneliness to try, think, change.

Too much nonsense, CPU as a backbone, release instructions in memory, call, C code execution, starting from the main function, the same assembly language from the main command line to execute, the stack played a key role, data structure contact to stack, queue, stack like a cup, into the stack like a cup, pour water, Out of the stack is water, in short, there is only one mouth, the entire implementation process is essentially the flow of instruction, and ultimately to our natural language to maintain consistent. ESP\EIP\EBP, these registers, responds to instructions, from the bottom of the stack to the top of the stack, and then back to the bottom of the stack, marking the end of the process, or to be supplemented .....

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

The core of the computer--CPU

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.