Home  >  Article  >  According to different working methods, memory can be divided into

According to different working methods, memory can be divided into

青灯夜游
青灯夜游Original
2021-06-25 16:33:5712722browse

According to different working methods, memory can be divided into two types: random read-write memory (RAM) and read-only memory (ROM). RAM memory is a semiconductor memory that can be read and written; the content stored in ROM memory is fixed and can only be read but not written.

According to different working methods, memory can be divided into

The operating environment of this tutorial: Windows 10 system, Dell G3 computer.

According to different working methods, memory can be divided into

  • Read-only memory (ROM): the stored content is fixed and can only be read out. Semiconductor memory that cannot be written to.

  • Random read-write memory (RAM): Semiconductor memory that can be both read and written.

Read-Only Memory (ROM)

Read-Only Memory (ROM) works in a non-destructive readout mode. Information can only be read but not written. Once the information is written, it is fixed and will not be lost even if the power is turned off, so it is also called fixed memory. The data stored in ROM is usually written before being loaded into the whole machine. It can only be read out during the operation of the whole machine. Unlike random access memory, the stored content can be rewritten quickly and conveniently. The data stored in ROM is stable and will not change after a power outage. It has a simple structure and is easy to use, so it is often used to store various fixed programs and data.

The characteristic of read-only memory is that it can only read information but cannot write information. Usually, a basic input/output system is solidified in the ROM of the computer motherboard, called BIOS (Basic Input Output System). Its main function is to complete the power-on self-test of the system, initialization of each functional module in the system, basic input/output driver of the system and boot operating system.

Random Access Memory (RAM)

Random Access Memory (English: Random Access Memory, abbreviation: RAM), also called main memory, is directly connected to the CPU Internal memory for exchanging data. It can be read and written at any time (except when refreshing), is very fast, and is often used as a temporary data storage medium for the operating system or other running programs. When RAM is working, information can be written (stored) or read (retrieved) from any specified address at any time. The biggest difference between it and ROM is the volatility of data, that is, the stored data will be lost once the power is turned off. RAM is used in computers and digital systems to temporarily store programs, data, and intermediate results.

Random access memory (RAM) can both store information into and read out information from designated units. Any information stored in RAM will be lost when the power is turned off, so RAM is volatile memory.

ROM is read-only memory. In addition to fixed storage of data, tables, and firmware programs, it is also widely used in combinational logic circuits.

For more related knowledge, please visit the FAQ column!

The above is the detailed content of According to different working methods, memory can be divided into. 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