Memory management
, Memory management
• 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 PC.
• These instructions may cause additional
loading from and storing to specific memory
addresses. (&,*)
, Address binding
• A program resides on a disk as a binary executable file.
• Must bought into memory and placed within a process
for it to be executed.
• Input queue.
• User process to reside in any part of physical memory.
(RAM)
• Address space of computer starts at 00000
(8KB=2^3*2^10) =2^13=CPU=13bits (13 0’s to 13 1’s).
• The first address of the user process does not need to
be 00000.
, Steps used in user program execution
, Memory management
• 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 PC.
• These instructions may cause additional
loading from and storing to specific memory
addresses. (&,*)
, Address binding
• A program resides on a disk as a binary executable file.
• Must bought into memory and placed within a process
for it to be executed.
• Input queue.
• User process to reside in any part of physical memory.
(RAM)
• Address space of computer starts at 00000
(8KB=2^3*2^10) =2^13=CPU=13bits (13 0’s to 13 1’s).
• The first address of the user process does not need to
be 00000.
, Steps used in user program execution