Next, take out the second instruction and complete the specified operation under the command of the controller. Go on like this. Until a stop command is encountered. Programs are accessed like data, and instructions are taken out step by step in the order of programming.
Extended data:
Hardware usually refers to the equipment entities that make up a computer. The hardware system of a computer should consist of five basic parts: arithmetic unit, controller, memory and input/output devices.
Modern computers also include central processing units and bus devices. When the computer receives the instruction, these five parts complete the operation conveyed by the instruction through the system bus.
Under the command of the controller, the data is transferred from the input device to the memory for storage, and then the controller transfers the data that needs to participate in the operation to the arithmetic unit, which processes it, and the processed result is output by the output device.
Baidu encyclopedia-computer working principle