Assembly Language Learning Note 2

Source: Internet
Author: User

1. Strictly speaking, the glossary consists of the following three parts:1. Assembly instruction: mnemonic, i.e. replacing machine code with English characters2. Pseudo-directive: compiled by the compiler to execute, that is, MOV and other control instructions3. Other symbols: Compiled by the compiler execution, the computer is not recognized "+", "-" and other symbols, so need to compile the compiler into machine language2. The core of assembly language is the assembly instruction, he decides the characteristic of assembly language 3. We all know that the CPU is the core of the calculator, want to let the CPU work, must provide him with instructions and data, instructions to tell the computer what to do, the data is to tell the computer what data to do 4. Instructions and data stored in memory , that is, usually said memory, the role of memory after the CPU, no memory, even in the powerful CPU can not work, for example, like the human heart and blood vessels relationship between the heart in a strong, no blood vessels, people can not live, disk data or programs must be read into memory before being used by the CPU. Using the virtual memory we use, is to put some infrequently used data in memory on the hard disk, and so on when used to remove from the hard disk into memory, will cause the computer to slow down 6. The instruction and the data is the application concept, in the computer appears to be no difference, is the machine code is binary code 7. The memory is divided into several storage units, with each storage unit numbered from 0 to 8. Commonly used units on a computer:1kb=1024b 2 of the 10-time Square1mb=1024kb1GB=1024MB1TB=1024GB9.cpu to read and write data, you must interact with the chip three kinds of information:1. Address (address information) of the storage unit tells the location of the memory2. Device selection, read or write commands (control information) tell what needs to be done3. Read or write data (data information) tell me what data to do with it.10. Electronic computers can process and transmit information are electrical signals, electrical signals are transmitted by wire, in the computer specifically connected to the CPU and other chips of the wire, bus1. Address Bus2. Data bus3. Control BusIt can be seen that the function of the bus is consistent with the CPU and chip information interactive processing.

Assembly Language Learning Note 2

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.