Question: My mips code is designed for dynamix memory allocation. The parameters for the code are listed below The memory pool is limited to 4 0
My mips code is designed for dynamix memory allocation. The parameters for the code are listed below
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.
I want to add a loop program that has the user choose between allocation or dellocation of the inpute number. They would have to choose to allocate and to dealocate. If they chose another number like then an error message would pop up How do I add a mips program that makes the user choose between allocation and dealocation?
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
