Previous | Next
|
Background
|
Memory consists of a large array of words or bytes, each with its own address. The
CPU fetches instructions from memory according to the value of the program counter.
These instructions may cause additional loading from and storing to specific memory
addresses.
Usually, a program resides on a disk as a binary executable file. The program must
be brought into memory and placed within a process for it to be executed. Depending
on the memory management in use, the process may be moved between disk and memory
during its execution. The collection of processes on the disk that is waiting to
be brought into memory for execution forms the input queue.
|