Reference no: EM13843152
Question: Write a Java program that simulates a small CPU VM. The program dose not need a GUI. just displaying to the terminal, and outputting to a text file. I have enclose the described of the program and the file it will need to read. If you are able to help let me know thank you.
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.
Assuming no existing inventories or scheduled receipts
: What is the lead time (in weeks) to respond to a customer order for product A, based on the BOM shown, assuming no existing inventories or scheduled receipts?
|
Strategic frame assessment
: Review "How Do We Describe a Firm's Strategy?" Write an executive memo for your project firm, Proctor & Gamble's Organization 2005. Communicate the findings from your preliminary analysis of the organization's strategy. Identify and analyze the firm'..
|
Cost of dell computer reflects inventory costs
: What percentage of cost of a Dell computer reflects inventory costs? Assume Dell’s yearly inventory cost is 40 percent to account for the cost of capital for financing the inventory, the warehouse space, and the cost of obsolescence.
|
Corporations will less likely to act in socially responsible
: Explain why you agree or disagree with the following proposition: "Corporations will be less likely to act in socially responsible ways if there is either too much, or too little competition."
|
Write a java program that simulates a small cpu vm
: Design and implement a program to simulate the operation of the SIMMAC based - dumps the contents of all registers and memory and then prints an "End of Job" message.
|
Implementing logistics measurement system
: Discuss some of the key considerations for a logistics manager who is designing and implementing a logistics measurement system in his or her organization.
|
Most beneficial to logistics management
: What advances in telecommunications technology do you view as being most beneficial to logistics management? Why?
|
Analyzing resources and capabilities of the firm
: Analyze the key resources and core capabilities of Proctor and Gamble Organization 2005. Identify the functional areas of the firm's organization or the activities in the value chain where the key resources and core capabilities reside (Classifying C..
|
Summarize the goals of the tobacco industry research
: Watch the "Cozy Killer: The History of Cigarettes" video. (http://digital.films.com/PortalViewVideo.aspx?xtid=36094). Summarize the goals of the tobacco industry's research. Discuss the advantages and limitations of replication in the tobacco industr..
|