Chapter 1 Basic Knowledge Chapter Summary

Source: Internet
Author: User

1.1 machine language

Machine language is a collection of machine commands. Each type of Microprocessor has its own machine instruction set. The machine code used in the early days was obscure and difficult to troubleshoot. Therefore, the Assembly Language came into being.

1.2 generation of assembly languages

The main body of an assembly language is assembly instructions, and assembly instructions are machine instructions that are easy to remember.

The compiler can convert an assembly instruction into a machine instruction. The programmer writes the source code in an assembly language, and then compiles the assembly instruction into a machine code, which is finally executed by the computer.

1.3 assembly language composition

There are three commands: Assembly commands, pseudo commands, and other symbols.

1.4 1.5

Memory is the memory. Data on the disk must be read to the memory before it can be used by the CPU. Commands and data are the concept of applications. There is no difference in memory, and CPU operations have different meanings.

1.6 storage unit

8 bits constitute a byte. large-capacity memory is used to measure the capacity. 1kb = 1024b, 1 MB = 1024kb, 1 GB = 1024 MB, 1 TB = 1024 GB.

1.7cpu reads/writes to memory

Pay attention to three points: Specify the address of the storage unit, device selection, control information and data information.

1.8 Address Bus

The CPU uses the address bus to specify the memory unit. One CPU has n address lines, and a maximum of 2 n memory units can be searched.

1.9 1.10

Data transmission between the CPU and memory or other devices is performed through the data bus, and its width determines the data transmission speed between the CPU and the outside. The CPU controls the external devices through the control bus, so that the CPU can control the number of external devices.

From 1.11 to 1.15

Read the book details

 

Chapter 1 Basic Knowledge Chapter Summary

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.