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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started