The main memory of a computer refers to ROM and RAM. Main memory is an important component of computer hardware. Its function is to store instructions and data. It can be divided into read-only memory [ROM] and random access memory [RAM]. Categories.
The main memory of the computer refers to ROM and RAM.
Main memory (Main memory)referred to as main memory. It is an important component of computer hardware. Its function is to store instructions and data, and can be directly accessed randomly by the central processing unit (CPU).
Random Access Memory (RAM)Can both store information into and read out information from a designated unit. Any information stored in RAM will be lost when the power is turned off, so RAM is volatile memory.
Read-only memory (ROM)Works in a non-destructive readout mode, and can only read information but cannot write it. 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 above is the detailed content of What is the main memory of a computer?. For more information, please follow other related articles on the PHP Chinese website!