Home  >  Article  >  Where are computer instructions mainly stored?

Where are computer instructions mainly stored?

王林
王林Original
2020-12-04 11:56:1020420browse

Computer instructions are mainly stored in memory. A memory unit is actually a type of sequential logic circuit. It is a collection of many memory cells, arranged in order of unit numbers. In order to improve the performance of the memory, various memories with different storage capacities, access speeds and prices are usually organized into multi-layer memories in a hierarchical structure.

Where are computer instructions mainly stored?

#Computer instructions are mainly stored in memory.

(windows system knowledge: windows)

The memory unit is actually a type of sequential logic circuit. According to the type of memory usage, it can be divided into read-only memory (ROM) and random access memory (RAM). The functions of the two are quite different, so their descriptions are also different.

Memory is a collection of many storage units, arranged in order of unit numbers. Each unit is composed of a number of ternary bits to represent the value stored in the storage unit. This structure is very similar to the structure of an array, so in the VHDL language, an array is usually used to describe the memory.

In order to improve the performance of the memory, various memories with different storage capacities, access speeds and prices are usually composed into multi-layer memories in a hierarchical structure, and are organically combined into a unified whole through management software and auxiliary hardware, so that The stored programs and data are distributed hierarchically in each memory.

Mainly uses a three-level hierarchical structure to form a storage system, which is composed of cache, main memory and auxiliary memory. In the figure, the capacity gradually increases from top to bottom, the speed decreases step by step, and the cost decreases step by step.

mac system knowledge: macos

The above is the detailed content of Where are computer instructions mainly stored?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn