Answered You can hire a professional tutor to get the answer.

QUESTION

OS Problem Set Introduction Thefollowingmachinedescriptionwillprovidethebasisforthisassignment.

Where  <address>  is  the  target  of  an  absolute  branch  if  the accumulator is zero.

PROJECT DESCRIPTION

Design and implementaprogram to simulate the operation of the SIMMACbased on the descriptions above.

Add a HALT instruction that dumps the contents of all registers and memoryandthen prints an "End of Job" message.

The SIMMAC machine does not provide a mechanism for interrupts and does not provide a means for selecting the next job to run. Your project must address multi-taskingina single queue of jobs without the access to machine interrupts.  You will implement process entities (jobs) that will allow your machine to run several SIMMAC machine-language programs. In order to do this you will define a Process Control Block (PCB) data structure that will be created for each job in your system.

You will design and implement the ability for each running process to participate in a system leveljob switch. Thus the processes may execute instructions but may not execute entirely in batch mode (IE.The systemmay not allow anyprocess to run in its entirety withoutswitching at least once to another job). Thus your design and implementation must provide a mechanism for processes to surrender the CPU to another process and retain the ability to resume processing from where the process surrendered the CPUat some point in the future.This must allbe accomplished without an interrupt clock or handler.Additionally, when a process surrenders the CPU you must design and implement a mechanism for the system to begin/resumeexecuting a waiting processfrom the process pool.

Your version of SIMMAC will then run multipleSIMMAC machine language programs simultaneously.  These programs will test the ability of your SIMMACto handle multi-taskingand scheduling.You must design your system such that all SIMMAC machine programs are loaded from text files. 

TheSIMMAC must be designed to take command line arguments or to prompt for input files in addition to the previously specified items.  By this mechanism, all SIMMAC language programs will be loaded. Since there is the LDI command, all data can be loaded into SIMMAC memory using SIMMAC programming statements.

You must developSIMMAC language programs to be run on your SIMMAC machine. There must be at least three different programs that exercise the system and are of significant length to demonstrate the multitasking/scheduling ability of your system. You must clearly document your programs so that it is clear as to the logic and intent of each SIMMAC language program.

Each line of any SIMMAC program must have the following format:

Opcode Operand

You will be responsible for turning in the system design document, source code of yourversion of SIMMAC(this code must be appropriately commented & readable), anexecutable version of your SIMMAC, and the output generated from your SIM MAC programs running on your version of SIMMAC. 

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question