Design and implement a program to simulate the operation

Assignment Help Other Engineering
Reference no: EM131647251

OS Problem Set

Introduction

The following machine description will provide the basis for this assignment. You will create a virtual machine/operating system for the machine described below that will accept programs in the target machine language. The details for this assignment are presented below following the machine description.

Project Description

Design and implement a program to simulate the operation of the SIMMAC based on the descriptions above.

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

Your project must implement multi-tasking in a single queue using a round-robin scheduling discipline. 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. For this assignment assume each SIMMAC instruction is equivalent to one clock cycle. Additionally the time quantum value for round-robin scheduling is an integer multiple of a clock cycle.

The quantum value is to be set on the command line or prompted for during initialization. You will define the notion of an interrupt handler that will process a time quantum for each running job. On each job switch, you will print some state information such as which job will be loaded and the current state of the job queues.

Your version of SIMMAC will then run multiple SIMMAC machine language programs simultaneously. These programs will test the ability of your SIMMAC to handle multitasking and scheduling. You must design your system such that all SIMMAC machine programs are loaded from text files.

The SIMMAC 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 develop SIMMAC 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 your version of SIMMAC (this code must be appropriately commented & readable), an executable version of your SIMMAC, and the output generated from your SIMMAC programs running on your version of SIMMAC. These items are to be placed in ZIP format and submitted to the OS Problem Set Assignment in Blackboard Assignments.

Attachment:- Assignment File.rar

Reference no: EM131647251

Questions Cloud

Discuss the advantages of firewalls with iptables : Discuss the advantages and disadvantages of firewalls with iptables and make suggestions to overcome the disadvantages in your report.
Expected annual rate of return on the project : What is Mergenthaler's expected annual rate of return on the project?
Colleagues as having positive values toward diversity : Kesha has been described by her colleagues as having positive values toward diversity and not tolerating bias in the workplace.
What is the firm market to book ratio : A firm's financial statements show 1158 shares of common stock outstanding totaling $6233, retained earnings totaling $6079, and you know the common stock
Design and implement a program to simulate the operation : CISC 640 OS Problem Set. Design and implement a program to simulate the operation of the SIMMAC based on the MACHINE descriptions
Discuss nursing leadership : Analyze a change that has happened at your place of employment and how effectively it was handled.as a nurse leader
Dividend-discount model predict colgate stock : If? Colgate's equity cost of capital is 7.8% per? year, what price does the? dividend-discount model predict Colgate stock should sell for? today?
Competitive disadvantage be inevitably defunct-go bankrupt : Will a company that has a sustained competitive disadvantage be inevitably defunct and go bankrupt?
Present a physical security measures for our new facility : Grumheed Corporation (GC), a world leader in advanced tactical drones, plans to open a facility in the Dallas-Fort Worth metroplex.

Reviews

len1647251

9/18/2017 6:12:39 AM

I would like to inform the homework solver to look closely to every instruction in the file and do it as needed. The following machine description will provide the basis for this assignment. You will create a virtual machine/operating system for the machine described below that will accept programs in the target machine language. The details for this assignment are presented below following the machine description. You will be responsible for turning in the system design document, source code of your version of SIMMAC (this code must be appropriately commented & readable), an executable version of your SIMMAC, and the output generated from your SIMMAC programs running on your version of SIMMAC. These items are to be placed in ZIP format and submitted to the OS Problem Set Assignment in Blackboard Assignments.

Write a Review

Other Engineering Questions & Answers

  Explain how the characteristics of good design

Explain how the characteristics of good design contribute to the product quality. For example how do coupling, cohesion, and modularity affect reliability of systems?

  Suppose that nonlinear devices

Suppose that nonlinear devices are available for which the output current i o and input voltage v i are related by i o = a1vi + a3 v3i, where a= and a3 are constant. Explain how these devices may b used to provide:

  Heat treatment of high tensile carbon steel

Explain why tempering cycle is essentially required in the heat treatment of high tensile carbon steel and what are the consequences if tempering cycle is not carried out?

  Find stress on both laminae of a laminate

Find σ1, σ2, and σ6 at z = 0, on both laminae of a laminate [±30]T subject to Nx = 1 N/m (all remaining forces and moments equal to zero), with t1 = t2 = 1.27 mm, E1 = 137.8 GP a, E2 = 9.6 GP a, G12 = 5.2 GP a, ν12 = 0.3.

  Can be cooled down by running through ferromagnetic material

Superconducting magnets are used to generate massive magnetic fields that cause large magnetizations in the ferromagnetic inductor. Below are three candidate materials for the superconducting magnet. Based on what you know about superconductors, w..

  Determine the prefault internal voltage magnitude

Using the classical generator model, determine the prefault internal voltage magnitude and angle of the generator -  Express the system dynamics during the fault as a set of first order differential equations.

  Project topic - strength characteristics on fly ash

42908 Engineering Project Preparation Assignment. My project topic is - strength characteristics on fly ash based Geopolymer concrete

  Implement speech coding algorithms

Understand and implement predictive coders - implement speech coding algorithms and gain an understanding of their computational complexity.

  What is the range of sampling frequencies

ECET345- Assuming that you store all 32,768 samples, what is the range of sampling frequencies such that you neither violate the Nyquist theorem nor go above the needed resolution?

  Demonstrate and identify your productions or supply

Demonstrate and identify your productions or supply and provide the components, the client/buyer ask you to prepare a technical report involving all technical aspects to illustrate the capabilities and usage.

  Consider an axle used to drive the wheels of a car.

Consider an axle used to drive the wheels of a car. The wheel radius is 11.25 inches, while the axle radius is 1.25 inches. What is the mechanical advantage?

  How will you approach the development

how will you approach the development, how will you estimate how long the task will take, and how will you establish that your solution is safe to deploy?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd