Question: PLEASE SHOW A MIPS SIMULATION All present - day operating systems are equipped with the capability to allocate memory to users dynamically ( at run

PLEASE SHOW A MIPS SIMULATION
All present-day 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 4096 bytes
The memory pool divided into equal chunks of 32 bytes (chosen due to MIPS architecture). Thus, the 4096 bytes memory will be divided into 128 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 32.
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.
PLEASE SHOW A MIPS SIMULATION All present - day

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!