Home >Common Problem >What must any program be loaded into before it can be executed by the CPU?
Any program must be loaded into "memory" before it can be executed by the CPU. The memory is used to temporarily store the calculation data in the CPU. All programs in the computer are run in the memory; as long as the computer starts running, the operating system will transfer the data that needs to be calculated from the memory to the CPU for calculation. When the calculation is completed, The CPU transmits the results.
The operating environment of this tutorial: Windows 7 system, Dell G3 computer.
Any program must be loaded into "memory" before it can be executed by the CPU.
Memory is an important component of the computer, also known as internal memory and main memory. It is used to temporarily store operation data in the CPU, as well as data exchanged with external memories such as hard disks.
Memory is the bridge between external memory and the CPU. All programs in the computer run in the memory. The performance of the memory affects the overall performance of the computer.
As long as the computer starts running, the operating system will transfer the data that needs to be calculated from the memory to the CPU for calculation. When the calculation is completed, the CPU will transmit the results.
The programs we usually use, such as: Windows operating system, typing software, game software, etc. They are generally installed on external storage such as hard disks, but their functions cannot be used only because they must be transferred into memory to run in order to truly use their functions.
Memory is where programs and data are temporarily stored. When we use WPS to process a document, when you type characters on the keyboard, it is stored in memory. When you choose to save, the data in the memory will be saved to the hard (disk) disk.
Extended knowledge:
Memory generally uses semiconductor storage units, including random access memory (RAM), read-only memory (ROM), and cache (CACHE ). Simply because RAM is the most important memory among them. (synchronous) SDRAM synchronous dynamic random access memory: SDRAM is 168 pins, which is the memory currently used by PENTIUM and above models.
SDRAM locks the CPU and RAM together through the same clock, so that the CPU and RAM can share a clock cycle and work synchronously at the same speed. The rising edge of each clock pulse begins to transmit data, speed 50% higher than EDO memory.
DDR (DOUBLE DATA RATE) RAM: An updated product of SDRAM. It allows data to be transmitted on the rising and falling edges of the clock pulse, so that the speed of SDRAM can be doubled without increasing the clock frequency.
For more related knowledge, please visit the FAQ column!
The above is the detailed content of What must any program be loaded into before it can be executed by the CPU?. For more information, please follow other related articles on the PHP Chinese website!