What is ROM RAM?
ROM
ROM is composed of the first letters of the English word Read only Memory, which means read-only memory. As the name implies, this kind of memory can only be read, not written.
It only allows one writing opportunity after production. Once the data is written, it cannot be changed. Another feature of the memory is that the data inside the memory is not lost after a power outage and can be stored for hundreds of years. This type of memory is mostly used to store firmware, such as boot programs for computer startup, and corresponding program codes for some electronic products such as mobile phones, MP3s, MP4s, and digital cameras.
RAM
RAM is composed of the first letters of the English Random Access Memory, which means random access memory, that is, under normal working conditions, the memory can be accessed Read and write data at any time. According to the working principle of the storage unit, RAM can be divided into static memory (SRAM) and dynamic memory (DRAM).
Characteristics of RAM: It can be read and written; when the memory is powered off, the data stored in it will be lost. The memory we often talk about, such as computer memory, mobile phone memory, including the cache used in the CPU, all belong to this type of memory.
Difference:
Compared with RAM and ROM, the biggest difference between the two is that the data stored in RAM will automatically disappear after the power is turned off, while ROM will not.
Due to the fact that ROM is not easy to change, it is quite troublesome to update data, so there was the development of Flash Memory.
The above is the detailed content of What is ROM RAM?. For more information, please follow other related articles on the PHP Chinese website!