subject
Computers and Technology, 23.10.2019 18:00 lance31

He project will simulate a simple computer system consisting of a cpu and memory. the cpu and memory will be simulated by separate processes that communicate memory will contain one program that the cpu will execute and then the simulation wil end. problem details cpu it will have these registers: pc, sp, ir, ac, x, y. it will support the instructions shown on the next page of this document. it will run the user program at address 0. instructions are fetched into the ir from memory. the operand can be fetched into a local variable. each instruction should be executed before the next instruction is fetched. the user stack resides at the end of user memory and grows down toward address 0. the system stack resides at the end of system memory and grows down toward address 0. there is no hardware enforcement of stack size. the program ends when the end instruction is executed. the 2 processes should end at that time. the user program cannot access system memory (exits with error message) memory it will consist of 2000 integer entries, 0-999 for the user program, 1000-1999 for system code. it will support two operations read(address) - returns the value at the address write(address, data) - writes the data to the address memory will initialize itself by reading a program file.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:50
Assume the existence of a bankaccount class. define a derived class, savingsaccount that contains two instance variables: the first a double, named interestrate, and the second an integer named interesttype. the value of the interesttype variable can be 1 for simple interest and 2 for compound interest. there is also a constructor that accepts two parameters: a double that is used to initialize the interestrate variable, and a string that you may assume will contain either "simple", or "compound", and which should be used to initialize the interesttype variable appropriately. there should also be a pair of functions getinterestrate and getinteresttype that return the values of the corresponding data members (as double and int respectively).
Answers: 2
question
Computers and Technology, 23.06.2019 15:00
To check whether your writing is clear , you can
Answers: 2
question
Computers and Technology, 24.06.2019 02:00
What is a loop? a. a collection of function definitions at the top of a program b. a line of code that defines a variable and assigns it a value c. a program that opens the turtle graphics window d. a block of code that repeats a specific number of times
Answers: 1
question
Computers and Technology, 24.06.2019 09:50
Create a string list. 2. use console.readline() to collect values of firstname, lastname, street, city, state, zip, save them to list. 3. write a simple linq statement, call method uppercasewords() to change first letter to uppercase. 4. create a foreach statment to display the information. public static string uppercasewords(string value) { char[] array = value.tochararray(); if (array.length > = 1) { if (char.islower(array[0])) { array[0] = char.toupper(array[0]); } } for (int i = 1; i < array.length; i++) { if (array[i - 1] == ' ') { if (char.islower(array[i])) { array[i] = char.toupper(array[i]); } } } return new string(array);
Answers: 3
You know the right answer?
He project will simulate a simple computer system consisting of a cpu and memory. the cpu and memory...
Questions
question
Mathematics, 18.06.2021 14:20
question
Biology, 18.06.2021 14:20
question
Mathematics, 18.06.2021 14:20
question
Mathematics, 18.06.2021 14:20
question
Social Studies, 18.06.2021 14:20
question
Geography, 18.06.2021 14:20
Questions on the website: 13722361