Question: PLEASE SIMULATE All present - day operating systems are equipped with the capability to allocate memory to users dynamically ( at run time ) .
PLEASE SIMULATE
All presentday operating systems are equipped with the capability to allocate memory
to users dynamically at run time This feature allows multiple user programs to coexist
in the main memory and run virtually at the same time by sharing system resources like
CPU, memory, etc. In this assignment, you are required to design and implement in
MIPS a project for dynamic allocation and deallocation of memory on user demand.
However, you can make the following simplifying assumptions:
The memory pool is limited to bytes
The memory pool divided into equal chunks of bytes chosen due to MIPS
architecture Thus, the bytes memory will be divided into chunks.
Despite allocation requests coming in any size, the actual allocations should be
performed in integer multiples of chunks. Therefore, the byte size request will
be rounded up to the closest multiple of
To succeed in this task, the code must allocate and deallocate memory upon
request. If some of the requests cannot be handled, exception handling must
be activated to resolve the issue.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
