Documente Academic
Documente Profesional
Documente Cultură
Bus
Bus
Putting it all together
When you launch a program, the OS controls the
CPU and loads the program from disk to RAM.
App
OS OS App
Bus
Putting it all together
The OS then relinquishes the CPU to the
program, which begins to run.
App
App OS App
Bus
The Fetch-Execute Cycle
As the program runs, it repeatedly fetches the next instruction
(from memory/cache), executes it, and stores any results
back to memory.
App
App OS App
Bus