C + + Bottom system concept (i)----assembly language was born

Source: Internet
Author: User

How does the computer work?

First look at the CPU

Look, this is the CPU.

CPU can only run binary code

Just like this.

101100000000000000000011

000010100000000001100000

......

Back to the time when the CPU was just born

It was programmed only with 0 and 1, and it was written dead.

......

A smart and diligent programmer

Wrote a 0 and a 1.

  Text editing programs

The so-called text editing program is my keyboard what knocks a M your monitor shows I knocked out M also can save all the letters I knock.

With a text editor

So they can write a converter again.

Used to implement easy code codes

101100000000000000000011 very Long is the

I hit mov in a text editor

And then this converter program automatically put my MOV

Converted into 101100000000000000000011

So I can use the text to represent the code instead of the damn binary.

What happened in the end?

The birth of assembly language

Assembly language is the text code that corresponds to the binary code one by one

Assembly language can be run directly by the CPU after being converted into binary

So assembly language was the first to appear.

Assembly language is the direct manipulation of hardware languages

  

  

C + + Bottom system concept (i)----assembly language was born

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.