human
When a CPU is executing a program, what is the first thing that happens?
assistant
The CPU starts by fetching the first instruction from the program. The CPU then decodes the instruction and executes it. The CPU then fetches the next instruction from the program and decodes it. This process continues until the program is finished.