RAM (Random Access Memory), also known as "random access memory", is an internal memory that directly exchanges data with the CPU, also called main memory (memory). It can be read and written at any time, is very fast, and is often used as a temporary data storage medium for the operating system or other running programs. RAM cannot retain data when power is turned off. If data needs to be saved, they must be written to a long-term storage device (such as a hard drive).

ROM (Read Only Memory) is also called "Read Only Memory". The data stored in ROM is generally written in advance before being installed into the whole machine. It can only be read out during the operation of the whole machine, and cannot be rewritten quickly and conveniently like random access memory. The data stored in ROM is stable and will not change after a power outage;
Compared with RAM and ROM, the biggest difference between the two is that the data stored in RAM will automatically disappear after a power outage. The ROM will not disappear automatically and can be saved even if the power is turned off for a long time.
Generally speaking, it is difficult to understand the relationship between RAM and ROM and what is usually called running memory and hard disk capacity. In fact, they are the same in a general sense, but from the perspective of computers and mobile phones There are some differences.
It is generally easier to understand from a computer perspective. RAM is what we usually call running memory. It can indeed be read and written at any time. Because the data processed by the CPU is mediated by running memory. Information is not saved after a power outage. So for ROM, is it the hard disk? Doesn’t it mean that ROM can only be read?
The hard disk can be modified. Indeed, it must be made clear that RAM and ROM are both memories, and the hard disk is external memory, so ROM is not equal to the hard disk. The ROM in the computer is mainly used to store some system information or start the BIOS program. These are very important. They can only be read and generally cannot be modified. They will not disappear even if the power is turned off.
So what about mobile phones?
In fact, a lot of confusion comes from misleading promotional information from mobile phone manufacturers. Because generally mobile phone manufacturers will say how many gigabytes of RAM and how many gigabytes of ROM there are; in a mobile phone, RAM is the same running memory as a computer; but ROM is different. Think about it, if it is only used to store some systems How many gigabytes of capacity are needed for information and boot programs? In fact, the ROM of the mobile phone is linked to the hard disk. Part of the ROM in the mobile phone is used to store system information and some installation software. Most of the remaining capacity is Use it as a hard drive.
The above is the detailed content of The main difference between rom and ram is. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SublimeText3 Chinese version
Chinese version, very easy to use

SublimeText3 Mac version
God-level code editing software (SublimeText3)

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

Dreamweaver Mac version
Visual web development tools

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool





