Question: I am building a mock operationg system in which I have to implement many methods such as the driver, loader, scheduler, memory, dispatcher and so

I am building a mock operationg system in which I have to implement many methods such as the driver, loader, scheduler, memory, dispatcher and so on. I am confused on how to implement some of the memory variables. I need registers that are 32 bits. I was thinking to use and arry of size 32 but not sure if this would work correctly. This is the portion of the assignment.

The memory hierarchy comprises a set of simulated registers, a program/data simulated RAM, called memory and a simulated hard drive called disk. The contents of the disk and RAM are hex characters; and of sizes 2048 and 1024 words, respectively. (Each word is 4 bytes or 8 hex characters long.) Ancillary programs to dispatch processes/programs from disk to RAM, to compute effective addresses, to access memory, to fetch instructions and decode instructions will also be needed. Additional support programs for conversions between hex, decimal, and binary numbers will be necessary.

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 Databases Questions!